Interface Reference

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Reference>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChoiceIn<SetCommunity>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, SetCommunityMethod

    public interface Reference
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<Reference>, SetCommunityMethod

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

     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-policy/routing-policy/policy-definitions/policy-definition/statements/statement/actions/(http://openconfig.net/yang/bgp-policy?revision=2015-10-09)bgp-actions/set-community/set-community-method/reference
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Reference> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getCommunitySetRef

        @Nullable String getCommunitySetRef()
        References a defined community set by name
        Returns:
        java.lang.String communitySetRef, or null if not present