2.4.2.1.2 MMI Managed Objects for GTT Throttle Action
MMI information associated with GTT Throttle action is accessed from a DSR NOAM or SOAM from
.Once the MMI API Guide displays, use the application navigation to locate specific vSTP managed object information.
Table 2-1 vSTP SFTHROT Managed Objects and Supported Operations
Managed Object Name | Supported Operations |
---|---|
gttactions | Insert, Update, Delete |
gttactionsets | Insert, Update, Delete |
gttactions - Insert, Update, Delete
Create a file with the following content:
$ cat gttaction.txt
{
"act": "Sfthrot",
"actid": "throttle1",
"defactid": "fallback",
"threshold": 5
}
Note:
Threshold is mandatory for SFTHROT action type. Range is 1 to 4294967295. Modification is allowed for threshold.
/vstp/gttactions -v POST -r /<Absolute path>/<Fiename>
/vstp/gttactions -v POST -r gttaction.txt
{
"data": true,
"links": {},
"messages": [],
"status": true
}
/vstp/gttactions -v PUT -r /<Absolute path>/<Fiename>
/vstp/gttactions -v PUT -r gttaction.txt
{
"data": true,
"links": {},
"messages": [],
"status": true
}
/vstp/gttactions/<actid> -v DELETE
Example output:
/vstp/gttactions/throttle1 -v DELETE
No output returned by URI: https://localhost/mmi/dsr/v3.1/vstp/gttactions/throttle1? for 'DELETE' operation
Execute the following command to display:
/vstp/gttactions
Example output:
/vstp/gttactions
{
"data": [
{
"act": " Sfthrot",
"actid": "throttle1",
"defactid": "fallback",
"threshold": 5
}
],
"links": {},
"messages": [],
"status": true
}
gttactionsets - Insert, Update, Delete
Create a file with the following content:
{
"actsn": "actset1",
"actid1": "Act1“
}
Note:
-
At max 1 SFTHROT action is allowed to be provisioned per VstpGTTActionSet entry.
- While provisioning Action Id, ensure it is provsioned in VstpGTTAction Table.
/vstp/gttactionsets -v POST -r /<Absolute path>/<File Name>
/vstp/gttactionsets -v POST -r /tmp/ActSet1
{
"data": true,
"links": {},
"messages": [],
"status": true
}
/vstp/gttactionsets -v PUT -r /<Absolute path>/<File Name>
/vstp/gttactionsets -v PUT -r /tmp/actset1
{
"data": true,
"links": {},
"messages": [],
"status": true
}
/vstp/gttactionsets/<Set Name> -v DELETE
Example output:
/vstp/gttactionsets/Set1 -v DELETE
No output returned by URI: https://localhost/mmi/dsr/v3.0/vstp/gttactionsets/Set1? for 'DELETE' operation
Execute the following command to display:
/vstp/gttactionsets
Example output:
/vstp/gttactionsets
{
"data": [
{
"actsn": "actset1",
"actid1": "Act1“
}
],
"links": {},
"messages": [],
"status": true
}