]> git.proxmox.com Git - mirror_ifupdown2.git/commit
addons: vxlan: attr vxlan-port: add DRYRUN check
authorJulien Fortin <julien@cumulusnetworks.com>
Fri, 26 Oct 2018 16:48:49 +0000 (18:48 +0200)
committerJulien Fortin <julien@cumulusnetworks.com>
Thu, 13 Dec 2018 22:43:57 +0000 (14:43 -0800)
commit3fb83a7ab6a1f0210974dfc81e9b3647083d6db5
tree9f1b41bcda07fbdf1cfa5e930d920a95f0b6f8c3
parentcd890b06e42844fdee98c9cb0f985251d47df5e4
addons: vxlan: attr vxlan-port: add DRYRUN check

-n sets DRYRUN flags, when DRYRUN is set many functions return True
(like link_exists), in this case vxlanattrs is set to False because
not cached. But since link_exists=True we still try to access it like
a dictionary.

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
ifupdown2/addons/vxlan.py