{"type":"model","meta":{"id":"/apps/pubhub/media/cisco-onc/6a3f7b7f24e30d115a463d7af08aa553d2d5dcc1/6206e553-848f-380e-bc4c-0cbb4cb00365","info":{"title":"NBI Service","description":"NBI Service API documentation. \n\nUser should listen to the netconf stream notifications for impacted paths to do operations\n\n Generic example to understand when to call which one of below API(s):\n\nSample notification:\n\n{\n \"ietf-restconf:notification\" : {\n \"eventTime\" : \"2024-03-20T04:43:53.910+00:00\",\n \"ietf-netconf-notifications:netconf-config-change\" : {\n \"datastore\" : \"running\",\n \"changed-by\" : {\n \"username\" : \"admin\",\n \"session-id\" : 0,\n \"source-host\" : \"127.0.0.1\"\n },\n \"edit\" : [ {\n \"target\" : \"/tapi-common:context/tapi-topology:topology-context/topology[uuid=‘abc’]/node[uuid=‘xyz’]”,\n \"operation\" : \"create\"\n } ]\n }\n }\n }\n\n\nHere use node uuid(‘xyz’) and topology uuid(‘abc’) from notification target path in /restconf/data/tapi-common:context/tapi-topology:topology-context/topology={uuid}/node API to fetch the complete node","version":"V2"},"x-parser-conf":{"overview":{"markdownPath":"reference/onc-nbi-service.md"}},"openapi":"3.0.1"},"spec":{"type":"object","properties":{"occupied-spectrum":{"type":"object","properties":{"lower-frequency":{"type":"integer"},"upper-frequency":{"type":"integer"},"frequency-constraint":{"type":"object","properties":{"adjustment-granularity":{"type":"string","enum":["G_100GHZ","G_50GHZ","G_25GHZ","G_12_5GHZ","G_6_25GHZ","G_3_125GHZ","UNCONSTRAINED"]},"grid-type":{"type":"string","enum":["DWDM","CWDM","FLEX","GRIDLESS","UNSPECIFIED"]}},"$$ref":"#/components/schemas/TapiPhotonicMediaFrequencyConstraint"}},"$$ref":"#/components/schemas/TapiPhotonicMediaSpectrumBand"},"measured-power-egress":{"type":"object","properties":{"power-spectral-density":{"type":"string"},"total-power":{"type":"string"}},"$$ref":"#/components/schemas/TapiPhotonicMediaPowerPropertiesPac"},"measured-power-ingress":{"type":"object","properties":{"power-spectral-density":{"type":"string"},"total-power":{"type":"string"}},"$$ref":"#/components/schemas/TapiPhotonicMediaPowerPropertiesPac"},"tapi-photonic-media-cisco-extn:ots-media-channel":{"type":"object","properties":{"ots-media-channel-pm-history-data":{"type":"object","properties":{"period-start-time":{"type":"string"},"period-end-time":{"type":"string"},"suspect-interval-flag":{"type":"boolean"},"c-band":{"type":"object","properties":{"history-power-egress":{"type":"object","properties":{"avg-power":{"type":"string"},"max-power":{"type":"string"},"min-power":{"type":"string"}},"$$ref":"#/components/schemas/TapiPhotonicMediaCiscoExtnPmPowerParametersPac"},"history-power-ingress":{"type":"object","properties":{"avg-power":{"type":"string"},"max-power":{"type":"string"},"min-power":{"type":"string"}},"$$ref":"#/components/schemas/TapiPhotonicMediaCiscoExtnPmPowerParametersPac"}},"$$ref":"#/components/schemas/TapiPhotonicMediaCiscoExtnPmPowerHistoryData"}},"$$ref":"#/components/schemas/TapiPhotonicMediaCiscoExtnOtsMediaChannelPmHistoryData"}},"$$ref":"#/components/schemas/TapiPhotonicMediaCiscoExtnOtsMediaChannelPropertiesPac"}},"$$ref":"#/components/schemas/tapi-photonic-media:ots-media-channel","title":"tapi-photonic-media:ots-media-channel"}}