Interface Community

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Communities, Communities, Communities

    public interface Community
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Community Path Attribute

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

     grouping community {
       leaf as-number {
         type inet:as-number;
       }
       leaf semantics {
         type uint16;
       }
     }
     
    The schema path to identify an instance is bgp-types/community
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends Community> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getAsNumber

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getAsNumber()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber asNumber, or null if not present
      • getSemantics

        org.opendaylight.yangtools.yang.common.Uint16 getSemantics()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 semantics, or null if not present