Interface BindingAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
PortBindingExtension
public interface BindingAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-binding
grouping binding-attributes { leaf host-id { type string; } list vif-details { key details-key; leaf details-key { type string; } leaf value { type string; } } leaf vif-type { type string; } leaf vnic-type { type string; } leaf profile { type string; } }
The schema path to identify an instance is neutron-binding/binding-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
getHostId()
The ID of the host where the port is allocated.String
getProfile()
@Nullable Map<VifDetailsKey,VifDetails>
getVifDetails()
A dictionary that enables the application to pass information about functions that the Networking API provides.String
getVifType()
String
getVnicType()
Class<? extends BindingAttributes>
implementedInterface()
default @NonNull Map<VifDetailsKey,VifDetails>
nonnullVifDetails()
-
-
-
Method Detail
-
implementedInterface
Class<? extends BindingAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getHostId
String getHostId()
The ID of the host where the port is allocated. In some cases, different implementations can run on different hosts.- Returns:
java.lang.String
hostId
, ornull
if not present
-
getVifDetails
@Nullable Map<VifDetailsKey,VifDetails> getVifDetails()
A dictionary that enables the application to pass information about functions that the Networking API provides. To enable or disable port filtering features such as security group and anti-MAC/IP spoofing, specify port-filter: True or port-filter: False- Returns:
java.util.Map
vifDetails
, ornull
if not present
-
nonnullVifDetails
default @NonNull Map<VifDetailsKey,VifDetails> nonnullVifDetails()
- Returns:
java.util.Map
vifDetails
, or an empty list if it is not present
-
getVifType
String getVifType()
- Returns:
java.lang.String
vifType
, ornull
if not present
-
getVnicType
String getVnicType()
- Returns:
java.lang.String
vnicType
, ornull
if not present
-
getProfile
String getProfile()
- Returns:
java.lang.String
profile
, ornull
if not present
-
-