PacketFence - BTS - PacketFence 1.7
View Issue Details
0000378PacketFence 1.71.7.2public2008-09-08 09:302008-10-07 15:57
rbalzard 
rbalzard 
normalminoralways
closedfixed 
 
 
0000378: When instantiating a switch, pfsetvlan does not read macSearchesMaxNb and macSearchesSleepInterval for the swiTch
In switches.conf, most of the switch parameters are defaulted in the [default] section.
Then you can override them by defining them in each switch section.

In pfsetvlan when a switch sends a linkup, pfsetvlan queries the switch for a certain period in order to read what MAC is on the port (from the mac-address table) .
This period is defined with:
- macSearchesMaxNb
- macSearchesSleepInterval

pfsetvlan queries the switch macSearchesMaxNb times and waits macSearchesSleepInterval seconds between 2 queries.

These 2 parameters are defined in the default section.
When defining them in a switch section, pfsetvlan keeps using the default values
No tags attached.
Issue History
2008-09-08 09:30rbalzardNew Issue
2008-09-08 09:30rbalzardStatusnew => assigned
2008-09-08 09:30rbalzardAssigned To => rbalzard
2008-09-08 09:31rbalzardDescription Updated
2008-09-08 09:31rbalzardDescription Updated
2008-09-08 09:33rbalzardNote Added: 0000789
2008-09-08 09:34rbalzardStatusassigned => resolved
2008-09-08 09:34rbalzardResolutionopen => fixed
2008-09-08 09:34rbalzardNote Added: 0000790
2008-10-07 15:57user4Statusresolved => closed

Notes
(0000789)
rbalzard   
2008-09-08 09:33   
2 problems there:

1. pfsetvlan reads the default values. It should read the switch values
2. these 2 settings are not read when instantiating a switch
(0000790)
rbalzard   
2008-09-08 09:34   
- Changed pfsetvlan to read the switch values
- Modified SNMP.pm and SwitchFactory.pm to read the switch values