CORD-2509 migrate vmme service from static to dynamic load

Change-Id: I771dcbe22825b8f07ee469e53afe3ab2984dc847
diff --git a/xos/make_synchronizer_manifest.sh b/xos/make_synchronizer_manifest.sh
deleted file mode 100755
index 5351287..0000000
--- a/xos/make_synchronizer_manifest.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 2017-present Open Networking Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-#! /bin/bash
-find synchronizer -type f | cut -b 14- > synchronizer/manifest
diff --git a/xos/vmme.xproto b/xos/synchronizer/models/vmme.xproto
similarity index 100%
rename from xos/vmme.xproto
rename to xos/synchronizer/models/vmme.xproto
diff --git a/xos/synchronizer/vmme_config.yaml b/xos/synchronizer/vmme_config.yaml
index 19adcb2..587736a 100644
--- a/xos/synchronizer/vmme_config.yaml
+++ b/xos/synchronizer/vmme_config.yaml
@@ -13,11 +13,16 @@
 # limitations under the License.
 
 
-name: vmme-synchronizer
+name: vmme
 accessor:
   username: xosadmin@opencord.org
   password: "@/opt/xos/services/vmme/credentials/xosadmin@opencord.org"
+required_models:
+  - VMMEService
+  - VMMEVendor
+  - VMMETenant
 dependency_graph: "/opt/xos/synchronizers/vmme/model-deps"
 steps_dir: "/opt/xos/synchronizers/vmme/steps"
 sys_dir: "/opt/xos/synchronizers/vmme/sys"
+models_dir: "/opt/xos/synchronizers/vmme/models"
 model_policies_dir: "/opt/xos/synchronizers/vmme/model_policies"
diff --git a/xos/synchronizer/vmme_from_api_config b/xos/synchronizer/vmme_from_api_config
deleted file mode 100644
index e53d5e3..0000000
--- a/xos/synchronizer/vmme_from_api_config
+++ /dev/null
@@ -1,20 +0,0 @@
-# Sets options for the synchronizer
-[observer]
-name=vmme
-dependency_graph=/opt/xos/synchronizers/vmme/model-deps
-steps_dir=/opt/xos/synchronizers/vmme/steps
-sys_dir=/opt/xos/synchronizers/vmme/sys
-#logfile=/var/log/xos_backend.log
-log_file=console
-log_level=debug
-pretend=False
-backoff_disabled=True
-save_ansible_output=True
-proxy_ssh=True
-proxy_ssh_key=/opt/cord_profile/node_key
-proxy_ssh_user=root
-accessor_kind=api
-accessor_password=@/opt/xos/services/vmme/credentials/xosadmin@opencord.org
-
-[networking]
-use_vtn=True
diff --git a/xos/vmme-onboard.yaml b/xos/vmme-onboard.yaml
deleted file mode 100644
index cea9005..0000000
--- a/xos/vmme-onboard.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 2017-present Open Networking Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: Onboard the vMME service
-
-imports:
-  - custom_types/xos.yaml
-
-topology_template:
-  node_templates:
-    servicecontroller#vmme:
-      type: tosca.nodes.ServiceController
-      properties:
-          base_url: file:///opt/xos_services/vmme/xos/
-          # The following will concatenate with base_url automatically, if
-          # base_url is non-null.
-          xproto: ./
-          synchronizer: synchronizer/manifest  
-          synchronizer_run: vmme-synchronizer.py
-          private_key: file:///opt/xos/key_import/mcord_rsa
-          public_key: file:///opt/xos/key_import/mcord_rsa.pub
-