pharos.git
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 "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 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 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>
6 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>
6 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"

6 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>
6 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>
6 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>
6 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>
6 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>
6 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"

6 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>
6 years agoMerge "Updated fuel adapter (ODL)"
Jack Morgan [Tue, 26 Sep 2017 14:29:42 +0000 (14:29 +0000)]
Merge "Updated fuel adapter (ODL)"

6 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>
6 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>
6 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>
6 years agoMerge "Remove inactive committers"
Jack Morgan [Tue, 26 Sep 2017 00:15:30 +0000 (00:15 +0000)]
Merge "Remove inactive committers"

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

6 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>
6 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>
6 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>
6 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>
6 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"

6 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"

6 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."

6 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"

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

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

6 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"

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

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

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

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

6 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)"

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

6 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>
6 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>
6 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>
6 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"

6 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"

6 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>
6 years agoUpdate contents in E release 35/41535/3
Julien [Mon, 11 Sep 2017 14:15:11 +0000 (22:15 +0800)]
Update contents in E release

correct some information like: links and descriptions
delete unuseful information

JIRA: PHAROS-311

Change-Id: I1fceaa13fbff540bcd3f314f4653c7cc8c485091
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
6 years agoAdd PDF to document 45/41545/1
Julien [Mon, 11 Sep 2017 16:02:33 +0000 (00:02 +0800)]
Add PDF to document

Change-Id: Ib3d9f89b4556d91c2d7207eb109e18eafe6dfbd6
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
6 years agoMerge "Fix Booking API"
julien zhang [Mon, 11 Sep 2017 14:20:17 +0000 (14:20 +0000)]
Merge "Fix Booking API"

6 years agoAdds various conveniences for hosters. 89/39789/2
Parker Berberian [Mon, 21 Aug 2017 13:50:22 +0000 (09:50 -0400)]
Adds various conveniences for hosters.

JIRA: N/A

Adds documentation, as well as:
source/stop.sh: stops the pharos listener and any running deployment
source/deploy.sh: manually starts a deployment on the given host

Patchset2: improved and updated README

Change-Id: I918ca3bdf03a32f7a16d851d7ea7ebc968d66720
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoAdds Experimental support for Joid 87/39787/2
Parker Berberian [Mon, 21 Aug 2017 13:47:46 +0000 (09:47 -0400)]
Adds Experimental support for Joid

JIRA: N/A

Adds a joid installer object, and needed configuration / scripts.

Currently, this only works with a no-ha scenario.

Change-Id: Ib3076d0341e47d3bebe89ae1b22e87547fe3f524
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoAdds VPN Handler 81/39781/2
Parker Berberian [Mon, 21 Aug 2017 13:45:02 +0000 (09:45 -0400)]
Adds VPN Handler

JIRA: N/A

adds a vpn handler in source/api/vpn.py
vpn.py contains a formal interface definition as well as a specific
implementation using LDAP. If your lab's vpn does not use LDAP, you may
create a new vpn handler that properly extends the abstract vpn class
and it should be fine.

Change-Id: I31e8d8477dfed913c4da864d3ff3b49e988d64b1
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoAdds configuration files 79/39779/2
Parker Berberian [Mon, 21 Aug 2017 13:42:28 +0000 (09:42 -0400)]
Adds configuration files

JIRA: N/A

Adds yaml files in conf/ to fit the laas software into your lab
infrastructure.
Each installer (Fuel, joid, etc) will also have their own config file,
which will point also to their own network and domain config file.

Change-Id: I0bcd57399b9f3f12aa351604fd03ae92de1ba93b
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoBash scripts for remote host deployment 77/39777/2
Parker Berberian [Mon, 21 Aug 2017 13:36:53 +0000 (09:36 -0400)]
Bash scripts for remote host deployment

JIRA: N/A

Adds various scripts into hostscripts/ to make the deployment
easier.
The whole hostscripts directory is copied to the remote host during
deployment.
mkDisks will create needed virtual disks
vncAllow punches a hole in the firewall to allow a vnc connection
    (useful for debugging)
ipnat.sh uses iptables to NAT out an isolated virtual machine
    to access horizon, for example

Change-Id: I25c23c0c4893838e58ba1cd7baaa5347de4ef47f
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoAdd Dashboard Listener 75/39775/2
Parker Berberian [Mon, 21 Aug 2017 13:34:01 +0000 (09:34 -0400)]
Add Dashboard Listener

JIRA: N/A

Adds source/pharos.py, which will periodically poll the paros
dashboard api to see if any new bookings have started on and of your
dev pods. If a new booking is starting, a deployment will be
started for that pod.

source/listen.py starts the pharos listener in a background
process, so that it will not eat your terminal.

Change-Id: Icbce4453c772f04215f25534606456caa1012f5a
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoAdds SQLite DataBase 73/39773/2
Parker Berberian [Mon, 21 Aug 2017 13:31:16 +0000 (09:31 -0400)]
Adds SQLite DataBase

JIRA: N/A

Adds a database handler in source/database.py to store all
hosts and to store any bookings coming from the dashboard.
source/resetDataBase will clean the db and try to repopulate it
with information from the FOG server.

Change-Id: I14537452d8566db17787f116018f45bb1ddd75ba
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoAdds Fuel Installation Capability 71/39771/2
Parker Berberian [Mon, 21 Aug 2017 13:24:57 +0000 (09:24 -0400)]
Adds Fuel Installation Capability

JIRA: N/A

Adds the ability to automatically install and deploy Fuel onto
a remote host.
the hostScripts/fuelInstall.sh script boots the master machine
and uses the fuel iso to install fuel to the machine.
the source/installers/fuel.py then uses the source/api/fuel_api
handler to configure and deploy fuel.
Running:
    Fuel_Installer(domains,networks,libvirt,utility).go()
Will install fuel and deploy Openstack on top of Fuel
assuming the host is properly configured.

Change-Id: I41aee773b27b893311c945221b93eacf36aa83cc
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoAdds Libvirt Handler 63/39763/3
Parker Berberian [Mon, 21 Aug 2017 13:07:01 +0000 (09:07 -0400)]
Adds Libvirt Handler

JIRA: N/A

Adds a handler which can control the libvirt hypervisor
on the remote host, in order to define the vm's and networks
that are needed for an OPNFV deployment.
Also adds the domain and network objects, which are simple abstractions
of virtual machines and networks.

Change-Id: Ia836e7b080b8bca220d5fdf6eb72b6c580cab4d1
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoAdds the Free and Open-source Ghost (FOG) 61/39761/3
Parker Berberian [Mon, 21 Aug 2017 13:03:53 +0000 (09:03 -0400)]
Adds the Free and Open-source Ghost (FOG)

JIRA: N/A

Adds a handler which will talk with the REST api
running on the FOG server.
This allows the pod_manager to ghost images onto hosts
in order to prep them for deployment and clean them afterwards.

Change-Id: Ic00e992874ca3371b6d6e8ac2450a1ef0c765e67
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agoLaaS Base functionality 59/39759/3
Parker Berberian [Mon, 21 Aug 2017 12:57:59 +0000 (08:57 -0400)]
LaaS Base functionality

JIRA: N/A

This is the base of the laas hosting software.
the pod_manager can select a host from a pool and
will ghost it with a clean image.
The deployment_manager will install OPNFV on that host.
Utilities defines misc useful functions that are needed
throughout the provisioning and dpeloyment.

Change-Id: I2fb24f36491ded1284f5ac1659a505bd88baafb4
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
6 years agorestruct documents according to opnfvdocs 07/39507/1
Julien [Thu, 17 Aug 2017 13:32:10 +0000 (21:32 +0800)]
restruct documents according to opnfvdocs

Use only development and release for we don't have test codes for now.

JIRA: PHAROS-311

Change-Id: Iacfcaba81a7a52e09cf999b8603cc9dc2f8f2b97
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
6 years agoFix Booking API 67/38267/1
maxbr [Thu, 27 Jul 2017 10:51:47 +0000 (12:51 +0200)]
Fix Booking API

This fixes a server error for the booking REST api and some html errors.

Change-Id: I86475967bbc8cd4c8f82f62e03789f1c9752d446
Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
6 years agoMount PostgreSQL Data from Persistent Volume 35/38235/1
Trevor Bramwell [Wed, 26 Jul 2017 18:22:54 +0000 (11:22 -0700)]
Mount PostgreSQL Data from Persistent Volume

Each time the postgresql container is torn down the database is lost.
By using a presistent volume managed outside of docker compose, the
postgresql data can persist across updates and service restarts.

The volume needs to exist before the postgres container can start: this
is done with the 'make data' command.

Note: postgres container creates a volume at /var/lib/postgresql/data.
Mounting at this location ensures the data is persisted into the
external volume.

Change-Id: I958ba57fc735c594378d575bc7108bee0d30c1e3
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "Adding Labels"
julien zhang [Tue, 11 Jul 2017 14:30:27 +0000 (14:30 +0000)]
Merge "Adding Labels"

6 years agoFix Yamllint Violations 31/36431/2
Trevor Bramwell [Fri, 23 Jun 2017 23:13:12 +0000 (16:13 -0700)]
Fix Yamllint Violations

JIRA: PHAROS-298

Change-Id: I1c9afc9bfee4a60144b95bc38e2333260c95167a
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "Fix ipmi section to be valid yaml"
Jack Morgan [Sat, 10 Jun 2017 00:12:09 +0000 (00:12 +0000)]
Merge "Fix ipmi section to be valid yaml"

6 years agoFix ipmi section to be valid yaml 43/34843/1
agardner [Tue, 16 May 2017 13:44:13 +0000 (09:44 -0400)]
Fix ipmi section to be valid yaml

Change-Id: I04b5c5ead3b71c06549e9b385dcadacb79751ee4
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoPharos Dashboard: Add manual resource management 39/34339/2
maxbr [Fri, 5 May 2017 08:02:56 +0000 (10:02 +0200)]
Pharos Dashboard: Add manual resource management

Dev Pods are now managed by checking the "Dev pod" box in the Admin
Panel. This commit also fixes a dead image URL and the oauth process for the
dashboard URL.

Change-Id: Ic94160eb3a4504a369606261440df0e5354ac027
Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
7 years agoRemove docs ci job complains issues 89/30189/1
Julien [Thu, 9 Mar 2017 15:29:38 +0000 (23:29 +0800)]
Remove docs ci job complains issues

such as:
/home/jenkins-ci/opnfv/slave_root/workspace/docs-verify-rtd-master\
/docs/submodules/pharos/docs/labs/orange-lannion-lab/index.rst:201:
ERROR: Unexpected indentation.

Change-Id: I258ca061758e73ab576e44af5e4e2fed5e3cdb21
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
7 years agoAdding Labels 39/30039/1
ShubhamRathi [Wed, 8 Mar 2017 09:21:39 +0000 (14:51 +0530)]
Adding Labels

Labels serve as anchors/ refs when referenced from other documents
This patch adds labels to docs/*/*/index.rst

Change-Id: I3dd866f0721b0c97d7c29fce0b275b29d0b2ddc8
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
7 years agopod1.yaml for common configuration file 27/23727/9
Jack Morgan [Thu, 27 Oct 2016 14:30:40 +0000 (07:30 -0700)]
pod1.yaml for common configuration file

modifications:
1. use list to replace fixed names;
2. use structure to avoid deplicated info;
3. rearrage the structure;
4. delete nic parameters from jumpserver
5. remove address and mac_address from remoteparas

Change-Id: I4bc7e1ecf0321e852bbbe43c2ebc9a1291f7a78f
Signed-off-by: Jack Morgan <jack.morgan@intel.com>
7 years agoAdd booking communication reference implementation 27/26727/1
maxbr [Thu, 5 Jan 2017 11:38:00 +0000 (12:38 +0100)]
Add booking communication reference implementation

JIRA: PHAROS-265

This adds an implementation of a booking communication agent that
listens for booking notifications from the dashboard and updates the pod
status in the dashboard.

Change-Id: I1ea22390a46182a185df9c5e1771c9312d462092
Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>