Commit Graph

127 Commits

Author SHA1 Message Date
Nisar 247eb845f5 Add Antelope Support
Change-Id: I2f8045476c96e575d92a9bb66868622f7341cecc
2023-04-17 09:50:09 +00:00
Sayali Naval 8c956fe3d8 Add support for zed
Change-Id: I87953ed4a1640e26f1f35a97976bd1643e21108b
2022-11-28 14:29:12 -08:00
Pulkit vajpayee 3e823ad3dc fix launch instance GBP issue
Change-Id: Ieb10c59d4b06c56e4cfde9f80c34d17b6bf9eb74
2022-07-20 11:49:16 +05:30
Pulkit vajpayee a0a4d7efbf remove legacy servicechain code
Change-Id: I1078e4519f52c160d0acdbfc99e019c1b0e7d73f
2022-07-05 05:01:11 +00:00
pulkitvajpayee07 2fa82d0219 Add support for yoga
Change-Id: I61be9949c973f2430556888b37f7f02c1f390a30
2022-04-13 12:29:09 +05:30
Thomas Bachman c444b81021 Python2/3 compatibility changes
Results from running 2to3 tooling.

Change-Id: I655fdf93635b70157595ca7b37352caad41c2b4d
2022-02-17 12:59:17 +00:00
snehal Tembhurne 3f52901e8f Add support for xena
Change-Id: I0850d7e1a154ee6485f9772b7baaa688650481a3
2021-11-30 04:34:01 -05:00
sbagalur f6366fad7b Add support for Wallaby
Change-Id: Iae2c439d6edbcc5862ad9a9d7fe5585687407566
2021-06-10 11:27:43 -07:00
Thomas Bachman 5435dcdc99 Fix upstream gate
Change-Id: If612907b1c166e0430a00b4b1d6deaf1d2c763ee
2020-12-17 14:56:37 +00:00
Sean McGinnis 387ff24979 Remove mox3 from requirements
Mox3 was listed in requirements, but it not actually used
anywhere. Removing it from test-requirements so it does
not look like it is being used to help with removal from
global-requirements.

Change-Id: I1273ece298ac3de3e372ba23b6e999c858402ff3
2020-12-04 14:15:24 +00:00
Thomas Bachman e87fe5c83a Fix python namespacing
Use namespaces when referencing python packages. Also, as per
https://review.opendev.org/#/c/527320/, replace all references to
django.core.urlresolves with django.urls.

Change-Id: I6460d0734aa11ffa44f259baa7155d2a202f7162
2020-12-02 12:29:13 +00:00
Thomas Bachman 7358921b34 Add stable victoria
Add support for stable/victoria

Change-Id: Ib40edf3debf91fd894202cb372ebf44e28e47ba1
2020-10-15 22:42:46 +00:00
Thomas Bachman bd0b04bf10 Add support for ussuri
Add support for stable/ussuri branch

Change-Id: I24fd7eac29d034a44499210fa9751044eabcecf5
2020-09-03 12:04:24 +00:00
Thomas Bachman 4d2ff45a47 Fix master/train gate
The initial checkin of the stable/train branch referenced the
wrong stable branch (stein) in the gate jobs. This patch fixes
that.

Change-Id: Ia54a1de30683f7f448f3708ce0b04fb5293a2653
2020-09-02 14:30:11 +00:00
Thomas Bachman f4ecc17768 Add support for train
This adds support for the stable train branch.

Change-Id: I475427b10a0f0b7f057746ecbd31089a2aa0b7e3
2020-08-27 18:22:13 +00:00
Shyam Singh 8ce07e7201 Upgrade for stable/stein branch
* Updated 'test-requirements.txt', 'tox.ini'  with relevant
        'stable/stein' branch libraries.
    * Added zuul jobs w.r.t. 'stable/stein' release.
    * Used 'coverage' library for coverage.
    * Added 'python3' as basepython for pep8, venv, coverage.
    * Added 'doc/requirements.txt' file for pep8.

Change-Id: I5ca248f31d1b6f2afaf484ce19fcf0e96f35119f
2020-07-17 05:08:24 +00:00
Shyam Singh 7d04600361 Upgrading for stable/rocky branch.
* Updated integration tests argument in 'run_tests.sh'.
    * Updated 'test-requirements.txt' w.r.t. stable/rocky branch.
    * Updated zuul jobs w.r.t stable/rocky constraints.
    * Added 'django-appconf<=1.0.3' library for py27 compatibility.
    * Added 'wheel' library to avoid "invalid command 'bdist_wheel'"
      error.

Change-Id: I9e1cb06908c0739432518db8b683666dc8b4c841
2020-06-18 15:34:35 +00:00
niteshk4 509d27eb55 Added Python3 support.
* added tox environment variable for python 3 (py35,py35dj111)
 * updated the support python 3.5
 * Added .zuul.yaml file

Fixes bug 1878181

Change-Id: I6ca151c7fe5007bad05c11393d0b8f96cf19d926
2020-05-16 15:08:54 +00:00
OpenDev Sysadmins 71d6ebce27 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:20 +00:00
Kent Wu 7b8a28dcf7 Add 2 more conditions for juju setup while launching the instances
Change-Id: I03543ab08db69991db6c6cb98fe40c7c6f0c0fdf
2018-09-25 10:14:40 -07:00
Kent Wu 251057c65d For Queens sync
Change-Id: Ie92b7ac370252616e1c68e79d742c836f06f75aa
2018-09-11 15:13:54 -07:00
Sumit Naiksatam 9ddc2346a0 Fix patching of create instance dialog (part trois)
Previous patch fixed the form but did not fix yet
another bug in the original implementation of the
patching of the create instance workflow. Namely,
the patched logic was always assuming the need for
a PTG, and would override the supplied network
arguments. This is being fixed here.

Also caps the cmd2 dependency whose latest version is
incompatible.

Change-Id: If0fff67cd2b811853a632055d1609b6057769bb8
2018-05-30 03:40:54 -07:00
Sumit Naiksatam 93abeefbbb Fix patching of create instance dialog (part deux)
Patching of the create instance dialog needs to happen
only when invoked from the GBP "create member" workflow.
An earlier commit c0f6597c7f
fixed this for launching from the Compute menu but left out
the launching option from the Network Topology (under
the Network option).

An attempt was made to change the logic in a way that the check
happens for the GBP URI (instead of the logic to check for all
other URIs from where it can be launched), however that did not
work. Hence the comment on evolving to a more resrtictive logic
has been preserved in the code.

Also fixes tox.ini

Change-Id: If124971c1954cb85fce244440e2408cd58ced3e6
2018-05-24 21:14:00 -07:00
Sumit Naiksatam c0f6597c7f Restore network/port options for create instance dialog
An earlier commit:
d86c6ea3cc

patched the "create instance" dialog such that even when
its launched from Project -> Compute -> Instances, the "GBP" workflow step
is shown instead of the expected "Networks" and "Ports" steps. The former
should be shown only in the case when the dialog is launched from GBP and
the original behavior should be preserved when the dialog is launched from
Compute. This is being fixed here.

Change-Id: Ie9af2cca451942d51ea254bdf14bc2345743f938
2018-01-30 16:48:12 -08:00
Sumit Naiksatam 99332501f0 Django and Horizon deprecation fixes for Pike
This fixes a number of issues which were found during
testing (GBP UI is broken without these fixes):

1. Convert present/past action to methods

Table data_type_singular and data_type_plural attributes are
deprecated. action_present and action_past strings are also
deprecated. They are all being converted here.

Changes made per commit in the Horizon:
c393a6651f

2. Fixes to allow use of Django 1.11
There were some undocumented widgets used in Horizon, and in turn by us,
that were cut from Django 1.11. We are restoring some of the utility
methods that were dropped, but we are still using.

Changes based on the commit in Horizon:
52150749a6

3. Drop Django 1.7 vestiges
url template tag is no longer required to imported from the future template tag library.

Changes based on the commit in Horizon:
f2b2289b4a

Change-Id: I424cdaedd04ef9e887e34a09478e2c572d1ffd78
2018-01-26 19:36:54 -08:00
Sumit Naiksatam 24b6d51aa6 Pike sync
Change-Id: I096e1e08f7c084611f3ef81f30d88e306b4d541b
2017-12-29 19:43:09 -08:00
Marek Lycka d86c6ea3cc Unifies the compute and GBP member launch modals
Modifies the create member button in group details to use the compute launch
instance AngularJS based launch dialog. The dialog itself is changed through
the Angular API to replace standard networking pages with a group setting page.

Change-Id: Ib9f5b601939ed9e8258e4eab2f2180efc98378ae
Closes-Bug: 1582457
2017-09-29 10:20:57 +02:00
Zuul 84cac65360 Merge "Replaces multi select combos with transfer tables" 2017-09-28 23:54:15 +00:00
Marek Lycka cf76c87cc7 Replaces multi select combos with transfer tables
Implements an angular-python bridge that allows django/horizon forms
to use transfer tables (as seen in other parts of horizon, e.g.:
computes launch instance dialog) as form fields. These fields are
then used to replace the multi select combos boxes in the different
GBPUI dialogs/forms.

Note 1: The add and remove policy rule set actions in group details
"Provided Policy Rule Set" and "Consumed Policy Rule Set" are currently
unaffected. These two tabs do not follow the "standard" horizon method
of adding and removing items through one transfer table; instead,
it uses two different dialogs to carry out each operation separately.
This should be addressed in a separate patchset.

Note 2: This is a bit of a stop gap measure, as horizon is slowly moving
away from native django based dialogs and wizards to AngularJS. The goal
should ultimately be to do the same in GBPUI.

Change-Id: I01c9dc08b1bc35309d62eb3da0bd26f3795867ab
Partial-Bug: 1712814
2017-09-18 14:04:34 +02:00
Marek Lycka f3048c76ec Removes and simplifies GBPUI templates
Removes unused templates and simplifies remaining templates and views by extracting common logic
in the same way as the previous partial patch for this bug did.

Change-Id: I832a7ab88e99103b9e6abdfd8be44fcd8bee1a11
Closes-Bug: 1710852
Co-Authored-By: viktor.krivak@ultimum.io
2017-09-17 13:26:27 +02:00
Jenkins f14de1c22a Merge "Remove patterns call from urls" 2017-09-14 21:35:30 +00:00
Jenkins 5b94efc5e6 Merge "Remove unused logging import" 2017-09-14 20:20:58 +00:00
Aleš Křivák 268ae1259a Update templates in policytargets section.
Templates used throughout GBP UI were not properly updated
for several OpenStack releases. This update removes unused templates
and reduces unnecessary complexity. Additionally, this fixes problems
with missing non-ajax version of templates, that breaks standalone
rendering of forms and workflows (e. g. when opened in new tab or after
re-login when session expires during while working with forms).

This commit fixes ony policytargets section.

Partial-Bug: #1710852
Co-Authored-By: Marek Lycka <marek.lycka@ultimum.io>
Change-Id: I4f8f6cef04fd514eccb428e8a89cc030ae99cb2a
2017-09-09 11:19:13 +02:00
Jenkins 8e80d41aec Merge "Fix template names in policy targets view" 2017-09-08 18:17:18 +00:00
Anna Khmelnitsky f9a81027f8 Fix template names in policy targets view
Change I4ac44bda1baf28b5056d07adf1236b9a43fbad4c changed template
names to non-existing template. This patch reverts template name
change.

Change-Id: I313103e7853717b7dc6cf18caa7df54c878d3aed
2017-09-07 10:46:04 -07:00
Jenkins c5567436cb Merge "Fix mistakes in descriptions." 2017-09-07 17:33:50 +00:00
Anh Tran 8e92d1eb3a Remove unused logging import
Change-Id: I3f456a8c525ad78e56ee17364aba1a2e95474216
2017-09-07 17:29:20 +00:00
Aleš Křivák 61bfed72c6 Remove patterns call from urls
Calling patterns method in urls.py files is redundant and as of Django
1.8 also deprecated. In order to support Django 1.10, we need
to update urls.

Closes-Bug: #1710857
Change-Id: I57a33d3ac166256fb18cc16665894c0c48c77af5
2017-08-15 12:56:33 +02:00
Marek Lycka f4deab2aae Fix delete buttons
This commit fixes the delete buttons in all of the GBPUI panels where checked items were deleted even when using individual (row) delete actions.

Change-Id: I4ac44bda1baf28b5056d07adf1236b9a43fbad4c
Closes-Bug: 1707896
2017-08-01 17:16:28 +02:00
Sumit Naiksatam 739852105a Ocata sync
Change-Id: If7ad07bacd3f789f260c65e12412768d514feeb2
2017-07-13 15:53:10 -07:00
Sumit Naiksatam 0dc6c63fe3 Fix member list population
In cases where the member is not created via the UI, the metadata used
for filtering the members on retrieval is not added to the VMs. Hence any
member VMs that are created outside the UI are never shown in the member list.

This patch fixes this issue by reinstating the earlier filtering logic to
find the member VMs belonging to a particular PTG in case the above metadata
is not present.

Change-Id: Ic2154d04c292269dd7cb46edf19f3a7f3bbe1364
Closes-bug: 1691598
2017-05-17 16:51:09 -07:00
ank 90fcafd4da Show status for groups and network service resources
Uploading default lbaasv2 icon to show on
service chain spec

Change-Id: I2f6eb81bcb4eb4ac36c9da5138488c8a33dd25c0
Closes-Bug: #bug/1674648
2017-03-22 15:31:59 +05:30
Sumit Naiksatam 5296bc82a7 Newton sync
Change-Id: Ic4d0db29cee52819c3dcbbf50a2de709c5fe3c7c
2017-03-05 02:29:52 -08:00
ank 44a3e4acf3 Member list to show ERRORED instances
Change-Id: I1b1a659c2a6ce85e375d7892a54d998b3697265f
closes-bug: #1482325
2017-01-27 15:44:14 +05:30
Aleš Křivák d6c00c4048 Fix mistakes in descriptions.
Description text in Add/Remove Policy Rule Set referenced Consumed PRS,
description for editation of groups inconsistent with UI.

Change-Id: Ided11d0df69515e9b75da9e7d6990a0b543e5c27
2017-01-09 18:33:23 +01:00
ank d725eeabaf Allow specific PTGs to hide from member create
By default all PTGs will be listed as available groups
and allows to select any groups.There is no way to specify
PTGs to not consider while launching a member.
As a solution, providing optional configuration parameter
GBPUI_HIDE_PTG_NAMES_FROM_MEMBER_CREATE to specify
which group to excule based on group name regex match.

This optional parameter can be specified in openstack dashboard
local settings(openstack_dashboard/local/local_settings.py)

e.g.
GBPUI_HIDE_PTG_NAMES_FROM_MEMBER_CREATE =
    ['*.backup_network_group_name', '*.another_group_name']

With the above definition, create member form wont show PTGs with
name ending 'backup_network_group_name' and 'another_group_name'

Change-Id: Ibda517bb8bb747e9cf205979521c6903fdef8d17
Closes-Bug: #bug/1639137
2016-11-14 09:52:42 +00:00
ank 9832b43a59 Added Description to create policyclassifier form
Change-Id: Idf4750874c30e08383b46ccc974c2dd2fc493e35
Closes-Bug: #1634351
2016-10-18 12:05:51 +05:30
ank dd31fc9126 member create: handling SubnetNotFound exception
ignoring stitching subnets by catching exception
while associating fixed ip with corresponding
subnet id

Change-Id: Ieccecc41b2608102c201f48fcd1c831db19882a6
2016-10-06 19:34:26 +05:30
Sumit Naiksatam 72d30c8265 Fix create-member while retrieving PTG details
Conditionally process prox_group_id and proxied_group_id.

Change-Id: Ic810c6a11a7e46e9b916eadda77a9157a6fa84c0
Closes-bug: #1627883
2016-09-26 16:01:27 -07:00
ank 3bd464bf51 Hide stitching PTGs & subnets while member lauch
User should not be able to associate ip address
from either stitching PTGs or subnets, hence
hiding the same during member launch.

Also moving out fixed ip address from square
brackets and changing square brackets to
function brackets around 'Click to Set IP'
and 'Click to Edit IP'

Change-Id: Ib64604801530c244cc469d75dd5fb2065316ac11
Closes-Bug: #1626903
2016-09-23 14:18:35 +05:30