diff options
author | Tim Rozet <trozet@redhat.com> | 2016-06-29 16:17:31 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-06-30 15:15:04 -0400 |
commit | d47d4a5ef7c78c3ca84450a2164ec63a5697e110 (patch) | |
tree | 9aa731f329b4d81cc5cb7e54c3f0ae29c8f7a689 /tests/test_apex_network_settings.py | |
parent | 1e1d187d9c64229ddfb97925bb1b46a1754e6cd1 (diff) |
Fixes nic template rendering
Issue where in default network_settings, api_network is not specified.
This means that the settings do not have api_network in its output, but
the nic template checks to see if api_network vlan is native in its
logic. This patch assumes a vlan will be numeric. A blank value or a
value of 'native' will not be numeric therefore default is expanded to
allow blank values as non-vlan networks.
Also fixes controller to always have br-ex.
Change-Id: Ibebb231901e653127175aef194eec708e8507da2
Signed-off-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Dan Radez <dradez@redhat.com>
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'tests/test_apex_network_settings.py')
0 files changed, 0 insertions, 0 deletions