All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
RedirectExtendedCommunityCase, RedirectExtendedCommunityCase

@Generated("mdsal-binding-generator") public interface RedirectExtendedCommunity extends org.opendaylight.yangtools.binding.Grouping

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

 grouping redirect-extended-community {
   container redirect-extended-community {
     leaf global-administrator {
       type bgp-t:short-as-number;
     }
     leaf local-administrator {
       type binary {
         length 4;
       }
     }
   }
 }
 
  • Method Details

    • getRedirectExtendedCommunity

      RedirectExtendedCommunity getRedirectExtendedCommunity()
      Return redirectExtendedCommunity, or null if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.redirect.extended.community.RedirectExtendedCommunity redirectExtendedCommunity, or null if it is not present.
    • nonnullRedirectExtendedCommunity

      @NonNull RedirectExtendedCommunity nonnullRedirectExtendedCommunity()
      Return redirectExtendedCommunity, or an empty instance if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.redirect.extended.community.RedirectExtendedCommunity redirectExtendedCommunity, or an empty instance if it is not present.