pharos.git
5 years agoUpdate INFO file for Jack Morgan (missed Primary Contact) 04/68704/1
Jack Morgan [Tue, 29 Oct 2019 18:02:14 +0000 (11:02 -0700)]
Update INFO file for Jack Morgan (missed Primary Contact)

Signed-off-by: Jack Morgan <jack@jento.io>
Change-Id: I1afea164276f60a786f0af05abf925ef815f4913

5 years agofuel: Switch to Ubuntu Bionic 42/68642/1
Alexandru Avadanii [Wed, 16 Oct 2019 13:27:32 +0000 (15:27 +0200)]
fuel: Switch to Ubuntu Bionic

Change-Id: I300c6fd9cb671a7f9b0e79e1c49f33ca0704805f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoUpdating Julien Zhang's email address 13/68613/1
Jack Morgan [Fri, 11 Oct 2019 00:14:31 +0000 (17:14 -0700)]
Updating Julien Zhang's email address

Signed-off-by: Jack Morgan <jack@jento.io>
Change-Id: I321d177ca79f1b93eb5714c160c59467e5136c76

5 years agoUpdate INFO file for Jack Morgan 11/68611/1
Jack Morgan [Thu, 10 Oct 2019 03:00:24 +0000 (20:00 -0700)]
Update INFO file for Jack Morgan

Signed-off-by: Jack Morgan <jack@jento.io>
Change-Id: I98d1eeac901dae66f30394cebb2a6031333d6830

5 years ago[fuel] net_macros: Allow interface proto override 94/68094/1
Alexandru Avadanii [Mon, 10 Jun 2019 13:13:52 +0000 (15:13 +0200)]
[fuel] net_macros: Allow interface proto override

For non-Debian systems, proto 'manual' is not a valid choice and
we should be able to override it.
e.g.: For CentOS, proto 'none' should be used instead.

Change-Id: Id1b6d9d51de17ede0c1e2fdc7f845d74b2a4ab9d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[labs] Rise up hugepages count/dpdk socket memory 23/67723/1
Michael Polenchuk [Tue, 30 Apr 2019 08:20:56 +0000 (12:20 +0400)]
[labs] Rise up hugepages count/dpdk socket memory

MTU = 9000 Bytes
Number of mbufs = 262144
Mbuf size = 10176 Bytes
Memory required = 262144 * 10176 = 2667 MB

Change-Id: I4135ace3ae4ef2953deff678d0aa973cbe12d1c8
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years ago[labs] Rise up dpdk socket memory 69/67469/1
Michael Polenchuk [Tue, 2 Apr 2019 13:09:44 +0000 (17:09 +0400)]
[labs] Rise up dpdk socket memory

In order to enable per port memory model double available
dpdk socket memory (used by instances interfaces as well).

Change-Id: Ibd692933bea673ac1d1a62146f7c25df4ce587e4
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoMerge "New PTL for Pharos"
Julien [Wed, 20 Mar 2019 13:24:02 +0000 (13:24 +0000)]
Merge "New PTL for Pharos"

5 years agoMerge "[PDF/IDF] UNH virtual1 for LaaS/ONAP usage"
Alexandru Avadanii [Mon, 18 Mar 2019 15:49:15 +0000 (15:49 +0000)]
Merge "[PDF/IDF] UNH virtual1 for LaaS/ONAP usage"

5 years agoNew PTL for Pharos 69/67269/1
Julien [Sat, 16 Mar 2019 14:59:41 +0000 (22:59 +0800)]
New PTL for Pharos

This patch is used for voting on the new Pharos PTL. After the nomation
period [1] has ended, there is only one valid candidate [2].

In order to complete the new PTL election process, all Pharos committers
shall review and cast a vote[+1, -1]. This voting period ends in a week
for now on by 23rd March.

[1] https://lists.opnfv.org/g/infra-wg/message/179
[2] https://lists.opnfv.org/g/infra-wg/message/180

Change-Id: If9a2ba60ea69bd2dab92c22ec8cfc7895aa5ce50
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
5 years agoUpdate PTL info 67/67267/1
Julien [Sat, 16 Mar 2019 14:35:24 +0000 (22:35 +0800)]
Update PTL info

prepare for next ptl voting.

Change-Id: Ieae0223a52f3c3873809ced2215aa50d1c8e7a7b
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
5 years ago[PDF/IDF] UNH virtual1 for LaaS/ONAP usage 61/67161/4
Alexandru Avadanii [Sat, 2 Mar 2019 11:24:38 +0000 (12:24 +0100)]
[PDF/IDF] UNH virtual1 for LaaS/ONAP usage

In order to fully utilize all available resources (88 CPU threads,
256GB RAM) in Fuel virtual deployments, add basic PDF/IDF files
based on ericsson-virtual1 templates.

IDF is mostly unchanged compared to idf-virtual1 from Ericsson lab.
PDF allocates more disk capacity for the first node (controller role
in Fuel deployments), as well as more vCPUs/RAM for the last 2 nodes
(compute role in Fuel virtual deployments).

While at it, align ericsson vPOD definitions to match the new format
(2 disks should be defined for each compute node; account for HT).

Change-Id: Iac8ee857a3297084ea9f087ba8007950413fda25
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoAdd port to remote management parameters 07/67107/1
Fatih Degirmenci [Mon, 25 Feb 2019 16:49:12 +0000 (17:49 +0100)]
Add port to remote management parameters

This change proposes addition of a new optional parameter to
PDF schema to add port to remote management parameters so one
can use none-default ports if needed.

Apart from the PODs that use none-default ports for remote
managamene, n example to this use case is the virtual deployments
that use virtualbmc for simulating BMC which requires calculation
of ports on the fly which could be messy. By adding the port into
PDF, it is straightforward to configure the tools to use none-default
ports if needed.

Change-Id: I4ce41c3977470576296a13dc668dec246fc29314
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
5 years agoAdd privilege_level to remote management parameters 91/67091/2
Fatih Degirmenci [Sat, 23 Feb 2019 12:16:46 +0000 (13:16 +0100)]
Add privilege_level to remote management parameters

This change proposes addition of a new optional parameter to
PDF schema to make setting different privilege level for remote
access possible via PDF.

In certain cases, the users of a specific POD may not be granted
ADMIN privileges to use remote management capabilities and instead
they may be granted lower privileges such as OPERATOR. Even though
this type of situations could be hanled in provisioning frameworks
and can perhaps be pushed into IDF, it is more appropriate to put
the privilege level setting into PDF next to other remote management
parameters.

Change-Id: I8486c0f8867d8dd54d1731876e0ffef33fb36a96
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
5 years ago[fuel] Skip baremetal cmp cfg if scenario lacks it 61/67061/1
Alexandru Avadanii [Mon, 18 Feb 2019 14:38:07 +0000 (15:38 +0100)]
[fuel] Skip baremetal cmp cfg if scenario lacks it

Some upcoming scenarios do not define any compute nodes, so
skip adding the nodes to MaaS machine list too.

Change-Id: I895d8c7cb54783a57667d20f672b8ff870105cfc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[fuel] Allow PODs with fewer nodes 37/66937/1
jenkins [Mon, 11 Feb 2019 11:04:36 +0000 (11:04 +0000)]
[fuel] Allow PODs with fewer nodes

Our hardcoded index for the compute role interferes with PODs
having less than the hardcoded expected node count.

Change-Id: Icb8915c257d2e3305793397a51b00f96ed260c5f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[fuel] Update computes on pod10 17/66817/4
Cristina Pauna [Fri, 1 Feb 2019 14:41:19 +0000 (16:41 +0200)]
[fuel] Update computes on pod10

The compute nodes on pod10 have been replaced, therefore the pdf/idf
data needs to be updated

Change-Id: Ib355a3e46d13a6934e2694af7888103519c30419
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
5 years agoMerge "Add IDF and PDF for itri-pod1."
Aric Gardner [Mon, 21 Jan 2019 16:49:20 +0000 (16:49 +0000)]
Merge "Add IDF and PDF for itri-pod1."

5 years agoAdd IDF and PDF for itri-pod1. 59/62959/13
Ming-Hung Hsu [Wed, 26 Sep 2018 08:36:04 +0000 (16:36 +0800)]
Add IDF and PDF for itri-pod1.

Some information on wiki 'ITRI Hosting' page is obsoleted,
and will be updated soon.

Change-Id: I2c76c9617c57de4613b04b0a5f3efff8bbdd6b0e
Signed-off-by: Ming-Hung Hsu <mhhsu@itri.org.tw>
5 years ago[IDF] arm-pod10: Sync cmp nodes mgmt NIC names 53/66453/2
Alexandru Avadanii [Thu, 17 Jan 2019 13:19:30 +0000 (14:19 +0100)]
[IDF] arm-pod10: Sync cmp nodes mgmt NIC names

Due to a limitation in OPNFV Fuel, the interface name holding the
mgmt VLAN on all compute nodes should have the same name.
Reorder interfaces on cmp002 node to satisfy this condition.

Change-Id: I872dc9d2648bec8131e4ffce64e4841416039e0f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[IDF] arm-pod10: Fix cmp001 NIC ordering 23/66423/1
Alexandru Avadanii [Wed, 16 Jan 2019 12:33:11 +0000 (13:33 +0100)]
[IDF] arm-pod10: Fix cmp001 NIC ordering

Change-Id: I5c7cc5dc890de5ae3d35025c6efdbfde9a094ab1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "[IDF] intel-pod18 private vlan range"
Alexandru Avadanii [Thu, 3 Jan 2019 12:43:19 +0000 (12:43 +0000)]
Merge "[IDF] intel-pod18 private vlan range"

5 years ago[IDF] fuel, dpdk: Switch to 1G pgsz on ThunderX 13/66113/1
Alexandru Avadanii [Sat, 29 Dec 2018 18:28:47 +0000 (19:28 +0100)]
[IDF] fuel, dpdk: Switch to 1G pgsz on ThunderX

VPP requires 1G pagesizes on ThunderX nodes, so switch from 2M to 1G
when DPDK is used.

While at it, extend the Fuel j2 macro to accomodate different naming
of virtual function network devices based on the driver used (vfio).

Change-Id: Ic29ce04867955282b6f988ed69a44b316ffdc994
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "[PDF] Fix link speed for virtual PODs"
Alexandru Avadanii [Fri, 28 Dec 2018 13:04:08 +0000 (13:04 +0000)]
Merge "[PDF] Fix link speed for virtual PODs"

5 years ago[IDF] arm-virtual2: Fix private vlan range 07/66107/1
Alexandru Avadanii [Fri, 28 Dec 2018 12:51:11 +0000 (13:51 +0100)]
[IDF] arm-virtual2: Fix private vlan range

Change-Id: Ia43fdf8fb7b80fcbe0b3e7e714b88baab1ba4780
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[PDF] Fix link speed for virtual PODs 97/66097/1
Alexandru Avadanii [Thu, 27 Dec 2018 17:35:36 +0000 (18:35 +0100)]
[PDF] Fix link speed for virtual PODs

ethtool reports the link speed as 'unknown' for said devices.
The only (current) consumer of this information is Fuel's new VPP
support, which detects all these interfaces as 'Gigabit', so align
our definitions in order to be able to dynamically construct the
VPP interface names based on PDF (link speed) + IDF (PCI bus).

While at it, add a new j2 macro helper to be used by Fuel installer.

Change-Id: Id6a52bbb7b86bbe3db2a81bb91ac378c6876ffc0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[IDF] intel-pod18 private vlan range 09/66009/1
Martin Klozik [Thu, 20 Dec 2018 16:33:36 +0000 (17:33 +0100)]
[IDF] intel-pod18 private vlan range

Change private network vlan definition from "native" to specific
vlan range. In case of "native", fuel installation fails to
correctly define IP for br-mesh interface. As a result neutron
ovs agent doesn't work, ports can't be created and VMs
can't start up.

Change-Id: I5792ced38339ff1a56b8ea4e9f3f37ecfb861bf5
Signed-off-by: Martin Klozik <martin.klozik@tieto.com>
5 years ago[fuel] IDF: Add idf.fuel.network.interface_mtu 33/65733/3
Alexandru Avadanii [Tue, 11 Dec 2018 15:00:45 +0000 (16:00 +0100)]
[fuel] IDF: Add idf.fuel.network.interface_mtu

Allow configuring cluster-level jumbo frames via IDF.

All virtual PODs default to using jumbo frames, while baremetal
PODs will keep using 1500 until we confirm all switches are
properly configured.

While at it, update net_macros to configure MTU for VLAN interfaces
too.

JIRA: FUEL-336

Change-Id: Id6c7ec9377b15d53e69c8cbb16fa469b52ab7e3a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoFix pod10 dpdk params 95/65495/1
Guillermo Herrero [Thu, 29 Nov 2018 13:26:35 +0000 (14:26 +0100)]
Fix pod10 dpdk params

Change-Id: Ic72d1468eb8fee74e25c540073c408081c8ee8b8
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
5 years agoarm pod-10: reorder unused interfaces 55/65455/1
Guillermo Herrero [Wed, 28 Nov 2018 13:02:36 +0000 (14:02 +0100)]
arm pod-10: reorder unused interfaces

Change-Id: I491edc564a2b0777c0afc65eb0ebc1b2d97f44fc
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years agointel-pod18: add fuel support 13/65213/4
Your Name [Mon, 15 Oct 2018 15:23:33 +0000 (08:23 -0700)]
intel-pod18: add fuel support

Adding support for fuel installation on intel-pod18

Change-Id: Ieaad34fd2c0aa96f9aa1f48f403c46cd890437eb
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
6 years agoMerge "[fuel] IA: Rename power_password to power_pass"
Alexandru Avadanii [Tue, 6 Nov 2018 20:25:56 +0000 (20:25 +0000)]
Merge "[fuel] IA: Rename power_password to power_pass"

6 years agoUpdate idf parameters for arm-pod5 03/64503/1
Cristina Pauna [Mon, 5 Nov 2018 15:48:54 +0000 (16:48 +0100)]
Update idf parameters for arm-pod5

Change-Id: I1d2d3c461154f7b57d1c0e1a58be9d9a5873f61d
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
6 years ago[IDF] arm-pod10: added as new idf and pdf 27/64027/5
Guillermo Herrero [Thu, 25 Oct 2018 14:33:44 +0000 (16:33 +0200)]
[IDF] arm-pod10: added as new idf and pdf

Change-Id: I74b1c7db1e7c7b53518660e92e810ff60f827d64
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years ago[fuel] IA: Rename power_password to power_pass 41/64141/1
Alexandru Avadanii [Mon, 29 Oct 2018 15:10:48 +0000 (16:10 +0100)]
[fuel] IA: Rename power_password to power_pass

Align with MaaS expected variable naming after upstream change [1].

[1] https://github.com/salt-formulas/salt-formula-maas/commit/6096333

Change-Id: I0d4af1af1c54b40bf9a84ccf5f16847b9d39d456
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[arm pod5] Added new NIC info"
Guillermo Herrero [Thu, 18 Oct 2018 07:00:20 +0000 (07:00 +0000)]
Merge "[arm pod5] Added new NIC info"

6 years ago[arm pod5] Added new NIC info 25/63525/2
Guillermo Herrero [Mon, 15 Oct 2018 16:14:49 +0000 (18:14 +0200)]
[arm pod5] Added new NIC info

Change-Id: I7a363100fb0affe5ac4e27885727cf517621f4e6
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years agoProvide opendaylight server with a public ip 73/63273/2
Stamatis Katsaounis [Mon, 8 Oct 2018 11:13:25 +0000 (14:13 +0300)]
Provide opendaylight server with a public ip

JIRA: FUEL-393

This patch reserves a public ip for opendaylight. This ip is needed
for running the test-case 3 of sdnvpn test-cases, which run as part
of the bgpvpn scenario.

Change-Id: I57288bbb42f4c75af19f3807f8f15b44482c066c
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years ago[fuel] IA: Reserve IP addresses for 3 ODL nodes 23/63023/1
Alexandru Avadanii [Fri, 28 Sep 2018 12:15:39 +0000 (14:15 +0200)]
[fuel] IA: Reserve IP addresses for 3 ODL nodes

Change-Id: Ifcfd806d568c3cda375166b9c63381f66ee375c4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoLocal Documentation Builds 97/62497/4
Aric Gardner [Tue, 18 Sep 2018 15:04:52 +0000 (11:04 -0400)]
Local Documentation Builds

This adds configuration for performing local documentation builds
with the following simple command:

tox -e docs

Change-Id: Ib0d60d9f458b19dd5e77de962d34c1d299de7b16
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
6 years agoMerge "Auto Generated INFO.yaml file"
Aric Gardner [Tue, 18 Sep 2018 14:34:29 +0000 (14:34 +0000)]
Merge "Auto Generated INFO.yaml file"

6 years ago[fuel] IA: sync maas:machines changes 13/61613/2
Alexandru Avadanii [Fri, 31 Aug 2018 00:13:10 +0000 (02:13 +0200)]
[fuel] IA: sync maas:machines changes

Change-Id: Ib4859e4ada3d72e7e848114620ff5405c26b3126
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoFix trailing spaces issue when generates yml files 53/61153/1
Julien [Tue, 21 Aug 2018 06:55:44 +0000 (14:55 +0800)]
Fix trailing spaces issue when generates yml files

There are some missing coniguration in jinja2 template, which will cause
the trailing spaces issues. Currently just add some comments in the end.

Change-Id: I4fe250cda1192d7c6e7cead0251ac5e7978cd310
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
6 years agoFail to set the value in multiple lines 47/61147/1
Julien [Tue, 21 Aug 2018 06:24:57 +0000 (14:24 +0800)]
Fail to set the value in multiple lines

refer to the log of Jenkins:
https://build.opnfv.org/ci/view/pharos/job/
validate-pdf-jinja2-templates-master/326/console

/home/jenkins-ci/opnfv/slave_root/workspace/
validate-pdf-jinja2-templates-master/config/utils/check-jinja2.sh:
line 54: -i ./config/installers/apex: No such file or directory

[GENERATE] [OK]
[YAMLLINT] [OK] yamllint -s ./config/installers/apex/pod_config.yaml

Change-Id: I13c220e7fba5355124ae2b41e7399140c5d92523
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
6 years agoMerge "Add mask to the oob networks"
Alexandru Avadanii [Fri, 17 Aug 2018 15:31:32 +0000 (15:31 +0000)]
Merge "Add mask to the oob networks"

6 years agoUpdate the pdf/idf for ericsson pod2 39/60839/11
Manuel Buil [Fri, 10 Aug 2018 12:15:29 +0000 (14:15 +0200)]
Update the pdf/idf for ericsson pod2

Change-Id: I9b5db404cde0414f34621cf12819fd3edfcf0414
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years agoAdd mask to the oob networks 21/60921/4
Manuel Buil [Tue, 14 Aug 2018 06:14:36 +0000 (08:14 +0200)]
Add mask to the oob networks

It is not needed but it helps a lot to the xci parser

Change-Id: I6943b21cd2aca2036783430cde03fb8d3b567f3b
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years agoComplete osa and add kubespray to the idf schema 05/60905/3
Manuel Buil [Mon, 13 Aug 2018 17:29:31 +0000 (19:29 +0200)]
Complete osa and add kubespray to the idf schema

Modify idf of lf pod4 to aoid -1 from Jenkins

Change-Id: I4fbac6ed2859e79aeef61b070498833b182f2b5d
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years ago[idf.fuel] Add jumpserver.trunks for mgmt 43/60743/1
Alexandru Avadanii [Mon, 6 Aug 2018 21:54:04 +0000 (23:54 +0200)]
[idf.fuel] Add jumpserver.trunks for mgmt

Extend IDF schema for Fuel installer section to allow a new param,
useful when jumpserver networks should be trunked for infra VMs.

JIRA: FUEL-338

Change-Id: Ifda18ea017c069e29d25d48aea62a6b6b37e91b5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[arm-pod9] Increase fuel maas timeouts 73/60273/1
Guillermo Herrero [Fri, 27 Jul 2018 09:45:05 +0000 (11:45 +0200)]
[arm-pod9] Increase fuel maas timeouts

Change-Id: I0bf27ddc06b5c6efa64b41a32573bf09990c95b5
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years ago[arm-virtual2] Add ip-range to avoid IP conflicts 05/59205/1
Alexandru Avadanii [Thu, 28 Jun 2018 14:46:36 +0000 (16:46 +0200)]
[arm-virtual2] Add ip-range to avoid IP conflicts

Change-Id: Ib7858d57d3e0cc1a428905a63c4d342be260a673
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[unh-pod1] Increase MaaS timeouts 15/58815/1
Alexandru Avadanii [Wed, 20 Jun 2018 16:32:45 +0000 (18:32 +0200)]
[unh-pod1] Increase MaaS timeouts

Some targets (especially 96-cores computes) in UNH POD1 take longer
than the average to commission/deploy, so adjust the timeouts
accordingly.

Change-Id: I9bf0b2ecccb3e8437cc5659688a84ee5ad0b5b87
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agounh-pod1: restrict public ip range to avoid conflict 73/58673/1
Paul Vaduva [Mon, 18 Jun 2018 14:34:41 +0000 (16:34 +0200)]
unh-pod1: restrict public ip range to avoid conflict

Change-Id: I7644fe6eedc71b4e67ea6b6d112a06685ea26602
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
6 years agoMerge "Adding reclass sections to idf-pod1 file"
Alexandru Avadanii [Tue, 12 Jun 2018 14:14:53 +0000 (14:14 +0000)]
Merge "Adding reclass sections to idf-pod1 file"

6 years agoAdding reclass sections to idf-pod1 file 53/58453/3
Paul Vaduva [Tue, 12 Jun 2018 12:30:03 +0000 (14:30 +0200)]
Adding reclass sections to idf-pod1 file

reclass section is necessary to setup hugepages
size to 2M per hugepage as the defaults are 1G
which are not supported by thunderx. Plus adding
ntp servers to unh-pod1

Change-Id: I9cd2a8105032035a519411b80f95675a997a1fbd
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
6 years ago[idf.fuel] Add NTP for new virtual PODs 77/58377/1
Alexandru Avadanii [Fri, 8 Jun 2018 17:07:47 +0000 (19:07 +0200)]
[idf.fuel] Add NTP for new virtual PODs

Change-Id: I6172e909c51e796b16f62f2d8e0cb0497306ce2a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[PDF] Add arm-virtual2 PDF/IDF"
Alexandru Avadanii [Fri, 8 Jun 2018 16:54:04 +0000 (16:54 +0000)]
Merge "[PDF] Add arm-virtual2 PDF/IDF"

6 years agoMerge "add ericsson vpod PDF"
Alexandru Avadanii [Fri, 8 Jun 2018 16:53:50 +0000 (16:53 +0000)]
Merge "add ericsson vpod PDF"

6 years agoMerge "[fuel] IA: Add PXE/admin static IPs"
Alexandru Avadanii [Mon, 4 Jun 2018 16:53:26 +0000 (16:53 +0000)]
Merge "[fuel] IA: Add PXE/admin static IPs"

6 years agoupdate ilo mac address after hw replacement 93/58193/1
mting [Mon, 4 Jun 2018 13:26:33 +0000 (15:26 +0200)]
update ilo mac address after hw replacement

Change-Id: I9df2e117d8a2036c9555ddfe41d636b9e30910e8

6 years agoMerge "[idf.fuel] Add NTP servers"
Alexandru Avadanii [Mon, 4 Jun 2018 12:38:38 +0000 (12:38 +0000)]
Merge "[idf.fuel] Add NTP servers"

6 years ago[fuel] IA: Add PXE/admin static IPs 75/56975/6
Alexandru Avadanii [Sat, 7 Apr 2018 08:58:08 +0000 (10:58 +0200)]
[fuel] IA: Add PXE/admin static IPs

- check-jinja2.sh: Add template dir to include dirs;
- add param definitions for PXE/admin static IP for each machine,
  moving MaaS DHCP range start after the new addresses, similar to
  public network;
- drop 'opnfv_' prefix for compute parameters;
- drop 'opnfv_jump_bridge_*' variables (deprecated);
- drop 'opnfv_infra_maas_*' variables, handled directly in Fuel now;
- add 'opnfv_net_*_mask' for all used networks in idf.net_config;
- move all internal j2 variables to net_map.j2, so we can reuse them
  without pod_config;
- refactor maas variables into a full `maas.region.machines` section
  when baremetal nodes are defined;
- drop 'openstack_compute_*' reclass params in favor of direct
  expansion in reclass.storage definitions via j2 in Fuel@OPNFV;
- add `net_macros.j2` for reclass linux.network reclass generation;
- move all non-sensitive reclass parameters to Fuel@OPNFV;

Change-Id: I495c6072d845b273b6607d45dc5152ec4ee767cf
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[idf.fuel] Add NTP servers 17/58117/2
Alexandru Avadanii [Thu, 31 May 2018 14:05:30 +0000 (16:05 +0200)]
[idf.fuel] Add NTP servers

Change-Id: Ib840995b085ec9d8a585d5cf2e2a84e5801875b6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "IDF and PDF files for auto pod in unh lab"
Guillermo Herrero [Wed, 30 May 2018 12:58:52 +0000 (12:58 +0000)]
Merge "IDF and PDF files for auto pod in unh lab"

6 years agoMerge "[IDF] arm-pod9: added as new idf and pdf"
Guillermo Herrero [Wed, 30 May 2018 10:57:48 +0000 (10:57 +0000)]
Merge "[IDF] arm-pod9: added as new idf and pdf"

6 years agoMerge "[IDF] arm-pod8: added as new idf and pdf"
Guillermo Herrero [Wed, 30 May 2018 10:57:37 +0000 (10:57 +0000)]
Merge "[IDF] arm-pod8: added as new idf and pdf"

6 years ago[IDF] arm-pod9: added as new idf and pdf 51/57451/5
Guillermo Herrero [Wed, 16 May 2018 09:00:51 +0000 (11:00 +0200)]
[IDF] arm-pod9: added as new idf and pdf

Change-Id: I415eda9f493fcd70514d5f9be7d58b7b6d1cb88f
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years ago[IDF] arm-pod8: added as new idf and pdf 81/56781/9
Guillermo Herrero [Fri, 27 Apr 2018 12:28:37 +0000 (14:28 +0200)]
[IDF] arm-pod8: added as new idf and pdf

Change-Id: I01c678b45fd182bef8a95bdf13054a36347e057b
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years agoIDF and PDF files for auto pod in unh lab 41/57741/11
pava [Tue, 22 May 2018 14:58:51 +0000 (16:58 +0200)]
IDF and PDF files for auto pod in unh lab

Change-Id: Iad65abda66b772e8ed44c2257ebdb7cb48ecc6c1
Signed-off-by: joekidder <Joe.Kidder@enea.com>
Signed-off-by: pava <Paul.Vaduva@enea.com>
6 years agoadd ericsson vpod PDF 91/55891/3
mting [Tue, 17 Apr 2018 11:51:28 +0000 (13:51 +0200)]
add ericsson vpod PDF

Change-Id: I20e70ec3264e807fb85585441d51752b13f5389d
Signed-off-by: mting <dianfeng.du@ericsson.com>
6 years ago[PDF] Add arm-virtual2 PDF/IDF 63/51263/2
Alexandru Avadanii [Sat, 27 Jan 2018 20:24:59 +0000 (21:24 +0100)]
[PDF] Add arm-virtual2 PDF/IDF

JIRA: FUEL-322

Change-Id: I3b136d6eebdaf0f09c772d2b994158af99cd8fea
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] Preparations for vPDF support 15/50315/9
Alexandru Avadanii [Thu, 28 Dec 2017 22:24:41 +0000 (23:24 +0100)]
[PDF] Preparations for vPDF support

- extend check-{jinja2,schema}.sh to scan vPDFs and construct
  proper IDF path for vPDFs;
- add support for '/' in PDF fields, by default filtered by j2
  template rendering;

SPEC changes:
- extend remote_management 'type' enum with 'libvirt';

SCHEMA changes:
- add new enum value 'libvirt' according to SPEC update;
- add separate handling of 'remote_management' for baremetal/virtual;
- remote_management 'versions' and 'mac_address' are mandatory for
  all but 'libvirt' (used to be mandatory for all);

Change-Id: Ib3f711cae807c3ab27920391402ba74844f155c3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Okinawa Open Labratory(OOL) POD1 PDF/IDF"
Julien [Mon, 30 Apr 2018 15:23:12 +0000 (15:23 +0000)]
Merge "Okinawa Open Labratory(OOL) POD1 PDF/IDF"

6 years agoupdate idf file for zte-pod1 37/56337/1
zhihui wu [Tue, 24 Apr 2018 09:48:41 +0000 (17:48 +0800)]
update idf file for zte-pod1

Change-Id: Iffed25c5e01aa9bf2a7b4a7103b07fb1c097d811
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
6 years agoOkinawa Open Labratory(OOL) POD1 PDF/IDF 91/55791/13
hhayashiool [Mon, 16 Apr 2018 06:32:08 +0000 (15:32 +0900)]
Okinawa Open Labratory(OOL) POD1 PDF/IDF

Change-Id: I0980de9c2ff37654dbfd2d58002b9e61226cf749
Signed-off-by: Hideyasu Hayashi <hideyasu.hayashi@okinawaopenlabs.org>
6 years ago[fuel] Parameterize tenant VLAN ranges 01/56001/3
Alexandru Avadanii [Wed, 18 Apr 2018 16:37:29 +0000 (18:37 +0200)]
[fuel] Parameterize tenant VLAN ranges

- IDF: convert all tenant VLANs to ranges;
- IA: convert 'M-N' to 'M:N' for `opnfv_net_tenant_vlan`;

Change-Id: Ic9211235281c81ba082d10806651c35116ba4c35
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoJOID PDF-IDF support for intel-pod18 69/54569/12
agardner [Wed, 28 Mar 2018 20:06:23 +0000 (16:06 -0400)]
JOID PDF-IDF support for intel-pod18

More info in gerrit comments.

Remove joid from all other idfs other than intel/pod18
add installer: ['apex', 'compass4nfv', 'daisy', 'fuel'] where missing

Change-Id: I2afc415599070e210736c5fc304f7cb150f05029
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years ago[IDF] arm-pod6: Adjust CPU pinning variables 25/55425/1
Guillermo Herrero [Wed, 11 Apr 2018 15:42:50 +0000 (17:42 +0200)]
[IDF] arm-pod6: Adjust CPU pinning variables

For non-dpdk scenarios we define as cpu config:
  0-7   for OS
  8-47  for nova

For dpdk scenarios we define as cpu config:
  0-7   for OS
  8-11  for DPDK drivers and processes
  12-47 for nova

Change-Id: Ia9d7cfaee76f996993b94a52e1484752157a23cd
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years ago[IDF] zte-pod3: Remove vlan for tenant/external 97/54597/1
Alex Yang [Thu, 29 Mar 2018 07:19:25 +0000 (15:19 +0800)]
[IDF] zte-pod3: Remove vlan for tenant/external

To deploy ovs_dpdk scenario by daisy.
In this scenario, vlan configuration is not supported on
tenant/external interface for now.

Change-Id: I6e91bea92bde085079f4435fa72f20b5cef12ad3
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoMerge "[IDF] arm-pod7: Configure hugepages and cpupinning variables for armpod7"
Alexandru Avadanii [Fri, 23 Mar 2018 20:28:54 +0000 (20:28 +0000)]
Merge "[IDF] arm-pod7: Configure hugepages and cpupinning variables for armpod7"

6 years ago[IDF] arm-pod7: Configure hugepages and cpupinning variables for armpod7 91/53791/7
Charalampos Kominos [Wed, 14 Mar 2018 12:56:17 +0000 (13:56 +0100)]
[IDF] arm-pod7: Configure hugepages and cpupinning variables for armpod7

For non-dpdk scenarios we define as cpu config:
        0,1 for OS
        2-7 for nova
For dpdk scenarios we define as cpu config:
        0,1 for OS,
        2,3 for DPDK drivers and processes
        4-7 for nova

Dpdk config is also provided for the 3 thunderx nodes which currently
serve as KVM nodes. The config is similar to the config above with
cores 4-47 being used for nova.

JIRA: ARMBAND-364

Change-Id: I761aa8e73935b7180f4f377841cc93c9d81cf4d7
Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years ago[IDF] arm-pod5: Configure hugepages and cpupinning variables for armpod5 01/53801/3
Charalampos Kominos [Wed, 14 Mar 2018 14:43:34 +0000 (15:43 +0100)]
[IDF] arm-pod5: Configure hugepages and cpupinning variables for armpod5

For non-dpdk scenarios we define as cpu config:
        0,1 for OS
        2-7 for nova
For dpdk scenarios we define as cpu config:
        0,1 for OS,
        2,3 for DPDK drivers and processes
        4-7 for nova

JIRA: ARMBAND-364

Change-Id: Icc976e8511fed221b71a348afda3cbe4e0556b1a
Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
6 years ago[IDF] arm, lf, ericsson: Align IP ranges start 31/53431/3
Alexandru Avadanii [Fri, 9 Mar 2018 19:34:55 +0000 (20:34 +0100)]
[IDF] arm, lf, ericsson: Align IP ranges start

- Enea lab has infra IPs in public networks, similar to ericsson-pod1
  so start assigning public IPs from .100 onwards;
- since most Fuel PODs have public (and mgmt) IPs starting at .100,
  align this across all PODs for uniformity;
- align all mgmt networks start to .10;

JIRA: ARMBAND-365

Change-Id: I9df4083c9e2e4c15da5ce6a2cb24df560808161a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[IDF, fuel] Add idf.net_config.*.ip-range support 51/53251/2
Alexandru Avadanii [Wed, 7 Mar 2018 19:17:39 +0000 (20:17 +0100)]
[IDF, fuel] Add idf.net_config.*.ip-range support

- labs: ericsson-pod1: Restrict management and public network IP
  ranges to exclude pre-existing infrastructe addresses;
- fuel: Consume new ip-range network property in installer adapter;
  NOTE: For now, we only look at range start (and ignore end addr).

JIRA: FUEL-351

Change-Id: If81d0214f896fd42dfd0855ae4cecb06335d2e00
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoLF-POD4 PDF/IDF 59/51659/10
Blaisonneau David [Mon, 5 Feb 2018 10:56:51 +0000 (11:56 +0100)]
LF-POD4 PDF/IDF

PDF+IDF for LF POD4 inspired from securelab PDF and LF-pod2 XDFs.

Change-Id: If7ee14efe5f279104a18d2a3281aa7b23bdf704a

6 years agoMerge "config/installers: Adopt j2 'do' extension"
Alexandru Avadanii [Mon, 5 Mar 2018 17:50:07 +0000 (17:50 +0000)]
Merge "config/installers: Adopt j2 'do' extension"

6 years agogenerate_config: minor code formatting updates 05/53105/1
Alexandru Avadanii [Mon, 5 Mar 2018 16:58:01 +0000 (17:58 +0100)]
generate_config: minor code formatting updates

Change-Id: If0ee12287f4257f2de315bd6ad82edb709e24492
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Add SDF files in Octopus"
Julien [Mon, 5 Mar 2018 03:27:39 +0000 (03:27 +0000)]
Merge "Add SDF files in Octopus"

6 years ago[IDF] zte-pod1: Remove br-mgmt 39/53039/1
Alexandru Avadanii [Sat, 3 Mar 2018 18:32:58 +0000 (19:32 +0100)]
[IDF] zte-pod1: Remove br-mgmt

All recent Fuel deploy attempts on zte-pod1 failed due to br-mgmt
not being present (or up), although it is defined in IDF.
Since this bridge is optional in the Fuel deployment process and
mostly useful for manual debugging, let's remove it from idf.fuel.

Change-Id: I130ec61427237f979f6a6212ca8c291ba203ef39
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoconfig/installers: Adopt j2 'do' extension 15/53015/2
Alexandru Avadanii [Fri, 2 Mar 2018 19:11:47 +0000 (20:11 +0100)]
config/installers: Adopt j2 'do' extension

Change-Id: Iffc473a4c90ff4ee8cfbcc304a3462559199fbe0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] Fix missing space between yaml key:val 19/53019/2
Alexandru Avadanii [Fri, 2 Mar 2018 21:55:02 +0000 (22:55 +0100)]
[fuel] Fix missing space between yaml key:val

Change-Id: Icf0e5d386f593bb691f777704ac799c8729221ce
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agogenerate_config: New `-b` arg for batch processing 13/53013/3
Alexandru Avadanii [Fri, 2 Mar 2018 17:29:53 +0000 (18:29 +0100)]
generate_config: New `-b` arg for batch processing

Sometimes, parsing multiple j2 templates based on the same PDF+IDF
is needed, in which case we'd have to call generate_config once for
each template.

Add a new argument, `-b`, which allows batch processing of multiple
templates in one go:
- files ending in '.j2' (e.g. 'template.yml.j2') will be expanded to
  a file without the '.j2' suffix in the same directory as the
  source template (e.g. 'template.yml');
- templates not ending in '.j2' are skipped in batch mode;
- in order to pass multiple templates, `-j` argument can now be passed
  multiple times, similar to `-i`;
- although relative filepaths still work, it is highly recommended to
  use the full path (abspath) for j2 templates;
- to avoid filename collisions, j2 parser will open '/' (as well as
  any directories specified via `-i`) and lookup each j2 template
  by its full path;

Add a new argument, `-v` for verbose logging.

While at it, import only needed functions from 'os.path' to make our
code more compact and easier to read.

Change-Id: I2291935d42e4196813cd75154d5b674bcc330183
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "config/utils: YAML: Use C bindings if available"
Alexandru Avadanii [Fri, 2 Mar 2018 16:36:58 +0000 (16:36 +0000)]
Merge "config/utils: YAML: Use C bindings if available"

6 years agogenerate_config: New `-i` arg for j2 includes dir 61/52961/1
Alexandru Avadanii [Thu, 1 Mar 2018 22:47:31 +0000 (23:47 +0100)]
generate_config: New `-i` arg for j2 includes dir

jinja2 does not support imports from parent directories, so in order
for j2 to be able to use '{% from <some>.j2 import ... %}' constructs
with included j2 residing on a separate dirpath than current j2, add
support for explicitly adding directories to the templater search
path.

This also allows calling generate_config with only file basename as
'-j' arg value, as long as the dirname is passed via '-i' (can be
extended later to parsing multiple j2 files at once).

Change-Id: I943fda9262a6f7de5ee6fcc3e7bc9828c339651a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agogenerate_config: Enable 'do' j2 extension 57/52957/1
Alexandru Avadanii [Thu, 1 Mar 2018 19:57:23 +0000 (20:57 +0100)]
generate_config: Enable 'do' j2 extension

'do' is useful to avoid hacks like {% set _ = x.update(...) %}.
Instead: {% do x.update(...) %}.

[1] http://jinja.pocoo.org/docs/2.10/extensions/

Change-Id: I886beb97e0383ba11b81aa21cf12b11ebc4b05b2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoconfig/utils: YAML: Use C bindings if available 51/52951/3
Alexandru Avadanii [Thu, 1 Mar 2018 18:57:34 +0000 (19:57 +0100)]
config/utils: YAML: Use C bindings if available

Time diff before/after this change for the same template via
generate_config expansion:
-user    0m0.144s
+user    0m0.096s

Change-Id: Id574afcd8a74a530d791ebed8b72ccae53703611
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[fuel] Improved IP handling on config template"
Alexandru Avadanii [Tue, 27 Feb 2018 13:42:47 +0000 (13:42 +0000)]
Merge "[fuel] Improved IP handling on config template"

6 years ago[IDF] arm-pod6: Use 2M hugepages, 12 cores for nova 93/52693/1
Alexandru Avadanii [Tue, 27 Feb 2018 02:52:19 +0000 (03:52 +0100)]
[IDF] arm-pod6: Use 2M hugepages, 12 cores for nova

Change-Id: I03098ca3d4a90f6420cee64985c2853931a6a870
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[IDF] arm-pod6: Fix nova_cpu_pinning param expr 79/52679/1
Alexandru Avadanii [Mon, 26 Feb 2018 18:07:09 +0000 (19:07 +0100)]
[IDF] arm-pod6: Fix nova_cpu_pinning param expr

Constructs based on reclass interpolation (e.g. '${_param:x}') do
not work when parameters are passed via reclass.storage templating,
so change reclass interpolation syntax with classic YAML anchors.

Change-Id: Ia974d45fc6a5869f4b30b31b947df088ea3aaf0c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] Improved IP handling on config template 99/51499/22
Guillermo Herrero [Fri, 2 Feb 2018 15:35:21 +0000 (16:35 +0100)]
[fuel] Improved IP handling on config template

-New IP addressing.
Starts on lower available addresses for
better compatibilty for small networks.
IPs assigned secuentially and independently
on each network.

-Switched to advanced IP generation filters.
Defined integers are no longer end of the IP address part
but host order on the IP network.

-Dynamic generation of compute nodes

JIRA:FUEL-335

Change-Id: Ie95b83af64cb21ba27749d5f5d1506bfbc9ddf15
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>