{"type":"model","meta":{"id":"/apps/pubhub/media/conc-2511/d77fe2fa1c66c5533550637c8fa49491e06b8c79/79c46653-e75f-38dc-92cb-e53070fd2891","info":{"title":"OSAPI-GW Service","description":"OSAPI-GW service api documentation","contact":{},"license":{"name":"ONC-AE-License","url":"https://www.cisco.com"},"version":"1.0.0-25.1.1"},"security":[{"basicAuth":[]}],"tags":[{"name":"Topology API documentation"},{"name":"Export API documentation for External"},{"name":"Network API documentation"},{"name":"Inventory API documentation"},{"name":"Circuit API documentation"}],"x-parser-conf":{"overview":{"markdownPath":"reference/2431/osapi-gw.md"},"serverConfig":"full","enableAuthEditing":true,"httpBasic":{"username":"api-user","password":"encrypted-password@123"}},"openapi":"3.0.1","servers":[{"url":"https://cisco-onc-ip:8443/onc-osapi-gw-service/","description":"Generated server url"}],"securitySchemes":{"basicAuth":{"type":"http","description":"Basic authentication scheme","scheme":"basic"}}},"spec":{"type":"object","properties":{"role":{"type":"string"},"srcEndPoint":{"type":"object","properties":{"termPoints":{"type":"array","items":{"type":"string"}},"ochEndPointProps":{"type":"object","properties":{"opticalSignal":{"type":"object","properties":{"vid":{"type":"string"},"pid":{"type":"string"},"fecMode":{"type":"string"},"dataRate":{"type":"string"},"subMode":{"type":"string"},"modulationFormat":{"type":"string"},"baudRate":{"type":"number","format":"double"},"bitSymb":{"type":"string"},"applicationCode":{"type":"string"}},"description":"Optical signal properties associated with the terminal point","$$ref":"#/components/schemas/OpticalSignal"}},"$$ref":"#/components/schemas/OchEndPointProps"}},"$$ref":"#/components/schemas/ConnectionEndPoint"},"dstEndPoint":{"type":"object","properties":{"termPoints":{"type":"array","items":{"type":"string"}},"ochEndPointProps":{"type":"object","properties":{"opticalSignal":{"type":"object","properties":{"vid":{"type":"string"},"pid":{"type":"string"},"fecMode":{"type":"string"},"dataRate":{"type":"string"},"subMode":{"type":"string"},"modulationFormat":{"type":"string"},"baudRate":{"type":"number","format":"double"},"bitSymb":{"type":"string"},"applicationCode":{"type":"string"}},"description":"Optical signal properties associated with the terminal point","$$ref":"#/components/schemas/OpticalSignal"}},"$$ref":"#/components/schemas/OchEndPointProps"}},"$$ref":"#/components/schemas/ConnectionEndPoint"},"ochChannelConstraints":{"type":"object","properties":{"routeConstraints":{"type":"object","properties":{"explicitRoute":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"entity":{"type":"string"},"strict":{"type":"boolean"},"regenPointProps":{"type":"object","properties":{"regenGroups":{"type":"array","items":{"type":"object","properties":{"regenGroup":{"type":"string"},"direction":{"type":"string"}},"$$ref":"#/components/schemas/RegenGroupSelection"}},"inOpticalSignal":{"type":"object","properties":{"vid":{"type":"string"},"pid":{"type":"string"},"fecMode":{"type":"string"},"dataRate":{"type":"string"},"subMode":{"type":"string"},"modulationFormat":{"type":"string"},"baudRate":{"type":"number","format":"double"},"bitSymb":{"type":"string"},"applicationCode":{"type":"string"}},"description":"Optical signal properties associated with the terminal point","$$ref":"#/components/schemas/OpticalSignal"},"outOpticalSignal":{"type":"object","properties":{"vid":{"type":"string"},"pid":{"type":"string"},"fecMode":{"type":"string"},"dataRate":{"type":"string"},"subMode":{"type":"string"},"modulationFormat":{"type":"string"},"baudRate":{"type":"number","format":"double"},"bitSymb":{"type":"string"},"applicationCode":{"type":"string"}},"description":"Optical signal properties associated with the terminal point","$$ref":"#/components/schemas/OpticalSignal"},"outResourceConstraints":{"type":"object","properties":{"ochFreqGrid":{"type":"string"},"channelSpectrum":{"type":"object","properties":{"frequency":{"type":"number","format":"double"},"width":{"type":"number","format":"double"}},"$$ref":"#/components/schemas/ChannelSpectrum"},"carriersSpectrum":{"type":"array","items":{"type":"object","properties":{"frequency":{"type":"number","format":"double"},"width":{"type":"number","format":"double"}},"$$ref":"#/components/schemas/ChannelSpectrum"}},"isFreqMandatory":{"type":"boolean"}},"$$ref":"#/components/schemas/OchResourceConstraints"}},"$$ref":"#/components/schemas/RegenPointProps"}},"$$ref":"#/components/schemas/OchEROEntry"}},"includes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"entity":{"type":"string"},"strict":{"type":"boolean"}},"$$ref":"#/components/schemas/OchIncludeRouteConstraint"}},"excludes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"entity":{"type":"string"},"strict":{"type":"boolean"}},"$$ref":"#/components/schemas/OchExcludeRouteConstraint"}},"diversity":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"type":{"type":"string"},"strict":{"type":"boolean"}},"$$ref":"#/components/schemas/OchDiversityRouteConstraint"}}},"$$ref":"#/components/schemas/OchRouteConstraints"},"pathConstraints":{"type":"object","properties":{"metrics":{"type":"array","items":{"type":"string"}},"allowAutoRegen":{"type":"boolean"},"allowRegenWaveChange":{"type":"boolean"},"ignoreAlarms":{"type":"boolean"},"opticalThreshold":{"type":"string"},"maxLatency":{"type":"number","format":"double"},"maxLength":{"type":"number","format":"double"},"maxHops":{"type":"integer","format":"int32"},"maxOptNoise":{"type":"number","format":"double"},"maxLoss":{"type":"number","format":"double"},"maxTeCost":{"type":"integer","format":"int32"}},"$$ref":"#/components/schemas/OchPathConstraints"},"resourceConstraints":{"type":"object","properties":{"ochFreqGrid":{"type":"string"},"channelSpectrum":{"type":"object","properties":{"frequency":{"type":"number","format":"double"},"width":{"type":"number","format":"double"}},"$$ref":"#/components/schemas/ChannelSpectrum"},"carriersSpectrum":{"type":"array","items":{"type":"object","properties":{"frequency":{"type":"number","format":"double"},"width":{"type":"number","format":"double"}},"$$ref":"#/components/schemas/ChannelSpectrum"}},"isFreqMandatory":{"type":"boolean"}},"$$ref":"#/components/schemas/OchResourceConstraints"}},"$$ref":"#/components/schemas/OchChannelConstraints"}},"$$ref":"#/components/schemas/ServiceConstraints","title":"ServiceConstraints"}}