Interface AdjacencyList

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Adjacencies, AdjacenciesOp

    public interface AdjacencyList
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping adjacency-list {
       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
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends AdjacencyList> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getAdjacency

        @Nullable java.util.List<Adjacency> getAdjacency()
        Returns:
        java.util.List adjacency, or null if not present
      • nonnullAdjacency

        default @NonNull java.util.List<Adjacency> nonnullAdjacency()
        Returns:
        java.util.List adjacency, or an empty list if it is not present