Interface ProtocolsConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface ProtocolsConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters relating to a generic protocol instance within a network instanceThis 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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable Class<? extends InstallProtocolType>
getIdentifier()
The protocol identifier for the instance@Nullable String
getName()
A unique name for the protocol instance@Nullable String
getTargetTable()
The table (RIB, FIB, or LFIB) that the protocol should populate its entries in.Class<? extends ProtocolsConfig>
implementedInterface()
@Nullable Boolean
isEnabled()
A boolean value indicating whether the local protocol instance is enabled.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ProtocolsConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getIdentifier
@Nullable Class<? extends InstallProtocolType> getIdentifier()
The protocol identifier for the instance- Returns:
java.lang.Class
identifier
, ornull
if not present
-
getName
@Nullable String getName()
A unique name for the protocol instance- Returns:
java.lang.String
name
, ornull
if not present
-
isEnabled
@Nullable Boolean isEnabled()
A boolean value indicating whether the local protocol instance is enabled.- Returns:
java.lang.Boolean
enabled
, ornull
if not present
-
getTargetTable
@Nullable String getTargetTable()
The table (RIB, FIB, or LFIB) that the protocol should populate its entries in.- Returns:
java.lang.String
targetTable
, ornull
if not present
-
-