Interface Confederation

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

    public interface Confederation
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpGlobalBase>, org.opendaylight.yangtools.yang.binding.Augmentable<Confederation>
    Parameters indicating whether the local system acts as part of a BGP confederation

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

     container confederation {
       container config {
         uses bgp-confederation_config;
       }
       container state {
         config false;
         uses bgp-confederation_config;
       }
     }
     
    The schema path to identify an instance is openconfig-bgp/bgp-global-base/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 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
      • getConfig

        @Nullable Config getConfig()
        Configuration parameters relating to BGP confederations
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.rev151009.bgp.global.base.confederation.Config config, or null if not present
      • getState

        @Nullable State getState()
        State information relating to the BGP confederations
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.rev151009.bgp.global.base.confederation.State state, or null if not present