Merge "Adding new E-CORD ONF POD configs"
diff --git a/deployment-configs/onlab-ecord-global.yml b/deployment-configs/onlab-ecord-global.yml
new file mode 100644
index 0000000..2b19d82
--- /dev/null
+++ b/deployment-configs/onlab-ecord-global.yml
@@ -0,0 +1,36 @@
+---
+# 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 ONF E-CORD POD 
+
+pod_config:
+  repo_url: 'https://gerrit.opencord.org/pod-configs'
+  file_name: 'onlab-ecord-global.yml'
+
+make_release: 'false'
+
+maas:
+  ip: '10.90.0.2'
+  api_key: 'gFH8GA9FLp3bWpesZX:rVyJz3ThB93FrrNyPw:Fu9KZEwBenXRLUu9TMXVkMjLJsuXNXDb'
+  head_system_id: '4y3h86'
+
+dev_node:
+  name: 'build'
+  user: 'ubuntu'
+
+head:
+  ip: '10.90.1.10'
+  user: 'cord'
+  pass: 'cord'
diff --git a/deployment-configs/onlab-ecord-local-pod1.yml b/deployment-configs/onlab-ecord-local-pod1.yml
new file mode 100644
index 0000000..d7ff71e
--- /dev/null
+++ b/deployment-configs/onlab-ecord-local-pod1.yml
@@ -0,0 +1,44 @@
+# 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 ONF local POD 1
+
+---
+
+pod_config:
+  repo_url: 'https://gerrit.opencord.org/pod-configs'
+  file_name: 'onlab-ecord-local-pod1.yml'
+
+make_release: 'false'
+
+maas:
+  ip: '10.90.0.2'
+  api_key: 'gFH8GA9FLp3bWpesZX:rVyJz3ThB93FrrNyPw:Fu9KZEwBenXRLUu9TMXVkMjLJsuXNXDb'
+  head_system_id: '4y3h87'
+
+dev_node:
+  name: 'build'
+  user: 'ubuntu'
+
+head:
+  ip: '10.90.1.30'
+  user: 'cord'
+  pass: 'cord'
+
+compute_nodes:
+  -
+    ipmi:
+      ip: '10.90.1.32'
+      user: 'admin'
+      pass: 'admin'
diff --git a/deployment-configs/onlab-ecord-local-pod2.yml b/deployment-configs/onlab-ecord-local-pod2.yml
new file mode 100644
index 0000000..a8aec97
--- /dev/null
+++ b/deployment-configs/onlab-ecord-local-pod2.yml
@@ -0,0 +1,44 @@
+# 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 ONF E-CORD local POD 2
+
+---
+
+pod_config:
+  repo_url: 'https://gerrit.opencord.org/pod-configs'
+  file_name: 'onlab-ecord-local-pod2.yml'
+
+make_release: 'false'
+
+maas:
+  ip: '10.90.0.2'
+  api_key: 'gFH8GA9FLp3bWpesZX:rVyJz3ThB93FrrNyPw:Fu9KZEwBenXRLUu9TMXVkMjLJsuXNXDb'
+  head_system_id: '4y3h88'
+
+dev_node:
+  name: 'build'
+  user: 'ubuntu'
+
+head:
+  ip: '10.90.1.50'
+  user: 'cord'
+  pass: 'cord'
+
+compute_nodes:
+  -
+    ipmi:
+      ip: '10.90.1.52'
+      user: 'admin'
+      pass: 'admin'
diff --git a/deployment-configs/onlab-ecord-local-pod3.yml b/deployment-configs/onlab-ecord-local-pod3.yml
new file mode 100644
index 0000000..3836a15
--- /dev/null
+++ b/deployment-configs/onlab-ecord-local-pod3.yml
@@ -0,0 +1,44 @@
+# 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 ONF local POD 3
+
+---
+
+pod_config:
+  repo_url: 'https://gerrit.opencord.org/pod-configs'
+  file_name: 'onlab-ecord-local-pod3.yml'
+
+make_release: 'false'
+
+maas:
+  ip: '10.90.0.2'
+  api_key: 'gFH8GA9FLp3bWpesZX:rVyJz3ThB93FrrNyPw:Fu9KZEwBenXRLUu9TMXVkMjLJsuXNXDb'
+  head_system_id: '4y3h8a'
+
+dev_node:
+  name: 'build'
+  user: 'ubuntu'
+
+head:
+  ip: '10.90.1.70'
+  user: 'cord'
+  pass: 'cord'
+
+compute_nodes:
+  -
+    ipmi:
+      ip: '10.90.1.72'
+      user: 'admin'
+      pass: 'admin'
diff --git a/onlab-ecord-global.yml b/onlab-ecord-global.yml
new file mode 100644
index 0000000..c39631d
--- /dev/null
+++ b/onlab-ecord-global.yml
@@ -0,0 +1,52 @@
+---
+# 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.
+
+# POD config for ONF E-CORD POD, E-CORD global
+cord_scenario: single
+cord_profile: ecord-global
+
+start_xos_prereqs:
+  - deploy-onos
+
+vagrant_vms: []
+
+cord_config_prereqs:
+  - config-ssh-key
+
+copy_cord_prereqs:
+  - config-ssh-key
+
+prep_buildnode_prereqs:
+  - copy-cord
+  - copy-config
+
+# Inventory for ansible, used to generate inventory.ini
+inventory_groups:
+  config:
+    localhost:
+      ansible_connection: local
+  build:
+    head1:
+      ansible_host: 10.90.1.10
+      ansible_port: 22
+      ansible_user: cord
+      ansible_ssh_pass: cord
+  head:
+    head1:
+      ansible_host: 10.90.1.10
+      ansible_port: 22
+      ansible_user: cord
+      ansible_ssh_pass: cord
+  compute:
diff --git a/onlab-ecord-local-pod1.yml b/onlab-ecord-local-pod1.yml
new file mode 100644
index 0000000..b5f681d
--- /dev/null
+++ b/onlab-ecord-local-pod1.yml
@@ -0,0 +1,75 @@
+---
+# 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.
+
+# POD config for ONF E-CORD POD, E-CORD local POD 1
+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.90.1.30/16'
+external_gw: '10.90.0.1'
+external_iface: 'p255p1'
+management_network: 10.6.0.0/24
+
+deploy_docker_registry: "10.90.1.30:5000"
+
+headnode: cord@10.90.1.30
+
+# 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
+
+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
+
+# Inventory for ansible, used to generate inventory.ini
+inventory_groups:
+  config:
+    localhost:
+      ansible_connection: local
+  build:
+    corddev:
+  head:
+    head1:
+      ansible_host: 10.90.1.30
+      ansible_port: 22
+      ansible_user: cord
+      ansible_ssh_pass: cord
+  compute:
diff --git a/onlab-ecord-local-pod2.yml b/onlab-ecord-local-pod2.yml
new file mode 100644
index 0000000..37eef8e
--- /dev/null
+++ b/onlab-ecord-local-pod2.yml
@@ -0,0 +1,75 @@
+---
+# 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.
+
+# POD config for ONF E-CORD POD, E-CORD local POD 2
+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.90.1.50/16'
+external_gw: '10.90.0.1'
+external_iface: 'p255p1'
+management_network: 10.6.0.0/24
+
+deploy_docker_registry: "10.90.1.50:5000"
+
+headnode: cord@10.90.1.50
+
+# 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
+
+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
+
+# Inventory for ansible, used to generate inventory.ini
+inventory_groups:
+  config:
+    localhost:
+      ansible_connection: local
+  build:
+    corddev:
+  head:
+    head1:
+      ansible_host: 10.90.1.50
+      ansible_port: 22
+      ansible_user: cord
+      ansible_ssh_pass: cord
+  compute:
diff --git a/onlab-ecord-local-pod3.yml b/onlab-ecord-local-pod3.yml
new file mode 100644
index 0000000..79e0081
--- /dev/null
+++ b/onlab-ecord-local-pod3.yml
@@ -0,0 +1,75 @@
+---
+# 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.
+
+# POD config for ONF E-CORD POD, E-CORD local POD 3
+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.90.1.70/16'
+external_gw: '10.90.0.1'
+external_iface: 'p255p1'
+management_network: 10.6.0.0/24
+
+deploy_docker_registry: "10.90.1.70:5000"
+
+headnode: cord@10.90.1.70
+
+# 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
+
+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
+
+# Inventory for ansible, used to generate inventory.ini
+inventory_groups:
+  config:
+    localhost:
+      ansible_connection: local
+  build:
+    corddev:
+  head:
+    head1:
+      ansible_host: 10.90.1.70
+      ansible_port: 22
+      ansible_user: cord
+      ansible_ssh_pass: cord
+  compute: