Interface InstanceInterfacesConfig

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

    @Generated("mdsal-binding-generator")
    public interface InstanceInterfacesConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Base configuration parameters relating to the interfaces associated with a network instance

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

     grouping instance-interfaces-config {
       leaf-list interface {
         type leafref {
           path /ocif:interfaces/ocif:interface/ocif:name;
         }
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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

        @Nullable Set<String> getInterface()
        Return interface, or null if it is not present.
             
                 Interfaces that are associated with the network instance
             
         
        Returns:
        Set<String> interface, or null if it is not present.
      • requireInterface

        default @NonNull Set<String> requireInterface()
        Return interface, guaranteed to be non-null.
             
                 Interfaces that are associated with the network instance
             
         
        Returns:
        Set<String> interface, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if interface is not present