Cisco-NX-OS-device
module Cisco-NX-OS-device {
yang-version 1;
namespace "http://cisco.com/ns/yang/cisco-nx-os-device";
prefix top;
...
description "NXOS Device YANG Model";
reference "07f73652031d72f0ac161991efac9d778c43313b";
revision 2018-02-12 {
description
"Initial Revision
Generated by mtx 1.0.1 Built on Tue Feb 6 18:32:24 PST 2018 by kyyun";
}
...
grouping System-group {
leaf id {
type uint32;
}
...
// Holds ospf control plane entity information
container ospf-items {
// Added containment as a singleton: Prefix=ospf
// Acquired From Package ospf
uses ospf_Entity-group;
}
...
}
...
grouping ospf_Entity-group {
// Inherited From nw:Conn
// Modified by Override: nw:CpEntity->name
// Modified by Override: ospf:AEntity->name
// Type is an MO-Defined-Type
leaf name {
description "Name";
// Type is an MO-Defined-Type
type naming_Name256 {
length "1..64";
}
}
...
// This objects hold per ospf instance information
container inst-items {
list Inst-list {
key "name";
// Added containment: Prefix=inst
// Acquired From Package ospf
uses ospf_Inst-group;
}
}
...
}
grouping ospf_Inst-group {
// Inherited From nw:Conn
// Modified by Override: nw:CpInst->name
// Modified by Override: ospf:AInst->name
// Type is an MO-Defined-Type
leaf name {
description "Name";
// Type is an MO-Defined-Type
type naming_Name256 {
length "1..64";
}
}
...
// This objects hold per ospf domain (vrf) information
container dom-items {
list Dom-list {
key "name";
// Added containment: Prefix=dom
// Acquired From Package ospf
uses ospf_Dom-group;
}
}
...
}
grouping ospf_Dom-group {
// Inherited From nw:Conn
// Modified by Override: nw:CpDom->name
// Modified by Override: ospf:ADom->name
// Type is an MO-Defined-Type
leaf name {
description "Name";
// Type is an MO-Defined-Type
type naming_Name256 {
length "1..64";
}
}
// Router id for this domain, if this is not specified
// the router-id is automatically picked up based on the
// first interface that comes up in that domain
// Inherited From ospf:ADom
// Type is an MO-Defined-Type
leaf rtrId {
description "Router ID";
// Type is an MO-Defined-Type
type ip_RtrId;
}
...
// This object holds ospf information that is operated at a
// interface level
container if-items {
list If-list {
key "id";
// Added containment: Prefix=if
// Acquired From Package ospf
uses ospf_If-group;
}
}
...
}
...
grouping ospf_If-group {
// Inherited From nw:Conn
// Modified by Override: nw:Ep->name
// Modified by Override: ospf:AIf->name
// Type is an MO-Defined-Type
leaf name {
description "Name";
// Type is an MO-Defined-Type
type naming_Name256 {
length "1..64";
}
}
// Inherited From nw:If
// Modified by Override: ospf:AIf->descr
// Type is an MO-Defined-Type
leaf descr {
config "false";
description "Description";
// Type is an MO-Defined-Type
type naming_Descr1024;
}
// Interface ID of this endpoint
// Inherited From nw:If
// Type is an MO-Defined-Type
leaf id {
description "Interface ID";
// Type is an MO-Defined-Type
type nw_IfId;
}
// Administrative state
// Inherited From nw:ProtIf
// Type is an MO-Defined-Type
leaf adminSt {
description "Admin State";
// Type is an MO-Defined-Type
type nw_IfAdminSt;
}
...
// Area to which this interface belongs to
// Inherited From ospf:AIf
// Type is an MO-Defined-Type
leaf area {
description "Area ID";
// Type is an MO-Defined-Type
type ospf_AreaId;
}
leaf advertiseSecondaries {
type boolean;
default "true";
}
...
}
...
}
...
grouping fm_Entity-group {
...
// OSPF feature information
container ospf-items {
// Added containment as a singleton: Prefix=ospf
// Acquired From Package fm
uses fm_Ospf-group;
}
...
}
...
grouping fm_Ospf-group {
// To enable/disable feature
// Inherited From fm:Feature
// Type is an MO-Defined-Type
leaf adminSt {
description "Admin status";
// Type is an MO-Defined-Type
type fm_AdminState;
}
...
}