update paths for ONF E-CORD local pods
Change-Id: I311a6b5eba8e2f3fa79591576d6c235344677f2d
diff --git a/onlab-ecord-local-pod1.yml b/onlab-ecord-local-pod1.yml
index 12b9182..b665f8e 100644
--- a/onlab-ecord-local-pod1.yml
+++ b/onlab-ecord-local-pod1.yml
@@ -27,7 +27,7 @@
config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod1_profile' ) | realpath }}"
# path created on local system, mounted into corddev by Vagrant
-host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile"
+host_cord_profile_dir: "/var/jenkins_home/workspace/onf_ecord_local_pod1_profile"
fabric_ip: '10.6.1.1/24'
management_ip: '10.6.0.1/24'
diff --git a/onlab-ecord-local-pod2.yml b/onlab-ecord-local-pod2.yml
index da0bf13..46762d1 100644
--- a/onlab-ecord-local-pod2.yml
+++ b/onlab-ecord-local-pod2.yml
@@ -17,13 +17,17 @@
cord_scenario: cord
cord_profile: ecord
-vagrant_vms:
- - 'corddev'
-
# Variables
-credentials_dir: '/opt/credentials'
-pki_dir: '/opt/pki'
-ssh_pki_dir: '/opt/ssh_pki'
+# shared between podconfigs, for root/intermediate CA setup
+pki_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_pki' ) | realpath }}"
+
+# different, as passwords/SSH keys/cord_profile should be different
+credentials_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod2_credentials' ) | realpath }}"
+ssh_pki_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod2_ssh_pki' ) | realpath }}"
+config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod2_profile' ) | realpath }}"
+
+# path created on local system, mounted into corddev by Vagrant
+host_cord_profile_dir: "/var/jenkins_home/workspace/onf_ecord_local_pod2_profile"
fabric_ip: '10.6.1.1/24'
management_ip: '10.6.0.1/24'
@@ -34,11 +38,8 @@
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
+vagrant_vms:
+ - 'corddev'
build_targets:
- 'setup-automation'
@@ -53,11 +54,8 @@
docker_images_prereqs:
- 'prep-headnode'
-# node topology
-physical_node_list:
- - name: head1
- aliases:
- - head
+# headnode to ssh to for some make tasks
+headnode: cord@10.90.1.50
# Inventory for ansible, used to generate inventory.ini
inventory_groups:
diff --git a/onlab-ecord-local-pod3.yml b/onlab-ecord-local-pod3.yml
index 71b4b3c..315f4e0 100644
--- a/onlab-ecord-local-pod3.yml
+++ b/onlab-ecord-local-pod3.yml
@@ -16,14 +16,17 @@
# 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'
+# shared between podconfigs, for root/intermediate CA setup
+pki_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_pki' ) | realpath }}"
+
+# different, as passwords/SSH keys/cord_profile should be different
+credentials_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod3_credentials' ) | realpath }}"
+ssh_pki_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod3_ssh_pki' ) | realpath }}"
+config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod3_profile' ) | realpath }}"
+
+# path created on local system, mounted into corddev by Vagrant
+host_cord_profile_dir: "/var/jenkins_home/workspace/onf_ecord_local_pod3_profile"
fabric_ip: '10.6.1.1/24'
management_ip: '10.6.0.1/24'
@@ -34,11 +37,8 @@
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
+vagrant_vms:
+ - 'corddev'
build_targets:
- 'setup-automation'
@@ -53,11 +53,8 @@
docker_images_prereqs:
- 'prep-headnode'
-# node topology
-physical_node_list:
- - name: head1
- aliases:
- - head
+# headnode to ssh to for some make tasks
+headnode: cord@10.90.1.70
# Inventory for ansible, used to generate inventory.ini
inventory_groups: