Interface HostconfigEntryAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Hostconfig
@Generated("mdsal-binding-generator") public interface HostconfigEntryAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
These values will be populated by the Cloud Operator and will be stored in the Open_vSwitch configuration data in the external_ids field as a key value pair.This class represents the following YANG schema fragment defined in module neutron-hostconfig
grouping hostconfig-entry-attributes { leaf host-id { type string; config false; } leaf host-type { type string; config false; } leaf config { type string; config false; } }
The schema path to identify an instance is neutron-hostconfig/hostconfig-entry-attributes
-
-
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 Default Methods Modifier and Type Method Description String
getConfig()
Return config, ornull
if it is not present.String
getHostId()
Return hostId, ornull
if it is not present.String
getHostType()
Return hostType, ornull
if it is not present.Class<? extends HostconfigEntryAttributes>
implementedInterface()
default @NonNull String
requireConfig()
Return config, guaranteed to be non-null.default @NonNull String
requireHostId()
Return hostId, guaranteed to be non-null.default @NonNull String
requireHostType()
Return hostType, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends HostconfigEntryAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getHostId
String getHostId()
Return hostId, ornull
if it is not present.Host identification string. This string will be stored with the key as odl_os_hostconfig_hostid.
- Returns:
String
hostId, ornull
if it is not present.
-
requireHostId
default @NonNull String requireHostId()
Return hostId, guaranteed to be non-null.Host identification string. This string will be stored with the key as odl_os_hostconfig_hostid.
- Returns:
String
hostId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if hostId is not present
-
getHostType
String getHostType()
Return hostType, ornull
if it is not present.The string is for type of the node. For example L3 Agent,DHCP Agent etc. This string will be stored with the key as odl_os_hostconfig_hosttype.
- Returns:
String
hostType, ornull
if it is not present.
-
requireHostType
default @NonNull String requireHostType()
Return hostType, guaranteed to be non-null.The string is for type of the node. For example L3 Agent,DHCP Agent etc. This string will be stored with the key as odl_os_hostconfig_hosttype.
- Returns:
String
hostType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if hostType is not present
-
getConfig
String getConfig()
Return config, ornull
if it is not present.This is the configuration data for the host type to be used to configure that host type by Openstack. This string will be stored with the key as odl_os_hostconfig_config.
- Returns:
String
config, ornull
if it is not present.
-
requireConfig
default @NonNull String requireConfig()
Return config, guaranteed to be non-null.This is the configuration data for the host type to be used to configure that host type by Openstack. This string will be stored with the key as odl_os_hostconfig_config.
- Returns:
String
config, guaranteed to be non-null.- Throws:
NoSuchElementException
- if config is not present
-
-