05-25-2021 04:38 AM
Hi Guys,
Can someone give me an example snippet of creating an EGP in MSO using Patch method (I am using Postman)?
I have been trying this but keep getting the following error no matter what I do.
I can create BDs fine, only getting the following error when trying to create EPGs using PATCH method.
Any help would be much appreciated.
MSO Version: 3.2.1f
Here's what I'm trying,
Running API calls agains :
https://{{mso-ip}}/api/v1/schemas/603ed1ed650000e38f7244dd
Body:
[ { "op": "add", "path": "/templates/Stretched/anps/testANP2/epgs/-", "value": { "name": "myEPG", "displayName": "MY EPG", "contractRelationships": [], "subnets": [], "uSegEpg": false, "uSegAttrs": [], "intraEpg": "unenforced", "proxyArp": false, "preferredGroup": false, "selectors": [], "bdRef": "/schemas/603ed1ed650000e38f7244dd/templates/Stretched/bds/myBD" } } ]
Result.
{ "code": 400, "message": "Bad Request: (1)(7)/epgs(0)/schemaId error.path.missing" }
06-07-2021 10:01 AM
02-01-2024 07:18 AM
Just following up on this and see if you still need help?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide