commit | b0b272e192c45f984cdee2c9eb4921b4b452fd02 | [log] [tgz] |
---|---|---|
author | zhufl <zhu.fanglei@zte.com.cn> | Fri Sep 22 16:01:46 2017 +0800 |
committer | zhufl <zhu.fanglei@zte.com.cn> | Tue Sep 26 02:08:28 2017 +0000 |
tree | 2973564ed141789cd464d57e91708a86053b52a5 | |
parent | 4dfd78a4e058d106c663b7ae13a5328b39eac0ee [diff] |
Remove internal helper _default_security_group _default_security_group is used only once, so this is to remove it and to put the code logic directly in _create_security_group_rule. Besides, change to using filter parameter in list_security_groups to get tenant's default security_groups, which should be equivalent to filter result from list_security_groups(), and will make code a bit clearer. Change-Id: I94fdaa36624e290a03fa68563210f4521e581231