]> git.proxmox.com Git - mirror_ifupdown2.git/commit
addons: bond: replace bond-ad-sys-priority and bond-ad-sys-mac-addr with equivalent...
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Fri, 4 Mar 2016 00:39:59 +0000 (16:39 -0800)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Fri, 4 Mar 2016 00:44:33 +0000 (16:44 -0800)
commit1553a88121e455da7a88df660c3ecb92241deaab
treecb7f32b73b12218626dad5cbf8a6cdf0b78bce23
parentaa052170800f5c5ebe9e88c009c02ca053ecf9cc
addons: bond: replace bond-ad-sys-priority and bond-ad-sys-mac-addr with equivalent upstream attributes

Ticket: CM-9677
Reviewed By: nikhil
Testing Done: Tested with bond config file in CM-9677

This patch replaces the following attributes:
bond-ad-sys-priority with bond-ad-actor-sys-prio
bond-ad-sys-mac-addr with bond-ad-actor-system

The new attributes correspond to the new sysfs files below:
/sys/class/net/sidelink/bonding/ad_actor_sys_prio
/sys/class/net/sidelink/bonding/ad_actor_system

Old values will be accepted with a deprecated warning:
warning: attribute bond-ad-sys-priority is deprecated. Use bond-ad-actor-sys-prio instead
warning: attribute bond-ad-sys-mac-addr is deprecated. Use bond-ad-actor-system instead
addons/bond.py
ifupdown/ifupdownmain.py
ifupdownaddons/bondutil.py
ifupdownaddons/modulebase.py