- 25 Jun, 2018 1 commit
-
-
Aleksander Maricq authored
-
- 13 Jun, 2018 1 commit
-
-
Mike Hibler authored
The ports are 100Gb but must be "broken out" to a single 40Gb port. FortyGig ports show up as <module>/<port>/1, which is different than what the "nybbleEncoded" feature expects. XXX this seriously needs to be revisited to see if there is a generalization to be made; right now I just don't want to break other users of this module (i.e., Clemson) by doing something rash.
-
- 08 Jun, 2018 1 commit
-
-
Mike Hibler authored
Note that it might be the case that the callRPC should be outside the loop as it is in every other case where a list of commands is built up. But I thought this case might be special, so I left it as is. Note also that I don't think it matters because this routine is never called with more than one vlan that I could see (the loop is for each vlan).
-
- 06 Jun, 2018 1 commit
-
-
Mike Hibler authored
The prompt might include the fully-qualified host name, so allow for an optional domain name. This happens at Wisconsin, perhaps because they use RADIUS for authentication? That is the only difference I can see from Clemson. In both cases, the switch hostname is NOT FQ.
-
- 30 May, 2018 1 commit
-
-
Leigh Stoller authored
connect two ports. It appears that letting port alarms pile up causes the CLI to hang every now and then for a really long time. Thats my theory, I have at least two data points to prove it.
-
- 17 Apr, 2018 1 commit
-
-
Leigh Stoller authored
-
- 30 Mar, 2018 1 commit
-
-
Kirk Webb authored
-
- 08 Mar, 2018 2 commits
-
-
Leigh Stoller authored
-
Leigh Stoller authored
expect that there will be timeout issues, the netscouts seem to hang up on a regular basis for 30 seconds or more.
-
- 28 Feb, 2018 1 commit
-
-
Mike Hibler authored
This is the flip-side of something the Mellanox module already handled: putting a port in trunk mode and having it inherit all existing VLANs. The only sure fire way to do this was to make sure, after creating a new VLAN, that every existing trunk port does not include the VLAN. If it does, we remove it.
-
- 27 Feb, 2018 1 commit
-
-
Leigh Stoller authored
-
- 23 Feb, 2018 1 commit
-
-
Mike Hibler authored
In the event we are called with a single port and we could not find an ifindex for the portchannel it is in, return the ifindex of the port instead (this is old cisco behavior). However, the code that did this was trying to lookup the ifindex of $swports[0] in the IFINDEX hash. But the swports array already contains the ifindex, so we don't need that IFINDEX hash lookup. At any rate, it works now!
-
- 20 Feb, 2018 1 commit
-
-
Leigh Stoller authored
a node (no interface).
-
- 13 Dec, 2017 1 commit
-
-
Kirk Webb authored
-
- 22 Nov, 2017 1 commit
-
-
Leigh Stoller authored
lans table entry so we have it easily available.
-
- 21 Nov, 2017 1 commit
-
-
Leigh Stoller authored
only instead of all of the vlans in the pid,eid, and later culling them.
-
- 12 Sep, 2017 1 commit
-
-
Leigh Stoller authored
on Portstats.
-
- 05 Sep, 2017 1 commit
-
-
Leigh Stoller authored
to strings that represent how the ports are actually addressed by the switch. Eventually card/port will be fully deprecated, but before we can do that there has to be a way to automatically update existing sites. Kirk will probably be the one to finish this off since I don't know enough about the devices to do it correctly. Also a minor structural change; move the convertPortFormat() constants from the device files to snmpit_lib so we can call convertPortFormat from outside the device file.
-
- 30 Aug, 2017 2 commits
-
-
Leigh Stoller authored
-
Leigh Stoller authored
-
- 24 Aug, 2017 3 commits
- 23 Aug, 2017 1 commit
-
-
Leigh Stoller authored
1. Get rid of direct queries to wires and interfaces, use library. 2. Allow node:iface on the command line for ports. 3. Add -i option to print out results in node:iface. Eventually we want to flush card.port output, but lets wait on that for a while. 4. Switch from card,port to iface lookups. 5. The DB change adds iface to the port_counters table, no longer using card,port. Eventually flush them.
-
- 09 Aug, 2017 1 commit
-
-
Leigh Stoller authored
1. We now allow lans to be implemented by a path. We did not allow this before, cause some of the sanity checking code was a pain to implement for lans. Well, no more sanity checking, the user is responsible for doing things correctly (after all, they are doing experiments with their own switches!). 2. We now allow topologies with more then one switch to be wired together. The wires between switches are marked as "trunk" wires, which informs the configuration generation code in libosload_switch to create the trunks and do the little tagged/untagged magic that is required on procurve switches. The same information is used to mark the the logical wires between switches as trunks. Aside: this stuff needs some work; we have spanning tree on by default, which causes the trunks to not work correctly. When I turn that off, things start working. So need some help from others who now about spanning tree stuff. 3. Serious kludging in the Interface and Port libraries related to choice of primary keys in the wires table. In order to insert a logical wire (or interface) that represents a connection setup by the apcon, we have to overload the primary key since the node_id1 side of the logical wires is the same as the physical wire to the apcon. We have to have overload the node_id2 side too, but that is really just a problem when wiring two switches together. Anyway, the kludge just maps card1 to a different id, and the Port library unmaps it. It will do for now, but really need logical wires to be done better then this.
-
- 16 Mar, 2017 1 commit
-
-
Kirk Webb authored
Breakout ports are identified with a ':\d+' suffix in their port description. This extension of the existing hack for submodules lets breakout ports be referenced by their ifindex instead of trying to encode the combination of module, submodule, port, and subport into a single port number in the database. This is total crap, and makes me hate the mod/port DB encoding we have even more. It is on my TODO list to move snmpit to using device-specific port identification based on port description strings instead. NOTE: The module number semantics have changed for the submod/subport hack. Instead of using whatever module the port is on (plus one...), the module is set to '0'. This is what should be used in the 'wires' DB table.
-
- 06 Mar, 2017 1 commit
-
-
Mike Hibler authored
Currently this implies raw (-r) and not zeroing (!-z) because those options touch the DB counter tables and I didn't want to modify those to make them bigints.
-
- 05 Jan, 2017 1 commit
-
-
Leigh Stoller authored
to prevent messing with speed/duplex on a per-port basis.
-
- 03 Oct, 2016 1 commit
-
-
Leigh Stoller authored
true *snmpit*, all others are imposters and have been shot. The snmpit_test directory moved to snmpit. snmpit_old is gone.
-
- 03 Jan, 2001 2 commits
-
-
Leigh Stoller authored
the testbed list.
-
mac authored
snmpit: -First part of a major reorganization/rewrite. -Added checks for node ownership before changing port values and adding or removing VLANs. -Translation tables (mac<->tbxxMM:N,tbxxMM:N<->switch:port,port<->ifIndex) are now global and get initialized whenever necessary. -Made port config changes work for ciscos. (speed and duplex) -Added ability to specify ports as tbxxMM:N for cisco port config changes. -Some general cleanup/reorg/rewrite of old ugly code.
-
- 17 Nov, 2000 1 commit
-
-
Mac Newbold authored
-
- 09 Nov, 2000 1 commit
-
-
Mac Newbold authored
-
- 16 Oct, 2000 1 commit
-
-
Mac Newbold authored
-
- 11 Oct, 2000 1 commit
-
-
Mac Newbold authored
-
- 09 Oct, 2000 1 commit
-
-
Mac Newbold authored
-
- 19 Sep, 2000 1 commit
-
-
Mac Newbold authored
-
- 25 Aug, 2000 2 commits
-
-
Mac Newbold authored
-
Mac Newbold authored
-
- 17 Aug, 2000 1 commit
-
-
Mac Newbold authored
New Features: - Support for adding, deleting, and listing VLANs in Cisco 6509 - Support for retrieving statistics from Cisco 6509 - Support for retrieving and changing port status (up/down) in Cisco 6509 Includes all incremental bug fixes from version 1.0 to version 1.25.
-