EasyManua.ls Logo

HP HPE VAN SDN Controller 2.7 - Uploading an Application (New or Upgrade); Installing a New Application

HP HPE VAN SDN Controller 2.7
231 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Uploading an application (new or upgrade)
Form
curl [options] -H "X-Auth-Token:token" \
-X POST https://controller_ip:8443/sdn/v2.0/apps/ \
--data-binary @<full_path_to_app_zip>
Example
curl -ksS -H "X-Auth-Token:3d61f0d3e61349359e6dbd82ec02c113" \
-X POST https://10.0.1.42:8443/sdn/v2.0/apps/ \
--data-binary @/home/hummer/dev/flare/dist/testApps/geewiz-apps-1.0.0.zip
Example output (new)
{
"app": {
"action": "NONE",
"catalog_id": "",
"deployed": "1970-01-01T00:00:00.000Z",
"desc": "Gee Wiz event production",
"download_url": "",
"name": "GeeWiz",
"product_id": "",
"sku": "",
"state": "STAGED",
"uid": "com.geewiz",
"vendor": "Gee Wiz, Inc.",
"version": "1.0.0"
}
}
Example output (upgrade)
{
"app": {
"action": "NONE",
"catalog_id": "",
"deployed": "2014-06-18T23:04:25.955Z",
"desc": "Gee Wiz event production",
"download_url": "",
"name": "GeeWiz",
"product_id": "",
"sku": "",
"state": "UPGRADE_STAGED",
"uid": "com.geewiz",
"vendor": "Gee Wiz, Inc.",
"version": "2.0.0"
}
}
Installing a new application
Form
curl [options] -H "X-Auth-Token:" \
-X POST https://controller_ip:8443/sdn/v2.0/apps/app_id/action \
-d install
Example
curl -ksS -H "X-Auth-Token:3d61f0d3e61349359e6dbd82ec02c113" \
-X POST https://10.0.1.42:8443/sdn/v2.0/apps/com.geewiz/action \
-d install
176 curl commands

Table of Contents

Related product manuals