qos/map/cos-mutation

Resource URIs

URI Description
<base_URI>/config/running/qos/map/ cos-mutation/{cos-mutation-map-name} Configures a CoS Mutation map.
<base_URI>/config/running/qos/map/ cos-mutation/{cos-mutation-map-name}/map Configures a CoS Mutation map mapping entry.
GET URIs Description
<base_URI>/config/running/qos/map/cos-mutation/ {cos-mutation-map-name} Retrieves CoS Mutation map information.
POST URIs Payload Description
<base_URI>/config/running/qos/map/cos-mutation/ {cos-mutation-map-name} <map><cos>{in-cos-value}</cos><to><cos>{out-cos-value}</cos></to></map> Creates the CoS mapping entry.
DELETE URIs
<base_URI>/config/running/qos/map/cos-mutation/{cos-mutation-map-name}
<base_URI>/config/running/qos/map/cos-mutation/{cos-mutation-map-name}/map/{cos-mutation-mapping}

Parameters

cos-mutation-map-name
Name of the CoS Mutation map.
in-cos-value
The incoming CoS value.
out-cos-value
The mapped CoS value.

Usage Guidelines

GET, POST, DELETE, OPTIONS, and HEAD operations are supported.

Examples

The following example uses the POST operation to create a CoS Mutation map and add a mutation map entry.

http://host:80/rest/config/running/qos/map

<cos-mutation><name>test-cos-mut-map-1</name><map><cos>3</cos ><to><cos>2</cos></to></map></cos-mutation>

None

Example

The following example uses the DELETE operation to remove a configured CoS Mutation map.

http://host:80/rest/config/running/qos/map

<cos-mutation><name>test-cos-mut-map-1</name></cos-mutation>

None