Age | Commit message (Collapse) | Author | Files | Lines |
|
Python method str.format allows easy templating using substitutions
identified by braces ('{' and '}'). Using two levels of nested
substitutions can be achieved by doubling braces ("{{" and "}}").
Hound configuration creator script was supposed to use two levels of
nested substitutions and still leave braced components within the
templated string for further substitution by the Hound tool. This would
require using multitude of braces which would decrease readability
significantly.
This is why code location template is appended to the code base URL at
the latest.
If there will be need for more levels of nested templates, this code
shall be further refactored to use only named fields, str.format_map()
(available in Python 3.2+) and SafeDict, e.g.
>>> class SafeDict(dict):
... def __missing__(self, key):
... return '{' + key + '}'
...
which would leave braced components within the processed template in
case given key is missing.
Issue-ID: ONAPARC-579
Change-Id: I420d076867aa891edb2a945a8cd58e168c892ac3
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: INT-1523
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I2be0865395b12e1f277834b0c096f5d183cb5056
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
Issue-ID: INT-1490
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I9153da660ae469c0bd3ed51cfebd912b6e4b9bf2
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
Fixed pylint issues for categories trailing-whitespace,
trailing-newlines, syntax-error, unused-import.
Change-Id: Iccbdb0c9538a6b8299c0517bafa1ec1be30f07cd
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I5548de0d7afb0e249ab8b6dbc93c102a2a2ac648
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
|
|
Change-Id: I77bcf667d4a639b001258d026f2633fce2bfb0e6
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
|
|
Core deployment type is a subset of previously used minimal override to
make ONAP deployment even lighter on resources.
It has been merged in OOM as: d7c495eeeaa3c24d355b9214bc7d0e59be9dd70e
(Change-Id: Ibaec41f088f11f7fb4e7c476f742d12d29c5740b).
This patch also updates documentation on resources required by this
setup and adds example usage of Operator's tools.
Issue-ID: ONAPARC-551
Change-Id: Ifdb1d158311ba3ed0b5cf407d07ce028d1a0162f
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-551
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Change-Id: I0e308d4486dfaa51e54bf69f79b85243766c397a
|
|
VM destruction ("vagrant destroy") failed in case RKE cluster had not
been set up properly.
Initial intention for this trigger was to leave Control and Worker VMs
provisioned even if Operator VM is destroyed.
Issue-ID: ONAPARC-551
Change-Id: I2b47c539e2517a7c72675924731a0186d1ae25c0
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
At least 40GiB disk is required for Worker VM to store all necessary
Docker images, otherwise it runs out of storage. VM resize can be done
only during its creation (see "machine_virtual_size" [1]).
VM data hashes no longer fitted in single lines nicely, hence they were
broken into several lines.
[1] https://github.com/vagrant-libvirt/vagrant-libvirt#domain-specific-options
Issue-ID: ONAPARC-551
Change-Id: Ib267fd8097b51f53565e0c8f3be7c86c2b3c68ad
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Previously allocated resources were underestimated. Devstack resources
will remain lowered until core ONAP instance is stabilized.
Issue-ID: ONAPARC-551
Change-Id: Id4eb6b2318b71b162f6a1ed6208482ebeb31fe5a
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Scripts "get_oom" and "deploy_onap" are more useful if an additional
parameter is accepted: external repository and deployment override,
respectively.
These parameteres will make testing easier and allow improving this
setup quicker. Previous behaviour stays as it was using default
argument values.
Changes in their invocations were meant to make ad-hoc modifications
more explicit.
SSH configuration from host machine is synchronized in case additional
access rights are necessary.
Issue-ID: ONAPARC-551
Change-Id: I585586f721457388ab30b089f2c25c4ad88ad4d3
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
This patch intends to avoid attempts to synchronize files to the VM that
have been mounted from it.
Issue-ID: ONAPARC-551
Change-Id: Ida9b13c5f109d3a05dd35e68f17e7898f23750c5
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-551
Change-Id: Ic22d32998ad0fc29867116827679e4c4181ba596
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
This patch also introduces (almost) empty directory to the repository as
a mountpoint for the synchronized files. Additional flag ("nonempty") is
passed upon mounting directory to ignore the sole file there
("operator/.gitignore").
Issue-ID: ONAPARC-551
Change-Id: I9187325a08cccb98b7335fcb320c2004ed26e7f3
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-551
Change-Id: I1a6f6b998df755734a9c32fbe86473a72a45aae0
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
This patch also clarifies which virtual machines are created within this
Vagrant environment.
Issue-ID: ONAPARC-551
Change-Id: I2ece1bbf77b147c74f745ddfb26bf80143ac95ab
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
It is required for plugins that are installed by copying sources to the
Helm directory.
Issue-ID: INT-1405
Change-Id: I4ed2708f4af1d745b7e1ffc687ae9674682c374d
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-540
Change-Id: I618fcd994f2c6575ee4e388a78606ec59ec4fd02
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
This patch changes "create_config.py" script interface and its
behaviour:
* by default anonymous Gerrit is used for repository cloning and code
URLS,
* external git mirror for code URLs might be provided but there is no
default one,
* SSH credentials might be provided for repository cloning.
Cloning repository using SSH is required due to current ONAP
infrastructure HTTPS bandwidth constraints.
User wishing to use this setup should provide two environmental
variables:
1) API_USER - Gerrit username for cloning repositories via SSH
2) API_KEY - Gerrit API key (User menu -> Settings -> HTTP Credentials)
Be aware that a new RSA key will be generated and added to the user's
Gerrit account for purposes of Hound code search operation inside a VM.
Do remember to delete it (User menu -> Settings -> SSH keys) after
evaluating this environment.
Issue-ID: ONAPARC-540
Change-Id: I3e98dfa8582322d5b3bbbbf377d748faea0da57b
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Code search service can be accessed from host using forwarded port
(i.e. at "localhost:6080").
Issue-ID: ONAPARC-540
Change-Id: Ia94956cfeca0af12a0f52ea43abae353c0ba8b1a
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
There are projects which do not provide git mirror for code URLs apart
from Gerrit's gitweb interface (e.g. OpenDaylight [1]).
[1] https://www.opendaylight.org
Issue-ID: ONAPARC-540
Change-Id: I48c26b81f4886a12e5cdc4dfbfc99538f180449e
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-540
Change-Id: Id1c8e94008752efd3d40d0e0eca44d81930c692a
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-540
Change-Id: I3d7f04379e31ab73964b8cc6184ca2e4413acb7b
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Complex is better than complicated.
Issue-ID: ONAPARC-540
Change-Id: I6dbc03166496049e92ff9401450b3ac563b3fb38
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Hound does not provide support for linking to source code in Gerrit
repositories. Support for cgit mirrors can be achieved by using URL
patterns.
Issue-ID: ONAPARC-540
Change-Id: Ib73b768d8a636680ab7e4d8d42463a16a9f45275
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Configuration is generated from Gerrit-supplied data.
Issue-ID: ONAPARC-540
Change-Id: I84d5b87580882926b916ed20dbcd2369be4c77f4
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
This patch adds build dependencies and builds Hound binaries.
Issue-ID: ONAPARC-540
Change-Id: I37b263b3e0c93a9ec08458ec2e08edd75b33d7b4
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-540
Change-Id: Ie7db4cb6925501fd44dc0372f0a1305463a7e7cc
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-537
Change-Id: I86f5db6331980bf7d7ea4074d6e0bbcc84843d3c
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
This patch prepares operator's environment for ONAP deployment (by
exporting environmental variables for use in helm override file). It
also fixes post-setup message regarding additional provisioning steps.
Issue-ID: ONAPARC-537
Change-Id: I18815578ddc46a2d5ef31d6cf44b42f9a5d3950d
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
This patch adds missing client tools ("make" for helm charts generation
on operator's machine) as well as the server side: local helm repo and
K8s service account.
Issue-ID: ONAPARC-537
Change-Id: I34bd5c9422dd1a5be0a1f235be3ee9598cc988c0
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
This patch also changes how resources are assigned to local
infrastructure nodes due to increasing number of specific cases.
Issue-ID: ONAPARC-537
Change-Id: I914b40508ab388b99d5f124ab1369b152a8ca765
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-537
Change-Id: I3b3d731ae016c78b3e00841157c69aded14635e2
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-537
Change-Id: If725843c3e5ee47724a98d70611cbde464b9debc
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-537
Change-Id: I6aeab5db440d35187db84bf6d2525fd61a8737c4
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Infrastructure mockup has been previously set up for CIS guidelines
checking. Empty Kubernetes cluster was sufficient for that purpose. It
will be adjusted to satisfy minimal ONAP requirements and should
eventually supersede previous testing environment.
Issue-ID: ONAPARC-537
Change-Id: Iada29d86642b8a5513e9d1bbd895db2094ad12b9
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Issue-ID: ONAPARC-537
Change-Id: I75e843794fa43af51e1a2674abede1394a384d15
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
In Dublin, the web application portion of VVP is being deprecated,
and no longer maintained. A command-line version will be retained
in vvp/validation-scripts, but there will be no deployed version
going forward.
Change-Id: I1d72ea2d9f31d65bec04bec9015cef90dbf267aa
Issue-ID: VVP-136
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
|
|
The vagrant-onap tool needs to be moved to its own repo to have better
control of versions and autonomy. This change removes the project from
integration repository.
Change-Id: I90bd4505a9fc7376c31a780aa1b833ee2663af3e
Signed-off-by: Victor Morales <victor.morales@intel.com>
Depends-On: I79df8c35fccaa266a789217d441a6cf1183bd42a
Issue-ID: INT-441
|
|
The SDC simultator mentions[1] the usage of ChefDK as part of tools
for installation/development. The installation process uses the /opt/
folder as destionation and it's affected by the sharing process. This
patchset changes the destionation folder for all the ONAP projects.
[1] https://git.onap.org/sdc/tree/utils/webseal-simulator/sdc-simulator/chef-solo/README.md#n4
Change-Id: Ib800c48864ce2cbe49e699a6d6e913be137af949
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: INT-214
|
|
Usually this function is followed by a run command, this change
ensure that docker-compose program is installed before its execution
Change-Id: Ic68616a1db1e3c5bee516985c74f369a956d6775
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: INT-436
|
|
|
|
There were some leftovers of variables used for pointing to the
project source code folder. This variables are not used anymore.
Change-Id: I355930f8ce6acbc31a1adca61741d7221dee196c
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: INT-367
|
|
Default vagrant provider was showing error for ubuntu/trusty64 or
ubuntu/xenial64 not found. This patch updates the default to
https://vagrantcloud.com which have recently been changed.
Change-Id: I069eae9370ecdf1483098528cee57d9b3e81a41b
Signed-off-by: Manjeet Singh Bhatia<manjeet.s.bhatia@intel.com>
Issue-ID: INT-434
|
|
Change-Id: I632b6b8c8c32fe5fd3cab0e7bf6aaf5cb2026cd0
Issue-ID: SDC-821
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
|
|
The scope of the setup_libvirt.sh script was limited to cover only
the installation of libvirt dependencies, this change pretends to
cover the installation of vagrant and virtualbox and/or libvirt for
different distros.
Change-Id: I1ffd4478046cb64ad164f88d9bab078f246f0677
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: INT-370
|
|
The SDC simulator thru the port 8285, this change allows to accces
it using localhost url.
Change-Id: I008635047443c11e298e4d15c4d2314b514f8e2f
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: SDC-993
|
|
Signed-off-by: Manjeet Singh Bhatia<manjeet.s.bhatia@intel.com>
Issue-ID: INT-416
Change-Id: Idd88e2c4fed40cd082d467e9e96570334c09f491
|
|
The variables and instructions of SDC script were out of date.
This change includes the usage of "src_folders" variable besides
the simplification of the process.
Change-Id: I557b2a9a2a2ed567003230febfae56a043a2e9e2
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: INT-16
|