Interface Confederation

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Confederation>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Bgp>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface Confederation
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Bgp>, org.opendaylight.yangtools.yang.binding.Augmentable<Confederation>
    AS confederation parameters.

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

     container confederation {
       leaf identifier {
         type string;
       }
       list peers {
         key as-name;
         leaf as-name {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is bgp/bgp-router/af-configuration/ipv4/unicast/bgp/confederation

    To create instances of this class use ConfederationBuilder.

    See Also:
    ConfederationBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<Confederation> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getIdentifier

        @Nullable java.lang.String getIdentifier()
        Confederation identifier.
        Returns:
        java.lang.String identifier, or null if not present
      • getPeers

        @Nullable java.util.List<Peers> getPeers()
        Confederation peers.
        Returns:
        java.util.List peers, or null if not present
      • nonnullPeers

        default @NonNull java.util.List<Peers> nonnullPeers()
        Returns:
        java.util.List peers, or an empty list if it is not present