Interface ProtocolsConfig

  • 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 ProtocolsConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration parameters relating to a generic protocol instance within a network instance

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

     grouping protocols-config {
       leaf identifier {
         type identityref {
           base install-protocol-type;
         }
       }
       leaf name {
         type string;
       }
       leaf enabled {
         type boolean;
       }
       leaf target-table {
         type string;
       }
     }
     
    The schema path to identify an instance is openconfig-network-instance/protocols-config
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Class<? extends InstallProtocolType> getIdentifier()
        Return identifier, or null if it is not present.
             
                 The protocol identifier for the instance
             
         
        Returns:
        java.lang.Class identifier, or null if it is not present.
      • getName

        String getName()
        Return name, or null if it is not present.
             
                 A unique name for the protocol instance
             
         
        Returns:
        java.lang.String name, or null if it is not present.
      • getEnabled

        Boolean getEnabled()
        Return enabled, or null if it is not present.
             
                 A boolean value indicating whether the local protocol instance is enabled.
             
         
        Returns:
        java.lang.Boolean enabled, or null if it is not present.
      • isEnabled

        @Deprecated(forRemoval=true)
        default Boolean isEnabled()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getTargetTable

        String getTargetTable()
        Return targetTable, or null if it is not present.
             
                 The table (RIB, FIB, or LFIB) that the protocol should populate its entries in.
             
         
        Returns:
        java.lang.String targetTable, or null if it is not present.