Interface VpnIds

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<VpnIds>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PrefixToInterface>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<VpnIdsKey>

    public interface VpnIds
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PrefixToInterface>, org.opendaylight.yangtools.yang.binding.Augmentable<VpnIds>, org.opendaylight.yangtools.yang.binding.Identifiable<VpnIdsKey>

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

     list vpn-ids {
       key vpn-id;
       leaf vpn-id {
         type uint32;
       }
       list prefixes {
         key ip_address;
         leaf ip_address {
           type string;
         }
         leaf dpnId {
           type uint64;
         }
         leaf vpn-interface-name {
           type string;
         }
         uses nvpn:network-attributes;
         leaf prefix-cue {
           type enumeration {
             enum none {
               value 0;
             }
             enum nat {
               value 1;
             }
             enum phys-net-func {
               value 2;
             }
             enum subnet-route {
               value 3;
             }
           }
           default none;
         }
       }
     }
     
    The schema path to identify an instance is odl-l3vpn/prefix-to-interface/vpn-ids

    To create instances of this class use VpnIdsBuilder.

    See Also:
    VpnIdsBuilder, VpnIdsKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getVpnId()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 vpnId, or null if not present
      • getPrefixes

        @Nullable java.util.List<Prefixes> getPrefixes()
        Returns:
        java.util.List prefixes, or null if not present
      • nonnullPrefixes

        default @NonNull java.util.List<Prefixes> nonnullPrefixes()
        Returns:
        java.util.List prefixes, or an empty list if it is not present
      • key

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