pharos.git
6 years ago[PDF] check-jinja: Disable check against template 29/50529/3
Alexandru Avadanii [Fri, 12 Jan 2018 21:27:26 +0000 (22:27 +0100)]
[PDF] check-jinja: Disable check against template

config/pdf/pod1*yaml files are not valid PDFs, but only templates.
Trying to expand said files against installer adapters would lead
to funky results, since most fields are expressed as '{val1|val2}'
in the template files.

Change-Id: Ieec4d596d0b5246aa506239183a31463951403e7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] generate_config: eyaml only encrypted PDFs 23/50523/3
Alexandru Avadanii [Fri, 12 Jan 2018 20:28:22 +0000 (21:28 +0100)]
[PDF] generate_config: eyaml only encrypted PDFs

Silence misleading warnings about failed decription for PDFs
that do not use this feature.
While at it, print yamllint version used by check-jinja.sh.

Change-Id: Ica1ff90abaee8c9bb20996899c8f0a7527133618
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "support gen DHA/NETWORK yaml by pdf"
julien zhang [Sun, 14 Jan 2018 01:45:12 +0000 (01:45 +0000)]
Merge "support gen DHA/NETWORK yaml by pdf"

6 years ago[PDF] lf-pod{2,5}: Revert IPMI creds to plaintext 19/50519/1
Alexandru Avadanii [Fri, 12 Jan 2018 19:24:48 +0000 (20:24 +0100)]
[PDF] lf-pod{2,5}: Revert IPMI creds to plaintext

LF PODs IPMI user/pass was previously encrypted with the wrong key,
switch them back to cleartext.

Change-Id: Iccd106b60d2051acf7d928205bd2f6ae3f256884
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] arm-pod6: dos2unix IDF to fix yamllint 13/50513/2
Alexandru Avadanii [Fri, 12 Jan 2018 18:18:07 +0000 (19:18 +0100)]
[PDF] arm-pod6: dos2unix IDF to fix yamllint

JIRA: PHAROS-298

Change-Id: Ied56d4e1fdf09d3361de5aae64088e65cb5125ad
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[fuel] add main check for idf.fuel"
Guillermo Herrero [Wed, 10 Jan 2018 17:15:57 +0000 (17:15 +0000)]
Merge "[fuel] add main check for idf.fuel"

6 years ago[fuel] add main check for idf.fuel 63/49463/5
Guillermo Herrero [Thu, 21 Dec 2017 12:02:43 +0000 (13:02 +0100)]
[fuel] add main check for idf.fuel

- Installer adapter will check first if POD idf has a fuel section.
  If not it will just generate and return an empty set

- While at it, jinja2 code was simplified to dot syntax

Change-Id: Ie040b1263ccae083e20cc57435639453d2456426
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years agoMerge ".yamllint: Add initial config based on releng"
Aric Gardner [Wed, 10 Jan 2018 14:16:36 +0000 (14:16 +0000)]
Merge ".yamllint: Add initial config based on releng"

6 years agosupport gen DHA/NETWORK yaml by pdf 07/50207/8
00184532 [Mon, 8 Jan 2018 09:04:08 +0000 (17:04 +0800)]
support gen DHA/NETWORK yaml by pdf

Change-Id: I8e0d88da016801e7997b4cdf870e2d11b4fca80a
Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
6 years agoMerge "PDF is not to contain net_config"
Alexandru Avadanii [Wed, 10 Jan 2018 03:02:13 +0000 (03:02 +0000)]
Merge "PDF is not to contain net_config"

6 years agoMerge "Fix First MAC Address on LF-POD5 Jumphost"
Trevor Bramwell [Tue, 9 Jan 2018 23:30:59 +0000 (23:30 +0000)]
Merge "Fix First MAC Address on LF-POD5 Jumphost"

6 years ago.yamllint: Add initial config based on releng 17/50317/1
Alexandru Avadanii [Tue, 9 Jan 2018 23:02:27 +0000 (00:02 +0100)]
.yamllint: Add initial config based on releng

Change-Id: I5a22a186d87a2389e637771628e0a7d0522b7b77
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "nominate Trevor Bramwell as a Pharos committer"
Jack Morgan [Tue, 9 Jan 2018 00:34:52 +0000 (00:34 +0000)]
Merge "nominate Trevor Bramwell as a Pharos committer"

6 years agonominate Trevor Bramwell as a Pharos committer 13/49313/2
Jack Morgan [Tue, 19 Dec 2017 15:55:19 +0000 (07:55 -0800)]
nominate Trevor Bramwell as a Pharos committer

I would like to nominate Trevor Bramwell as a committer to the Pharos project.
Trevor has been an active contributor to the Pharos project over the last few months.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: I8c7d09e67a86c814bb89beac878da74a03bdd1c4

6 years agonominate Aric Gardner as a Pharos committer 05/49305/2
Jack Morgan [Tue, 19 Dec 2017 15:42:49 +0000 (07:42 -0800)]
nominate Aric Gardner as a Pharos committer

I would like to nominate Aric Gardner as a committer to the Pharos project. Aric has been an active contributor to the Pharos project over the last few months.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: Ia381c93bd46053891195f8740d43cd4b010bef42

6 years agoMerge "nominate Parker Berberian as a Pharos committer"
Jack Morgan [Tue, 9 Jan 2018 00:16:35 +0000 (00:16 +0000)]
Merge "nominate Parker Berberian as a Pharos committer"

6 years agoMerge "nominate Guillermo Herrero as a Pharos committer."
Jack Morgan [Tue, 9 Jan 2018 00:16:20 +0000 (00:16 +0000)]
Merge "nominate Guillermo Herrero as a Pharos committer."

6 years agoMerge "nominate Alexandru Avadanii as a Pharos committer "
Jack Morgan [Tue, 9 Jan 2018 00:15:36 +0000 (00:15 +0000)]
Merge "nominate Alexandru Avadanii as a Pharos committer "

6 years agoFix First MAC Address on LF-POD5 Jumphost 63/50263/1
Trevor Bramwell [Mon, 8 Jan 2018 22:10:47 +0000 (14:10 -0800)]
Fix First MAC Address on LF-POD5 Jumphost

Change-Id: Ibdf3ea886fcfca8246cd8cb24d52d12b689a733b
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "PDF: Fix recurring typo in 'haswell' name"
Aric Gardner [Mon, 8 Jan 2018 21:29:02 +0000 (21:29 +0000)]
Merge "PDF: Fix recurring typo in 'haswell' name"

6 years agoFix the VIP of daisy 39/50139/2
Alex Yang [Sat, 6 Jan 2018 03:24:43 +0000 (11:24 +0800)]
Fix the VIP of daisy

VIP can not conflict with the address of any node.
Otherwise the deployment will fail. See [1].

[1]: https://build.opnfv.org/ci/job/daisy-deploy-baremetal-daily-master/359

Change-Id: I53a79c478d355d00b6eec16c462694eab68292d7
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoAdd admin external network mapping for daisy 15/49915/1
Alex Yang [Wed, 3 Jan 2018 07:15:09 +0000 (15:15 +0800)]
Add admin external network mapping for daisy

The admin external network mapping is used by post deploy script
in daisy to create network.

Change-Id: I4bdde9ca52d8932f77e91b8bf7d41b0c2e821a20
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoPDF: Fix recurring typo in 'haswell' name 95/49695/2
Alexandru Avadanii [Wed, 27 Dec 2017 15:57:26 +0000 (16:57 +0100)]
PDF: Fix recurring typo in 'haswell' name

Fix typo before it gets propagated even more:
$ grep hasewell -Rl . | \
  xargs sed -i 's/hasewell/haswell/g'

Change-Id: Id6a17ae8f429946f7febba6f319a25759fc8339f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agonominate Alexandru Avadanii as a Pharos committer 03/49303/2
Jack Morgan [Tue, 19 Dec 2017 15:23:53 +0000 (07:23 -0800)]
nominate Alexandru Avadanii as a Pharos committer

I would like to nominate Alexandru Avadanii as a committer to the Pharos
project. Alexandru Avadanii has been an active contributor to the Pharos
project over the last few months.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: I192c87b6a36b2981cdfb4c780bd1fff9152201a8

6 years agoMerge "modify admin network segment of zte pod1"
Aric Gardner [Wed, 20 Dec 2017 21:03:49 +0000 (21:03 +0000)]
Merge "modify admin network segment of zte pod1"

6 years agoPDF is not to contain net_config 77/49377/2
agardner [Wed, 20 Dec 2017 17:18:53 +0000 (12:18 -0500)]
PDF is not to contain net_config

Moved net_config from PDF to IDF for discussion on what the idf should look like

The PDF spec is static and should not change.

All changes needed for installers should be put in other descriptor files.
(senario and installer descriptor files)

Change-Id: I79f6c751cabc69bded255ce0471e8512c656c259
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agovalidate-pdf-jinja2-templates-master failing 09/49409/2
agardner [Wed, 20 Dec 2017 19:31:05 +0000 (14:31 -0500)]
validate-pdf-jinja2-templates-master failing

If keys do not exist, the skipping decryption python stuff doesn't
work, see:
https://build.opnfv.org/ci/job/validate-pdf-jinja2-templates-master/16/consoleFull

Still does not fallback to plain in the case of a 'bad decryption',
but the current code does not either, bad decryption is logged
in any case.

Change-Id: I8da2c7cf8568a6e77ca24cc9ce665410d93b7ba9
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agomodify admin network segment of zte pod1 37/49337/1
zhihui wu [Wed, 20 Dec 2017 07:41:59 +0000 (15:41 +0800)]
modify admin network segment of zte pod1

The previous network segment conflicts with INSTALLER_IP.

Change-Id: I160c2ee368f716d13510bfea69e2dc453d164276
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
6 years agonominate Parker Berberian as a Pharos committer 11/49311/1
Jack Morgan [Tue, 19 Dec 2017 15:50:18 +0000 (07:50 -0800)]
nominate Parker Berberian as a Pharos committer

I would like to nominate Parker Berberian as a committer to the Pharos project. Parker has been an active contributor to the Pharos project over the last few months. His foxus on the Pharos Dashboard will be key to reaching community goals.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: Iee363751fd06a12a4e16b8a638e821ea274a7f96

6 years agonominate Guillermo Herrero as a Pharos committer. 09/49309/1
Jack Morgan [Tue, 19 Dec 2017 15:46:59 +0000 (07:46 -0800)]
nominate Guillermo Herrero as a Pharos committer.

I would like to nominate Guillermo Herrero as a committer to the Pharos project. Guillermo has been an active contributor to the Pharos project over the last few months.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: I452c1eb1050932accdf312226d4808f41d574ee3

6 years agoMerge "Linux Foundation POD5 PDF"
Jack Morgan [Fri, 15 Dec 2017 13:49:17 +0000 (13:49 +0000)]
Merge "Linux Foundation POD5 PDF"

6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Fri, 15 Dec 2017 13:48:40 +0000 (13:48 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Fri, 15 Dec 2017 13:48:16 +0000 (13:48 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoMerge "Update the example config filename in eyaml README"
Jack Morgan [Fri, 15 Dec 2017 13:47:52 +0000 (13:47 +0000)]
Merge "Update the example config filename in eyaml README"

6 years agoMerge "Encrypt ipmi info of zte baremetal pods"
Jack Morgan [Fri, 15 Dec 2017 13:47:19 +0000 (13:47 +0000)]
Merge "Encrypt ipmi info of zte baremetal pods"

6 years agoMerge "Generate daisy network configuration by template"
Jack Morgan [Fri, 15 Dec 2017 13:46:57 +0000 (13:46 +0000)]
Merge "Generate daisy network configuration by template"

6 years agoUpdate the example config filename in eyaml README 47/49047/1
Alex Yang [Fri, 15 Dec 2017 07:48:29 +0000 (15:48 +0800)]
Update the example config filename in eyaml README

The example configuration file in the directory pharos/config/utils/
is config.example.yaml.

Change-Id: I493274e4ddb689eb729ed642b5f495b5be0b75b0
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoEncrypt ipmi info of zte baremetal pods 43/49043/1
Alex Yang [Fri, 15 Dec 2017 07:33:22 +0000 (15:33 +0800)]
Encrypt ipmi info of zte baremetal pods

Change-Id: I86935bee9ff30d811f0e756f93716cb415fa3a01
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoMerge "Update eyaml README"
Aric Gardner [Thu, 14 Dec 2017 21:57:25 +0000 (21:57 +0000)]
Merge "Update eyaml README"

6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Thu, 14 Dec 2017 14:26:05 +0000 (14:26 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Thu, 14 Dec 2017 14:25:12 +0000 (14:25 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoUpdate eyaml README 69/48869/1
Trevor Bramwell [Thu, 14 Dec 2017 00:00:41 +0000 (16:00 -0800)]
Update eyaml README

On CentOS7 systems the gem command is contained in the 'rubygems'
package, not 'ruby-gems'.

After the keys have been moved, there is not reason to keep around the
'keys' directory.

Change-Id: I5cb9f474276de75b650ddf323a279e139fb62d37
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoLinux Foundation POD5 PDF 71/48871/1
Trevor Bramwell [Wed, 13 Dec 2017 23:35:07 +0000 (15:35 -0800)]
Linux Foundation POD5 PDF

Change-Id: I0c4389059edb33fecdd472777d7266c4934f1d07
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoUpdating the INFO fill with names and email address. 15/48815/1
Jack Morgan [Wed, 13 Dec 2017 15:59:35 +0000 (07:59 -0800)]
Updating the INFO fill with names and email address.
Removing Qiao Fu who is no longer able to participate in project.

Change-Id: I4bfcb378f3a5da6af59292f8911fa8fc8200cbae

6 years agoMerge "[fuel] extend public gateway support"
Aric Gardner [Mon, 11 Dec 2017 18:30:08 +0000 (18:30 +0000)]
Merge "[fuel] extend public gateway support"

6 years agoMerge "[fuel] Add MaaS PXE network to installer adapter"
Aric Gardner [Mon, 11 Dec 2017 18:03:20 +0000 (18:03 +0000)]
Merge "[fuel] Add MaaS PXE network to installer adapter"

6 years agoMerge "[fuel] Add IDF mappings to installer adapter"
Aric Gardner [Mon, 11 Dec 2017 18:03:11 +0000 (18:03 +0000)]
Merge "[fuel] Add IDF mappings to installer adapter"

6 years ago[fuel] Add MaaS PXE network to installer adapter 63/48663/2
Alexandru Avadanii [Fri, 8 Dec 2017 01:03:30 +0000 (02:03 +0100)]
[fuel] Add MaaS PXE network to installer adapter

JIRA: FUEL-313

Change-Id: I046ea732e1047f793f1b3bc6f7fc31cfcee9ff40
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] cleanup: Drop infra_compute_*_address 17/48617/1
Alexandru Avadanii [Sun, 10 Dec 2017 18:40:59 +0000 (19:40 +0100)]
[fuel] cleanup: Drop infra_compute_*_address

Our PDF installer adapter defines 3 unused reclass params that are
misleading, so drop them (infra_compute_node{01,02,03}_address).

Change-Id: Iedf68bbfa77f3a42572dde30275318c8d04f5eb4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agogenerate_config.py: Fix running without eyaml 03/48603/1
Alexandru Avadanii [Sat, 9 Dec 2017 00:10:32 +0000 (01:10 +0100)]
generate_config.py: Fix running without eyaml

If eyaml is not installed or misconfigured, we should output raw
encrypted data and throw a warn/error accordingly, instead of
bailing out completely.

Needed for Fuel deploys on PODs that do not use PDF encryption, e.g.
lf-pod2.

Change-Id: I2905df11a3cf2f2eb1ab9bfd8bd88619af2cab04
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] Add IDF mappings to installer adapter 63/48563/1
Alexandru Avadanii [Tue, 3 Oct 2017 00:41:41 +0000 (02:41 +0200)]
[fuel] Add IDF mappings to installer adapter

Change-Id: I3a82ed747d2671510a25e65388c7f73ec760afc3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] extend public gateway support 99/47499/2
Guillermo Herrero [Mon, 20 Nov 2017 10:33:29 +0000 (11:33 +0100)]
[fuel] extend public gateway support

JIRA: FUEL-305

Change-Id: Ic5a2d499925aeec5b597394a059640ddae83fb2d
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Thu, 7 Dec 2017 19:44:18 +0000 (19:44 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoMerge "[fuel] IPMI: Trim netmask from IP passed to MaaS"
Jack Morgan [Thu, 7 Dec 2017 19:34:22 +0000 (19:34 +0000)]
Merge "[fuel] IPMI: Trim netmask from IP passed to MaaS"

6 years agoMerge "[fuel] Use PXE interface index from net_config"
Jack Morgan [Thu, 7 Dec 2017 19:34:14 +0000 (19:34 +0000)]
Merge "[fuel] Use PXE interface index from net_config"

6 years agoGenerate daisy network configuration by template 41/48441/1
Alex Yang [Wed, 6 Dec 2017 06:22:06 +0000 (14:22 +0800)]
Generate daisy network configuration by template

JIRA: DAISY-74

Add jinja2 templates for daisy network configuration.
For DPDK, TENANT and EXTERNAL networks should share the
same interface now.

Change-Id: I6e9b7a68fb572e9ad844cfcc6ff383aaa25e3bc1
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoMoving all pdfs to pharos repo 83/48283/2
agardner [Fri, 1 Dec 2017 21:46:35 +0000 (16:46 -0500)]
Moving all pdfs to pharos repo

Note: Also fixed yamllint issues with these files

Inline encrytion of yaml files allows us to  make away with securedlab's
restrictions. Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password etc is optional. I have scrubbed the password from
this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Passwords and Usernames removed:

$ egrep -r '(pass|user)'
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:daisy_passwd: ''
zte/virtual1/daisy/config/deploy.yml:daisy_passwd: ''
zte/pod3.yaml:    user:
zte/pod3.yaml:    pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:daisy_passwd: ''
zte/pod1.yaml:    user:
zte/pod1.yaml:    pass:
zte/virtual2/daisy/config/deploy.yml:daisy_passwd: ''
zte/pod2.yaml:    user:
zte/pod2.yaml:    pass:
lf/pod2.yaml:    user: >

Change-Id: I876f4b553c51dd4592701539cfce66bcf8c114ab
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMoving all pdfs to pharos repo 85/48285/1
agardner [Fri, 1 Dec 2017 21:51:26 +0000 (16:51 -0500)]
Moving all pdfs to pharos repo

Inline encrytion of yaml files allows us to make away with securedlab's
restrictions. Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password etc is optional. I have scrubbed the password
from this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Change-Id: Idc70540477d8569f15335e75e7725c1e4e56a60b
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMoving all pdfs to pharos repo 81/48281/1
agardner [Fri, 1 Dec 2017 21:36:34 +0000 (16:36 -0500)]
Moving all pdfs to pharos repo

Inline encrytion of yaml files allows us to  make away with securedlab's
restrictions
Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password is optional. I have scrubbed the password from
this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Change-Id: Ie3e935e7e9250a387858c29eb77c3c06b4fe3f57
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMoving all pdfs to pharos repo 79/48279/1
agardner [Fri, 1 Dec 2017 21:26:36 +0000 (16:26 -0500)]
Moving all pdfs to pharos repo

Inline encrytion of yaml files allows us to  make away with securedlab's
restrictions. Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password is optional. I have scrubbed the password from
this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Change-Id: I52a5c117da599fd46aa246de20077d5bdbe8a3b6
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMoving all pdfs to pharos repo 85/47785/5
agardner [Fri, 24 Nov 2017 19:43:18 +0000 (14:43 -0500)]
Moving all pdfs to pharos repo

Inline encrytion of yaml files allows us to  make away with securedlab's
restrictions
Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password is optional. I have scrubbed the password from
this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Change-Id: Ic2db523e7f82a0fb48e462a1fbe1402267f22618
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoJenkins does not have /usr/local/bin/ in path 87/47787/1
agardner [Fri, 24 Nov 2017 20:33:33 +0000 (15:33 -0500)]
Jenkins does not have /usr/local/bin/ in path

Stupid jenkins

Change-Id: Ibfd83e7dadd674cfe7d7a9c2a712ef069fb8d5de
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoMoving check-jinja2 to pharos. 35/47735/4
agardner [Thu, 23 Nov 2017 20:59:03 +0000 (15:59 -0500)]
Moving check-jinja2 to pharos.

Securedlab will be going away now that we can encrypt strings
(eyaml)

we need to check jinja2 PDF templates that will be moving into pharos
This adds one pod yaml files and fixes paths in check-jinja2.sh

After this is merged I can create a jenkins job for pharos.

Then I can start moving pdf files into the pharos repo

Change-Id: I2f2f2925275de49035d7d0160249d75b25ca0d20
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoMerge "generate_config: Use eyaml to decrypt secret values"
Aric Gardner [Wed, 22 Nov 2017 15:45:04 +0000 (15:45 +0000)]
Merge "generate_config: Use eyaml to decrypt secret values"

7 years agoFix yamllint warning for daisy template 87/47487/1
Alex Yang [Mon, 20 Nov 2017 07:10:42 +0000 (15:10 +0800)]
Fix yamllint warning for daisy template

Change-Id: I4b9a9a569d22570f027a49bc31736f6787177171
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agogenerate_config: Use eyaml to decrypt secret values 89/44389/12
Alexandru Avadanii [Thu, 5 Oct 2017 16:24:49 +0000 (12:24 -0400)]
generate_config: Use eyaml to decrypt secret values

Note: IDF data encryption is not supported. Supporting that is
trivial, but it leads to slightly more complicated code, plus it
breaks support for multiline scalar encrypted data in the PDF ('>'),
forcing us to define each encrypted value as inline string.

While at it, fix silly limitation of jinja2 path residing in a subdir
of CWD.

Change-Id: I441ec754d8b6e4aad2ed73aba0b9b18ed65f05f4
Signed-off-by: agardner <agardner@linuxfoundation.org>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years ago[fuel] Use PXE interface index from net_config 35/46335/1
Alexandru Avadanii [Fri, 27 Oct 2017 19:00:03 +0000 (21:00 +0200)]
[fuel] Use PXE interface index from net_config

Instead of assuming the PXE network interface is always the first,
read its index from 'net_config' section.

Change-Id: I0b4e9fc89297f4bd718a2e5336746917347c89e1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years ago[fuel] IPMI: Trim netmask from IP passed to MaaS 25/46325/1
Alexandru Avadanii [Fri, 27 Oct 2017 17:17:37 +0000 (19:17 +0200)]
[fuel] IPMI: Trim netmask from IP passed to MaaS

Change-Id: I683788846a716f1af6ae8aa3b25cc3a866ae0045
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years ago[fuel] Assign public network to proxy nodes 07/46207/1
Michael Polenchuk [Wed, 25 Oct 2017 13:53:59 +0000 (17:53 +0400)]
[fuel] Assign public network to proxy nodes

Change-Id: I8d4cc9505eb1d405b8f6a3ef1053249d803bda7b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
7 years agoMerge "PDF: generate_config: Add IDF parsing support"
Jack Morgan [Sun, 1 Oct 2017 14:50:00 +0000 (14:50 +0000)]
Merge "PDF: generate_config: Add IDF parsing support"

7 years agoUpdated fuel adapter (vlan1000, interfaces format) 07/43307/2
Guillermo Herrero [Wed, 27 Sep 2017 13:23:16 +0000 (15:23 +0200)]
Updated fuel adapter (vlan1000, interfaces format)

Change-Id: I848f13acca08c4c8a24eeecd3554ea6d50bbb565
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
7 years agoMerge "Updated fuel adapter (ODL)"
Jack Morgan [Tue, 26 Sep 2017 14:29:42 +0000 (14:29 +0000)]
Merge "Updated fuel adapter (ODL)"

7 years agoMove POD descriptor file template to its own directory (pdf/pod1/yaml) 67/43167/1
Jack Morgan [Tue, 26 Sep 2017 12:06:53 +0000 (05:06 -0700)]
Move POD descriptor file template to its own directory (pdf/pod1/yaml)

Change-Id: Ibb481d57e3c154c409c2635096330f2e63dce9db
Signed-off-by: Jack Morgan <jack.morgan@intel.com>
7 years agoUpdated fuel adapter (ODL) 57/43157/1
Guillermo Herrero [Tue, 26 Sep 2017 09:38:42 +0000 (11:38 +0200)]
Updated fuel adapter (ODL)

Change-Id: I4ff233460bb4fbd88277f2798f5f6380ff3b367d
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
7 years agoPDF: generate_config: Add IDF parsing support 87/43087/1
Alexandru Avadanii [Tue, 26 Sep 2017 01:42:24 +0000 (03:42 +0200)]
PDF: generate_config: Add IDF parsing support

For a given 'podN.yaml' file, check whether a file named
'idf-podN.yaml' exists in the same directory, and if it does,
pass its contents under the 'idf' dict key to the j2 template.

This assumes the contents of IDF yaml have a root 'idf' key.

Change-Id: I6c6f1b9f28c38989f8a6ed4a389c9a1da423d76d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMerge "Remove inactive committers"
Jack Morgan [Tue, 26 Sep 2017 00:15:30 +0000 (00:15 +0000)]
Merge "Remove inactive committers"

7 years agoMerge "Remove 'tools' Directory"
Jack Morgan [Tue, 26 Sep 2017 00:10:21 +0000 (00:10 +0000)]
Merge "Remove 'tools' Directory"

7 years agoRemove inactive committers 39/43039/2
agardner [Mon, 25 Sep 2017 19:48:23 +0000 (15:48 -0400)]
Remove inactive committers

Removed committers have not touched the project in over a year

Current committers,
Please vote with +2,0,-2 on this change

I will ask the TSC to ammend the by-law on removing committers, so that
It can be done by vote if a committer is inactive for a long period

Change-Id: I55234cea80e26fd377a1b7d5a6e062db8b78defe
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoAdd fuel installer adapter 59/42759/7
Guillermo Herrero [Fri, 22 Sep 2017 13:30:15 +0000 (15:30 +0200)]
Add fuel installer adapter

v3 -> v4:
- extract common variable refs, fold some reusable code;
- provide dummy defaults for PDFs without net_config;
- keep yamllint happy about spaces and empty lines;

v4 -> v5:
- more folding, define a macro for multiple IP address definition;

v5 -> v6:
- added MaaS network / DHCP range support;

v6 -> v7:
- removed macro, template code reverted to output style

JIRA: FUEL-275

Change-Id: Ib1cc319534d06c088b1db16a43aef663a8ada0d8
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoRemove 'tools' Directory 09/42809/1
Trevor Bramwell [Fri, 22 Sep 2017 18:48:38 +0000 (11:48 -0700)]
Remove 'tools' Directory

All tools (and history) have been moved to the pharos-tools repository:
https://git.opnfv.org/pharos-tools/

Change-Id: I84fa9b6ebd9b27f42d41f2722eb1221ec39a8c94
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
7 years agoconfig/pod1.yaml: Typo fixes, add 3 new nodes 97/42597/1
Alexandru Avadanii [Thu, 21 Sep 2017 02:27:27 +0000 (04:27 +0200)]
config/pod1.yaml: Typo fixes, add 3 new nodes

In order to be able to check the PDF template against the current
installer adapters, we need to fill in all 5 nodes info.

While at it, perform some cleanup:
- s/remoteparas/remote_paramsg/ (installers use this directly ...);
- s/remote_mangement/remote_management/g;
- s/pod owner/pod_owner/;
- minor typo fixes;
- fixed one IP overlap between 2 existing nodes;

NOTE: Data for the 3 new nodes is bogus (random MACs, addresses).

Change-Id: I63c6318659678771c34e139dd1db630c6b81b214
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMerge "config/installers: Add PDF installer adapters"
Jack Morgan [Tue, 19 Sep 2017 23:30:17 +0000 (23:30 +0000)]
Merge "config/installers: Add PDF installer adapters"

7 years agoMerge "config/utils: Add generate_config.py"
Jack Morgan [Tue, 19 Sep 2017 23:29:58 +0000 (23:29 +0000)]
Merge "config/utils: Add generate_config.py"

7 years agoMerge "Adds various conveniences for hosters."
Jack Morgan [Tue, 19 Sep 2017 23:28:01 +0000 (23:28 +0000)]
Merge "Adds various conveniences for hosters."

7 years agoMerge "Adds Experimental support for Joid"
Jack Morgan [Tue, 19 Sep 2017 23:27:58 +0000 (23:27 +0000)]
Merge "Adds Experimental support for Joid"

7 years agoMerge "Adds VPN Handler"
Jack Morgan [Tue, 19 Sep 2017 23:27:56 +0000 (23:27 +0000)]
Merge "Adds VPN Handler"

7 years agoMerge "Adds configuration files"
Jack Morgan [Tue, 19 Sep 2017 23:27:54 +0000 (23:27 +0000)]
Merge "Adds configuration files"

7 years agoMerge "Bash scripts for remote host deployment"
Jack Morgan [Tue, 19 Sep 2017 23:27:53 +0000 (23:27 +0000)]
Merge "Bash scripts for remote host deployment"

7 years agoMerge "Add Dashboard Listener"
Jack Morgan [Tue, 19 Sep 2017 23:27:51 +0000 (23:27 +0000)]
Merge "Add Dashboard Listener"

7 years agoMerge "Adds SQLite DataBase"
Jack Morgan [Tue, 19 Sep 2017 23:27:49 +0000 (23:27 +0000)]
Merge "Adds SQLite DataBase"

7 years agoMerge "Adds Fuel Installation Capability"
Jack Morgan [Tue, 19 Sep 2017 23:27:47 +0000 (23:27 +0000)]
Merge "Adds Fuel Installation Capability"

7 years agoMerge "Adds Libvirt Handler"
Jack Morgan [Tue, 19 Sep 2017 23:27:44 +0000 (23:27 +0000)]
Merge "Adds Libvirt Handler"

7 years agoMerge "Adds the Free and Open-source Ghost (FOG)"
Jack Morgan [Tue, 19 Sep 2017 23:27:39 +0000 (23:27 +0000)]
Merge "Adds the Free and Open-source Ghost (FOG)"

7 years agoMerge "LaaS Base functionality"
Jack Morgan [Tue, 19 Sep 2017 23:27:32 +0000 (23:27 +0000)]
Merge "LaaS Base functionality"

7 years agoconfig/installers: Add PDF installer adapters 27/42327/1
Alexandru Avadanii [Mon, 18 Sep 2017 18:21:35 +0000 (20:21 +0200)]
config/installers: Add PDF installer adapters

Previously, PDF installer adapters resided in securedlab git repo, but
since we want to be able to use it in both securedlab (for validation
of new PDF files during verify jobs) and installer projects (for
actually parsing the PDF file into usable installer inputs), we
decided to move them to a common location, also available for regular
users.

This change merely replicates the current adapter files from securedlab
git repo for the following projects:
- apex;
- compass4nfv;
- daisy;
- joid;

Change-Id: Ic4bd75e1b2dc339c15cd4943dfc5a1c74c68b094
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoconfig/utils: Add generate_config.py 25/42325/1
Alexandru Avadanii [Mon, 18 Sep 2017 18:11:12 +0000 (20:11 +0200)]
config/utils: Add generate_config.py

Previously, generate_config.py resided in securedlab git repo, but
since we want to be able to use it in both securedlab (for validation
of new PDF files during verify jobs) and installer projects (for
actually parsing the PDF file into usable installer inputs), we
decided to move it to a common location, also available for regular
users.

This change merely replicates the file from securedlab git repo.

Change-Id: I9ff7889e408338d3911853fe01b752b013de1db7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agominor changes 63/41963/1
Julien [Thu, 14 Sep 2017 12:30:17 +0000 (20:30 +0800)]
minor changes

missing comments in https://gerrit.opnfv.org/gerrit/#/c/41711/

Change-Id: I718a2c5b06a38700f739fe23e36f535562c2a90d
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
7 years agoMerge "Update requirements from ARM community"
julien zhang [Thu, 14 Sep 2017 12:27:12 +0000 (12:27 +0000)]
Merge "Update requirements from ARM community"

7 years agoMerge "Update contents in E release"
julien zhang [Thu, 14 Sep 2017 12:26:58 +0000 (12:26 +0000)]
Merge "Update contents in E release"

7 years agoUpdate requirements from ARM community 11/41711/1
Julien [Tue, 12 Sep 2017 14:09:08 +0000 (22:09 +0800)]
Update requirements from ARM community

Change-Id: Id221ade872bb7f38f406a2fb8ebc8651260b22bf
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>