Interface OvsdbNodeAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
OvsdbNodeAugmentation
public interface OvsdbNodeAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
Plugin will not allow multiple connections to the same device. If an attempts to make more than one connection to the device by putting multiple entries in the config data store, then it is the responsibility of the application to clean the config data storeThis class represents the following YANG schema fragment defined in module ovsdb
grouping ovsdb-node-attributes { container connection-info { uses ovsdb-connection-info-attributes; } leaf db-version { type string; } leaf ovs-version { type string; } list managed-node-entry { key bridge-ref; leaf bridge-ref { type ovsdb-bridge-ref; } } list datapath-type-entry { key datapath-type; leaf datapath-type { type identityref { base datapath-type-base; } } } list interface-type-entry { key interface-type; leaf interface-type { type identityref { base interface-type-base; } } } list openvswitch-external-ids { key external-id-key; leaf external-id-key { type string; } leaf external-id-value { type string; } } list openvswitch-other-configs { key other-config-key; leaf other-config-key { type string; } leaf other-config-value { type string; } } list manager-entry { config false; key target; leaf target { type inet:uri; } leaf connected { type boolean; } leaf number_of_connections { type uint32; } } list qos-entries { key qos-id; leaf qos-id { type inet:uri; } leaf qos-uuid { type yang:uuid; } leaf qos-type { type identityref { base qos-type-base; } } list queue-list { key queue-number; leaf queue-number { type uint32; } leaf queue-ref { type ovsdb-queue-ref; } } list qos-external-ids { key qos-external-id-key; leaf qos-external-id-key { type string; } leaf qos-external-id-value { type string; } } list qos-other-config { key other-config-key; leaf other-config-key { type string; } leaf other-config-value { type string; } } } list queues { key queue-id; leaf queue-id { type inet:uri; } leaf queue-uuid { type yang:uuid; } leaf dscp { type uint8; } list queues-external-ids { key queues-external-id-key; leaf queues-external-id-key { type string; } leaf queues-external-id-value { type string; } } list queues-other-config { key queue-other-config-key; leaf queue-other-config-key { type string; } leaf queue-other-config-value { type string; } } } list autoattach { key autoattach-id; leaf autoattach-id { type inet:uri; } leaf bridge-id { type inet:uri; } leaf autoattach-uuid { type yang:uuid; } leaf system-name { type string; } leaf system-description { type string; } list mappings { key mappings-key; leaf mappings-key { type uint32 { range 0..16777215; } } leaf mappings-value { type uint16 { range 0..4095; } } } list autoattach-external-ids { key autoattach-external-id-key; leaf autoattach-external-id-key { type string; } leaf autoattach-external-id-value { type string; } } } }
The schema path to identify an instance is ovsdb/ovsdb-node-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
-
-
-
Method Detail
-
implementedInterface
Class<? extends OvsdbNodeAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getConnectionInfo
@Nullable ConnectionInfo getConnectionInfo()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.node.attributes.ConnectionInfo
connectionInfo
, ornull
if not present
-
getDbVersion
@Nullable String getDbVersion()
The database schema version- Returns:
java.lang.String
dbVersion
, ornull
if not present
-
getOvsVersion
@Nullable String getOvsVersion()
The Open_vSwitch version number- Returns:
java.lang.String
ovsVersion
, ornull
if not present
-
getManagedNodeEntry
@Nullable List<ManagedNodeEntry> getManagedNodeEntry()
- Returns:
java.util.List
managedNodeEntry
, ornull
if not present
-
nonnullManagedNodeEntry
default @NonNull List<ManagedNodeEntry> nonnullManagedNodeEntry()
- Returns:
java.util.List
managedNodeEntry
, or an empty list if it is not present
-
getDatapathTypeEntry
@Nullable List<DatapathTypeEntry> getDatapathTypeEntry()
- Returns:
java.util.List
datapathTypeEntry
, ornull
if not present
-
nonnullDatapathTypeEntry
default @NonNull List<DatapathTypeEntry> nonnullDatapathTypeEntry()
- Returns:
java.util.List
datapathTypeEntry
, or an empty list if it is not present
-
getInterfaceTypeEntry
@Nullable List<InterfaceTypeEntry> getInterfaceTypeEntry()
- Returns:
java.util.List
interfaceTypeEntry
, ornull
if not present
-
nonnullInterfaceTypeEntry
default @NonNull List<InterfaceTypeEntry> nonnullInterfaceTypeEntry()
- Returns:
java.util.List
interfaceTypeEntry
, or an empty list if it is not present
-
getOpenvswitchExternalIds
@Nullable List<OpenvswitchExternalIds> getOpenvswitchExternalIds()
Key-value pairs for use by external frameworks that integrate with Open vSwitch. external_ids : system-id: optional string A unique identifier for the Open vSwitch's physical host. The form of the identifier depends on the type of the host. On a Citrix XenServer, this will likely be the same as external_ids:xs-system-uuid. external_ids : xs-system-uuid: optional string The Citrix XenServer universally unique identifier for the physical host as displayed by xe-host-list.- Returns:
java.util.List
openvswitchExternalIds
, ornull
if not present
-
nonnullOpenvswitchExternalIds
default @NonNull List<OpenvswitchExternalIds> nonnullOpenvswitchExternalIds()
- Returns:
java.util.List
openvswitchExternalIds
, or an empty list if it is not present
-
getOpenvswitchOtherConfigs
@Nullable List<OpenvswitchOtherConfigs> getOpenvswitchOtherConfigs()
Key-value pairs for configuring rarely used features. other_config : stats-update-interval: optional string This option will affect the update of the statistics column in the following tables: Port, Interface , Mirror. other_config : flow-restore-wait: optional string either true or false When ovs-vswitchd starts up, it has an empty flow table and therefore it handles all arriving packets in its default fashion according to its configuration, by dropping them or sending them to an OpenFlow controller or switching them as a standalone switch. other_config : flow-limit: optional string containing an integer, at least 0. The maximum number of flows allowed in the datapath flow table. other_config : n-dpdk-rxqs: optional string containing an integer, at least 1 Specifies the number of rx queues to be created for each dpdk interface. If not specified or specified to 0, one rx queue will be created for each dpdk interface by default. other_config : pmd-cpu-mask: optional string Specifies CPU mask for setting the cpu affinity of PMD (Poll Mode Driver) threads. Value should be in the form of hex string, similar to the dpdk EAL '-c COREMASK' option input or the 'taskset' mask input. other_config : n-handler-threads: optional string containing an integer, at least 1 Specifies the number of threads for software datapaths to use for handling new flows. The default the number of online CPU cores minus the number of revalidators. other_config : n-revalidator-threads: optional string, containing an integer, at least 1 Specifies the number of threads for software datapaths to use for revalidating flows in the datapath. other_config : enable-statistics: optional string either ture or false. Set this value to true to enable populating the statistics column or to false to explicitly disable it.- Returns:
java.util.List
openvswitchOtherConfigs
, ornull
if not present
-
nonnullOpenvswitchOtherConfigs
default @NonNull List<OpenvswitchOtherConfigs> nonnullOpenvswitchOtherConfigs()
- Returns:
java.util.List
openvswitchOtherConfigs
, or an empty list if it is not present
-
getManagerEntry
@Nullable List<ManagerEntry> getManagerEntry()
Node managers info- Returns:
java.util.List
managerEntry
, ornull
if not present
-
nonnullManagerEntry
default @NonNull List<ManagerEntry> nonnullManagerEntry()
- Returns:
java.util.List
managerEntry
, or an empty list if it is not present
-
getQosEntries
@Nullable List<QosEntries> getQosEntries()
- Returns:
java.util.List
qosEntries
, ornull
if not present
-
nonnullQosEntries
default @NonNull List<QosEntries> nonnullQosEntries()
- Returns:
java.util.List
qosEntries
, or an empty list if it is not present
-
nonnullQueues
default @NonNull List<Queues> nonnullQueues()
- Returns:
java.util.List
queues
, or an empty list if it is not present
-
getAutoattach
@Nullable List<Autoattach> getAutoattach()
- Returns:
java.util.List
autoattach
, ornull
if not present
-
nonnullAutoattach
default @NonNull List<Autoattach> nonnullAutoattach()
- Returns:
java.util.List
autoattach
, or an empty list if it is not present
-
-