Age | Commit message (Collapse) | Author |
|
switch_restart closes the connection itself
Change-Id: I6eb045a211ea06be99064eafec497c891a0770cf
|
|
This will be horrendous to use, as it's a very slow operation. But
AFAICS it's the only safe way to force a switch to revert config
Used by error paths in complex API calls
Change-Id: Ib042dacfcf026d754398dfb1f40d31f6e2a4f1cc
|
|
Change-Id: Ia66afaaaf2117f1e5ef1a9904f78f0906c75a4c2
|
|
Change-Id: Ia88a74d21a6e341deaaee04776c79c95de18834a
|
|
Change-Id: I78c85bca755c15af5f90d987b6b9f9bef2ba92b8
|
|
Change-Id: Iee686ed664463faa4e18bb15999bb244a69daa57
|
|
Change-Id: I2a8cc8f87023001db1915401c5afb533f3c3225e
|
|
Fix misunderstanding from unclear documentation: in Cisco terms, we
want to be using "Access" mode for ports rather than "General"
mode. This simplifies the sX300 driver somewhat (which is good!) and
makes the two drivers more similar in operation.
Testing is good:
* the built-in test harnesses work ok for driving both models of
switch
* single SF-300 shows appropriate VLAN isolation
* single Catalyst-3750 works similarly
* cross SF-300 interop works similarly
* SF-300 to Catalyst-3750 works similarly
Change-Id: I1b89afc4c3504f197a2f8dd819e7c4ee3babfde9
|
|
Switch from CamelCase to under_score style for method names
Change-Id: I3ae5bafa659f7d8a847e51b88a368b3fba5f272f
|
|
Change-Id: I16915039ac44da08bd12eb5f0912a6a2bfb61bc6
|
|
Cisco docs suggest this, and it doesn't hurt
|
|
|
|
|
|
The trailing "P" looks to be for PoE instead of ports, maybe. The
SF300-48 in the lab doesn't have the trailing "P".
|
|
Will need more testing yet!
Not yet chccked VLAN interop between switches.
Includes the "TrunkWildCardVlans" capability, the first one we've
defined.
Not sure how many exactl models of Catalyst this will support, may
need to tighten up on the _expected_descr_re later once we've done
more testing.
|
|
Refactor existing code some more to make it more common for drivers.
Rename a lot of internal class variables to make it clearer they're
internal.
|
|
Returns an empty list so far, other switches/drivers may add more.
|
|
|
|
Add support for saving running config
Initial support for general port VLAN setting
|
|
Refactor the interface around setting up general ports in VLANs. Move
all the direct calls to the switch to internal-only functions, and
just expose the top-level wrapper PortSetGeneralVlan(). This makes the
interface easier to match up with that for other drviers.
|
|
Deal with s/access/general/
Parse "show interfaces" for port mode
|
|
|
|
Working:
connect/disconnect
identify device
identify ports
create/destroy/rename/list VLANs
|
|
|
|
|
|
|
|
Believed functional, needs more stress-testing
|