View file
- download cmso-ticketmgt-swagger.json
...
- import into the swagger tool here: https://editor.swagger.io
Active Ticket Request Example
Elite soft json viewer | ||||
---|---|---|---|---|
| ||||
{
"requestId": "3e828de1-c6b9-4782-b028-e2a98b0cce72",
"commonData": [
{
"name": "requestType",
"value": "VNF Config Update"
}
],
"changeWindows": [
{
"startTime": "2019-03-08T21:39:57.818Z",
"endTime": "2019-03-12T21:39:57.819Z"
}
],
"elements": [
{
"elementId": "nodeid1",
"elementData": [
{
"name": "ticketManagementId",
"value": "33333-333a-dsfa-dsfadsfadsfdsfdasfdaf"
},
{
"name": "id",
"value": "33333333adsfadsfadsfadsfdsfdasfdaf"
}
]
},
{
"elementId": "pserverid1",
"elementData": [
{
"name": "ticketManagementId",
"value": "33333-333a-dsfa"
},
{
"name": "id",
"value": "33333333adsfa"
}
]
},
{
"elementId": "nodeid1backup",
"elementData": [
{
"name": "ticketManagementId",
"value": "33333-333a-dsfadsfadsfdsbackup"
},
{
"name": "id",
"value": "33333333adsfadsfadsfadsbackup"
}
]
}
]
} |
This represents a request to determine the availability of the elements in the list. The results of the request to find the "active" tickets for the elements within the change windows provided will be used to identify when elements will not be available. "Active" tickets leaves it to the carrier will determine which tickets are appropriate to be used for determining availability.
Active Ticket Response Example
Elite soft json viewer | ||||
---|---|---|---|---|
| ||||
{
"requestId": "3e828de1-c6b9-4782-b028-e2a98b0cce72",
"status": "COMPLETED",
"elements": [
{
"elementId": "nodeid1",
"scheduledChanges": []
},
{
"elementId": "pserverid1",
"scheduledChanges": [
{
"id": "3d4afa7a-3eac-11e9-b210-d663bd873d93",
"startTime": "2019-03-11T13:50:32.578Z",
"endTime": "2019-03-11T18:50:32.578Z",
"availability": "unavailable"
}
]
},
{
"elementId": "nodeid1backup",
"scheduledChanges": []
}
]
} |
The represents a response from the Active Tickets request that provides the ticket information necessary to determine element availability for the Schedule Optimizer Engine.
The start and end times and the availability enum are the attributes that will be significant to the schedule optimizer engine
- unavailable - element is unavailable during this change
- partial - element is partially available (i.e. running degraded.)
- available - element availability is not affected by this change