As we agreed, drop lower constraints test from stable branches to avoid
difficulty of maintaining package depencencies for the recent pip
dependency resolver.
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: Ib2f5d298e7cae60361f21a0eb111b6eb8b7bddfa
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.
Until the requirements repository has as stable/victoria branch, tests will
continue to use the upper-constraints list on master.
Change-Id: I22fdd8156e50c38afb8da15445785ac86f196f89
Currently in tacker, deleting the NS that already exist
has a problem like below Closes-Bug #1892151.
It has positional arguments error with command:
openstack ns delete <NS> (--force)
tacker ns-delete <NS> --force
because of client interface problem, so correct the
client's pyhton function delete_ns()
Change-Id: I7e100b065dbfb4503a5a45b10d3a962a4af36d76
Closes-Bug: #1892151
Currently in tacker, updating the VNFFG that already exist
has a problem like below Closes-Bug #1894945. To fix it,
add argument of '--param-file' and it works properly
Change-Id: I3f71c187fade9cd8b69a7131f274872975adf17c
Closes-Bug: #1894945
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: I8d8db92664383e014dda76a4e7780628b72602fb
Fix some exception messages because some exception messages are not
outputed as expected.
In addition, the codes that seems to improve readability by explicitly
specifying the arguments are also modified.
Change-Id: I425d15ea9f5a3d0b6132ffd03cb577e583239c3a
Closes-Bug: #1881510
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I1bae5d2d97304b81588ce059916326e1117136e3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Co-Authored-By: Hiroo Kitamura <hiroo.kitamura@ntt-at.co.jp>
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Iafe611a36e17869bf17f5b2c016ef7c22fb36eb3
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I6c1b4cad7cd112688b1955e2ef5243300fd1851e
To fix the issue because of using deprecated method in python3, replace
iteritems() with items().
Change-Id: If3136a5ba471d2cd7ea9420b599567a2fa532cad
Partial-Bug: 1872120
If user list vnf packages with --exclude_default option, it should
display all attributes except default set of complex.
$ openstack vnf package list --exclude_default
Expected fields:
'id', 'vnfProductName', 'onboardingState', 'usageState',
'operationalState', '_links', 'vnfdVersion', 'vnfProvider',
'vnfSoftwareVersion', 'vnfdId'
Actual fields displayed are:
'id', 'vnfProductName', 'onboardingState', 'usageState',
'operationalState'
Fixed this issue and now it will display fields as mentioned above in
expected fields.
Closes-Bug: 1875330
Change-Id: I61da40d2e6e7e42999b7ab2d2441cddde64118d9
Display show command data in human_readable format for better
readability for complex attributes of vnf instance like
'vimConnectionInfo', 'instantiatedVnfInfo', '_links'.
Please checkout below link to see the difference in vnflcm show
response data before and after resolving the issue.
http://paste.openstack.org/show/792866
Change-Id: I52684618f7042f5566ea3bed7255d17d2fd61df2
Display show command data in human_readable format for better
readability for complex attributes of vnf package like 'softwareImages',
'checksum', '_links' and 'useDefinedData'.
Please checkout below link to see the difference in vnf package show
response data before and after resolving the issue.
http://paste.openstack.org/show/792305/
Change-Id: I4827437461fd42b4da8a90d7f8ef703625c78cf5
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I23b6c3edbe52cb6bb4df40d08547a7bd658e1146
Sem-Ver: feature
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I7a43ff6d91bad919dcaa450e66ef492a1d3a03ef
Added command support for downloading csar vnf package contents.
Change-Id: I6371ebdf0dd9d127ca88bcd721a31036d11ea5fc
Implements: bp enhance-vnf-package-support-part1
Added command support for fetching VNFD of the vnf package.
Please see results here:-
http://paste.openstack.org/show/789212/
Change-Id: Ifa15ddf7ff306ed2705cf7a170d9e9f512491fba
Implements: bp enhance-vnf-package-support-part1
Added command support for updating vnf package.
Please see results here:-
http://paste.openstack.org/show/788463
Change-Id: I0cd32d531db569b7013332fcfaaaefde403e7aed
Implements: bp enhance-vnf-package-support-part1
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: Id4de4bb72bd40cdcd9eef53fe9ea9dba855c0a5a
Added a new command ``openstack vnflcm heal`` to heal vnf
instance.
Blueprint: support-etsi-nfv-specs
Change-Id: I31165e1def0a53a56e1fcefd1877630712bfab5e
Added a new command ``openstack vnflcm list`` to list the vnf instances.
Blueprint: support-etsi-nfv-specs
Change-Id: I4ef7ac0dd4d4744c74ceb13df6b4438a090ac72a
Added a new command ``openstack vnflcm create`` to create a new vnf.
Blueprint: support-etsi-nfv-specs
Change-Id: Ia90955df6ac141661c3d58e4de4e098c4cb51aab
assertItemsEqual was removed from Python's unittest.TestCase in
Python 3.3 [1][2]. We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.
[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - testing-cabal/testtools#286
[4] - testing-cabal/testtools#277
Change-Id: I1d77929d26af29e5d060eefdac85a5da2dd145d6