Interface RedirectExtendedCommunity

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

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

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

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

    To create instances of this class use RedirectExtendedCommunityBuilder.

    See Also:
    RedirectExtendedCommunityBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<RedirectExtendedCommunity> 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