[stable-2.8] Don't detect update if vrf not set. (#56235) (#56421)

* [stable-2.8] Don't detect update if vrf not set. (#56235)
(cherry picked from commit ea41bbc)
pull/56943/head
Nathaniel Case 7 years ago committed by Toshio Kuratomi
parent 0a40b0ed45
commit 39c5758a87

@ -0,0 +1,2 @@
bugfixes:
- "eos_eapi: fix idempotency issues when vrf was unspecified."

@ -299,7 +299,7 @@ def map_config_to_obj(module):
'local_http': out[0]['localHttpServer']['configured'],
'local_http_port': out[0]['localHttpServer']['port'],
'socket': out[0]['unixSocketServer']['configured'],
'vrf': out[0]['vrf'],
'vrf': out[0]['vrf'] or "default",
'state': parse_state(out)
}

Loading…
Cancel
Save