diff options
author | Penghui Liao <liaoishere@gmail.com> | 2019-06-21 19:41:43 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-06-21 19:41:43 +0000 |
commit | f57a77577dd708c7f57babf8cd63ec18134bf34a (patch) | |
tree | 1da5b5039b98f72d513cda419ab6a7db72298427 /cloudinit/net | |
parent | e1795a5cd1cb216e5514f55bdb1cddc605f40df3 (diff) | |
download | vyos-cloud-init-f57a77577dd708c7f57babf8cd63ec18134bf34a.tar.gz vyos-cloud-init-f57a77577dd708c7f57babf8cd63ec18134bf34a.zip |
sysconfig: support more bonding options
Currently, only a few bonding parameters can be configured on
sysconfig systems. This patch aims to support more parameters
documented on the docs site.
Diffstat (limited to 'cloudinit/net')
-rw-r--r-- | cloudinit/net/sysconfig.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cloudinit/net/sysconfig.py b/cloudinit/net/sysconfig.py index a47da0a8..be5dede7 100644 --- a/cloudinit/net/sysconfig.py +++ b/cloudinit/net/sysconfig.py @@ -284,6 +284,18 @@ class Renderer(renderer.Renderer): ('bond_mode', "mode=%s"), ('bond_xmit_hash_policy', "xmit_hash_policy=%s"), ('bond_miimon', "miimon=%s"), + ('bond_min_links', "min_links=%s"), + ('bond_arp_interval', "arp_interval=%s"), + ('bond_arp_ip_target', "arp_ip_target=%s"), + ('bond_arp_validate', "arp_validate=%s"), + ('bond_ad_select', "ad_select=%s"), + ('bond_num_grat_arp', "num_grat_arp=%s"), + ('bond_downdelay', "downdelay=%s"), + ('bond_updelay', "updelay=%s"), + ('bond_lacp_rate', "lacp_rate=%s"), + ('bond_fail_over_mac', "fail_over_mac=%s"), + ('bond_primary', "primary=%s"), + ('bond_primary_reselect', "primary_reselect=%s"), ]) bridge_opts_keys = tuple([ |