Commit Graph

23 Commits

Author SHA1 Message Date
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
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
ank 44a3e4acf3 Member list to show ERRORED instances
Change-Id: I1b1a659c2a6ce85e375d7892a54d998b3697265f
closes-bug: #1482325
2017-01-27 15:44:14 +05:30
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 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
ank 0d1f36ac0b Prevent configuring fixed IP if building more than one member
Change-Id: Ib2be0fa8742d0d066ec1115bfbfb3209a7c2d1f3
Closes-Bug: #1582527
2016-06-27 17:04:45 +05:30
ank a924945dce Allow group member to create with fixed IP
Change-Id: I0f00bc39a07eeb524c036c99b79b99bade480dcd
Implements: blueprint fixed-ips-for-pt
2016-05-12 10:09:07 +05:30
ank dcdcb31a64 By default do not associate access keypair to member create
Change-Id: I63571a3de862018377184f47dc500053545046ae
Closes-Bug: #1558540
2016-03-20 12:02:37 +05:30
ank 276a0fd1ab Support create member with multiple NICs
Added Networking Tab to member create work flow.
Deault provider PTG will be shown as selected
NIC, additionally user can select other PTGs
to to add multiple NICs

Change-Id: I3ceadc0f2ca9de6d9be2c4349eba6623a9aa4cd4
Closes-Bug: #1491540
2015-12-09 20:00:23 +05:30
sriharshabarkuru faa77b0218 can't associate multiple ext-seg to an ext-group
Added support to associate multiple ext-segments
to external group while creation and also made
subnetID as optional field in ext-segment
creation.

Change-Id: I3cd591caede3a513e95c670235db47ed72249353
Closes-Bug: #1505416
2015-10-28 19:42:36 +05:30
Patrick Smith 1f686ba99a Fix booting from volume snapshot
When passing the source type of the block device mapping when booting
from a volume snapshot, we need to specify "snapshot" instead of
"volume".

This fix is the same as the one applied in horizon:
a1db17aeff

Change-Id: I4b110af9956773e1ce53dbce91557ac26f171c1a
Closes-Bug: #1499418
2015-10-02 14:54:47 -04:00
sriharshabarkuru 758c79a354 Added Support for External Policy & External Segment
Change-Id: I11a2ce93cec430447a34099a502be7da59ea0f18
Closes-Bug: 1463928
2015-08-24 21:52:17 +05:30
Jenkins 2aaacff27d Merge "Under policy tab user can see only his own resources and 'shared'" 2015-08-16 04:50:18 +00:00
ank 5681451c73 Creating policy target based on instance name
Closes-Bug: 1477404

Change-Id: Icc52e8e6850d8f25af552feebe54c92b5657bbf5
2015-08-14 12:09:04 +05:30
Sumit Naiksatam 5e8f3da385 Prevents cross-site-scripting in policy panels
Change-Id: I3184b614d81ed67acc4aa1bfea9697a0acc2205f
Closes-bug: 1483372
2015-08-12 14:05:11 -07:00
sriharshabarkuru bf1c278a64 Under policy tab user can see only his own resources and 'shared'
Closes-Bug: 1460246

Change-Id: If05625490ffe607b0b6deb52d5978af57192741b
2015-08-05 14:13:05 +05:30
ank fbf73bcbfd Added missing options to create member to look similar to instance launch
Change-Id: I8086d908467c1e75433393f7a61a7e88ff793352
Closes-Bug: 1382407
Closes-Bug: 1461689
2015-07-17 18:08:04 +05:30
Mahesh.Tambe d4ec70917e Supporting shared attribute for GBP resource
Change-Id: Id2c0daac0f3d4c8d457b9f54dd153b08480e75ea
Closes-Bug: 1454062
2015-05-12 11:34:35 +05:30
Sumit Naiksatam 26538e1c39 Updating test-requirements to point to kilo
Change-Id: I4a61b27aa3c8b4cf930c3ffe9857b04b789e2e16
2015-04-28 20:53:30 -07:00
Sumit Naiksatam ca5cf99310 Removing tenant filtering after fetching resources
This allows shared resources to be displayed and accessed
in other tenants.

Closes-bug: 1431615

Change-Id: I56e59ca52d605c52c60292d2ea87371d9a33134d
2015-03-12 16:13:28 -07:00
uday bhaskar b39c887100 GBP UI - added policy targets UI
Change-Id: Ib2074e794db2f1a6e7ab02225ad9173d1c77cf06
2014-12-12 11:09:37 +05:30