Interface LocalRemote

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.ChoiceIn<InstanceEndpointLocalRemote>, org.opendaylight.yangtools.yang.binding.DataContainer
    All Known Subinterfaces:
    Local, Remote

    @Generated("mdsal-binding-generator")
    public interface LocalRemote
    extends org.opendaylight.yangtools.yang.binding.ChoiceIn<InstanceEndpointLocalRemote>
    Configuration relating to an endpoint which can either be local (an interface), or remote. In the case where it is remote a neighbor IP address and virtual-circuit identifier must be specified

    This class represents the following YANG schema fragment defined in module openconfig-network-instance

     choice local-remote {
       case local {
         leaf interface {
           type leafref {
             path /network-instances/network-instance/interfaces/config/interface;
           }
         }
       }
       case remote {
         leaf neighbor {
           type inet:ip-address;
         }
         leaf virtual-circuit-identifier {
           type uint32;
         }
       }
     }
     
    • Field Summary

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

      • Methods inherited from interface org.opendaylight.yangtools.yang.binding.DataContainer

        implementedInterface
    • Field Detail

      • QNAME

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