Interface InterfaceRef

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

    public interface InterfaceRef
    extends org.opendaylight.yangtools.yang.binding.ChildOf<InterfaceRef>, org.opendaylight.yangtools.yang.binding.Augmentable<InterfaceRef>, InterfaceRefStateContainer
    Reference to an interface or subinterface

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

     container interface-ref {
       container config {
         uses interface-ref-common;
       }
       uses interface-ref-state-container;
     }
     
    The schema path to identify an instance is openconfig-interfaces/interface-ref/interface-ref

    To create instances of this class use InterfaceRefBuilder.

    See Also:
    InterfaceRefBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Config getConfig()
        Configured reference to interface / subinterface
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412._interface.ref._interface.ref.Config config, or null if not present