[email protected]# run show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth4 - u/u eth5 - u/u lo 127.0.0.1/8 u/u ::1/128 [edit] [email protected]# set interfaces bonding bond1 address '100.64.0.1/24' [edit] [email protected]# set interfaces bonding bond1 member interface 'eth4' [edit] [email protected]# set interfaces bonding bond1 member interface 'eth5' [edit] [email protected]# commit [edit] [email protected]# run show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- bond1 100.64.0.1/24 u/u bond1 eth4 - u/u eth5 - u/u lo 127.0.0.1/8 u/u ::1/128 [edit] [email protected]# delete interfaces bonding [edit] [email protected]# commit [edit] [email protected]# run show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth4 - A/D eth5 - A/D lo 127.0.0.1/8 u/u ::1/128
Description
Description
Details
Details
- Difficulty level
- Easy (less than an hour)
- Version
- 1.2-rolling-20190916xxxx
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Bug (incorrect behavior)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
In progress | FEATURE REQUEST | None | T3355 Remove all remaining legacy Vyatta code | ||
Resolved | FEATURE REQUEST | None | T1579 Rewrite all interface types in new XML/Python style | ||
Resolved | FEATURE REQUEST | c-po | T1614 Rewrite bonding interface in new style XML syntax | ||
Resolved | FEATURE REQUEST | c-po | T1666 Deleting a bond will place member interfaces into A/D state |
Event Timeline
Comment Actions
Okay, the old vyatta-bonding.pl executed the following code when a bond member has been removed:
sub if_up { my $intf = shift; system "sudo ip link set dev $intf up" and die "Could not set $intf up ($!)\n"; my $smp_affinity = get_irq_affinity($intf); if ($smp_affinity) { system "/opt/vyatta/sbin/irq-affinity.pl $intf $smp_affinity" and warn "Could not set $intf smp-affinity $smp_affinity\n"; } }
This code is definately not yet migrated!