[Bug 208174] carp devd notify example does not handle VLANs
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 21 09:23:27 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208174
Bug ID: 208174
Summary: carp devd notify example does not handle VLANs
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Documentation
Assignee: freebsd-doc at FreeBSD.org
Reporter: bmeyer at mesoft.com.au
The example devd entry in the carp(4) man page doesn't handle if you are
dealing with a VLAN.
This is the extract from the existing man page relating to carp.
---> CUT HERE <---
notify 0 {
match "system" "CARP";
match "subsystem" "[0-9]+@[0-9a-z]+";
match "type" "(MASTER|BACKUP)";
action "/root/carpcontrol.sh $subsystem $type";
};
---> END CUT <---
Here is a slightly *corrected* entry which handles VLANs.
---> CUT HERE <---
notify 0 {
match "system" "CARP";
match "subsystem" "[0-9]+@[0-9a-z\.]+";
match "type" "(MASTER|BACKUP)";
action "/root/carpcontrol.sh $subsystem $type";
};
---> END CUT <---
This handles when there is an subsystem attached to a VLAN (by allowing the "."
character in the class). For example:
3 at em0.1030
or
2 at lagg0.1050
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-doc
mailing list