Commit Graph

34 Commits

Author SHA1 Message Date
Ayumu Ueha 054b05a35d CI: Fix breakage following devstack changes
A recent devstack change [1] has dropped all KEYSTONE_AUTH_* variables
except KEYSTONE_AUTH_URI. Use KEYSTONE_SERVICE_* variables instead.

Another change [2] switched off the creation of an admin endpoint for
keystone, which we need. Get or create it again until we update Fenix
to stop using it.

Update service name/type and endpoint URLs accordingly.

[1] https://review.opendev.org/c/openstack/devstack/+/735472
[2] https://review.opendev.org/c/openstack/devstack/+/777345

Change-Id: I3c876344b4d29d3de536910f2997a57ab1d2d320
2021-11-09 10:36:28 +00:00
Tomi Juvonen bd0810495f Administrator quide and other documentation
Some details of how to take Fenix into use.

Change-Id: I820aae66ba4bd0ce500c2d6797d852bbf39ef895
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2020-04-22 09:49:20 +03:00
Tomi Juvonen 244fb3ced0 Detailed session information and enhancements
- Add GET /v1/maintenance/{session_id}/detail
- Add 'maintenance.session' event. This can be used
  to track workflow. It gives you percent of hosts
  maintained.

Other enhancements:
- Add Sample VNFM for OpenStack: vnfm.py
  (Kubernetes renamed to vnfm_k8s.py)
- Add Sample VNF for OpenStack:
  maintenance_hot_tpl.yaml
- Update testing instructions (tools)
- Update documentation
- Add more tools for testing:
  - fenix_db_reset (flushed the database)
  - set_config.py (set the AODH / Ceilometer config)
- Add admin tool: infra_admin.py
  This tool can run maintenance workflow and
  track its progress
- Make sure everything is written in database.
  If Fenix is restarted, it initialise existing
  'ongoing' workflows from database. More functions
  to database API and utilization in example workflows.

story: 2004336
Task: #27922

Change-Id: I794b11a8684f5fc513cb8f5affcd370ec70f3dbc
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2020-04-17 13:05:21 +03:00
Tomi Juvonen 4d1a100ba7 Kubernetes workflow
- Add Kubernetes workflow
- Add Sample VNFM to test against
- Add sample application (VNF)
- Add testing instructions
- Update documentation

Details in: fenix/tools/README.md

Also fixes to:
- Api error handling
- Exceptions
- DB API
- some other minor bugs.

story: 2007301
Task: #38778

Change-Id: Ia37dfe7ea57935e73868da89aaa9a413721078ad
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2020-03-13 12:42:56 +02:00
Tomi Juvonen d6f1f7bc2d Ability to continue failed session
-API to update session state after session failed
-Thread exception passed to parent
-Session DB knows previous state
-Changing state will save previous state to help
 continue session after a failure
-API error codes documented better

Story: 2005583
Task: #30772

Change-Id: Ifd5eb29a1d3d969b2d9b9648d823e80b435f7cb3
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>PI schema validation
2020-02-12 16:04:09 +02:00
Tomi Juvonen 76fdc1aba5 API schema validation
Story: 2007278
Task: #38717

Change-Id: I7a6fc62e8f2c0c3cc21560f9f889d0fe136ca33e
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2020-02-11 11:24:28 +02:00
Andrea Visnyei 76f3de1a28 Moved link to specifications
Removed link to specifications from main ToC and added link to overview.

Change-Id: Idf96df62fce0fbd6dd5193809e7fff21b2a75806
Signed-off-by: Andrea Visnyei <andrea.visnyei@nokia.com>
2020-01-28 14:40:14 +01:00
Edit Koselak 2eee99ae4e Capitalization
Capitalization of "Fenix" and minor editorial changes.

Change-Id: I5a66a9ad1a9d0bf89cc3faa9920f08d97d378b08
Signed-off-by: Edit Koselak <edit.koselak@nokia.com>
2020-01-24 11:09:56 +01:00
Edit Koselak 24ccf9e835 Documentation restructuring
~ Installation next steps removed
~ Contributor documentation directly linked from index and renamed
~ Notifications moved to the users guide

Change-Id: I806d15ce02644de07e47ad3f7158d478b1754204
Signed-off-by: Edit Koselak <edit.koselak@nokia.com>
2020-01-24 10:26:00 +01:00
Tomi Juvonen 237e4ed0c9 Documentation changes for VNF workflow implementation
- New VNF workflow
- ETSI FEAT03 changes

story: 2006838
Task: #37843

Change-Id: I2cdcbbb3f68a71004e59427c6c1a48e38d4ae2cb
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2020-01-13 12:25:03 +02:00
Andrea Visnyei e815519d6a Fenix service description
Added description of fenix service to install guide main page.

Change-Id: Ie31ba9f018173c928fac0874f43d437123fbbe45
Signed-off-by: Andrea Visnyei <andrea.visnyei@nokia.com>
2019-11-15 15:54:46 +01:00
Andrea Visnyei eb74b0bd9d Readme enhancements
ToC and README have been improved.

Change-Id: Id136eb1c2690e25c39c51a8fca1e631fb25835ae
Signed-off-by: Andrea Visnyei <andrea.visnyei@nokia.com>
2019-10-25 10:59:44 +02:00
Zuul 949dd04392 Merge "Sync Sphinx requirement" 2019-10-14 03:13:56 +00:00
jacky06 b2c1cf7a4c Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest

Change-Id: I35c087c9da9ea68fe586b6d21a94614d15954354
2019-10-09 05:29:22 +00:00
Tomi Juvonen bbb190df1d Spesification to implement ETSI
Specification to start implementing ETSI FEAT03: NFVI software
modification.

story: 2006557
Task: #36646

Change-Id: Iab16f95766e3bb81f072a97ea76921a030fbe3e0
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2019-10-01 02:36:15 +00:00
Tomi Juvonen cc55962d52 Flask to WSGI and security
This adds a lot of stuff related changing from API from Flask to
WSGI and adding security.

This is mostly api side. There will more changes to add testing
and engine side changes. API parameter validation can also be
done later.

story: 2004882
Task: #29163
story: 2003844
Task: #26635

Change-Id: Id373440affd2d625933da2a6dbeb6354acd75e1e
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2019-06-27 16:09:19 +03:00
Tomi Juvonen 6ca4e203ca Update install and configuration instructions
Low hanging fruit not done by this patch set:
- Add more default option to be set in devstack/plugin.sh
  - wait_project_reply ... live_migration_wait_time
Other thing one can pick up not done by this patch set:
- Add oslo-config-generator support to tox
  - Add etc directory that will be used for this
  - Modify code where config is set to work with this
  - Use resulting conf files to have those documented under doc

story: 2005166
Task: #29899

Change-Id: Ic2e76d4f054f1666726cfc1b4f2c945393d3c8a9
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2019-05-28 07:51:17 +03:00
Tomi Juvonen a232dda364 bug: Download document nits
Change-Id: I4c17ee0d3c0f7a56d562604469ee3808861af9a3
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2019-05-02 22:52:41 +03:00
Tomi Juvonen 3d5eae4b47 Update download related documentation
story: 2004147
Task: #30690

Change-Id: I993ad8b617a86279beca8ddae8ec06a139c601f4
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2019-05-01 19:38:28 +03:00
Gergely Csatari e1e8cc5d01 Adding sequence diagram to Architecture
A high level sequence diagram is added to the Architecture page to
illustrate the workflow between Fenix and the app manager.

Change-Id: I51220cdc64eb34d0f60c5425c654efae76f9f624
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
2019-04-29 23:33:02 +02:00
Tomi Juvonen e09d981c59 Update action plug-ins documentation
Change-Id: Ibdaa659c683907f0b4cb690222f814c16858ee35
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2019-01-30 05:45:31 +02:00
Gergely Csatari 2a3d09cb49 Using os-api-ref 1.6.0
This version of os-api-ref supports visible method
names on readthedocs.org.

Change-Id: I78298eb2788c3f48a8175a84a6f343b33e4c8b51
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
2018-12-12 11:09:08 -08:00
Gergely Csatari bd5238a330 Removal of the original API documentation
This change removes the original API documentation and
moves the os_api_ref based one to its place.

Change-Id: If1ebfc434c28a0bf4be05f09bd3b0260d1ffd2b9
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
2018-11-26 10:49:50 +01:00
Gergely Csatari b3b534de79 Building api documentation with os-api-ref under the doc folder
This change adds the usage of os-api-ref to the building of the
API documentation, but under the doc folder, so it is possible
to publish the result to readthedocs.org.

This change replaces [1] until the documentation is published
to readthedocs.org. Once Fenix becomes an official OpenStack
project [1] can be implemented.
For the moment I will abandon [1].

[1]: https://review.openstack.org/#/c/616868/

Story: 2004292
Task: #27862

Change-Id: I3144f812d0afd41d500ec7cd8fd4ba1d9c202366
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
2018-11-21 09:55:53 +01:00
Zuul f990b57944 Merge "Adding an explanation of action types to the API docs" 2018-11-16 07:01:23 +00:00
Gergely Csatari 8354080f0c Adding an explanation of action types to the API docs
Change-Id: I41b6c2cd64ed2fa1b662c014ba79588b1d550737
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
2018-11-15 17:30:14 +01:00
Adam Spiers 416086f4c3 fix 'desing' typo
Change-Id: I7878d37e40370a96b8ad91b05fdd63817ccfb0cb
2018-11-15 17:23:08 +01:00
Zuul 51ef3aca3e Merge "Bug: correct manger to manager" 2018-11-13 16:49:47 +00:00
Tomi Juvonen cf4c6427f4 Bug: correct manger to manager
Change-Id: If0d98cf134c49707689808da824e28419efc5518
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-11-13 18:20:21 +02:00
Zuul 7c3c11652a Merge "Add Fenix architecture documentation" 2018-11-13 08:26:38 +00:00
Tomi Juvonen d52ea93ce0 Add Fenix architecture documentation
Story: 2004292
Task: #27875

Change-Id: Ifeed52ea6046372da6d44d3d58a38070a8d897da
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-11-13 10:11:15 +02:00
Tomi Juvonen 1f19f30aab Add Fenix notifications to documentation
Story: 2004292
Task: #27845

Change-Id: I610fb687c97a16a323f29344bbc744276f65d5c6
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-11-12 12:56:18 +02:00
Tomi Juvonen ee4b644aa5 Adding API documentation
Story: 2004292
Task: #27844

Change-Id: I785e3dc9df15e0feab2b949ec0927ed4fd8612bc
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-11-12 08:30:12 +00:00
Tomi Juvonen f82511385e Initial Cookiecutter Commit.
Inital commit with minor changes after Cookiecutter

Change-Id: I74f7dca5fa4abc0ae6cfc798f2a5e8fc72895bc1
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-06-27 12:30:02 +03:00