NETCONF Configuration Guide
YANG API Reference
mgmt-interface
16 min
asternos mgmt interface module description asternos model for mgmt interface groups yang tree diagram module asternos mgmt interface + rw mgmt interfaces + rw mgmt interface \[name] + rw name string + rw address \[ip prefix] \| + rw ip prefix inet\ ip prefix \| + rw gwaddr? inet\ ip address no zone + rw vrf enable? boolean rpcs + x show interface mgmt + w input \| + w vrf? string + ro output + ro data? \<anydata> resources resource list path access /mgmt interfaces read write /mgmt interfaces/mgmt interface read write /mgmt interfaces/mgmt interface/name read write /mgmt interfaces/mgmt interface/address read write /mgmt interfaces/mgmt interface/address/ip prefix read write /mgmt interfaces/mgmt interface/address/gwaddr read write /mgmt interfaces/mgmt interface/vrf enable read write detailed nodes /mgmt interfaces path /mgmt interfaces node type container description the mgmt interfaces struct containing all attributes of mgmt interfaces data set access read write /mgmt interfaces/mgmt interface path /mgmt interfaces/mgmt interface node type list description no description available access read write /mgmt interfaces/mgmt interface/name path /mgmt interfaces/mgmt interface/name node type leaf description no description available access read write data type /mgmt interfaces/mgmt interface/address path /mgmt interfaces/mgmt interface/address node type list description the type of ip prefix must be same as the type of gw access read write /mgmt interfaces/mgmt interface/address/ip prefix path /mgmt interfaces/mgmt interface/address/ip prefix node type leaf description no description available access read write data type constraints multiple constraints must condition (contains(current(), ' ') and contains( /gwaddr, ' ')) or (contains(current(), ' ') and contains( /gwaddr, ' ')) the ipv6 prefix type represents an ipv6 prefix the prefix length is given by the number following the slash character and must be less than or equal to 128 a prefix length value of n corresponds to an ip address mask that has n contiguous 1 bits from the most significant bit (msb) and all other bits set to 0 the canonical format of an ipv6 prefix has all bits of the ipv6 address set to zero that are not part of the ipv6 prefix furthermore, the ipv6 address is represented as defined in section 4 of rfc 5952 the definition of ipv6 prefix does not require that bits, which are not part of the prefix, are set to zero however, implementations have to return values in canonical format, which requires non prefix bits to be set to zero this means that 2001\ db8 1/64 must be accepted as a valid value but it will be converted into the canonical format 2001\ db8 /64 the ipv4 prefix type represents an ipv4 prefix the prefix length is given by the number following the slash character and must be less than or equal to 32 a prefix length value of n corresponds to an ip address mask that has n contiguous 1 bits from the most significant bit (msb) and all other bits set to 0 the canonical format of an ipv4 prefix has all bits of the ipv4 address set to zero that are not part of the ipv4 prefix the definition of ipv4 prefix does not require that bits, which are not part of the prefix, are set to zero however, implementations have to return values in canonical format, which requires non prefix bits to be set to zero this means that 192 0 2 1/24 must be accepted as a valid value but it will be converted into the canonical format 192 0 2 0/24 /mgmt interfaces/mgmt interface/address/gwaddr path /mgmt interfaces/mgmt interface/address/gwaddr node type leaf description no description available access read write data type constraints multiple constraints an ipv6 address without a zone index this type, derived from the type ipv6 address, may be used in situations where the zone is known from the context and no zone index is needed must condition (contains(current(), ' ') and contains( /ip prefix, ' ')) or (contains(current(), ' ') and contains( /ip prefix, ' ')) an ipv4 address without a zone index this type, derived from the type ipv4 address, may be used in situations where the zone is known from the context and no zone index is needed /mgmt interfaces/mgmt interface/vrf enable path /mgmt interfaces/mgmt interface/vrf enable node type leaf description no description available access read write data type constraints valid in \[true, false] rpcs show interface mgmt path access /show interface mgmt/input read write /show interface mgmt/input/vrf read write /show interface mgmt/output read write /show interface mgmt/output/data read write /show interface mgmt/input path /show interface mgmt/input node type container description no description available access read write /show interface mgmt/input/vrf path /show interface mgmt/input/vrf node type leaf description management interface of vrf access read write data type /show interface mgmt/output path /show interface mgmt/output node type container description no description available access read write /show interface mgmt/output/data path /show interface mgmt/output/data node type anydata description display the management interface access read write
