Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I6adaa992fe9c2411025eb28edafef83b506bac29
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Fixed pylint issues for categories len-as-condition, using-constant-test,
undefined-variable and reimported.
Change-Id: Idad710958c3ca0ac6da78fb4709da03e5f079b34
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
'cmp', 'file' and 'unicode' functions are Python 2
specific.
Change-Id: I30fa091ef157453a328ab40e4186c30e5ed1b3a1
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Reported by pylint.
Change-Id: I9d5ee152f3587bb2d7e8abee919e4ffe47d8ae85
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I8b1dbdb7bf5d2d12d0104dcabc200b8827b6fb8a
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Unused imports are removed according to pylint report
or ignore rules are added where applicable.
Change-Id: I8c32b5c3f456f0444f8ec8980910d470b7238a7d
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: I408107e0dc58648f833b8d585acf0e414882c7dc
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
|
|
Change-Id: I5548de0d7afb0e249ab8b6dbc93c102a2a2ac648
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
|
|
Change-Id: I592a6bf393007612c263f6e54aabfcdb6738141a
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1427
|
|
This is a basic setup for tox that will run pytest tests
Change-Id: Icb15fbd30d7c13694866f447cd448a07195f4573
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1427
|
|
Dependencies definition is moved to setuptools so that
they can be consumed by both - vcpe automation scripts
setup and by testing framwewok.
Change-Id: Id9cfda52afc3527d2cd3be8cfcf3f82539468261
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1427
|
|
Additionally clouds.yaml.example is provided with integration
lab cloud settings.
Change-Id: I214217e5b239303c4485c855cdf81bd0250de6e5
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1409
|
|
clouds.yaml is a default cloud configuration file for
openstacksdk library. Using it deduplicates cloud
settings from vcpeconfig.yaml and makes CI setup
easier.
Change-Id: Iaf81bcaa3c27dae7c1619690da45e6b7feee7768
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1409
|
|
Change-Id: I43b160cfc3d087a0e8b70c9fb4cafa3626f84db8
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
|
|
Change-Id: I9ec950413f323e6ed6dfb075f16b67d925ece047
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
|
|
Change-Id: I75028c59109a9db902f7869ab1b987cc0c02e321
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
|
|
Superfluous VcpeCommon object instantiation in 'test'
routine in Preload class was removed.
Removed meaningless vcpecommon namespace import.
Change-Id: I68c8604b12ffc760ab8ed4c53af586a5ca2572c7
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
|
|
Change-Id: Id23f6fa50fdbeb103fb91514d9093163d07b9246
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
|
|
Change-Id: I69e1385e0b7ef51ed372387b08b5c59c4e52c66a
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
|
|
Vcpe settings that were hardcoded in the VcpeCommon
class definition are moved to a configuration file.
Change-Id: I6733c6da5fc1977f67c4bd393bfa6fec0798971b
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
|
|
Settings from config file will be assigned directly
to VcpeCommon class' object attributes.
Change-Id: I3cd31077c04de6bacf6dc2365837405a1aa5f6cc
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
|
|
VfModuleModelInvariantUuid no longer needs manual
assignment, it will be gathered from service csar
at runtime.
Change-Id: I5d0da822dd4ce7b574dae8ce80db2a2d1e5de297
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1389
|
|
Change-Id: Ia1fe923f877cf76e51bcc1f23c9bf562a877b112
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: TEST-222
|
|
Customer service workflow entry will be automatically
inserted into catalogdb database if running with
oom_mode set to True.
So database endpoint properties were updated to
reflect current catalogdb location.
vCPE doc updated to reflect the changes made.
Change-Id: I54ef0bf94ccf2d38501c1b854cafe4d388a4b35d
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: TEST-205
|
|
Change-Id: I0e31cc0a0a71a08a74ec56f4aa17321eb8d8c7ba
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1345
|
|
This change automates the process of updating
region data with identity-url
Change-Id: Ibda9ac8d1bbe1a489d496a5f293aafdebb73d416
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: SO-2308
|
|
Sdnc db port was also adjusted as there's no sdnc-db
service anymore (since OOM-1651)
Change-Id: I154463224777f6fd76f5380253aa9130224fe3e4
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1365
|
|
It can be True only after DGs are updated
for GRA-API infrastructure.
Change-Id: Ibda82ae14680387e07c5bd5525259b7cc9dfd092
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1345
|
|
Globally disable InsecureRequestWarning coming
from requests library for both pre 2.16.0 and
for >= 2.16.0 versions.
Change-Id: Ibf4e749086265e8726e90a2f8b4c1c9df3b2c55d
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: TEST-227
|
|
Issue-ID: INT-1345
Change-Id: I18c48a9f716c3a4c0bd6e7756f5df325aaee39e3
Signed-off-by: Brian Freeman <bf1936@att.com>
|
|
Updated after testing in integration-release-daily
Issue-ID: INT-1345
Change-Id: I61410e97d244ec7a736722727e11764fb5f3f5a9
Signed-off-by: Brian Freeman <bf1936@att.com>
|
|
Conditional exits on failures should return
with non zero exit code for better behavior
in testing pipelines.
Change-Id: Ied2e699a2cd38cc741e6d9d9a5c88082f09fa549
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: TEST-226
|
|
This ensures that subsequent 'vcpe.py init'
invocations do not complain about duplicate
entry in sdnctl databse (entries are not
reinserted, INSERT statement is just noop in
this case).
Change-Id: I8def8eab1e04026e8ee2206aa11fe2644b35d609
Issue-ID: TEST-222
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
List of host names to iterate over in search for
a vm ip in get_oom_onap_vm_ip() should be identical
to the globally defined host names.
Change-Id: I60e1a2d77d683b81ae480499ce357dd812e8694f
Issue-ID: TEST-225
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I454d21fe90511d20e1e25a62bb2943ccd59e52c6
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1325
|
|
Vcpe scripts should be run from Rancher node
where it has direct access to k8s cluster ips
and service endpoints so that calls for oom_mode
to be set to 'False'.
Change-Id: I8edc0f363d7d32f28b070b0de87a3e2eab8223ff
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1339
|
|
This patch automates SDNC ip pool generation in
sdnctl database in the scope of vcpe.py 'init'
stage.
Change-Id: I6322ff2dadb069991be0eddbb0cf415baa7984f6
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: TEST-222
|
|
Onap namespace and environment name can be distinct
on a per deployment basis and this allows to set
them accordingly.
Change-Id: Id1b6fdc4f3b4c159117536187197cb308527f8d2
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1323
|
|
Curl package will be automatically installed be the
healthcheck-k8s.py script.
Change-Id: I7fc5579524c7519f6153b02d0de0000dc0138992
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1313
|
|
Issue-ID: INT-1265
Change-Id: I7c36dc479b73a8b663cae4472ed29182d0f6672b
Signed-off-by: Brian Freeman <bf1936@att.com>
|
|
Script is now more generic and allows proper setup
of vcpe scripts runtime environment on Ubuntu 16.04/18.04
and on Centos/Rhel 7.6.
Change-Id: I7b7d944f5a6a7a9dc45921082f908a1f8aa185a1
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: TEST-203
|
|
Change-Id: Id2b7ec151e1a006a5a85b8544e478fd9cf282715
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: TEST-220
|
|
Added a library routine to set up CL policy
in an idempotent fashion.
Description of CL pushing related manual step
was removed from documentation.
Change-Id: I1fad5d71481252ce803dd58c6ccbbcfa0a4d246f
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1267
|
|
Issue-ID: INT-1265
Change-Id: I4ea7bf282b7d8aad58645784317dea9edf373cff
Signed-off-by: Brian Freeman <bf1936@att.com>
|
|
Issue-ID: INT-1265
Change-Id: I64971740c8ae9aee60a06ca1d0e5ff02ccbc9a88
Signed-off-by: Brian Freeman <bf1936@att.com>
|
|
Error reporting was improved by returning actual
error message from subprocess call to 'kubectl' command.
Code readability was improved by defining a dictionary
of endpoint names to check and their IPs.
Unsecure 'shell=True' property in Popen constructor for
kubectl command in SDNC DB was removed and command string
itself sanitized.
Overall code readability was improved by reusing common
commands in a loop.
Change-Id: I19f8f71e27196bb55a9be3d58cd0885ceba3af0c
Issue-ID: TEST-213
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
headbridge -> heatbridge
Change-Id: I49cc3af80b74a9d03612625be2a35e039e6d28e1
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: DOC-549
|
|
Sdnc pod name is set as a property in VcpeCommon
class and it should be used across the script.
Also removed hardcoded public net prefix in
get_pod_node_public_ip and use class property
where it's assigned.
Change-Id: I0308c808a764ff114fc43591aed34d9695207fe5
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: TEST-212
|
|
Following params are needed minimum required to be changed or
cross-checked when vCPE is tried in different lab
Change-Id: I911acc682560c9a727d2e14ae1d4a22206d6e6f8
Issue-ID: TEST-208
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
|
|
Change-Id: Ie06109bb5c62d4132a5db8c6cfeb9d4c297d05a5
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: TEST-208
|