Note: This method has been deprecated and is included here for compatibility with existing user scripts. New users should use the config command with the option flag &boundary.
Retrieve application template boundary
/api/v1/template/config_boundary?template=template&vdc=controller-name
Name of the application template
Name of the target virtual data center
synchronous
GET
Retrieve boundary for application template VDS_CentOS51_r15.
GET http://192.168.123.200/api/v1/template/config_boundary?template=VDS_CentOS51_r15&vdc=mygrid
Sample Output
<boundary> <name>main</name> <property dns1> <mandatory>1</mandatory> <type>string</type> </property dns1> <property dns2> <dflt></dflt> <type>string</type> </property dns2> . . . <resource bw> <dflt>1000K</dflt> <max>2G</max> <min>1000K</min> </resource bw> . . </boundary>
{
"property dns1" : {
"type" : "string",
"mandatory" : 1
},
"property hostname" : {
"type" : "string",
"mandatory" : 1
},
.
.
.
"resource mem" : {
"min" : "128M",
"max" : "32G",
"dflt" : "256M"
},
.
.
}
Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.
Missing required arguments (template). - Argument template=template missing in the request.
Entity not found – Permission Denied – application VDS_CentOS_r1 does not exist.
|
Copyright © 2012 CA.
All rights reserved.
|
|