Interface RouteTargetConstrain

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

    public interface RouteTargetConstrain
    extends org.opendaylight.yangtools.yang.binding.DataObject
    The Route Target constrains NLRI is carried in BGP [RFC4684] using BGP Multiprotocol Extensions [RFC4760] with an Address Family Identifier (AFI) of 1 (IPV4) and a Subsequent Address Family Identifier (SAFI) of 132 (ROUTE-TARGET)

    This class represents the following YANG schema fragment defined in module bgp-route-target-constrain

     grouping route-target-constrain {
       leaf origin-as {
         type inet:as-number;
       }
       choice route-target-constrain-choice {
         case route-target-constrain-default-case {
           uses bgp-t:route-target-constrain-default-route-grouping;
         }
         case route-target-constrain-route-case {
           uses bgp-t:route-target-extended-community-grouping;
         }
         case route-target-constrain-ipv4-route-case {
           uses bgp-t:route-target-ipv4-grouping;
         }
         case route-target-constrain-as-4-extended-community-case {
           uses bgp-t:as-4-route-target-extended-community-grouping;
         }
       }
     }
     
    The schema path to identify an instance is bgp-route-target-constrain/route-target-constrain
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getOriginAs()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber originAs, or null if not present
      • getRouteTargetConstrainChoice

        @Nullable RouteTargetConstrainChoice getRouteTargetConstrainChoice()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.route.target.constrain.rev180618.route.target.constrain.RouteTargetConstrainChoice routeTargetConstrainChoice, or null if not present