Upload Application

To add a new application to the Harmony Controller click on upload application. You need to provide the App Namespace, app version and browse the downloaded Harmony App package file to upload from the local repository. The uploaded Application will be available in the App Catalog section for the provider and also this will be default enabled for the current provider. All the enabled apps for the provider will be available for the tenants to choose from the App Repo section under the tenant login.

curl 'https://controller.a10networks.com/api/v2/apps' \
-H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
-H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryDXlt2j1aiF10igWI' \
-H 'provider: root' \
--data-binary $'------WebKitFormBoundaryDXlt2j1aiF10igWI\r\nContent-Disposition: form-data; name="file"; filename="hc-0625-18-beta-0.zip"\r\nContent-Type: application/zip\r\n\r\n\r\n------WebKitFormBoundaryDXlt2j1aiF10igWI\r\nContent-Disposition: form-data; name="app"\r\n\r\n{"name":"ssli","version":"1.0","metadata":{"description":"SSLi App","status":"Subscribed"}}\r\n------WebKitFormBoundaryDXlt2j1aiF10igWI--\r\n'

List Application Catalogue

List application catalogue provides all the available Harmony applications.

curl 'https://controller.a10networks.com/api/v2/apps' \
-H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
-H 'Content-Type: application/json' \
-H 'provider: root'

Delete Application

The root provider admin can delete a specific Harmony Application from the list of applications available from the App Catalog section.

curl 'https://controller.a10networks.com/api/v2/apps/ssli/version/1.0' \
-H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
-H 'tenant: Demo' \
-H 'Content-Type: application/json' \
-H 'provider: root' \
--data-binary 'null'

Update Application

The root provider admin can update the Harmony application version from the App Catalog section.

curl 'https://controller.a10networks.com/api/v2/apps/ssli/version/1.0' \
-H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
-H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundarydmOi4GfeAGO5mQXQ' \
-H 'provider: root' \
--data-binary $'------WebKitFormBoundarydmOi4GfeAGO5mQXQ\r\nContent-Disposition: form-data; name="file"; filename="hc-dm-0516-18-beta-0.zip"\r\nContent-Type: application/zip\r\n\r\n\r\n------WebKitFormBoundarydmOi4GfeAGO5mQXQ\r\nContent-Disposition: form-data; name="app"\r\n\r\n{"name":"ssli","version":"1.0","metadata":{"description":"SSLi App Updated","status":"Subscribed"}}\r\n------WebKitFormBoundarydmOi4GfeAGO5mQXQ--\r\n'

Provider Enable Application

A provider admin can enable the Harmony apps from the App Catalog section under the provider login.

curl 'https://controller.a10networks.com/api/v2/providers/root/apps/ssli/version/1.0' \
-H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
-H 'tenant: Demo' -H 'Content-Type: application/json' \
-H 'provider: root' --data-binary 'null'

Provider Disable Application

A provider admin can disable the Harmony app from the App Repo section under the provider login.

curl 'https://controller.a10networks.com/api/v2/providers/root/apps/ssli/version/1.0' \
 -H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
 -H 'tenant: Demo' \
 -H 'Content-Type: application/json' \
 -H 'provider: root' \
 --data-binary 'null'

Provider List Subscribed Applications

The App Repo lists the enabled Harmony Apps for the provider and click on Go to App link to view the application dashboard.

curl 'https://controller.a10networks.com/api/v2/providers/root/apps' \
-H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
-H 'Content-Type: application/json' \

-H 'provider: root' \

Tenant Enable Application

The Tenant admin can enable the application for the tenant from the App Repo section under tenant login.

curl 'https://controller.a10networks.com/api/v2/providers/root/tenants/Demo/apps/ssli/version/1.0' \
-H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
-H 'tenant: Demo' \
-H 'Content-Type: application/json' \
-H 'provider: root' \
--data-binary 'null'

Tenant Disable Application

The tenant admin can disable the application using the My App section.

curl 'https://controller.a10networks.com/api/v2/providers/root/tenants/Demo/apps/ssli/version/1.0' \
-H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
-H 'tenant: Demo' \
-H 'Content-Type: application/json' \
-H 'provider: root' \
--data-binary 'null'

Tenant List Subscribed Applications

The My App lists the applications enabled for the tenant and click on Go to App link to view the application dashboard.

curl 'https://controller.a10networks.com/api/v2/providers/root/tenants/Demo/apps' \
-H 'Authorization: Session 8a30b57c-b9fc-4102-a77c-c0b8f832ca4b' \
-H 'tenant: Demo' \
-H 'Content-Type: application/json' \
-H 'provider: root' \