All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.ChoiceIn<SrSubobject>, org.opendaylight.yangtools.yang.binding.DataContainer
All Known Subinterfaces:
IpAdjacency, IpNodeId, Ipv6Local, UnnumberedAdjacency

@Generated("mdsal-binding-generator") public interface Nai extends org.opendaylight.yangtools.yang.binding.ChoiceIn<SrSubobject>
Node or Adjacency Identifier

This class represents the following YANG schema fragment defined in module odl-pcep-segment-routing

 choice nai {
   case ip-node-id {
     when "../nai-type = 'ipv4-node-id' or ../nai-type = 'ipv6-node-id'";
     leaf ip-address {
       type inet:ip-address-no-zone;
     }
   }
   case ip-adjacency {
     when "../nai-type = 'ipv4-adjacency' or ../nai-type = 'ipv6-adjacency'";
     leaf local-ip-address {
       type inet:ip-address-no-zone;
     }
     leaf remote-ip-address {
       type inet:ip-address-no-zone;
     }
   }
   case unnumbered-adjacency {
     when "../nai-type = 'unnumbered'";
     leaf local-node-id {
       type uint32;
     }
     leaf local-interface-id {
       type uint32;
     }
     leaf remote-node-id {
       type uint32;
     }
     leaf remote-interface-id {
       type uint32;
     }
   }
   case ipv6-local {
     when "../nai-type = 'ipv6-local'";
     leaf local-ipv6-address {
       type inet:ipv6-address-no-zone;
     }
     leaf local-id {
       type uint32;
     }
     leaf remote-ipv6-address {
       type inet:ipv6-address-no-zone;
     }
     leaf remote-id {
       type uint32;
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Methods inherited from interface org.opendaylight.yangtools.yang.binding.BindingContract

    implementedInterface
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.