]> git.proxmox.com Git - mirror_ifupdown2.git/commit
ifupdownaddons: iproute2: add optional refresh flag to addr get api
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 3 Apr 2016 22:43:07 +0000 (15:43 -0700)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Mon, 4 Apr 2016 02:20:44 +0000 (19:20 -0700)
commitd49a18d1b913e47b9e54d5089f8282deb13416cb
tree4dc8eb7ea87449bdb1fc7d9efd14fb92fe1c228a
parent87907576b77b2607bc893cf33c5e80a0b676627a
ifupdownaddons: iproute2: add optional refresh flag to addr get api

Ticket:
Reviewed By: trivial
Testing Done: tested address gets with refresh flag + ran ssim test testifupdown2.py

- also fixes refresh flag handling in cache _addr_fill function
- this api can be used to get addresses from the cache by first
refreshing the cache. So the caller gets fresh running addresses.
(its not used right now but came up during the need to re-apply
addresses for ipv6 vrf slaves since their addresses may disappear)
ifupdownaddons/iproute2.py