add onboards and mocks missing in frontend config
Change-Id: I5b436bbeec3a099677166d597266438599f821a7
diff --git a/frontend/Makefile b/frontend/Makefile
index e139c24..14c0dec 100644
--- a/frontend/Makefile
+++ b/frontend/Makefile
@@ -96,6 +96,7 @@
mock-cord-pod: onboard-cord-pod
$(RUN_TOSCA) ../cord-pod/mgmt-net.yaml
+ $(RUN_TOSCA) mocks/onos.yaml
$(RUN_TOSCA) ../cord-pod/cord-services.yaml
$(RUN_TOSCA) ../cord-pod/cord-test-subscriber.yaml
$(RUN_TOSCA) ../cord-pod/cord-volt-devices.yaml
@@ -105,15 +106,23 @@
sudo bash -c "echo somekey > key_import/vsg_rsa.pub"
sudo bash -c "echo somekey > key_import/volt_rsa"
sudo bash -c "echo somekey > key_import/volt_rsa.pub"
+ sudo bash -c "echo somekey > key_import/onos_rsa"
+ sudo bash -c "echo somekey > key_import/onos_rsa.pub"
$(RUN_TOSCA_BOOTSTRAP) ../common/disable-onboarding.yaml
$(RUN_TOSCA_BOOTSTRAP) $(SERVICE_DIR)/vrouter/xos/vrouter-onboard.yaml
$(RUN_TOSCA_BOOTSTRAP) $(SERVICE_DIR)/olt/xos/volt-onboard.yaml
$(RUN_TOSCA_BOOTSTRAP) $(SERVICE_DIR)/vsg/xos/vsg-onboard.yaml
+ $(RUN_TOSCA_BOOTSTRAP) $(SERVICE_DIR)/onos-service/xos/onos-onboard.yaml
+ $(RUN_TOSCA_BOOTSTRAP) $(SERVICE_DIR)/fabric/xos/fabric-onboard.yaml
+ $(RUN_TOSCA_BOOTSTRAP) $(SERVICE_DIR)/vtr/xos/vtr-onboard.yaml
$(RUN_TOSCA_BOOTSTRAP) xos-cord-branding.yaml
$(RUN_TOSCA_BOOTSTRAP) ../common/enable-onboarding.yaml
bash ../common/wait_for_onboarding_ready.sh 9998 services/vrouter
bash ../common/wait_for_onboarding_ready.sh 9998 services/volt
bash ../common/wait_for_onboarding_ready.sh 9998 services/vsg
+ bash ../common/wait_for_onboarding_ready.sh 9998 services/onos
+ bash ../common/wait_for_onboarding_ready.sh 9998 services/fabric
+ bash ../common/wait_for_onboarding_ready.sh 9998 services/vtr
bash ../common/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) xos
bash ../common/wait_for_xos_port.sh $(XOS_UI_PORT)
diff --git a/frontend/mocks/onos.yaml b/frontend/mocks/onos.yaml
new file mode 100644
index 0000000..fb36691
--- /dev/null
+++ b/frontend/mocks/onos.yaml
@@ -0,0 +1,18 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+imports:
+ - custom_types/xos.yaml
+
+description: enough onos config to make the mock work
+
+topology_template:
+ node_templates:
+
+ service#ONOS_Fabric:
+ type: tosca.nodes.ONOSService
+
+ service#ONOS_CORD:
+ type: tosca.nodes.ONOSService
+
+# service#vtn:
+# type: tosca.nodes.VTNService
\ No newline at end of file