PacketFence - BTS - PacketFence
View Issue Details
0001380PacketFencedocpublic2012-02-22 13:062012-09-25 22:17
dwuelfrath 
obilodeau 
lowtrivialalways
resolvedfixed 
devel 
devel 
ba29614
0001380: wrong documentation for the use of setVlanByName
In some places in switches modules (pf::SNMP ++) it is documented to use setVlanByName but the sequence is wrong.
DEPRECATED: use setVlanByName($ifIndex, $switch_locker_ref, 'isolationVlan') instead

Method declaration:
sub setVlanByName {
    my ($this, $ifIndex, $vlanName, $switch_locker_ref) = @_;
The $vlanName and $switch_locker_ref need to be swapped. (Probably in the POD and not in the method declaration)
No tags attached.
Issue History
2012-02-22 13:06dwuelfrathNew Issue
2012-09-25 22:17obilodeaugit revision => ba29614
2012-09-25 22:17obilodeauNote Added: 0003092
2012-09-25 22:17obilodeauStatusnew => resolved
2012-09-25 22:17obilodeauFixed in Version => devel
2012-09-25 22:17obilodeauResolutionopen => fixed
2012-09-25 22:17obilodeauAssigned To => obilodeau

Notes
(0003092)
obilodeau   
2012-09-25 22:17   
Removed the deprecated functions. There were no core callers and they were publicly marked as deprecated since 2.0 almost two years ago.