Interface Adjacency

  • All Superinterfaces:
    AdjacencyOpData, org.opendaylight.yangtools.yang.binding.Augmentable<Adjacency>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<AdjacencyList>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<AdjacencyKey>

    public interface Adjacency
    extends org.opendaylight.yangtools.yang.binding.ChildOf<AdjacencyList>, org.opendaylight.yangtools.yang.binding.Augmentable<Adjacency>, AdjacencyOpData, org.opendaylight.yangtools.yang.binding.Identifiable<AdjacencyKey>

    This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces

     list adjacency {
       key ip_address;
       leaf-list next-hop-ip-list {
         type string;
       }
       leaf ip_address {
         type string;
       }
       leaf adjacency_type {
         type enumeration {
           enum primary-adjacency {
             value 1;
           }
           enum learnt-ip {
             value 2;
           }
           enum extra-route {
             value 3;
           }
         }
         default extra-route;
       }
       leaf mac_address {
         type string;
       }
       leaf subnet_id {
         type yang:uuid;
       }
       leaf subnet_gateway_ip {
         type string;
       }
       leaf phys-network-func {
         type boolean;
         default false;
       }
       uses adjacency-op-data;
     }
     
    The schema path to identify an instance is l3vpn-instances-interfaces/adjacency-list/adjacency

    To create instances of this class use AdjacencyBuilder.

    See Also:
    AdjacencyBuilder, AdjacencyKey
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<Adjacency> implementedInterface()
        Specified by:
        implementedInterface in interface AdjacencyOpData
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getNextHopIpList

        @Nullable java.util.List<java.lang.String> getNextHopIpList()
        Returns:
        java.util.List nextHopIpList, or null if not present
      • getIpAddress

        @Nullable java.lang.String getIpAddress()
        Returns:
        java.lang.String ipAddress, or null if not present
      • getAdjacencyType

        @Nullable Adjacency.AdjacencyType getAdjacencyType()
        The type of adjacency
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.adjacency.list.Adjacency.AdjacencyType adjacencyType, or null if not present
      • getMacAddress

        @Nullable java.lang.String getMacAddress()
        Returns:
        java.lang.String macAddress, or null if not present
      • getSubnetId

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSubnetId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, or null if not present
      • getSubnetGatewayIp

        @Nullable java.lang.String getSubnetGatewayIp()
        Returns:
        java.lang.String subnetGatewayIp, or null if not present
      • isPhysNetworkFunc

        @Nullable java.lang.Boolean isPhysNetworkFunc()
        Value of True indicates this is an adjacency of a device in a provider network
        Returns:
        java.lang.Boolean physNetworkFunc, or null if not present
      • key

        AdjacencyKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<AdjacencyKey>