- 27 Apr, 2011 1 commit
-
-
Weibin Sun authored
-
- 21 Apr, 2011 1 commit
-
-
Weibin Sun authored
-
- 04 Apr, 2011 1 commit
-
-
Weibin Sun authored
commit refactored code before merging old ones, the new_snmpit frontend, lib, lan, stack, hp, apcon already merged
-
- 16 Mar, 2011 1 commit
-
-
Weibin Sun authored
-
- 23 Feb, 2011 2 commits
-
-
Weibin Sun authored
-
Weibin Sun authored
-
- 14 Dec, 2010 1 commit
-
-
Weibin Sun authored
-
- 16 Oct, 2010 2 commits
-
-
Weibin Sun authored
-
Weibin Sun authored
Apply changes on boss installation to the source: add isSwitchPort and getVlanIfaces to snmpit_lib, isSwitchPort detects if a given port is on switch, getVlanIfaces get ports in a Vlan in iface format; call getVlanIfaces from getVlanPorts to reuse the code to find members in a VLAn; in convertPortFromIface, detect if a port is actually on switch and get the port in node:card.port format, but now the return value is still node:card because lots of code in snmpit and snmpit_lib heavily depend on the node:card format. In snmpit, check if a port is on switch before portControl and getInterfaceSettings to avoid errors cause by port-not-found. In snmpit_apcon, try to refine the given ports in setPortsVlan and portControl to deal with switch port, also a more robust function to translate port from pc node format to switch format.
-
- 28 Sep, 2010 1 commit
-
-
Weibin Sun authored
-
- 24 Sep, 2010 2 commits
-
-
Weibin Sun authored
-
Weibin Sun authored
-
- 23 Sep, 2010 1 commit
-
-
Weibin Sun authored
snmpit_lib.pm: add apcon1 into test switches list temporarily for my test only, we need figure out a better approach because apcon1 is widearea_switch...; snmpit_apcon.pm: convert the ports in listVlans to pc node format.
-
- 22 Sep, 2010 3 commits
-
-
Weibin Sun authored
snmpit_apcon.pm: change the format of portRates values to the STANDERD one, which doesnot have "bits" in the speed
-
Weibin Sun authored
-
Weibin Sun authored
-
- 15 Sep, 2010 4 commits
-
-
Weibin Sun authored
-
Weibin Sun authored
snmpit_apcon.pm: query ports mapping inside the package without using snmpit_lib because the default portnum ignore the node1's port in table wires when compositing a portnum, which will fail to handle the case that a switch is node1.
-
Weibin Sun authored
tbsetup/snmpit_apcon.pm: portRates keys are uppercase now. parsePortRates also parses the actual rate string, which does belong to the configurable rates. snmpit.in: in doListPorts: comment the debug call with , it might cause warning because of undefined .
-
Weibin Sun authored
tbsetup/GNUmakefile.in:add snmpit_apcon.pm to LIB_STUFF. snmpit_apcon.pm: add response to asking about whether adding remote keys into trustedhosts for the first time ssh connection.
-
- 09 Sep, 2010 1 commit
-
-
Weibin Sun authored
-
- 08 Sep, 2010 1 commit
-
-
Weibin Sun authored
snmpit_apcon.pm: implement listPorts and its helpers: getAllPortsRates, parsePortRates and getPortRate. The portRates mapping has a pre-parsed value format now
-
- 03 Sep, 2010 2 commits
-
-
Weibin Sun authored
-
Weibin Sun authored
Move code in apcon_clilib.pm into snmpit_apcon.pm as internal functions. Merging finished. apcon_clilib.pm not deleted for reference.
-
- 02 Sep, 2010 1 commit
-
-
Weibin Sun authored
apcon_clilib.pm: add more parameters about password, switch name..., to createExpectObject to make the lib more configurable.
-
- 01 Sep, 2010 3 commits
-
-
Weibin Sun authored
-
Weibin Sun authored
-
Weibin Sun authored
snmpit_apcon.pm: a device package for Apcon switch. Codes are not tested yet. All public functions for a device package are implemented. Some functions are not supported on Apcon. They are just placeholders for future fake output. apcon_clilib.pm: function naming rules are changed for integration.
-
- 18 Aug, 2010 1 commit
-
-
Weibin Sun authored
Add two apcon files. apcon_clilib.pm is for CLI ops on Apcon layer 1 switch, the code is tested on my laptop(ssh to switch).
-