create route peering

POST https://{{dcnm}}/rest/fabrics/{{service_fabric}}/service-nodes/{{service_node}}/peerings

Used to create service route peering under the selected fabric, i.e. the logic attachment to the easy fabric

Request Body

{"attachedFabricName"=>"{{fabric}}", "deploymentMode"=>"IntraTenantFW", "enabled"=>false, "fabricName"=>"{{service_fabric}}", "lastUpdated"=>0, "nextHopIp"=>"1.2.3.4", "peeringName"=>"peering1", "peeringOption"=>"None", "reverseNextHopIp"=>"2.3.4.5", "routes"=>[{"nvPairs"=>{"MULTI_ROUTES"=>"5.5.5.5, 1.2.3.4"}, "templateName"=>"service_static_route", "vrfName"=>"vrf1"}], "serviceNetworks"=>[{"networkName"=>"serviceNetwork1", "networkType"=>"InsideNetworkFW", "nvPairs"=>{"gatewayIpAddress"=>"1.2.3.1/24", "vlanId"=>"1000"}, "templateName"=>"Service_Network_Universal", "vlanId"=>1000, "vrfName"=>"vrf1"}], "serviceNodeName"=>"sn1", "serviceNodeType"=>"Firewall", "status"=>"In-Sync", "statusDetails"=>[{"fabricName"=>"attachedEasyFabric", "resourceName"=>"serviceNetwork1", "resourceType"=>"Network", "switchStatuses"=>[{"status"=>"In-Sync", "switchSerialNumber"=>"switchSerialNumber", "updatedBy"=>"config-compliance", "updatedTime"=>0}]}]}

HEADERS

KeyDatatypeRequiredDescription
dcnm-tokenstring
Content-Typestring