View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
419 | RackTables | default | public | 2011-04-10 19:26 | 2012-01-01 01:55 |
Reporter | infrastation | Assigned To | adoom42 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.19.10 | ||||
Target Version | 0.19.11 | Fixed in Version | 0.19.11 | ||
Summary | 419: VRRP review | ||||
Description | by Tyler J. Wagner: Attached is a patch to allow multiple routers on one IP. Valid from 0.18.x to current (0.19.2). IE, when one IP has multiple "Router"-type assignments, it does not appear with red background colour. Good for those of us with VRRP-speaking devices sharing common IPs. | ||||
Tags | No tags attached. | ||||
2011-04-10 19:26
|
multiple-router-ip-allocations.diff (935 bytes)
--- functions.php_orig 2011-03-24 12:44:33.000000000 +0000 +++ functions.php 2011-03-28 15:04:43.000000000 +0000 @@ -1728,9 +1728,10 @@ ); foreach ($addrlist[$ip_bin]['allocs'] as $a) $refc[$a['type']]++; - $nvirtloopback = ($refc['shared'] + $refc['virtual'] > 0) ? 1 : 0; // modulus of virtual + shared + // 2010-10-08 tyler - routers may have multiple allocations on one IP + $nvirtloopback = ($refc['shared'] + $refc['virtual'] + $refc['router'] > 0) ? 1 : 0; // modulus of virtual + shared + router $nreserved = ($addrlist[$ip_bin]['reserved'] == 'yes') ? 1 : 0; // only one reservation is possible ever - $nrealms = $nreserved + $nvirtloopback + $refc['regular'] + $refc['router']; // latter two are connected and router allocations + $nrealms = $nreserved + $nvirtloopback + $refc['regular']; // last is connected allocation if ($nrealms == 1) $addrlist[$ip_bin]['class'] = 'trbusy'; |
Thanks for the patch. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-04-10 19:26 | infrastation | New Issue | |
2011-04-10 19:26 | infrastation | File Added: multiple-router-ip-allocations.diff | |
2011-04-10 19:39 | infrastation | Assigned To | => infrastation |
2011-04-10 19:39 | infrastation | Status | new => acknowledged |
2012-01-01 01:55 | adoom42 | Note Added: 0000498 | |
2012-01-01 01:55 | adoom42 | Assigned To | infrastation => adoom42 |
2012-01-01 01:55 | adoom42 | Reproducibility | have not tried => always |
2012-01-01 01:55 | adoom42 | Status | acknowledged => closed |
2012-01-01 01:55 | adoom42 | Resolution | open => fixed |
2012-01-01 01:55 | adoom42 | Product Version | => 0.19.10 |
2012-01-01 01:55 | adoom42 | Fixed in Version | => 0.19.11 |
2012-01-01 01:55 | adoom42 | Target Version | => 0.19.11 |