2.28.1.1 MMI Managed Objects for TT Maps
MMI information associated with TT Maps feature is accessed from a DSR NOAM or SOAM from Main Menu, and then MMI API Guide.
Once the MMI API Guide gets opened, use the application navigation to locate specific vSTP managed object information.
The following table lists the managed objects and operations supported for TT Maps feature:
Table 2-36 Managed Objects
MO Name | Supported Actions | URI |
---|---|---|
M3RL Options | GET, PUT | /vstp/m3rloptions |
TT Maps | GET, POST, PUT, DELETE | /vstp/ttmaps |
M3rl Options - PUT
The ttMapSupport parameter must be On to enable TT Maps feature.
Create a file with following content. For example: "Test" can be used as filename:
$ vim Test.json
{
"ttMapSupport": "On"
}
Run the following command on Active SOAM to update the data:
/vstp/m3rloptions -v PUT -r /<Absolute Path>/<File Name>.json
Sample Output:
{
"data": true,
"links": {},
"messages": [],
"status": true
}
TT Maps - POST
Create a file with following content. File name could be anything, for
example ttmapTest
can be used as filename:
$ vim ttMapTest.json
{
"linksetName":"ls1",
"existingTT":25,
"modifiedTT": 40,
"ingressEgress":"Ingress",
"name": "ttmap1"
}
Run the following command on Active SOAM to insert the data:
/vstp/ttmaps -v POST -r /<Absolute Path>/<File Name>.json
Sample Output:
{
"data": true,
"links": {},
"messages": [],
"status": true
}
TT Maps - GET
Run the following command on Active SOAM to get the data:
/vstp/ttmaps/<name> -v GET
Sample Output:
{
"data": [
{
"existingTT": 25,
"ingressEgress": "Ingress",
"linksetName": "ls1",
"modifiedTT": 40,
"name": "ttmap1"
}
],
"links": {},
"messages": [],
"status": true
}
TT Maps - PUT
Create a file with following content. File name could be anything, for
example ttMapTest
can be used as filename:
$ vim ttMapTest.json
{
"linksetName":"ls1",
"existingTT":25,
"modifiedTT": 45,
"name": "ttmap1"
}
Run the following command on Active SOAM to update the data:
/vstp/ttmaps/<name> -v PUT -r /<Absolute Path>/<File Name>.json
Sample Output:
{
"data": true,
"links": {},
"messages": [],
"status": true
}
TT Maps - Delete
Run the following command on active SOAM to delete TT Map record:
/vstp/ttmaps/<name> -v DELETE