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

    @Generated("mdsal-binding-generator")
    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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends MeteringRuleAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getDirection

        Class<? extends DirectionBase> getDirection()
        Return direction, or null if it is not present.
             
                 The direction in which metering rule is applied.
             
         
        Returns:
        java.lang.Class direction, or null if it is not present.
      • getMeteringLabelId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getMeteringLabelId()
        Return meteringLabelId, or null if it is not present.
             
                 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, or null if it is not present.
      • getRemoteIpPrefix

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getRemoteIpPrefix()
        Return remoteIpPrefix, or null if it is not present.
             
                 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, or null if it is not present.
      • getExcluded

        Boolean getExcluded()
        Return excluded, or null if it is not present.
             
                 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, or null if it is not present.
      • isExcluded

        @Deprecated(forRemoval=true)
        default Boolean isExcluded()
        Deprecated, for removal: This API element is subject to removal in a future version.