Add/Delete an Instance Interface
- Last Updated: October 14, 2024
- 1 minute read
- LoadMaster
- Multi-Tenant LoadMaster
- Documentation
These commands can be used to add or delete an interface to/from a VNF instance.
Example Command
Add:
curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/addinstanceiface?iid=<VLMInstanceID>"Delete:
curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/delinstanceiface?iid=<VLMInstanceID>"Note: An instance interface cannot be deleted if the instance is running. To stop an instance, run the stopinstance command. For more information, refer to the Start/Stop an Instance section.
Note: Running the delinstanceiface command will delete the interface which was last added. It is not possible to delete the eth0 interface.
Available Parameters
|
Parameter |
Parameter Type |
Parameter Description |
Mandatory |
|---|---|---|---|
|
iid |
Integer |
The VLM instance ID. This can be retrieved by running the listInstances command. For further information, refer to the List the Instances section. |
Yes |
Example Output
Add:
<Response stat="200" code="ok"><Success>VNF network interface Created</Success></Response>Delete:
<Response stat="200" code="ok"><Success>VNF network interface Deleted</Success></Response>