cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Issue with ACI MSO (Multi-site Ochestrator) : API Call to create a new EPG using PATCH method.

shamax_1983
Level 3
Level 3

Hi Guys, 

I've been trying to get this to work for few days now but couldn't figure out the issue. 

I can successfully create VRFs, BDs, etc using the API (PATCH + add method) in the MSO.   Please note that I want to use the PATCH method so I don't have to include the entire structure in each call (which is massive).

 

I am using the MSO version 2.2.3j

 

When I run the following (using Postman),

[
    {
"op": "add",
"path": "/templates/temp1/anps/testANP2/epgs/-",

"value": {

                               
    "name": "myEPG",
    "displayName": "MY EPG",
    "contractRelationships": [],
    "subnets": [],
    "uSegEpg": false,
    "uSegAttrs": [],
    "intraEpg": "unenforced",
    "proxyArp": false,
    "preferredGroup": false,
    "selectors": [],
    "bdRef": "/schemas/603ed1ed340000e38f7244dd/templates/temp1/bds/myBD"

}
}
]

I keep getting the error below.  

 

{
    "code": 400,
    "message": "Bad Request: (2)(1)/epgs(0)/schemaId error.path.missing"
}

Can someone point out what is missing here?  Appreciate your input. 

 

Thanks

Who Me Too'd this topic