Interface HwvtepGlobalAttributes
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
HwvtepGlobalAugmentation
@Generated("mdsal-binding-generator")
public interface HwvtepGlobalAttributes
extends org.opendaylight.yangtools.yang.binding.DataObject
global node for the hwvtep
This class represents the following YANG schema fragment defined in module hwvtep
grouping hwvtep-global-attributes {
container connection-info {
uses hwvtep-connection-info-attributes;
}
leaf db-version {
type string;
}
list managers {
key target;
leaf target {
type inet:uri;
}
leaf manager-uuid {
type yang:uuid;
}
leaf is-connected {
type boolean;
}
list manager-other-configs {
key other-config-key;
leaf other-config-key {
type string;
}
leaf other-config-value {
type string;
}
}
}
list switches {
key switch-ref;
leaf switch-ref {
type hwvtep-physical-switch-ref;
}
}
list logical-switches {
key hwvtep-node-name;
uses hwvtep-logical-switch-attributes;
}
list local-ucast-macs {
key "mac-entry-key logical-switch-ref";
uses hwvtep-mac-table-generic-attributes;
uses hwvtep-ucast-mac-table-attributes;
}
list remote-ucast-macs {
key "mac-entry-key logical-switch-ref";
uses hwvtep-mac-table-generic-attributes;
uses hwvtep-ucast-mac-table-attributes;
}
list local-mcast-macs {
key "mac-entry-key logical-switch-ref";
uses hwvtep-mac-table-generic-attributes;
uses hwvtep-mcast-mac-table-attributes;
}
list remote-mcast-macs {
key "mac-entry-key logical-switch-ref";
uses hwvtep-mac-table-generic-attributes;
uses hwvtep-mcast-mac-table-attributes;
}
list logical-routers {
key hwvtep-node-name;
uses hwvtep-logical-router-attributes;
}
list local-arp-sources {
key src-mac;
uses hwvtep-arp-sources-attributes;
}
list remote-arp-sources {
key src-mac;
uses hwvtep-arp-sources-attributes;
}
list acls {
key acl-name;
uses hwvtep-acl-attributes;
}
list logical-binding-stats {
config false;
key logical-binding-stats-uuid;
uses hwvtep-logical-binding-stats-attributes;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetAcls()Return acls, ornullif it is not present.Return connectionInfo, ornullif it is not present.Return dbVersion, ornullif it is not present.@Nullable Map<LocalArpSourcesKey,LocalArpSources> Return localArpSources, ornullif it is not present.@Nullable Map<LocalMcastMacsKey,LocalMcastMacs> Return localMcastMacs, ornullif it is not present.@Nullable Map<LocalUcastMacsKey,LocalUcastMacs> Return localUcastMacs, ornullif it is not present.@Nullable Map<LogicalBindingStatsKey,LogicalBindingStats> Return logicalBindingStats, ornullif it is not present.@Nullable Map<LogicalRoutersKey,LogicalRouters> Return logicalRouters, ornullif it is not present.@Nullable Map<LogicalSwitchesKey,LogicalSwitches> Return logicalSwitches, ornullif it is not present.@Nullable Map<ManagersKey,Managers> Return managers, ornullif it is not present.@Nullable Map<RemoteArpSourcesKey,RemoteArpSources> Return remoteArpSources, ornullif it is not present.@Nullable Map<RemoteMcastMacsKey,RemoteMcastMacs> Return remoteMcastMacs, ornullif it is not present.@Nullable Map<RemoteUcastMacsKey,RemoteUcastMacs> Return remoteUcastMacs, ornullif it is not present.@Nullable Map<SwitchesKey,Switches> Return switches, ornullif it is not present.Class<? extends HwvtepGlobalAttributes>Return acls, or an empty list if it is not present.default @NonNull Map<LocalArpSourcesKey,LocalArpSources> Return localArpSources, or an empty list if it is not present.default @NonNull Map<LocalMcastMacsKey,LocalMcastMacs> Return localMcastMacs, or an empty list if it is not present.default @NonNull Map<LocalUcastMacsKey,LocalUcastMacs> Return localUcastMacs, or an empty list if it is not present.default @NonNull Map<LogicalBindingStatsKey,LogicalBindingStats> Return logicalBindingStats, or an empty list if it is not present.default @NonNull Map<LogicalRoutersKey,LogicalRouters> Return logicalRouters, or an empty list if it is not present.default @NonNull Map<LogicalSwitchesKey,LogicalSwitches> Return logicalSwitches, or an empty list if it is not present.default @NonNull Map<ManagersKey,Managers> Return managers, or an empty list if it is not present.default @NonNull Map<RemoteArpSourcesKey,RemoteArpSources> Return remoteArpSources, or an empty list if it is not present.default @NonNull Map<RemoteMcastMacsKey,RemoteMcastMacs> Return remoteMcastMacs, or an empty list if it is not present.default @NonNull Map<RemoteUcastMacsKey,RemoteUcastMacs> Return remoteUcastMacs, or an empty list if it is not present.default @NonNull Map<SwitchesKey,Switches> Return switches, or an empty list if it is not present.default @NonNull StringReturn dbVersion, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends HwvtepGlobalAttributes> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getConnectionInfo
ConnectionInfo getConnectionInfo()Return connectionInfo, ornullif it is not present.- Returns:
ConnectionInfoconnectionInfo, ornullif it is not present.
-
getDbVersion
String getDbVersion()Return dbVersion, ornullif it is not present.The database schema version- Returns:
StringdbVersion, ornullif it is not present.
-
requireDbVersion
Return dbVersion, guaranteed to be non-null.The database schema version- Returns:
StringdbVersion, guaranteed to be non-null.- Throws:
NoSuchElementException- if dbVersion is not present
-
getManagers
@Nullable Map<ManagersKey,Managers> getManagers()Return managers, ornullif it is not present.- Returns:
Map<ManagersKey, Managers>managers, ornullif it is not present.
-
nonnullManagers
Return managers, or an empty list if it is not present.- Returns:
Map<ManagersKey, Managers>managers, or an empty list if it is not present.
-
getSwitches
@Nullable Map<SwitchesKey,Switches> getSwitches()Return switches, ornullif it is not present.List of physical switches managed by this node- Returns:
Map<SwitchesKey, Switches>switches, ornullif it is not present.
-
nonnullSwitches
Return switches, or an empty list if it is not present.- Returns:
Map<SwitchesKey, Switches>switches, or an empty list if it is not present.
-
getLogicalSwitches
@Nullable Map<LogicalSwitchesKey,LogicalSwitches> getLogicalSwitches()Return logicalSwitches, ornullif it is not present.- Returns:
Map<LogicalSwitchesKey, LogicalSwitches>logicalSwitches, ornullif it is not present.
-
nonnullLogicalSwitches
Return logicalSwitches, or an empty list if it is not present.- Returns:
Map<LogicalSwitchesKey, LogicalSwitches>logicalSwitches, or an empty list if it is not present.
-
getLocalUcastMacs
@Nullable Map<LocalUcastMacsKey,LocalUcastMacs> getLocalUcastMacs()Return localUcastMacs, ornullif it is not present.- Returns:
Map<LocalUcastMacsKey, LocalUcastMacs>localUcastMacs, ornullif it is not present.
-
nonnullLocalUcastMacs
Return localUcastMacs, or an empty list if it is not present.- Returns:
Map<LocalUcastMacsKey, LocalUcastMacs>localUcastMacs, or an empty list if it is not present.
-
getRemoteUcastMacs
@Nullable Map<RemoteUcastMacsKey,RemoteUcastMacs> getRemoteUcastMacs()Return remoteUcastMacs, ornullif it is not present.- Returns:
Map<RemoteUcastMacsKey, RemoteUcastMacs>remoteUcastMacs, ornullif it is not present.
-
nonnullRemoteUcastMacs
Return remoteUcastMacs, or an empty list if it is not present.- Returns:
Map<RemoteUcastMacsKey, RemoteUcastMacs>remoteUcastMacs, or an empty list if it is not present.
-
getLocalMcastMacs
@Nullable Map<LocalMcastMacsKey,LocalMcastMacs> getLocalMcastMacs()Return localMcastMacs, ornullif it is not present.- Returns:
Map<LocalMcastMacsKey, LocalMcastMacs>localMcastMacs, ornullif it is not present.
-
nonnullLocalMcastMacs
Return localMcastMacs, or an empty list if it is not present.- Returns:
Map<LocalMcastMacsKey, LocalMcastMacs>localMcastMacs, or an empty list if it is not present.
-
getRemoteMcastMacs
@Nullable Map<RemoteMcastMacsKey,RemoteMcastMacs> getRemoteMcastMacs()Return remoteMcastMacs, ornullif it is not present.- Returns:
Map<RemoteMcastMacsKey, RemoteMcastMacs>remoteMcastMacs, ornullif it is not present.
-
nonnullRemoteMcastMacs
Return remoteMcastMacs, or an empty list if it is not present.- Returns:
Map<RemoteMcastMacsKey, RemoteMcastMacs>remoteMcastMacs, or an empty list if it is not present.
-
getLogicalRouters
@Nullable Map<LogicalRoutersKey,LogicalRouters> getLogicalRouters()Return logicalRouters, ornullif it is not present.- Returns:
Map<LogicalRoutersKey, LogicalRouters>logicalRouters, ornullif it is not present.
-
nonnullLogicalRouters
Return logicalRouters, or an empty list if it is not present.- Returns:
Map<LogicalRoutersKey, LogicalRouters>logicalRouters, or an empty list if it is not present.
-
getLocalArpSources
@Nullable Map<LocalArpSourcesKey,LocalArpSources> getLocalArpSources()Return localArpSources, ornullif it is not present.- Returns:
Map<LocalArpSourcesKey, LocalArpSources>localArpSources, ornullif it is not present.
-
nonnullLocalArpSources
Return localArpSources, or an empty list if it is not present.- Returns:
Map<LocalArpSourcesKey, LocalArpSources>localArpSources, or an empty list if it is not present.
-
getRemoteArpSources
@Nullable Map<RemoteArpSourcesKey,RemoteArpSources> getRemoteArpSources()Return remoteArpSources, ornullif it is not present.- Returns:
Map<RemoteArpSourcesKey, RemoteArpSources>remoteArpSources, ornullif it is not present.
-
nonnullRemoteArpSources
Return remoteArpSources, or an empty list if it is not present.- Returns:
Map<RemoteArpSourcesKey, RemoteArpSources>remoteArpSources, or an empty list if it is not present.
-
getAcls
Return acls, ornullif it is not present.- Returns:
Map<AclsKey, Acls>acls, ornullif it is not present.
-
nonnullAcls
Return acls, or an empty list if it is not present.- Returns:
Map<AclsKey, Acls>acls, or an empty list if it is not present.
-
getLogicalBindingStats
@Nullable Map<LogicalBindingStatsKey,LogicalBindingStats> getLogicalBindingStats()Return logicalBindingStats, ornullif it is not present.- Returns:
Map<LogicalBindingStatsKey, LogicalBindingStats>logicalBindingStats, ornullif it is not present.
-
nonnullLogicalBindingStats
Return logicalBindingStats, or an empty list if it is not present.- Returns:
Map<LogicalBindingStatsKey, LogicalBindingStats>logicalBindingStats, or an empty list if it is not present.
-