Interface HwvtepPhysicalPortAttributes
- 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,HwvtepNodeIdentification
- All Known Subinterfaces:
HwvtepPhysicalPortAugmentation
@Generated("mdsal-binding-generator")
public interface HwvtepPhysicalPortAttributes
extends org.opendaylight.yangtools.yang.binding.DataObject, HwvtepNodeIdentification
This class represents the following YANG schema fragment defined in module hwvtep
grouping hwvtep-physical-port-attributes {
uses hwvtep-node-identification;
leaf physical-port-uuid {
type yang:uuid;
}
list vlan-bindings {
key vlan-id-key;
leaf vlan-id-key {
type ethertype:vlan-id;
}
leaf logical-switch-ref {
type hwvtep-logical-switch-ref;
}
}
list acl-bindings {
key acl-binding-vlan-id;
leaf acl-binding-vlan-id {
type ethertype:vlan-id;
}
leaf acl-ref {
type hwvtep-acl-ref;
}
}
list vlan-stats {
key vlan-stats-key;
leaf vlan-stats-key {
type ethertype:vlan-id;
}
leaf vlan-stats-ref {
type hwvtep-logical-binding-stats-ref;
}
}
list port-fault-status {
config false;
key port-fault-status-key;
leaf port-fault-status-key {
type string;
}
leaf port-fault-status-value {
type string;
}
}
}
-
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 TypeMethodDescription@Nullable Map<AclBindingsKey,AclBindings> Return aclBindings, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.UuidReturn physicalPortUuid, ornullif it is not present.@Nullable Map<PortFaultStatusKey,PortFaultStatus> Return portFaultStatus, ornullif it is not present.@Nullable Map<VlanBindingsKey,VlanBindings> Return vlanBindings, ornullif it is not present.@Nullable Map<VlanStatsKey,VlanStats> Return vlanStats, ornullif it is not present.Class<? extends HwvtepPhysicalPortAttributes>default @NonNull Map<AclBindingsKey,AclBindings> Return aclBindings, or an empty list if it is not present.default @NonNull Map<PortFaultStatusKey,PortFaultStatus> Return portFaultStatus, or an empty list if it is not present.default @NonNull Map<VlanBindingsKey,VlanBindings> Return vlanBindings, or an empty list if it is not present.default @NonNull Map<VlanStatsKey,VlanStats> Return vlanStats, or an empty list if it is not present.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.UuidReturn physicalPortUuid, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepNodeIdentification
getHwvtepNodeDescription, getHwvtepNodeName, requireHwvtepNodeDescription, requireHwvtepNodeName
-
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 HwvtepPhysicalPortAttributes> 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- Specified by:
implementedInterfacein interfaceHwvtepNodeIdentification
-
getPhysicalPortUuid
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getPhysicalPortUuid()Return physicalPortUuid, ornullif it is not present.The unique identifier of the physical-port- Returns:
UuidphysicalPortUuid, ornullif it is not present.
-
requirePhysicalPortUuid
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requirePhysicalPortUuid()Return physicalPortUuid, guaranteed to be non-null.The unique identifier of the physical-port- Returns:
UuidphysicalPortUuid, guaranteed to be non-null.- Throws:
NoSuchElementException- if physicalPortUuid is not present
-
getVlanBindings
@Nullable Map<VlanBindingsKey,VlanBindings> getVlanBindings()Return vlanBindings, ornullif it is not present.A map of vlan ID to logical switch pairs- Returns:
Map<VlanBindingsKey, VlanBindings>vlanBindings, ornullif it is not present.
-
nonnullVlanBindings
Return vlanBindings, or an empty list if it is not present.- Returns:
Map<VlanBindingsKey, VlanBindings>vlanBindings, or an empty list if it is not present.
-
getAclBindings
@Nullable Map<AclBindingsKey,AclBindings> getAclBindings()Return aclBindings, ornullif it is not present.- Returns:
Map<AclBindingsKey, AclBindings>aclBindings, ornullif it is not present.
-
nonnullAclBindings
Return aclBindings, or an empty list if it is not present.- Returns:
Map<AclBindingsKey, AclBindings>aclBindings, or an empty list if it is not present.
-
getVlanStats
@Nullable Map<VlanStatsKey,VlanStats> getVlanStats()Return vlanStats, ornullif it is not present.- Returns:
Map<VlanStatsKey, VlanStats>vlanStats, ornullif it is not present.
-
nonnullVlanStats
Return vlanStats, or an empty list if it is not present.- Returns:
Map<VlanStatsKey, VlanStats>vlanStats, or an empty list if it is not present.
-
getPortFaultStatus
@Nullable Map<PortFaultStatusKey,PortFaultStatus> getPortFaultStatus()Return portFaultStatus, ornullif it is not present.- Returns:
Map<PortFaultStatusKey, PortFaultStatus>portFaultStatus, ornullif it is not present.
-
nonnullPortFaultStatus
Return portFaultStatus, or an empty list if it is not present.- Returns:
Map<PortFaultStatusKey, PortFaultStatus>portFaultStatus, or an empty list if it is not present.
-