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

    @Generated("mdsal-binding-generator")
    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()
        Return type, or null if it is not present.
             
                 selection of the type of VPN. e.g. l3 or l2
             
         
        Returns:
        Class<? extends BgpvpnTypeBase> type, or null if it is not present.
      • requireType

        default @NonNull Class<? extends BgpvpnTypeBase> requireType()
        Return type, guaranteed to be non-null.
             
                 selection of the type of VPN. e.g. l3 or l2
             
         
        Returns:
        Class<? extends BgpvpnTypeBase> type, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if type is not present
      • getTechnique

        String getTechnique()
        Return technique, or null if it is not present.
             
                 selection of technique used to implement VPN
             
         
        Returns:
        String technique, or null if it is not present.
      • requireTechnique

        default @NonNull String requireTechnique()
        Return technique, guaranteed to be non-null.
             
                 selection of technique used to implement VPN
             
         
        Returns:
        String technique, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if technique is not present
      • getRouteTargets

        @Nullable List<String> getRouteTargets()
        Return routeTargets, or null if it is not present.
             
                 route-targets
             
         
        Returns:
        List<String> routeTargets, or null if it is not present.
      • requireRouteTargets

        default @NonNull List<String> requireRouteTargets()
        Return routeTargets, guaranteed to be non-null.
             
                 route-targets
             
         
        Returns:
        List<String> routeTargets, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if routeTargets is not present
      • getImportTargets

        @Nullable List<String> getImportTargets()
        Return importTargets, or null if it is not present.
             
                 import RTs
             
         
        Returns:
        List<String> importTargets, or null if it is not present.
      • requireImportTargets

        default @NonNull List<String> requireImportTargets()
        Return importTargets, guaranteed to be non-null.
             
                 import RTs
             
         
        Returns:
        List<String> importTargets, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if importTargets is not present
      • getExportTargets

        @Nullable List<String> getExportTargets()
        Return exportTargets, or null if it is not present.
             
                 export RTs
             
         
        Returns:
        List<String> exportTargets, or null if it is not present.
      • requireExportTargets

        default @NonNull List<String> requireExportTargets()
        Return exportTargets, guaranteed to be non-null.
             
                 export RTs
             
         
        Returns:
        List<String> exportTargets, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if exportTargets is not present
      • getRouteDistinguishers

        @Nullable List<String> getRouteDistinguishers()
        Return routeDistinguishers, or null if it is not present.
             
                 list route-distinguishers
             
         
        Returns:
        List<String> routeDistinguishers, or null if it is not present.
      • requireRouteDistinguishers

        default @NonNull List<String> requireRouteDistinguishers()
        Return routeDistinguishers, guaranteed to be non-null.
             
                 list route-distinguishers
             
         
        Returns:
        List<String> routeDistinguishers, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if routeDistinguishers is not present
      • getVni

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

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireVni()
        Return vni, guaranteed to be non-null.
             
                 globally assigned VxLanId
             
         
        Returns:
        Uint32 vni, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if vni is not present
      • getAutoAggregate

        Boolean getAutoAggregate()
        Return autoAggregate, or null if it is not present.
             
                 auto-aggregate enabled or not
             
         
        Returns:
        Boolean autoAggregate, or null if it is not present.
      • requireAutoAggregate

        default @NonNull Boolean requireAutoAggregate()
        Return autoAggregate, guaranteed to be non-null.
             
                 auto-aggregate enabled or not
             
         
        Returns:
        Boolean autoAggregate, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if autoAggregate is not present
      • getNetworks

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

        default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> requireNetworks()
        Return networks, guaranteed to be non-null.
             
                 list of networks this vpn is associated with.
             
         
        Returns:
        List<Uuid> networks, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if networks is not present
      • getRouters

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

        default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> requireRouters()
        Return routers, guaranteed to be non-null.
             
                 list of routers this vpn is associated with.
             
         
        Returns:
        List<Uuid> routers, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if routers is not present