Interface AsSpecificExtendedCommunity

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<AsSpecificExtendedCommunity>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ExtendedCommunity>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface AsSpecificExtendedCommunity
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ExtendedCommunity>, org.opendaylight.yangtools.yang.binding.Augmentable<AsSpecificExtendedCommunity>

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

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

    To create instances of this class use AsSpecificExtendedCommunityBuilder.

    See Also:
    AsSpecificExtendedCommunityBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<AsSpecificExtendedCommunity> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • 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