3.5 MMI Managed Objects for AINPQ
MMI information associated with MNP is accessed from a DSR NOAM or SOAM from Main Menu, and then MMI API Guide.
Once the MMI API Guide displays, use the application navigation to locate specific vSTP managed object information.
The following lists the managed objects and operations supported for vSTP MNP G-Port feature.
Table 3-6 vSTP MNP Managed Objects and Supported Operations
| Managed Object Name | Supported Operations |
|---|---|
| ainpoptions | Update |
| sccpmnpoptions | Update |
| sccpserviceselectors | Insert, Update, Delete |
| homeentities | Insert, Update,Delete |
| sccpapplications | Insert, Delete |
ainpoptions- Update
Create a file with the following content. File name could be anything, for example: option name can be used as filename.
$ Cat ainpconf
{
"ainprfmt": "asdrndn",
"ainprnp": "e164",
"ainpsnai1-dialnai1": "intl-1",
"ainpsprestype": "rrwodgts"
}Perform the following command on active SOAM to update EirOptions:
mmiclient.py /vstp/ainpptions -v PUT -r /<Absolute Path>/<File Name>Example output for update:
[admusr@veir-soa1 filemgmt]$ mmiclient.py /vstp/ainpoptions -v PUT -r ainpconf
{
"data": true,
"links": {},
"messages": [],
"status": true
}sccpmnpoptions - Update
Create a file with the following content. File name could be anything, for example: option name can be used as filename.
$ Cat inpconf
{ “defmcc": “1",
“defndc": “23",
}Perform the following command on active SOAM to update EirOptions:
mmiclient.py /vstp/sccpmnpoptions -v PUT -r /<Absolute Path>/<File Name>[admusr@veir-soa1 filemgmt]$ mmiclient.py /vstp/sccpmnpoptions -v PUT -r inpconf
{
"data": true,
"links": {},
"messages": [],
"status": true
}Home Entity- Insert
Create a file with the following content. File name could be anything, for example: option name can be used as filename.
$ Cat inpqf1
{
"entityAddress": "03",
"entityType": “DialPfx",
"inpDelPfx": false,
"name": "entity03"
}Home Entity - Update
$ Cat inpqf2
{"name": "homeEnt2",
"entityType“: “DialPfx”
} mmiclient.py /vstp/homeentities/ -v PUT -r /<Absolute Path>/<File Name>Example output for update:
[admusr@veir-soa1 filemgmt]$ mmiclient.py /vstp/homeentities/ -v PUT -r inpqf2
{
"data": true,
"links": {},
"messages": [],
"status": true
}Home Entity – Delete
Note:
Deletes the specified Home Entity from the SOAM configuration. A Home Entity can only be deleted if all delete validation checks pass. An attempt to delete a Home Entity that cannot be deleted results in an error message returned within the HTTP response.Perform the following command to delete an Entry:
mmiclient.py /vstp/homeentities/{name} -v DELETEExample:
mmiclient.py /vstp/homeentities/homeEnt2 -v DELETENo output returned by URI: https://localhost/mmi/dsr/v2.0/vstp/homeentities/homeEnt2? for "DELETE" operation.
SccpApplications– Insert
Create a file with the following content. File name could be anything, for example: option name can be used as filename
$ Cat conf
{
"appType": "Inpq",
"ssn": 21
}Perform the following command on active SOAM to insert into sccpapplications:
mmiclient.py /vstp/sccpapplications -v POST -r /<Absolute Path>/<File Name>