Fix broken jumphost detach method when orig file exists 39/42139/1
authorTim Rozet <trozet@redhat.com>
Sat, 16 Sep 2017 13:42:47 +0000 (09:42 -0400)
committerTim Rozet <trozet@redhat.com>
Sat, 16 Sep 2017 13:42:47 +0000 (09:42 -0400)
commit74336aa1ff8270e701c1e5f20c7a566715ed8d92
treecb01fd6485ac827543dc1a5b71ec93efd7cdccd2
parent54b8b2a51e4156d42005158f003fb307b32e45c1
Fix broken jumphost detach method when orig file exists

In the case where the backup ifcfg file exists (.orig) the functionality
to detach the interface from ovs was broken.  This fixes it and adds
unit test case to cover that scenario.

Change-Id: If6d8ca0ba5cf80df71bb82f52e9d204435374479
Signed-off-by: Tim Rozet <trozet@redhat.com>
apex/network/jumphost.py
apex/tests/test_apex_network_jumphost.py