Flow Policy Management

Flow Policy Add

Resource Name

/rest/pmn/flowpolicies/

Description

Get the host instances created.

https Method

POST

URL

https://<dcnm-ip>/rest/pmn/flowpolicies/

Parameter

Parameter Type Description
policyName String Mandatory - Policy name for this host
bandwidth String Bandwidth of this Flow in GB
DSCP String Decimal mapping of the DSCP bit based on the standard.

Return Value

Format: JSON

Type: Object

Attribute Name Type Description
hostPolicyId String Instance id of the hostpolicy defined.
policyName String Name of the Policy object
obj.multiCastIpRange String MultiCast IP address that this policy is applied on or * if it applies to all multicast groups.
Bandwidth String Populate with 3, 1.5 or any other custom number.
Provide the unit with the number as Mbps or Gbps.
Eg: 3gbps or 5mbps
dscp String Integer values in range 0-46 mapping to DSCP values indicated below.

Flow Policy Bulk Import

Resource Name

/rest/pmn/flowpolicies/import

Description

Create a new flow instance.

https Method

POST

URL

https://<dcnm-ip>/rest/pmn/flowpolicies/import

Parameter

Parameter Type Description
String payload of CSV File String CSV data

Return Value

Format: JSON

Type: Long

Attribute Name Type Description
flowpolicyid String Unique id for the created Flow policy instances

Get Flow Policies

Resource Name

/rest/pmn/flowpolicies?detail=true

Description

Get a listing of all flow policies or specific flow policy, given the id.

https Method

GET

URL

https://<dcnm-ip>/rest/pmn/flowpolicies/

Parameter

Parameter Type Description
flowpolicyid String Optional id parameter, when querying for a specific id.

Return Value

Format: JSON

Type: Long

Attribute Name Type Description
flowpolicyid String Unique id for the created Host policy instances

Delete Flow Policies

Resource Name

/rest/pmn/flowpolicies/

Description

Delete the Flow policy instances created.

https Method

DELETE

URL

https://<dcnm-ip>/rest/pmn/flowpolicies/

Parameter

Parameter Type Description
none

Return Value

Format: JSON

Type: Long

Attribute Name Type Description
none