[CORD-1044] VTR as GUI Extension
Change-Id: I7509f9d0d4ba870efb406c2049e6e9523ad2a44f
diff --git a/deploy-xos-gui-extensions-playbook.yml b/deploy-xos-gui-extensions-playbook.yml
index 0275611..257c282 100644
--- a/deploy-xos-gui-extensions-playbook.yml
+++ b/deploy-xos-gui-extensions-playbook.yml
@@ -2,7 +2,7 @@
# deploy-xos-gui-extensions-playbook.yml
- name: Include vars
- hosts: all
+ hosts: head
tasks:
- name: Include variables
include_vars: "{{ item }}"
diff --git a/deploy-xos-playbook.yml b/deploy-xos-playbook.yml
index df4a125..47559f9 100644
--- a/deploy-xos-playbook.yml
+++ b/deploy-xos-playbook.yml
@@ -51,3 +51,5 @@
roles:
- xos-ready
- xos-config
+
+- include: deploy-xos-gui-extensions-playbook.yml
diff --git a/profile_manifests/frontend.yml b/profile_manifests/frontend.yml
index 0ba5244..af0daf6 100644
--- a/profile_manifests/frontend.yml
+++ b/profile_manifests/frontend.yml
@@ -28,3 +28,7 @@
subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
altnames:
- "DNS:xos-core.{{ site_suffix }}"
+
+enabled_gui_extensions:
+ - name: sample
+ path: orchestration/xos-sample-gui-extension
diff --git a/profile_manifests/mock-rcord.yml b/profile_manifests/mock-rcord.yml
index 66f0927..1f6b2cf 100644
--- a/profile_manifests/mock-rcord.yml
+++ b/profile_manifests/mock-rcord.yml
@@ -43,6 +43,10 @@
- label: "Instances"
state: "xos.core.instance"
+enabled_gui_extensions:
+ - name: vtr
+ path: orchestration/xos_services/vtr/xos/gui
+
# GUI branding [OLD GUI to be removed]
gui_branding_name: "CORD"
gui_branding_icon: "/static/cord-logo.png"
diff --git a/profile_manifests/rcord.yml b/profile_manifests/rcord.yml
index e0ef9d6..9c20247 100644
--- a/profile_manifests/rcord.yml
+++ b/profile_manifests/rcord.yml
@@ -35,12 +35,16 @@
- host: "{{ cord_profile_dir }}/images"
container: /opt/xos/images
-# GUI branding
+# GUI branding [OLD GUI to be removed]
gui_branding_name: "CORD"
gui_branding_icon: "/static/cord-logo.png"
gui_branding_favicon: "/static/cord-favicon.png"
gui_branding_bg: "/static/cord-bg.jpg"
+enabled_gui_extensions:
+ - name: vtr
+ path: orchestration/xos_services/vtr/xos/gui
+
# paths defined in manifest/default.xml
xos_services:
- name: volt
diff --git a/roles/xos-gui-extension-build/defaults/main.yml b/roles/xos-gui-extension-build/defaults/main.yml
index 9128154..260f667 100644
--- a/roles/xos-gui-extension-build/defaults/main.yml
+++ b/roles/xos-gui-extension-build/defaults/main.yml
@@ -4,7 +4,4 @@
cord_dir: "{{ ansible_user_dir + '/cord' }}"
cord_profile_dir: "{{ ansible_user_dir + '/cord_profile' }}"
-enabled_gui_extensions:
- - name: sample
- path: orchestration/xos-sample-gui-extension
-
+enabled_gui_extensions: []
\ No newline at end of file