MMI Managed Objects for GTT Throttle Action

MMI information associated with GTT Throttle action is accessed from a DSR NOAM or SOAM from Main Menu > MMI API Guide.

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 GTT Throttle action.

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.

Execute the following command on an active SOAM to insert:
 /vstp/gttactions -v POST -r /<Absolute path>/<Fiename>
Example output:
 /vstp/gttactions -v POST -r gttaction.txt
{
    "data": true,
    "links": {},
    "messages": [],
    "status": true
}

Execute the following command on an active SOAM to update:
 /vstp/gttactions -v PUT -r /<Absolute path>/<Fiename>
Example output:
 /vstp/gttactions -v PUT -r gttaction.txt
{
    "data": true,
    "links": {},
    "messages": [],
    "status": true
}


Execute this command on an active SOAM to delete:
 /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.
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
}