You can add a deployment policy using the CLI tool, REST API or the management console (UI) as shown below:
Sample Network Partition JSON
{ "id": "deployment-policy-1", "networkPartitions": [ { "id": "network-partition-mock", "partitionAlgo": "round-robin", "partitions": [ { "id": "partition-1", "partitionMax": 2 } ] } ] }