All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Set<String>
    Return interface, or null if it is not present.
     
    default @NonNull Set<String>
    Return interface, guaranteed to be non-null.
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends InstanceInterfacesConfig> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<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