Fix OS Default FW section apply_tos

The OS Default firewall section has apply_tos which is taking
index as the target id incorrectly. It should use NSGroup uuid
as the target_id.

Closes-Bug: #1533390

Change-Id: Ia2569003d3c411fe7ddc656a2a713c48ee9bda5e
This commit is contained in:
Tong Liu 2016-01-12 23:04:07 +00:00
parent 8785d5fdde
commit 07de2cb461
1 changed files with 2 additions and 1 deletions

View File

@ -210,7 +210,8 @@ def init_nsgroup_manager_and_default_section_rules():
nsgroup_manager = NSGroupManager(cfg.CONF.nsx_v3.number_of_nested_groups)
section_id = _init_default_section(
DEFAULT_SECTION, section_description, nsgroup_manager.nested_groups)
DEFAULT_SECTION, section_description,
nsgroup_manager.nested_groups.values())
return nsgroup_manager, section_id