Interface BgpvpnAttributes

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

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

    This class represents the following YANG schema fragment defined in module neutron-bgpvpns

     grouping bgpvpn-attributes {
       leaf type {
         type bgpvpn-type;
       }
       leaf technique {
         type string;
       }
       leaf-list route-targets {
         type string;
       }
       leaf-list import-targets {
         type string;
       }
       leaf-list export-targets {
         type string;
       }
       leaf-list route-distinguishers {
         type string;
       }
       leaf vni {
         type uint32;
       }
       leaf auto-aggregate {
         type boolean;
         default false;
       }
       leaf-list networks {
         type yang:uuid;
       }
       leaf-list routers {
         type yang:uuid;
       }
     }
     
    The schema path to identify an instance is neutron-bgpvpns/bgpvpn-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends BgpvpnAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getType

        Class<? extends BgpvpnTypeBase> getType()
        selection of the type of VPN. e.g. l3 or l2
        Returns:
        java.lang.Class type, or null if not present
      • getTechnique

        String getTechnique()
        selection of technique used to implement VPN
        Returns:
        java.lang.String technique, or null if not present
      • getRouteTargets

        @Nullable List<String> getRouteTargets()
        route-targets
        Returns:
        java.util.List routeTargets, or null if not present
      • getImportTargets

        @Nullable List<String> getImportTargets()
        import RTs
        Returns:
        java.util.List importTargets, or null if not present
      • getExportTargets

        @Nullable List<String> getExportTargets()
        export RTs
        Returns:
        java.util.List exportTargets, or null if not present
      • getRouteDistinguishers

        @Nullable List<String> getRouteDistinguishers()
        list route-distinguishers
        Returns:
        java.util.List routeDistinguishers, or null if not present
      • getVni

        org.opendaylight.yangtools.yang.common.Uint32 getVni()
        globally assigned VxLanId
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 vni, or null if not present
      • isAutoAggregate

        Boolean isAutoAggregate()
        auto-aggregate enabled or not
        Returns:
        java.lang.Boolean autoAggregate, or null if not present
      • getNetworks

        @Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getNetworks()
        list of networks this vpn is associated with.
        Returns:
        java.util.List networks, or null if not present
      • getRouters

        @Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getRouters()
        list of routers this vpn is associated with.
        Returns:
        java.util.List routers, or null if not present