Interface NetQosPolicyService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
NetQosPolicyServiceImpl
public interface NetQosPolicyService extends RestService
Networking (Neutron) Qos Policy Extension API- Author:
- bboyHan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetQosPolicycreate(NetQosPolicy netQosPolicy)Create the current network qos policy for the current tenant back to defaultsActionResponsedelete(String policyId)Delete the current network qos policy for the current tenant back to defaultsNetQosPolicyget(String tenantId)Fetches the network qos policy for the specified tenantList<? extends NetQosPolicy>list()Lists qos policies for tenantsNetQosPolicyupdate(NetQosPolicyUpdate netQosPolicy)Updates the network qos policy for the current tenant
-
-
-
Method Detail
-
list
List<? extends NetQosPolicy> list()
Lists qos policies for tenants- Returns:
- the list of qos policy
-
get
NetQosPolicy get(String tenantId)
Fetches the network qos policy for the specified tenant- Parameters:
tenantId- the tenant identifier- Returns:
- the NetQosPolicy
-
update
NetQosPolicy update(NetQosPolicyUpdate netQosPolicy)
Updates the network qos policy for the current tenant- Parameters:
netQosPolicy- the net qos policy to update- Returns:
- the updated network qos policy
-
create
NetQosPolicy create(NetQosPolicy netQosPolicy)
Create the current network qos policy for the current tenant back to defaults- Returns:
- NetQosPolicy the response object
-
delete
ActionResponse delete(String policyId)
Delete the current network qos policy for the current tenant back to defaults- Parameters:
policyId- the net qos uuid- Returns:
- the action response
-
-