aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/rspec-1.3.1/lib/spec/rake
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gems/rspec-1.3.1/lib/spec/rake')
0 files changed, 0 insertions, 0 deletions
class="k">if ($port{'ifOperStatus'} eq "up") { $json{'switches'}{$sysname}{'uplinks'}{'live'} += 1; } $json{'switches'}{$sysname}{'uplinks'}{'total'} += 1; } $json{'switches'}{$sysname}{ifs}{$smallport}{'ifHCInOctets'} += $port{'ifHCInOctets'}; $json{'switches'}{$sysname}{ifs}{$smallport}{'ifHCOutOctets'} += $port{'ifHCOutOctets'}; $json{'switches'}{$sysname}{totals}{'ifHCInOctets'} += $port{'ifHCInOctets'}; $json{'switches'}{$sysname}{totals}{'ifHCOutOctets'} += $port{'ifHCOutOctets'}; if ($port{'ifOperStatus'} eq "up") { $json{'switches'}{$sysname}{ifs}{$smallport}{'live'} += 1; $json{'switches'}{$sysname}{totals}{'live'} += 1; } $json{'switches'}{$sysname}{totals}{'total'} += 1; } $json{'switches'}{$sysname}{'time'} = $ref->{'time'}; } $nms::web::cc{'max-age'} = "5"; $nms::web::cc{'stale-while-revalidate'} = "30"; finalize_output();