CORD-1130 remove onboarding artifacts from onos service
Change-Id: Iddefdc01d61bdfddf2a57aa15b1038338f369b08
diff --git a/xos/onos-onboard.yaml b/xos/onos-onboard.yaml
index 108f46c..6f59f10 100644
--- a/xos/onos-onboard.yaml
+++ b/xos/onos-onboard.yaml
@@ -16,8 +16,6 @@
xproto: ./
admin: admin.py
admin_template: templates/onosadmin.html
- synchronizer: synchronizer/manifest
- synchronizer_run: onos-synchronizer.py
#tosca_custom_types: exampleservice.yaml
tosca_resource: tosca/resources/onosservice.py, tosca/resources/onosapp.py
rest_service: api/service/onos.py
diff --git a/xos/onos-onboardnew.yaml b/xos/onos-onboardnew.yaml
deleted file mode 100644
index 9f02ef5..0000000
--- a/xos/onos-onboardnew.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: Onboard the exampleservice
-
-imports:
- - custom_types/xos.yaml
-
-topology_template:
- node_templates:
- servicecontroller#onos:
- type: tosca.nodes.ServiceController
- properties:
- base_url: file:///opt/xos_services/onos-service/xos/
- # The following will concatenate with base_url automatically, if
- # base_url is non-null.
- models: models.py
- admin: admin.py
- admin_template: templates/onosadmin.html
- tosca_resource: tosca/resources/onosservice.py, tosca/resources/onosapp.py
- rest_service: api/service/onos.py
- rest_tenant: subdirectory:onos api/tenant/onos/app.py
- private_key: file:///opt/xos/key_import/onos_rsa
- public_key: file:///opt/xos/key_import/onos_rsa.pub
- no_build: true
- image: xosproject/onos-synchronizer
diff --git a/xos/synchronizer/Makefile b/xos/synchronizer/Makefile
deleted file mode 100644
index 464bb7c..0000000
--- a/xos/synchronizer/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-synchronizer:
- sudo docker build --rm -f Dockerfile.synchronizer -t xosproject/onos-synchronizer .
-
-up:
- docker-compose -p onos up -d
diff --git a/xos/synchronizer/docker-compose.yml b/xos/synchronizer/docker-compose.yml
deleted file mode 100644
index 8dc4af3..0000000
--- a/xos/synchronizer/docker-compose.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-version: '2'
-
-networks:
- xos:
- external: true
-
-services:
- synchronizer:
- image: xosproject/onos-synchronizer
- networks:
- - xos
- #command: bash -c "sleep 86400"
- volumes:
- - /opt/cord_profile/key_import/onos_rsa:/opt/xos/services/onos/keys/onos_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/onos/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 b96216a..0000000
--- a/xos/synchronizer/manifest
+++ /dev/null
@@ -1,16 +0,0 @@
-manifest
-onos-ext-volt-event-publisher-1.0-SNAPSHOT.oar
-scripts/dockerip.sh
-steps/sync_onosapp.py
-steps/sync_onosapp_nocontainer.yaml
-steps/sync_onosservice.py
-steps/sync_onosservice.yaml
-steps/sync_onosapp.yaml
-onos-ext-notifier-1.0-SNAPSHOT.oar
-start.sh
-stop.sh
-model-deps
-onos_synchronizer_config
-supervisor/onos-observer.conf
-run.sh
-onos-synchronizer.py
diff --git a/xos/synchronizer/onos_synchronizer_config b/xos/synchronizer/onos_synchronizer_config
deleted file mode 100644
index c7a2f2c..0000000
--- a/xos/synchronizer/onos_synchronizer_config
+++ /dev/null
@@ -1,41 +0,0 @@
-
-[plc]
-name=plc
-deployment=VICCI
-
-[db]
-name=xos
-user=postgres
-password=password
-host=xos_db
-port=5432
-
-[api]
-host=128.112.171.237
-port=8000
-ssl_key=None
-ssl_cert=None
-ca_ssl_cert=None
-ratelimit_enabled=0
-omf_enabled=0
-mail_support_address=support@localhost
-nova_enabled=True
-
-[observer]
-name=onos
-dependency_graph=/opt/xos/synchronizers/onos/model-deps
-steps_dir=/opt/xos/synchronizers/onos/steps
-sys_dir=/opt/xos/synchronizers/onos/sys
-deleters_dir=/opt/xos/synchronizers/onos/deleters
-log_file=console
-driver=None
-pretend=False
-backoff_disabled=True
-save_ansible_output=True
-# set proxy_ssh to false on cloudlab
-proxy_ssh=False
-full_setup=True
-
-[feefie]
-client_id='vicci_dev_central'
-user_id='pl'
diff --git a/xos/synchronizer/run.sh b/xos/synchronizer/run.sh
deleted file mode 100755
index b108d5b..0000000
--- a/xos/synchronizer/run.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#if [[ ! -e ./vcpe-observer.py ]]; then
-# ln -s ../../xos-observer.py vcpe-observer.py
-#fi
-
-export XOS_DIR=/opt/xos
-python onos-synchronizer.py -C $XOS_DIR/synchronizers/onos/onos_synchronizer_config
diff --git a/xos/synchronizer/start.sh b/xos/synchronizer/start.sh
deleted file mode 100755
index f0a1535..0000000
--- a/xos/synchronizer/start.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#if [[ ! -e ./vcpe-observer.py ]]; then
-# ln -s ../../xos-observer.py vcpe-observer.py
-#fi
-
-export XOS_DIR=/opt/xos
-nohup python onos-synchronizer.py -C $XOS_DIR/synchronizers/onos/onos_synchronizer_config > /dev/null 2>&1 &
diff --git a/xos/synchronizer/stop.sh b/xos/synchronizer/stop.sh
deleted file mode 100755
index 17d6eb7..0000000
--- a/xos/synchronizer/stop.sh
+++ /dev/null
@@ -1 +0,0 @@
-pkill -9 -f onos-observer.py