Interface SetCommunityMethod

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.ChoiceIn<SetCommunity>, org.opendaylight.yangtools.yang.binding.DataContainer
    All Known Subinterfaces:
    Inline, Reference

    @Generated("mdsal-binding-generator")
    public interface SetCommunityMethod
    extends org.opendaylight.yangtools.yang.binding.ChoiceIn<SetCommunity>
    Option to set communities using an inline list or reference to an existing defined set.

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

     choice set-community-method {
       case inline {
         list communities {
           uses bgp-t:community;
         }
       }
       case reference {
         leaf community-set-ref {
           type leafref {
             path /rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:community-sets/bgp-pol:community-set/bgp-pol:community-set-name;
           }
         }
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-policyrouting-policypolicy-definitionspolicy-definitionstatementsstatementactions(http://openconfig.net/yang/bgp-policy?revision=2015-10-09)bgp-actionsset-communityset-community-method
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Method Summary

      • Methods inherited from interface org.opendaylight.yangtools.yang.binding.DataContainer

        implementedInterface
    • Field Detail

      • QNAME

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