Uploading new E-CORD and M-CORD deployment POD configurations

Change-Id: I39b0781c78213d211734991ecbec9e360ac1cb17
(cherry picked from commit c5a2779b8cb324009000175cfc177cfc476f41e2)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e43b0f9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.DS_Store
diff --git a/deployment-configs/calix-pod1.yml b/deployment-configs/calix-pod1.yml
index 8f36ddd..56688cf 100644
--- a/deployment-configs/calix-pod1.yml
+++ b/deployment-configs/calix-pod1.yml
@@ -1,4 +1,19 @@
+# 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.
+
 # Automated deployment configuration for Calix POD 1
+
 ---
 
 pod_config:
diff --git a/deployment-configs/flex-pod1.yml b/deployment-configs/flex-pod1.yml
index dda3cea..170eb97 100644
--- a/deployment-configs/flex-pod1.yml
+++ b/deployment-configs/flex-pod1.yml
@@ -1,4 +1,19 @@
+# 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.
+
 # Automated deployment configuration for Flex POD 1
+
 ---
 
 pod_config:
diff --git a/deployment-configs/onlab-pod1.yml b/deployment-configs/onlab-pod1.yml
index 0eeeeb4..21d160e 100644
--- a/deployment-configs/onlab-pod1.yml
+++ b/deployment-configs/onlab-pod1.yml
@@ -1,4 +1,19 @@
+# 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.
+
 # Automated deployment configuration for ONF/ON.Lab physical POD 1
+
 ---
 
 pod_config:
diff --git a/deployment-configs/qct-pod1.yml b/deployment-configs/qct-pod1.yml
index 74eeba8..8bcfd8c 100644
--- a/deployment-configs/qct-pod1.yml
+++ b/deployment-configs/qct-pod1.yml
@@ -1,4 +1,19 @@
+# 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.
+
 # Automated deployment configuration for QCT POD 1
+
 ---
 
 pod_config:
diff --git a/deployment-configs/qct-pod2-dpdk.yml b/deployment-configs/qct-pod2-dpdk.yml
index 6a68dea..22d8480 100644
--- a/deployment-configs/qct-pod2-dpdk.yml
+++ b/deployment-configs/qct-pod2-dpdk.yml
@@ -1,4 +1,19 @@
+# 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.
+
 # Automated deployment configuration for QCT POD 2
+
 ---
 
 pod_config:
diff --git a/deployment-configs/qct-pod2.yml b/deployment-configs/qct-pod2.yml
index 57d3730..c781216 100644
--- a/deployment-configs/qct-pod2.yml
+++ b/deployment-configs/qct-pod2.yml
@@ -1,4 +1,19 @@
+# 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.
+
 # Automated deployment configuration for QCT POD 2
+
 ---
 
 pod_config:
diff --git a/deployment-configs/qct-pod3-ecord-global.yml b/deployment-configs/qct-pod3-ecord-global.yml
new file mode 100644
index 0000000..4f48212
--- /dev/null
+++ b/deployment-configs/qct-pod3-ecord-global.yml
@@ -0,0 +1,49 @@
+# 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.
+
+# Automated E-CORD global node deployment configuration for QCT POD 3
+
+---
+
+pod_config:
+  repo_url: 'https://gerrit.opencord.org/pod-configs'
+  file_name: 'qct-pod3-ecord-global.yml'
+
+make_release: 'false'
+
+maas:
+  ip: '10.201.101.254'
+  api_key: 'fQp2rrr3RqZtkJJYBK:XqQX7UqwXGKMYQ8EZ5:UDbFhfenPdjc3fmmCQX2fek7AyRGrf6A'
+  head_system_id: 'amnpa7'
+
+dev_node:
+  name: 'qct-cord-pod3'
+  user: 'cord'
+
+head:
+  ip: '10.201.101.31'
+  user: 'cord'
+  pass: 'cord'
+
+compute_nodes:
+  -
+    ipmi:
+      ip: '10.201.101.33'
+      user: 'OCPQ'
+      pass: 'OCPQ'
+  -
+    ipmi:
+      ip: '10.201.101.34'
+      user: 'OCPQ'
+      pass: 'OCPQ'
diff --git a/deployment-configs/qct-pod3-ecord-local.yml b/deployment-configs/qct-pod3-ecord-local.yml
new file mode 100644
index 0000000..208efce
--- /dev/null
+++ b/deployment-configs/qct-pod3-ecord-local.yml
@@ -0,0 +1,49 @@
+# 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.
+
+# Automated E-CORD local node deployment configuration for QCT POD 3
+
+---
+
+pod_config:
+  repo_url: 'https://gerrit.opencord.org/pod-configs'
+  file_name: 'qct-pod3-ecord-local.yml'
+
+make_release: 'false'
+
+maas:
+  ip: '10.201.101.254'
+  api_key: 'fQp2rrr3RqZtkJJYBK:XqQX7UqwXGKMYQ8EZ5:UDbFhfenPdjc3fmmCQX2fek7AyRGrf6A'
+  head_system_id: 'amnpa7'
+
+dev_node:
+  name: 'qct-cord-pod3'
+  user: 'cord'
+
+head:
+  ip: '10.201.101.31'
+  user: 'cord'
+  pass: 'cord'
+
+compute_nodes:
+  -
+    ipmi:
+      ip: '10.201.101.33'
+      user: 'OCPQ'
+      pass: 'OCPQ'
+  -
+    ipmi:
+      ip: '10.201.101.34'
+      user: 'OCPQ'
+      pass: 'OCPQ'
diff --git a/deployment-configs/qct-pod3.yml b/deployment-configs/qct-pod3.yml
index b546b7a..13048c8 100644
--- a/deployment-configs/qct-pod3.yml
+++ b/deployment-configs/qct-pod3.yml
@@ -1,4 +1,19 @@
+# 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.
+
 # Automated deployment configuration for QCT POD 3
+
 ---
 
 pod_config:
diff --git a/deployment-configs/qct-pod4-mcord.yml b/deployment-configs/qct-pod4-mcord.yml
new file mode 100644
index 0000000..6b38154
--- /dev/null
+++ b/deployment-configs/qct-pod4-mcord.yml
@@ -0,0 +1,49 @@
+# 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.
+
+# Automated M-CORD deployment configuration for QCT POD 4
+
+---
+
+pod_config:
+  repo_url: 'https://gerrit.opencord.org/pod-configs'
+  file_name: 'qct-pod4-mcord.yml'
+
+make_release: 'false'
+
+maas:
+  ip: '10.201.101.254'
+  api_key: 'fQp2rrr3RqZtkJJYBK:XqQX7UqwXGKMYQ8EZ5:UDbFhfenPdjc3fmmCQX2fek7AyRGrf6A'
+  head_system_id: 'b43ra7'
+
+dev_node:
+  name: 'qct-cord-pod4'
+  user: 'cord'
+
+head:
+  ip: '10.201.101.41'
+  user: 'cord'
+  pass: 'cord'
+
+compute_nodes:
+  -
+    ipmi:
+      ip: '10.201.101.43'
+      user: 'OCPQ'
+      pass: 'OCPQ'
+  -
+    ipmi:
+      ip: '10.201.101.44'
+      user: 'OCPQ'
+      pass: 'OCPQ'
diff --git a/deployment-configs/qct-pod4.yml b/deployment-configs/qct-pod4.yml
index 8965111..ebe61cc 100644
--- a/deployment-configs/qct-pod4.yml
+++ b/deployment-configs/qct-pod4.yml
@@ -1,4 +1,19 @@
+# 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.
+
 # Automated deployment configuration for QCT POD 4
+
 ---
 
 pod_config:
diff --git a/qct-pod3-ecord-global.yml b/qct-pod3-ecord-global.yml
new file mode 100644
index 0000000..9246c40
--- /dev/null
+++ b/qct-pod3-ecord-global.yml
@@ -0,0 +1,79 @@
+
+# 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.
+
+---
+
+cord_scenario: cord
+cord_profile: ecord-global
+
+vagrant_vms:
+  - 'corddev'
+
+# Variables
+credentials_dir: '/opt/credentials'
+pki_dir: '/opt/pki'
+ssh_pki_dir: '/opt/ssh_pki'
+
+fabric_ip: '10.6.1.1/24'
+management_ip: '10.6.0.1/24'
+external_ip: '10.201.101.31/24'
+external_gw: '10.201.101.1'
+external_iface: 'eth2'
+management_network: 10.6.0.0/24
+
+deploy_docker_registry: "10.201.101.31:5000"
+
+headnode: cord@10.201.101.31
+
+# NOTE: The `host_cord_profile_dir` variable below is the path to the cord_profile dir that
+# gets mounted to corddev VM.This `cord_profile` dir typically lives in a directory
+# one level up from the `cord` directory
+host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile"
+
+build_targets:
+  - 'setup-automation'
+
+copy_cord_prereqs:
+  - 'config-ssh-key'
+
+skipTags:
+  - 'set_compute_node_password'
+
+# Wait until headnode prepped before building containers, for consistent DNS
+docker_images_prereqs:
+  - 'prep-headnode'
+
+# node topology
+physical_node_list:
+  - name: head1
+    aliases:
+      - head
+
+management_ignore_names: 'eth0'
+
+# Inventory for ansible, used to generate inventory.ini
+inventory_groups:
+  config:
+    localhost:
+      ansible_connection: local
+  build:
+    corddev:
+  head:
+    head1:
+      ansible_host: 10.201.101.31
+      ansible_port: 22
+      ansible_user: cord
+      ansible_ssh_pass: cord
+  compute:
diff --git a/qct-pod3-ecord-local.yml b/qct-pod3-ecord-local.yml
new file mode 100644
index 0000000..806142a
--- /dev/null
+++ b/qct-pod3-ecord-local.yml
@@ -0,0 +1,79 @@
+
+# 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.
+
+---
+
+cord_scenario: cord
+cord_profile: ecord
+
+vagrant_vms:
+  - 'corddev'
+
+# Variables
+credentials_dir: '/opt/credentials'
+pki_dir: '/opt/pki'
+ssh_pki_dir: '/opt/ssh_pki'
+
+fabric_ip: '10.6.1.1/24'
+management_ip: '10.6.0.1/24'
+external_ip: '10.201.101.31/24'
+external_gw: '10.201.101.1'
+external_iface: 'eth2'
+management_network: 10.6.0.0/24
+
+deploy_docker_registry: "10.201.101.31:5000"
+
+headnode: cord@10.201.101.31
+
+# NOTE: The `host_cord_profile_dir` variable below is the path to the cord_profile dir that
+# gets mounted to corddev VM.This `cord_profile` dir typically lives in a directory
+# one level up from the `cord` directory
+host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile"
+
+build_targets:
+  - 'setup-automation'
+
+copy_cord_prereqs:
+  - 'config-ssh-key'
+
+skipTags:
+  - 'set_compute_node_password'
+
+# Wait until headnode prepped before building containers, for consistent DNS
+docker_images_prereqs:
+  - 'prep-headnode'
+
+# node topology
+physical_node_list:
+  - name: head1
+    aliases:
+      - head
+
+management_ignore_names: 'eth0'
+
+# Inventory for ansible, used to generate inventory.ini
+inventory_groups:
+  config:
+    localhost:
+      ansible_connection: local
+  build:
+    corddev:
+  head:
+    head1:
+      ansible_host: 10.201.101.31
+      ansible_port: 22
+      ansible_user: cord
+      ansible_ssh_pass: cord
+  compute:
diff --git a/qct-pod4-mcord.yml b/qct-pod4-mcord.yml
new file mode 100644
index 0000000..964463d
--- /dev/null
+++ b/qct-pod4-mcord.yml
@@ -0,0 +1,79 @@
+
+# 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.
+
+---
+
+cord_scenario: cord
+cord_profile: mcord
+
+vagrant_vms:
+  - 'corddev'
+
+# Variables
+credentials_dir: '/opt/credentials'
+pki_dir: '/opt/pki'
+ssh_pki_dir: '/opt/ssh_pki'
+
+fabric_ip: '10.6.1.1/24'
+management_ip: '10.6.0.1/24'
+external_ip: '10.201.101.41/24'
+external_gw: '10.201.101.1'
+external_iface: 'eth2'
+management_network: 10.6.0.0/24
+
+deploy_docker_registry: "10.201.101.41:5000"
+
+headnode: cord@10.201.101.41
+
+# NOTE: The `host_cord_profile_dir` variable below is the path to the cord_profile dir that
+# gets mounted to corddev VM.This `cord_profile` dir typically lives in a directory
+# one level up from the `cord` directory
+host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile"
+
+build_targets:
+  - 'setup-automation'
+
+copy_cord_prereqs:
+  - 'config-ssh-key'
+
+skipTags:
+  - 'set_compute_node_password'
+
+# Wait until headnode prepped before building containers, for consistent DNS
+docker_images_prereqs:
+  - 'prep-headnode'
+
+# node topology
+physical_node_list:
+  - name: head1
+    aliases:
+      - head
+
+management_ignore_names: 'eth0'
+
+# Inventory for ansible, used to generate inventory.ini
+inventory_groups:
+  config:
+    localhost:
+      ansible_connection: local
+  build:
+    corddev:
+  head:
+    head1:
+      ansible_host: 10.201.101.41
+      ansible_port: 22
+      ansible_user: cord
+      ansible_ssh_pass: cord
+  compute: