All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
Config, State

@Generated("mdsal-binding-generator") public interface InstanceInterfacesConfig extends org.opendaylight.yangtools.binding.Grouping
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;
     }
   }
 }
 
  • 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.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • 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