5 Commits

Author SHA1 Message Date
Rafael Jordão Jardim
bc34618d83 Python 2 to Python 3 compatibility
The changes of https://review.opendev.org/c/starlingx/config/+/782575
was used to test the cgts-client, so it is need to be merged first.
Removing python-neutronclient because this dependency is unnecessary,
it was removed by copying a few very small utility functions from
python-neutronclient into the cgtsclient.

Development: When I was trying to find things to modify I followed the
approach of build the client, get the tar file, I set up 2 environments
one based on python2 and another python3, I installed the tar client
in both environments and i exported the env vars that the client expect
to get to request the controller, and doing that I could switch between
the two python and indentifying what I should modify.

Test: After all the modification I built an ISO and I installed that
to run some commands and check if my changes got any side effects. After
that followed the procedure to update the remote CLI docker image and
insert the updated client there and I test this new image in the
remote CLI.

Story: 2007106
Task: 42268

Depends-On: I5086832605752bdb00a40a24596494c8fd987692
Signed-off-by: Rafael Jardim <rafaeljordao.jardim@windriver.com>
Change-Id: Ibf919260693f1cbe99993d1de01ecf785d604839
2021-04-16 07:09:21 -04:00
Saul Wold
9bdfbe8942 Update opensuse RPM spec-file version to 1.0.0
Standardize the version numbering to X.Y.Z

Story: 2006623
Task: 37134
Change-Id: I13b320ed57840064e2bca3cdf8aa7f2f2b1534c8
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-10-16 14:54:29 -07:00
Saul Wold
7a5b6e9555 Add rpmlintrc for openSUSE Build System (OBS)
These files will be extracted by the _service file that is managed
by OBS.

These do not affect the CentOS build

Story: 2006723
Task: 37133
Change-Id: Iec8329ca2c7d6442cd41436c291eae79326052fb
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-10-15 07:57:15 -07:00
Saul Wold
966052d159 Add spec & change files for openSUSE
These will be used with the Open Build Service (OBS) an _service
will be used to automagically generate the tarball.

OBS is a generic system to build and distribute binary packages from
sources [0], StarlingX OBS Project:
- Cloud:starlingx:2.0 [1]

[0] openbuildservice.org
[1] https://build.opensuse.org/project/show/Cloud:StarlingX:2.0

Story: 2006508
Task: 36650
Task: 36651
Task: 36652
Task: 36653
Change-Id: Ie59e8403a6f3173a678f5fd1cd5cf03df4a7e961
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-09-17 13:04:55 -07:00
Erich Cordoba
44aa1fd4a8 Add cgts-client specfile for opensuse
Story: 2006508
Task: 36499

Change-Id: Id2d6a7d574422f73205a40b1f40a5d23c8dbe628
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-09-08 09:27:46 -05:00