Cisco NCS 1001 Configuration Manual - Page 11

Browse online or download pdf Configuration Manual for Server Cisco NCS 1001. Cisco NCS 1001 36 pages. Data models configuration guide
Also for Cisco NCS 1001: Manual (8 pages), Start Manual (40 pages)

Cisco NCS 1001 Configuration Manual
Data models
• Attribute match expressions -Filtering is done by matching a specified attribute value. This filtering with
• Containment Nodes - Filtering is done by specifying nodes (classes) that have child nodes (classes).
• Selection Nodes - Filtering is done by specifying leaf nodes. This filtering specifies leaf classes.
• Content Match Nodes - Filtering is done by exactly matching the content of a leaf node. This filtering

gRPC

gRPC is a language-neutral, open source, RPC (Remote Procedute Call) system developed by Google. By
default, it uses protocol buffers as the binary serialization protocol. It can be used with other serialization
protocols as well such as JSON, XML etc. The user needs to define the structure by defining protocol buffer
message types in.proto files. Each protocol buffer message is a small logical record of information, containing
a series of name-value pairs.
gRPC encodes requests and responses in binary. Although Protobufs was the only format supported in the
initial release, gRPC is extensible to other content types. The Protobuf binary data object in gRPC is transported
A namespace selection cannot be used by itself; at least one element must be specified in the filter if
any elements are to be included in the filter output.
Example:
<filter type="subtree">
<top xmlns="http://example.com/schema/1.2/config"/>
</filter>
the Match attribute can be specified only in Table classes.
Example:
ifName is the attribute match expression
<filter type="subtree">
<t:top xmlns:t="http://example.com/schema/1.2/config">
<t:interfaces>
<t:interface t:ifName="eth0"/>
</t:interfaces>
</t:top>
</filter>
This filtering is by specifying container classes.
Example: top is a containment node
<filter type="subtree">
<top xmlns="http://example.com/schema/1.2/config">
<users/>
</top>
</filter>
Example: users is a selection node (in the containment node - top)
<filter type="subtree">
<top xmlns="http://example.com/schema/1.2/config">
<users/>
</top>
</filter>
is done by specifying naming the class value for table classes.
Example: name is the content match node (in the containment node - top and the selection
node - user)
<filter type="subtree">
<top xmlns="http://example.com/schema/1.2/config">
<users>
<user>
<name>fred</name>
</user>
</users>
</top>
</filter>
Data Models Configuration Guide for Cisco NCS 1001
gRPC
7