Interface ProtocolsConfig
- 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
@Generated("mdsal-binding-generator")
public interface ProtocolsConfig
extends org.opendaylight.yangtools.binding.Grouping
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; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn enabled, ornull
if it is not present.Return identifier, ornull
if it is not present.getName()
Return name, ornull
if it is not present.Return targetTable, ornull
if it is not present.default @NonNull Boolean
Return enabled, guaranteed to be non-null.default @NonNull InstallProtocolType
Return identifier, guaranteed to be non-null.default @NonNull String
Return name, guaranteed to be non-null.default @NonNull String
Return targetTable, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getIdentifier
InstallProtocolType getIdentifier()Return identifier, ornull
if it is not present.The protocol identifier for the instance
- Returns:
InstallProtocolType
identifier, ornull
if it is not present.
-
requireIdentifier
Return identifier, guaranteed to be non-null.The protocol identifier for the instance
- Returns:
InstallProtocolType
identifier, guaranteed to be non-null.- Throws:
NoSuchElementException
- if identifier is not present
-
getName
String getName()Return name, ornull
if it is not present.A unique name for the protocol instance
- Returns:
String
name, ornull
if it is not present.
-
requireName
Return name, guaranteed to be non-null.A unique name for the protocol instance
- Returns:
String
name, guaranteed to be non-null.- Throws:
NoSuchElementException
- if name is not present
-
getEnabled
Boolean getEnabled()Return enabled, ornull
if it is not present.A boolean value indicating whether the local protocol instance is enabled.
- Returns:
Boolean
enabled, ornull
if it is not present.
-
requireEnabled
Return enabled, guaranteed to be non-null.A boolean value indicating whether the local protocol instance is enabled.
- Returns:
Boolean
enabled, guaranteed to be non-null.- Throws:
NoSuchElementException
- if enabled is not present
-
getTargetTable
String getTargetTable()Return targetTable, ornull
if it is not present.The table (RIB, FIB, or LFIB) that the protocol should populate its entries in.
- Returns:
String
targetTable, ornull
if it is not present.
-
requireTargetTable
Return targetTable, guaranteed to be non-null.The table (RIB, FIB, or LFIB) that the protocol should populate its entries in.
- Returns:
String
targetTable, guaranteed to be non-null.- Throws:
NoSuchElementException
- if targetTable is not present
-