Re Allocate Service Routers
API to re allocate edge node placement for TIER1 logical router. You can re-allocate service routers of TIER1 in same edge cluster or different edge cluster. You can also place edge nodes manually and provide maximum two indices for HA mode ACTIVE_STANDBY. To re-allocate on new edge cluster you must have existing edge cluster for TIER1 logical router. This will be disruptive operation and all existing statistics of logical router will be remove.
In policy there will be no equivalent API but it will be achieved automatically when you will change edge cluster or will remove edge nodes from tier1 locale service
logical-router-id
Show optional properties
{
"edge_cluster_id": "string"
}
{
"allocation_pool": {
"allocation_pool_type": "string"
},
"edge_cluster_id": "string",
"edge_cluster_member_indices": [
0
]
}
allocation_pool
To reallocate TIER1 logical router on new or existing edge cluster
For TIER 1 logical router, for manual placement of service router within the cluster, edge cluster member indices needs to be provided else same will be auto-allocated. You can provide maximum two indices for HA ACTIVE_STANDBY.
OK
"LogicalRouter Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"edge_cluster_id:"string"}' https://{api_host}/api/v1/logical-routers/{logical-router-id}?action=reallocate