Interface TableConfig

  • 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 TableConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration parameters relating to a L2/L2.5/L3 table that exists within the network instance

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

     grouping table-config {
       leaf table-name {
         type string;
       }
     }
     
    • 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 TableConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getTableName

        String getTableName()
        Return tableName, or null if it is not present.
             
                 A human-readable name for the table
             
         
        Returns:
        String tableName, or null if it is not present.
      • requireTableName

        default @NonNull String requireTableName()
        Return tableName, guaranteed to be non-null.
             
                 A human-readable name for the table
             
         
        Returns:
        String tableName, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if tableName is not present