{"type":"api","title":"Provision NFV","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"provisionNFV","tags":["Site Design"],"summary":"Provision NFV","description":"Design and Provision single/multi NFV device with given site/area/building/floor .","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"request","description":"request","required":true,"schema":{"type":"object","properties":{"siteProfile":{"type":"array","items":{"type":"object","properties":{"siteProfileName":{"type":"string"},"device":{"type":"array","items":{"type":"object","properties":{"deviceType":{"type":"string","enum":["ENCS5100","ENCS5400"]},"tagName":{"type":"string"},"serviceProviders":{"type":"array","items":{"type":"object","properties":{"serviceProvider":{"type":"string"},"linkType":{"type":"string","enum":["GigabitEthernet"]},"connect":{"type":"boolean"},"defaultGateway":{"type":"boolean"}}}},"dia":{"type":"boolean"},"services":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["isr","vedge","waas","asa","ngfw","paloalto","fortinet","checkpoint","riverbed","silverpeak"]},"profile":{"type":"string"},"mode":{"type":"string"},"name":{"type":"string"},"imageName":{"type":"string"},"topology":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"assignIp":{"type":"string"}}}}}},"customServices":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"applicationType":{"type":"string"},"profile":{"type":"string"},"topology":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"assignIp":{"type":"string"}}},"imageName":{"type":"string"}}}},"customNetworks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"servicesToConnect":{"type":"array","items":{"type":"object","properties":{"service":{"type":"string"}}}},"connectionType":{"type":"string"},"networkMode":{"type":"string"},"vlan":{"type":"string"}}}},"vlan":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"}}}},"customTemplate":{"type":"array","items":{"type":"object","properties":{"deviceType":{"type":"string","enum":["NFVIS","ASAv"]},"template":{"type":"string"}}}}}}}}}},"provisioning":{"type":"array","items":{"type":"object","properties":{"site":{"type":"object","properties":{"siteProfileName":{"type":"string"},"area":{"type":"object","properties":{"name":{"type":"string"},"parentName":{"type":"string"}}},"building":{"type":"object","properties":{"name":{"type":"string"},"address":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"parentName":{"type":"string"}}},"floor":{"type":"object","properties":{"name":{"type":"string"},"parentName":{"type":"string"},"rfModel":{"type":"string"},"width":{"type":"number"},"length":{"type":"number"},"height":{"type":"number"}}}}},"device":{"type":"array","items":{"type":"object","properties":{"ip":{"type":"string"},"deviceSerialNumber":{"type":"string"},"tagName":{"type":"string"},"serviceProviders":{"type":"array","items":{"type":"object","properties":{"serviceProvider":{"type":"string"},"wanInterface":{"type":"object","properties":{"ipAddress":{"type":"string"},"interfaceName":{"type":"string"},"subnetmask":{"type":"string"},"bandwidth":{"type":"string"},"gateway":{"type":"string"}}}}}},"services":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"mode":{"type":"string"},"systemIp":{"type":"string"},"centralManagerIP":{"type":"string"},"centralRegistrationKey":{"type":"string"},"commonKey":{"type":"string"},"adminPasswordHash":{"type":"string"},"disk":{"type":"string"}}}},"vlan":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"},"interfaces":{"type":"string"},"network":{"type":"string"}}}},"subPools":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["Lan","Management","Service","Wan","Generic"]},"name":{"type":"string"},"ipSubnet":{"type":"string"},"gateway":{"type":"string"},"parentPoolName":{"type":"string"}}}},"customNetworks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"port":{"type":"string"},"ipAddressPool":{"type":"string"}}}},"templateParam":{"type":"object","properties":{"nfvis":{"type":"object","properties":{"var1":{"type":"string"}}},"asav":{"type":"object","properties":{"var1":{"type":"string"}}}}}}}}}}}},"$$ref":"#/definitions/ProvisionNFVRequest"},"in":"body"},{"name":"__runsync","description":"Enable this parameter to execute the API and return a response synchronously","default":false,"required":true,"type":"boolean","in":"header"},{"name":"__timeout","description":"During synchronous execution, this defines the maximum time to wait for a response, before the API execution is terminated","default":10,"required":false,"type":"number","in":"header"},{"name":"__persistbapioutput","description":"Persist bapi sync response","default":true,"required":true,"type":"boolean","in":"header"}],"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","schema":{"type":"object","properties":{"executionId":{"type":"string"},"executionStatusUrl":{"type":"string"},"message":{"type":"string"}},"$$ref":"#/definitions/ProvisionNFVResponse"}},"400":{"description":"The client made a request that the server could not understand (for example, the request syntax is incorrect)."},"401":{"description":"The client's authentication credentials included with the request are missing or invalid."},"404":{"description":"The client made a request for a resource that does not exist."},"500":{"description":"The server could not fulfill the request."}},"__originalOperationId":"provisionNFV","method":"post","path":"/dna/intent/api/v1/business/nfv"}}