Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure to return an empty subnet list for a network without sunbet.
Fixes bug 1043827. This commit fixes a bug that when launching an instance with a quantum network without subnet allocate_for_instance() in network/quantumv2/api.py returns non-related subnet info as instance_nw_info. A port created on a network without subnet is associated with no subnet and subnet info in instance_nw_info should be an empty list. Change-Id: I2cfb78886ab10dd94eb795f5288b26b77f379998
- Loading branch information
1 parent
1db2f54
commit 0874cb9
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters