CORD-1130 remove onboarding artifacts from vrouter service
Change-Id: Ie96d36c0d4a010e3ea756006c42c36188987af88
(cherry picked from commit 6c75ac73c5bad84faad65c1db8e9cea205425b6c)
diff --git a/xos/synchronizer/Makefile b/xos/synchronizer/Makefile
deleted file mode 100644
index 6f2f127..0000000
--- a/xos/synchronizer/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-synchronizer:
- sudo docker build --rm -f Dockerfile.synchronizer -t xosproject/vrouter-synchronizer .
-
-up:
- docker-compose -p vrouter up -d
diff --git a/xos/synchronizer/docker-compose.yml b/xos/synchronizer/docker-compose.yml
deleted file mode 100644
index 7d6b59c..0000000
--- a/xos/synchronizer/docker-compose.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-version: '2'
-
-networks:
- xos:
- external: true
-
-services:
- synchronizer:
- image: xosproject/vrouter-synchronizer
- networks:
- - xos
- #command: bash -c "sleep 86400"
- volumes:
- - /opt/cord_profile/key_import/vrouter_rsa:/opt/xos/services/vrouter/keys/vrouter_rsa:ro
- - /opt/cord_profile/node_key:/opt/cord_profile/node_key:ro
- - /opt/cord/build/platform-install/credentials/xosadmin@opencord.org:/opt/xos/services/vrouter/credentials/xosadmin@opencord.org
- external_links:
- - rcordbs_xos_redis_1:redis
- logging:
- driver: "json-file"
- options:
- max-size: "1000k"
- max-file: "5"
diff --git a/xos/synchronizer/manifest b/xos/synchronizer/manifest
deleted file mode 100644
index e2483ed..0000000
--- a/xos/synchronizer/manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-manifest
-model_deps
-run.sh
-steps/sync_vrouterapp.py
-steps/sync_vrouterdevice.py
-steps/sync_vrouterports.py
-vrouter-synchronizer.py
-vrouter_config
diff --git a/xos/synchronizer/run.sh b/xos/synchronizer/run.sh
deleted file mode 100644
index 64600d6..0000000
--- a/xos/synchronizer/run.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-export XOS_DIR=/opt/xos
-python vrouter-synchronizer.py -C $XOS_DIR/synchronizers/vrouter/vrouter_config
\ No newline at end of file
diff --git a/xos/synchronizer/vrouter_config b/xos/synchronizer/vrouter_config
deleted file mode 100644
index f01bd79..0000000
--- a/xos/synchronizer/vrouter_config
+++ /dev/null
@@ -1,23 +0,0 @@
-# Required by XOS
-[db]
-name=xos
-user=postgres
-password=password
-host=xos_db
-port=5432
-
-# Required by XOS
-[api]
-nova_enabled=True
-
-# Sets options for the synchronizer
-[observer]
-name=vrouter
-dependency_graph=/opt/xos/synchronizers/vrouter/model_deps
-steps_dir=/opt/xos/synchronizers/vrouter/steps
-sys_dir=/opt/xos/synchronizers/vrouter/sys
-logfile=/var/log/xos_backend.log
-pretend=False
-backoff_disabled=True
-save_ansible_output=True
-proxy_ssh=False
\ No newline at end of file
diff --git a/xos/vrouter-onboard.yaml b/xos/vrouter-onboard.yaml
index 98316ab..5e3c48b 100644
--- a/xos/vrouter-onboard.yaml
+++ b/xos/vrouter-onboard.yaml
@@ -19,6 +19,5 @@
tosca_custom_types: vrouter.yaml
tosca_resource: tosca/resources/vrouterservice.py
rest_service: api/service/vrouter.py
- synchronizer: synchronizer/manifest
- synchronizer_run: vrouter-synchronizer.py
+
diff --git a/xos/vrouter-onboardnew.yaml b/xos/vrouter-onboardnew.yaml
deleted file mode 100644
index a2ff31a..0000000
--- a/xos/vrouter-onboardnew.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: Onboard the vRouter SErvice
-
-imports:
- - custom_types/xos.yaml
-
-topology_template:
- node_templates:
- servicecontroller#vrouter:
- type: tosca.nodes.ServiceController
- properties:
- base_url: file:///opt/xos_services/vrouter/xos/
- # The following will concatenate with base_url automatically, if
- # base_url is non-null.
- models: models.py
- admin: admin.py
- admin_template: templates/vrouteradmin.html
- tosca_custom_types: vrouter.yaml
- tosca_resource: tosca/resources/vrouterservice.py
- rest_service: api/service/vrouter.py
- no_build: true
- image: xosproject/vrouter-synchronizer