Create an Instance
- Last Updated: October 14, 2024
- 1 minute read
- LoadMaster
- Multi-Tenant LoadMaster
- Documentation
This command creates a tenant LoadMaster instance.
Example Command
curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/createinstance?dftgw=<DefaultGatewayIPAddress>&memory=<MemoryValue>&templateid=<VNFTemplateID>"Available Parameters
|
Parameter |
Parameter Type |
Parameter Description |
Mandatory |
|---|---|---|---|
|
dftgw |
Address |
The Default Gateway IP address. |
Yes |
|
memory |
Integer |
The memory requirement. The maximum memory value is system dependent. 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 |
|
templateid |
String |
The ID of the VNF package. To retrieve the ID of a currently installed VNF package, run the listinstalledvnf command. Refer to the List the Installed VNF Packages section for further information. |
Yes |
|
vnfname |
String |
The nickname for the VNF instance. |
No |
|
ipaddress |
Address |
The IP address of the LoadMaster instance. If this is not set, the IP address will default to 192.168.1.101/24. |
No |
|
nics |
Integer |
The number of network cards for the LoadMaster instance. The default value for this is 1. Range: 1 to 9 |
No |
|
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 |
Example Output
<?xml version="1.0" encoding="ISO-8859-1"?><Response stat="200" code="ok"><Success><instanceID>12</instanceID></Success></Response>