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
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
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
ignoring stitching subnets by catching exception
while associating fixed ip with corresponding
subnet id
Change-Id: Ieccecc41b2608102c201f48fcd1c831db19882a6
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
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
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
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