Interface MeteringRuleAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
MeteringRule
public interface MeteringRuleAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
OpenStack Layer3 Metering label rules.This class represents the following YANG schema fragment defined in module neutron-metering
grouping metering-rule-attributes { leaf direction { type identityref { base direction-base; } } leaf metering-label-id { type yang:uuid; } leaf remote-ip-prefix { type inet:ip-prefix; } leaf excluded { type boolean; default false; } }
The schema path to identify an instance is neutron-metering/metering-rule-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 Modifier and Type Method Description Class<? extends DirectionBase>
getDirection()
The direction in which metering rule is applied.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getMeteringLabelId()
Metering Label ID to associate with this metering rule.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
getRemoteIpPrefix()
The remote IP prefix to be associated with this metering rule.Class<? extends MeteringRuleAttributes>
implementedInterface()
Boolean
isExcluded()
Specify whether the remote_ip_prefix will be excluded or not from traffic counters of the metering label, ie: to not count the traffic of a specific IP address of a range.
-
-
-
Method Detail
-
implementedInterface
Class<? extends MeteringRuleAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getDirection
Class<? extends DirectionBase> getDirection()
The direction in which metering rule is applied.- Returns:
java.lang.Class
direction
, ornull
if not present
-
getMeteringLabelId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getMeteringLabelId()
Metering Label ID to associate with this metering rule.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
meteringLabelId
, ornull
if not present
-
getRemoteIpPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getRemoteIpPrefix()
The remote IP prefix to be associated with this metering rule. packet.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
remoteIpPrefix
, ornull
if not present
-
isExcluded
Boolean isExcluded()
Specify whether the remote_ip_prefix will be excluded or not from traffic counters of the metering label, ie: to not count the traffic of a specific IP address of a range.- Returns:
java.lang.Boolean
excluded
, ornull
if not present
-
-