This class represents the following YANG schema fragment defined in module vpp-nsh
(Source path: META-INF/yang/vpp-nsh.yang):
container nsh-entries {
list nsh-entry {
key "name"
leaf name {
type string;
}
leaf nsp {
type uint32;
}
leaf nsi {
type uint8;
}
leaf md-type {
type nsh-md-type;
}
leaf version {
type uint8;
}
leaf length {
type uint8;
}
leaf next-protocol {
type nsh-next-protocol;
}
leaf c1 {
type uint32;
}
leaf c2 {
type uint32;
}
leaf c3 {
type uint32;
}
leaf c4 {
type uint32;
}
leaf type {
type uint32;
}
augment \(urn:opendaylight:params:xml:ns:yang:vpp:nsh)vpp-nsh-state\(urn:opendaylight:params:xml:ns:yang:vpp:nsh)nsh-entries\(urn:opendaylight:params:xml:ns:yang:vpp:nsh)nsh-entry {
when "/md-type = 'vpp-nsh:md-type2' ";
status CURRENT;
leaf type {
type uint32;
}
uses nsh-md-type2-attributes;
}
augment \(urn:opendaylight:params:xml:ns:yang:vpp:nsh)vpp-nsh-state\(urn:opendaylight:params:xml:ns:yang:vpp:nsh)nsh-entries\(urn:opendaylight:params:xml:ns:yang:vpp:nsh)nsh-entry {
when "/md-type = 'vpp-nsh:md-type1' ";
status CURRENT;
leaf c1 {
type uint32;
}
leaf c2 {
type uint32;
}
leaf c3 {
type uint32;
}
leaf c4 {
type uint32;
}
uses nsh-md-type1-attributes;
}
uses nsh-entry-base-attributes;
}
}
The schema path to identify an instance is
vpp-nsh/vpp-nsh-state/nsh-entries
To create instances of this class use
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.nsh.rev160624.vpp.nsh.state.NshEntriesBuilder.