neutron_lib.services.qos package

neutron_lib.services.qos package

Submodules

neutron_lib.services.qos.base module

class neutron_lib.services.qos.base.DriverBase(name, vif_types, vnic_types, supported_rules, requires_rpc_notifications=False)

Bases: object

create_policy(context, policy)

Create policy invocation.

This method can be implemented by the specific driver subclass to update the backend where necessary with the specific policy information.

Parameters:
  • context – current running context information
  • policy – a QoSPolicy object being created, which will have no rules.
create_policy_precommit(context, policy)

Create policy precommit.

This method can be implemented by the specific driver subclass to handle the precommit event of a policy that is being created.

Parameters:
  • context – current running context information
  • policy – a QoSPolicy object being created, which will have no rules.
delete_policy(context, policy)

Delete policy invocation.

This method can be implemented by the specific driver subclass to delete the backend policy where necessary.

Parameters:
  • context – current running context information
  • policy – a QoSPolicy object being deleted
delete_policy_precommit(context, policy)

Delete policy precommit.

This method can be implemented by the specific driver subclass to handle delete precommit event of a policy that is being deleted.

Parameters:
  • context – current running context information
  • policy – a QoSPolicy object being deleted
is_loaded()

True if the driver is active for the Neutron Server.

Implement this property to determine if your driver is actively configured for this Neutron Server deployment.

is_rule_supported(rule)
is_vif_type_compatible(vif_type)

True if the driver is compatible with the VIF type.

is_vnic_compatible(vnic_type)

True if the driver is compatible with the specific VNIC type.

update_policy(context, policy)

Update policy invocation.

This method can be implemented by the specific driver subclass to update the backend where necessary.

Parameters:
  • context – current running context information
  • policy – a QoSPolicy object being updated.
update_policy_precommit(context, policy)

Update policy precommit.

This method can be implemented by the specific driver subclass to handle update precommit event of a policy that is being updated.

Parameters:
  • context – current running context information
  • policy – a QoSPolicy object being updated.

neutron_lib.services.qos.constants module

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.