Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c1701c1d28 | ||
|
|
c5e1d2b827 | ||
|
|
67d1b49ef2 | ||
|
|
c816799185 | ||
|
|
ac031aa5f0 | ||
|
|
1c51c15b22 | ||
|
|
05908356a7 | ||
|
|
eb97444c89 | ||
|
|
da14399062 | ||
|
|
c5d04c9f5c | ||
|
|
db7eb55740 | ||
|
|
ef326ae3ff |
@@ -2,3 +2,4 @@
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=openstack/python-neutronclient.git
|
||||
defaultbranch=stable/liberty
|
||||
|
||||
@@ -32,12 +32,14 @@ class ListRBACPolicy(neutronV20.ListCommand):
|
||||
list_columns = ['id', 'object_id']
|
||||
pagination_support = True
|
||||
sorting_support = True
|
||||
allow_names = False
|
||||
|
||||
|
||||
class ShowRBACPolicy(neutronV20.ShowCommand):
|
||||
"""Show information of a given RBAC policy."""
|
||||
|
||||
resource = 'rbac_policy'
|
||||
allow_names = False
|
||||
|
||||
|
||||
class CreateRBACPolicy(neutronV20.CreateCommand):
|
||||
@@ -81,6 +83,7 @@ class UpdateRBACPolicy(neutronV20.UpdateCommand):
|
||||
"""Update RBAC policy for given tenant."""
|
||||
|
||||
resource = 'rbac_policy'
|
||||
allow_names = False
|
||||
|
||||
def add_known_arguments(self, parser):
|
||||
parser.add_argument(
|
||||
@@ -100,3 +103,4 @@ class DeleteRBACPolicy(neutronV20.DeleteCommand):
|
||||
"""Delete a RBAC policy."""
|
||||
|
||||
resource = 'rbac_policy'
|
||||
allow_names = False
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
set -ex
|
||||
|
||||
|
||||
VENV=${1:-"functional"}
|
||||
|
||||
|
||||
if [ "$VENV" == "functional-vpn" ]
|
||||
then
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin neutron-vpnaas git://git.openstack.org/openstack/neutron-vpnaas"
|
||||
fi
|
||||
|
||||
remaining_time
|
||||
timeout -s 9 ${REMAINING_TIME}m $BASE/new/devstack-gate/devstack-vm-gate.sh
|
||||
$BASE/new/devstack-gate/devstack-vm-gate.sh
|
||||
|
||||
@@ -73,7 +73,7 @@ class FakeStdout(object):
|
||||
def make_string(self):
|
||||
result = ''
|
||||
for line in self.content:
|
||||
result = result + line
|
||||
result += encodeutils.safe_decode(line, 'utf-8')
|
||||
return result
|
||||
|
||||
|
||||
|
||||
@@ -1716,7 +1716,7 @@ class Client(ClientBase):
|
||||
def _fx(obj, **_params):
|
||||
return self.show_ext(path, obj, **_params)
|
||||
|
||||
def _parent_fx(parent_id, obj, **_params):
|
||||
def _parent_fx(obj, parent_id, **_params):
|
||||
return self.show_ext(path % parent_id, obj, **_params)
|
||||
fn = _fx if not parent_resource else _parent_fx
|
||||
setattr(self, "show_%s" % resource_plural, fn)
|
||||
@@ -1743,7 +1743,7 @@ class Client(ClientBase):
|
||||
def _fx(obj):
|
||||
return self.delete_ext(path, obj)
|
||||
|
||||
def _parent_fx(parent_id, obj):
|
||||
def _parent_fx(obj, parent_id):
|
||||
return self.delete_ext(path % parent_id, obj)
|
||||
fn = _fx if not parent_resource else _parent_fx
|
||||
setattr(self, "delete_%s" % resource_singular, fn)
|
||||
@@ -1752,7 +1752,7 @@ class Client(ClientBase):
|
||||
def _fx(obj, body=None):
|
||||
return self.update_ext(path, obj, body)
|
||||
|
||||
def _parent_fx(parent_id, obj, body=None):
|
||||
def _parent_fx(obj, parent_id, body=None):
|
||||
return self.update_ext(path % parent_id, obj, body)
|
||||
fn = _fx if not parent_resource else _parent_fx
|
||||
setattr(self, "update_%s" % resource_singular, fn)
|
||||
|
||||
@@ -8,9 +8,9 @@ iso8601>=0.1.9
|
||||
netaddr!=0.7.16,>=0.7.12
|
||||
oslo.i18n>=1.5.0 # Apache-2.0
|
||||
oslo.serialization>=1.4.0 # Apache-2.0
|
||||
oslo.utils>=2.0.0 # Apache-2.0
|
||||
requests>=2.5.2
|
||||
python-keystoneclient>=1.6.0
|
||||
oslo.utils!=2.6.0,>=2.0.0 # Apache-2.0
|
||||
requests!=2.8.0,>=2.5.2
|
||||
python-keystoneclient!=1.8.0,>=1.6.0
|
||||
simplejson>=2.2.0
|
||||
six>=1.9.0
|
||||
Babel>=1.3
|
||||
|
||||
Reference in New Issue
Block a user