All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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;
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Methods inherited from interface org.opendaylight.yangtools.yang.binding.BindingContract

    implementedInterface
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.