Trival fix some typo
1. What is the problem? There were some typos in this module, which should be modified. 2. What is the solution to the problem? This change modifies the spelling mistakes. 3. What the features need to be implemented to the Tricircle to realize the solution? No new features Change-Id: I988a974e8887c09c730bc0172aacee0fb85b2c3b
This commit is contained in:
parent
fbc1ba158a
commit
1ca024d8dc
|
@ -26,7 +26,7 @@ if [ ! -r admin-openrc.sh ];then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "Begining the verify testing..."
|
||||
echo "Beginning the verify testing..."
|
||||
|
||||
echo "Import client environment variables:"
|
||||
source $TEST_DIR/admin-openrc.sh
|
||||
|
|
|
@ -122,7 +122,7 @@ class RoutingController(rest.RestController):
|
|||
|
||||
if not policy.enforce(context, policy.ADMIN_API_ROUTINGS_LIST):
|
||||
return utils.format_api_error(
|
||||
403, _('Unauthorized to to show all resource routings'))
|
||||
403, _('Unauthorized to show all resource routings'))
|
||||
|
||||
filters = self._get_filters(kwargs)
|
||||
filters = [{'key': key,
|
||||
|
|
|
@ -571,7 +571,7 @@ class NetworkHelper(object):
|
|||
@staticmethod
|
||||
def get_create_sg_rule_body(rule, sg_id, ip=None):
|
||||
ip = ip or rule['remote_ip_prefix']
|
||||
# if ip is passed, this is a extended rule for remote group
|
||||
# if ip is passed, this is an extended rule for remote group
|
||||
return {'security_group_rule': {
|
||||
'tenant_id': rule['tenant_id'],
|
||||
'remote_group_id': None,
|
||||
|
|
|
@ -1513,7 +1513,7 @@ class PluginTest(unittest.TestCase,
|
|||
for net in TOP_NETS:
|
||||
if net['name'].startswith('ns_bridge'):
|
||||
t_ns_bridge_net_id = net['id']
|
||||
# N-S bridge not created since no extenal network created
|
||||
# N-S bridge not created since no external network created
|
||||
self.assertIsNone(t_ns_bridge_net_id)
|
||||
|
||||
device_ids = ['', '', '']
|
||||
|
|
|
@ -672,7 +672,7 @@ class XManager(PeriodicTasks):
|
|||
@staticmethod
|
||||
def _construct_bottom_rule(rule, sg_id, ip=None):
|
||||
ip = ip or rule['remote_ip_prefix']
|
||||
# if ip is passed, this is a extended rule for remote group
|
||||
# if ip is passed, this is an extended rule for remote group
|
||||
return {'remote_group_id': None,
|
||||
'direction': rule['direction'],
|
||||
'remote_ip_prefix': ip,
|
||||
|
|
Loading…
Reference in New Issue