diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-20 16:48:03 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-20 16:48:03 +0200 |
commit | 746e73a9ea27dc90047ac26950c21f963bf99af5 (patch) | |
tree | 62c2b3c642dfa08a12b9b6fbbb76da62e9074ad4 /include/nms/util.pm | |
parent | 212753aa48e60ccc9cbd74a16f313cebc6d3cda6 (diff) |
Add system-generated op logs
First up: Add a switch, get a log entry.
This might require some filtering in the GUI eventually. This is why the
user is set to 'system', even when we have an actual user that triggered
the event.
Diffstat (limited to 'include/nms/util.pm')
-rw-r--r-- | include/nms/util.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/nms/util.pm b/include/nms/util.pm index d2382f9..898aa9a 100644 --- a/include/nms/util.pm +++ b/include/nms/util.pm @@ -10,7 +10,6 @@ our @EXPORT = qw(guess_placement parse_switches_txt parse_switches parse_switch) # Parse a single switches.txt-formatted switch sub parse_switch { my ($switch, $subnet4, $subnet6, $mgtmt4, $mgtmt6, $lolid, $distro) = split(/ /); - my %foo = guess_placement($switch); my %ret = ( 'sysname' => "$switch", 'subnet4' => "$subnet4", |