2.4.2.2.2 MMI Managed Objects for SCPVAL
MMI information associated with SCPVAL 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.
The following table lists the managed objects and operations supported
for SCPVAL action.
Table 2-2 vSTP SCPVAL 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:
{
"act": "Scpval",
"actid": "Act1",
"defactid": "fallback",
"ndgt": "2",
"sprm": "Cdgta",
"tprm": "Smrpda",
"uimreqd": "true"
"useicmsg": "true"
}
Execute the following command on an active SOAM to insert:
/vstp/gttactions -v POST -r /<Absolute path>/<File Name>
Example output:
/vstp/gttactions -v POST -r /tmp/GttAct1
{
"data": true,
"links": {},
"messages": [],
"status": true
}
Execute the following command on an active SOAM to update:
/vstp/gttactions -v PUT -r /<Absolute path>/<File Name>
Example output:
/vstp/gttactions -v PUT -r /tmp/GttAct1
{
"data": true,
"links": {},
"messages": [],
"status": true
}
Execute this command on an active SOAM to delete:
/vstp/gttactions/<Rule Name> -v DELETE
Example output:
/vstp/gttactions/Act1 -v DELETE
No output returned by URI: https://localhost/mmi/dsr/v3.0/vstp/gttactions/Act1? for 'DELETE' operation
Execute the following command to display:
/vstp/gttactions
Example output:
/vstp/gttactions
{
"data": [
{
"act": "Scpval",
"actid": "Act1",
"defactid": "fallback",
"ndgt": "2",
"sprm": "Cdgta",
"tprm": "Smrpda",
"uimreqd": true,
"useicmsg": true
}
],
"links": {},
"messages": [],
"status": true
}
gttactionsets - Insert, Update, Delete
Create a file with the following content:
{
"actsn": "actset1",
"actid1": "Act1“
}
Execute the following command on an active SOAM to insert:
/vstp/gttactionsets -v POST -r /<Absolute path>/<File Name>
Example output:
/vstp/gttactionsets -v POST -r /tmp/ActSet1
{
"data": true,
"links": {},
"messages": [],
"status": true
}
Execute the following command on an active SOAM to update:
/vstp/gttactionsets -v PUT -r /<Absolute path>/<File Name>
Example output:
/vstp/gttactionsets -v PUT -r /tmp/actset1
{
"data": true,
"links": {},
"messages": [],
"status": true
}
Execute this command on an active SOAM to delete:
/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
}