Configure an Instance
- Last Updated: October 14, 2024
- 1 minute read
- LoadMaster
- Multi-Tenant LoadMaster
- Documentation
This command can be used to configure an instance.
Example Command
curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/configureinstance?vnfname=<VNFName>&memory=<MemoryValue>&intf=<Interface>&ispi=<0/1>&intfid=<InterfaceID>&iid=<VLMInstanceID>"Available Parameters
|
Parameter |
Parameter Type |
Parameter Description |
Mandatory |
|---|---|---|---|
|
vnfname |
String |
The nickname for the VNF instance. |
Yes |
|
memory |
Integer |
The memory requirement. The maximum memory value is system dependent. The values match the WUI values. If you try to set the memory to a value that is too high, an error message will be displayed which returns the maximum memory available. |
Yes |
|
cpus |
Integer |
Number of available CPUs for the LoadMaster instance. The default value for this is 1. The maximum is the number of CPUs on the Multi-Tenant LoadMaster. |
No |
|
intf |
String |
The VNF network interface, in the format eth<Number>, for example eth1. This must correspond to an existing interface in the Multi-Tenant LoadMaster. |
Yes |
|
ispi |
Boolean |
Specify whether it Is a physical or virtual interface: 0 - Virtual 1 - Physical |
Yes |
|
intfid |
Integer |
The physical or virtual interface ID. |
Yes |
|
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
<?xml version="1.0" encoding="ISO-8859-1"?><Response stat="200" code="ok"><Success>Configuration Updated</Success></Response>