Interface RouteTargetExtendedCommunity

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<RouteTargetExtendedCommunity>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<RouteTargetExtendedCommunityGrouping>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, RouteTarget

    public interface RouteTargetExtendedCommunity
    extends org.opendaylight.yangtools.yang.binding.ChildOf<RouteTargetExtendedCommunityGrouping>, org.opendaylight.yangtools.yang.binding.Augmentable<RouteTargetExtendedCommunity>, RouteTarget
    Type 0x00 / Subtype 0x02

    This class represents the following YANG schema fragment defined in module bgp-types

     container route-target-extended-community {
       uses route-target;
       leaf global-administrator {
         type short-as-number;
       }
       leaf local-administrator {
         type binary {
           length 4;
         }
       }
     }
     
    The schema path to identify an instance is bgp-types/route-target-extended-community-grouping/route-target-extended-community

    To create instances of this class use RouteTargetExtendedCommunityBuilder.

    See Also:
    RouteTargetExtendedCommunityBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<RouteTargetExtendedCommunity> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface RouteTarget
      • getGlobalAdministrator

        @Nullable ShortAsNumber getGlobalAdministrator()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.ShortAsNumber globalAdministrator, or null if not present
      • getLocalAdministrator

        byte[] getLocalAdministrator()
        Returns:
        byte[] localAdministrator, or null if not present