CLI and Data Model Explorer
The CLI and Data Model Explorer allows users to browse through the configuration and state model for the Nokia cMAG-c and access detailed information for each transaction.
This tool covers transactions for the specified release. Refer to the applicable cMAG-c Release Notes for information about features supported in each load of the release software.
Table view
Use View → Table view to browse transactions in a sortable table. The following options apply only in the table view.
Column display
To select the columns you want to display, click on the funnel icon ( ) or the arrow next to it, then choose the desired columns.
Searching the table
To filter the information in a column, enter text in the field at the top of the column and press Enter. You can filter in multiple columns.
The global Show and Hide filters show or hide entries with the specified text across all columns.
The search text is not case sensitive.
The search returns results that contain the words separated by spaces.
Text in double quotes is treated as a single match string.
Click the Expand control on a row to open a detail panel with the same information shown in the tree view.
Clearing filters
Click Clear filters to reset all filters to their default settings and close all record details.
Clicking Clear filters does not clear any filtering done on the columns. You must manually deselect columns or select all columns (Select all) and then deselect all columns to reset the column display to the default.
Exporting data
Click Download CSV to export the filtered information to a CSV file.
Tree view
Use View → Tree view to browse the transaction hierarchy. Table column filters and Show/Hide filters do not apply in the tree view.
Browsing the tree
The tree is organized under the top-level Transactions folder. Click the + control beside a folder or branch to expand it; click again to collapse. Click a transaction in the tree to select it.
Tree icons
Each transaction in the tree is shown with an icon that indicates its YANG node type. When the Key column is Y, a leaf is shown with the list key icon instead of the ordinary leaf icon. If the Deprecated column has a value for that transaction, the same icon shape is shown in orange instead of gray.
The following table shows the icons used in the tree view.
| Element | Current | Deprecated |
|---|---|---|
| Container — groups child transactions | ||
| List — repeatable list of entries | ||
| Leaf — single-valued transaction | ||
| Leaf (list key) — key leaf that identifies a list entry | ||
| Leaf list — transaction with multiple values of the same type | ||
| Action — invokable operation |
Searching the tree
Use the Show field above the tree to filter which transactions appear. This filter is separate from the table column filters and the global Show/Hide fields on the table screen.
Matching uses the same rows as the table: the text you enter is compared against the combined content of all columns for each row (HTML in cells is ignored for matching). Only rows that match are used to build the tree.
The filter text is not case sensitive.
Separate words with spaces. Every word must appear somewhere in that row’s combined text (order does not matter).
The tree filter does not treat text in double quotes as a single phrase; that behavior applies to searching in table view only.
After you stop typing, the tree updates after a short pause. Click Clear next to the field to remove the filter and show the full tree again.
When the filter is active, matching fragments in tree labels may be highlighted.
Viewing details
Select a transaction in the tree to view its details in the pane on the right—the same information as the table Expand window.
Column and Expand window descriptions
The following table describes fields shown in table columns, the Expand window, and the tree detail pane.
| Column | Description |
|---|---|
| Root context | Root of the full path of the transaction |
| Context | Path to the branch or leaf without input types |
| Full context | Path to the branch or leaf including input types |
| Description | Describes the branch or leaf |
| Value type | Types include (but are not limited to):
|
| Default | Default value |
| Key | Indicates whether the element is a key |
| String length | String range (number of characters allowed) |
| Range | Range of allowed values for a number that is defined explicitly in the data model, or the range of allowed values defined by its type (if not explicitly defined in the data model) |
| Units | Base unit type |
| Options | Enumerated values allowed |
| Reference | Reference to a valid existing leaf in the tree |
| Minimum instances | Minimum number of elements in a list |
| Maximum instances | Maximum number of elements in a list |
| Ordered by | Indicates whether the element is ordered by the user (instead of by the system) |
| Choice | Indicates whether the element is part of a choice |
| Mandatory | Indicates whether the element is mandatory or part of a mandatory choice |
| Configurable | Indicates configuration (true) or state (false) transaction |
| Notes | Indicates special conditions, for example, mandatory, part of a choice, or part of a list key |
| First released | Release in which the element was introduced |
Known issues with the tool
(Table view) Resizing the columns may lead to unexpected formatting issues. If this occurs, refresh the page to reset the column widths to their defaults.
(Table view) When sorting a column that contains numerical data, the resulting order may be nonsequential because the sorting algorithm organizes the entries based on lexicographical order rather than numerical value.
(Table view) Text in double quotes is treated as a single match string.