CORD-2284: Eliminate xos-exampleservice.yaml.j2
Change-Id: I53b75d79405706daed3bf610c5f3f8073030b25b
(cherry picked from commit 3e778eab62c998a6481e40e2074b3d75b0382ad5)
diff --git a/roles/exampleservice-config/tasks/main.yml b/roles/exampleservice-config/tasks/main.yml
index 165c4a9..f1ecfd8 100644
--- a/roles/exampleservice-config/tasks/main.yml
+++ b/roles/exampleservice-config/tasks/main.yml
@@ -33,11 +33,6 @@
src: "{{ head_cord_dir }}/orchestration/xos_services/exampleservice/xos/exampleservice-onboard.yaml"
dest: "{{ head_cord_profile_dir }}/exampleservice-onboard.yaml"
-- name: TOSCA to mount exampleservice volume in XOS container
- template:
- src: "xos-exampleservice.yaml.j2"
- dest: "{{ head_cord_profile_dir }}/xos-exampleservice.yaml"
-
- name: TOSCA to create exampleservice test config
template:
src: "test-exampleservice.yaml.j2"
diff --git a/roles/exampleservice-config/templates/xos-exampleservice.yaml.j2 b/roles/exampleservice-config/templates/xos-exampleservice.yaml.j2
deleted file mode 100644
index b0fc2fe..0000000
--- a/roles/exampleservice-config/templates/xos-exampleservice.yaml.j2
+++ /dev/null
@@ -1,42 +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: Have the XOS container mount the exampleservice volume
-
-imports:
- - custom_types/xos.yaml
-
-topology_template:
- node_templates:
-
- xos:
- type: tosca.nodes.XOS
-
- /opt/xos_services/exampleservice:
- type: tosca.nodes.XOSVolume
- properties:
- host_path: "{{ head_cord_dir }}/orchestration/xos_services/exampleservice"
- read_only: True
- requirements:
- - xos:
- node: xos
- relationship: tosca.relationships.UsedByXOS
-