Jed Reynolds
ec76d13ba5
LFRequest.py: json_post debug message more readable
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-08 22:28:54 -08:00
Matthew Stidham
c4511ad39a
Fix LFRequest.get so it inherits debug commands from the class
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-08 18:52:26 -08:00
Chuck SmileyRekiere
958427c1e2
Jira: LAN-715 port_probe.py : defaut bw = 20 to fix
...
UnboundLocalError: local variable 'bw' referenced before assignment
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-06 14:56:43 -06:00
Matthew Stidham
f2a6ab15bd
Revert "Deprecating l3_cxprofile2.py"
...
This reverts commit d50907c8b3 .
2021-11-05 13:33:21 -07:00
Matthew Stidham
d50907c8b3
Deprecating l3_cxprofile2.py
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 12:39:55 -07:00
Matthew Stidham
9963b32ba9
Set default min_bps in l3cxprofile in order to make it easier to use in command line.
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 11:58:11 -07:00
Jed Reynolds
8a0b5c22f0
LFRequest.py: converting if(debug):print() to self.logger.debug() statements
...
This change hooks into the global python logging instance and exercises level based logging
without more advanced logic like "digest/json/http/gui" as documented elsewhere. Need to
establish the correctness of this usage before moving forward.
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-03 19:53:30 -07:00
Jed Reynolds
2f7baf2987
lfcli_base.py: can now import lanforge_client.logg
...
Adds notes on where present logg() function is being used
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-03 19:53:30 -07:00
Jed Reynolds
3a17f699cc
LFUtils.py can now import Logg
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-03 19:53:30 -07:00
Jed Reynolds
be4c47295f
lfcli_base.py: adds logging logic that is distinct from lanforge_api.py but similar in function
...
this was checked with lf_help_check.bash and check_argparse.py.
Signed-off-by: Jed Reynolds <jreynolds@candelatech.com >
2021-11-02 16:45:28 -07:00
Jed Reynolds
8118406f7d
lfcli_base.py: whitespace, renamed variable x to argument
2021-11-02 16:45:28 -07:00
Chuck SmileyRekiere
12c8985424
l3_cxprofile.py append 'alias' soon to the columns
...
test_ip_variable_time.py update example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-02 07:52:55 -06:00
Jed Reynolds
45ae840e2a
lf_json_autogen.py removed, replaced by lanforge_api.py
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-10-29 09:58:16 -07:00
Chuck SmileyRekiere
623f3790b9
l3_cxprofile.py white space clean up
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 15:56:30 -06:00
Chuck SmileyRekiere
1515f3701a
port_probe.py pep8 cleanup (line length 150)
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 15:50:13 -06:00
Chuck SmileyRekiere
c15d0cbf0a
l3_cxprofile.py changed to is None were used == , updated exceptions
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 15:41:47 -06:00
Chuck SmileyRekiere
0fe949e5f7
l3_cxprofile.py : updated column for GI
...
port_probe.py : report the GI (Guard Index) for reporting
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 15:27:12 -06:00
Chuck SmileyRekiere
a31be6c835
l3_cxprofile.py : added gi and caclulated mbps
...
port_probe.py : determining GI and calculated mbps
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 14:10:19 -06:00
Chuck SmileyRekiere
3e7908a623
l3_cxprofile.py : commented out HE status for now.
...
port_porbe.py : with 6Mb legacy frame
do not set the rx_nss and rx_mhz to zero to allow for
the reporting columns to be blank
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 10:58:56 -06:00
Chuck SmileyRekiere
017043b7e1
l3_cxprofile.py : updated columns for rx GI
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 10:24:57 -06:00
Chuck SmileyRekiere
1787929e37
l3_cxprofile.py : column title updated for Guard Index GI
...
port_probe.py : update for various porbe syntax for the rx and tx bitrate
in getting MHz values for bandwidth
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 10:21:48 -06:00
Chuck SmileyRekiere
422b2ab577
port_probe.py commented out probe print
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 09:44:59 -06:00
Chuck SmileyRekiere
eb3b831f8b
port_probe.py updated for MCS values greater then 7
...
l3_csprofile.py removed the guard interval column for now
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 08:04:27 -06:00
Chuck SmileyRekiere
55ad888bb1
l3_cxprofile.py : alias code, added put in exception of the number of
...
expected stations does not match the number of stations present.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 07:19:55 -06:00
Chuck SmileyRekiere
7e86d436de
port_probe.py - HT derive NSS from mcs values
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 07:02:41 -06:00
Chuck SmileyRekiere
a1218e82ec
l3_cxprovile.py, port_probe.py : updates for rx side
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-26 17:20:16 -06:00
Chuck SmileyRekiere
563d44e39e
l3_cxprofile.py : added the calculated TX
...
port_probe.py : added the calculated TX
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-26 15:46:50 -06:00
Chuck SmileyRekiere
d582c8399a
port_probe.py : tx side reading data from probe and doing HT calculations
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-26 14:48:53 -06:00
Chuck SmileyRekiere
75245b56fb
port_probe.py : added HT equation , removed spreed sheet
...
ct_us_001_scripts.json updated
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-26 12:52:10 -06:00
Chuck SmileyRekiere
5d22de3824
port_probe.py : added HT equation
...
ct_us_001_scripts.json updated ip_variable_time.py test
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-26 07:11:00 -06:00
Chuck SmileyRekiere
cdccc492d9
py-json/port_probe.py :
...
py-scripts/port_probe.py
py-script/test_ip_variable_time.py
Starting point from previous work
2021-10-25 17:51:35 -04:00
Matthew Stidham
c996c90845
Update port_probe and files which depend on it. Add vht and ht calculators
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-10-19 10:36:24 -07:00
Matthew Stidham
2f4dfaea14
Create port_probe.py and update l3_cxprofile and test_ip_variable_time so that they can use port_probe.py
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-10-14 13:47:37 -07:00
Matthew Stidham
471b988b88
Move event_breaker and event_flood to scripts_deprecated
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-10-14 12:47:09 -07:00
Matthew Stidham
7915ea197f
Layer 3 columns can now monitor port mgr table in real time
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-10-13 16:07:36 -07:00
Jed Reynolds
bcbc3bf7a2
JSON: py-json/LANforge/set_port.py adjusted to lanforge_client/lanforge_api.py
2021-10-11 16:15:53 -07:00
erinnerim
b89145bd97
create_wanlink.py, create_l3.py: comment out auto-start code
2021-10-07 08:57:41 -07:00
erinnerim
14a86b7699
create_wanlink.py: remove stopping wanlink
2021-10-06 17:02:38 -07:00
Matthew Stidham
8f2fa4bf8c
* We don't need to import LFUtils in lfcli_base
...
* local_realm in lf_attenmod is unused.
* local_realm in attenuator_profile is unused, because I'm switching to inheritance as part of my work eliminating redundancy.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-10-04 11:51:37 -07:00
erinnerim
d3d3af77f5
create_wanlink.py typo in parser: prog
2021-10-03 16:36:20 -07:00
erinnerim
c222700775
implement CLI for create_wanlink.py
2021-10-03 16:33:10 -07:00
Chuck SmileyRekiere
055b1a9b0a
l3_cxprofile.py , multicast_profile.py : updated pprint.pprint
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-09-30 15:11:58 -06:00
Matthew Stidham
e790d487b1
Make it so VAP profile works with Realm again
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-09-30 14:03:33 -07:00
Chuck SmileyRekiere
4744bc488a
lfcli_base.py : changed from pprint import pprint to import pprint
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-09-30 13:25:07 -06:00
karthikaeyetea
dcfb3f385a
added max_speed in If block of create()
2021-09-30 23:20:37 +05:30
Ben Greear
82b5d61de2
rvr: Fix pulling to local directory.
...
My earlier attempt missed passing in the cmd-line-arg to the
code that actually used it.
And, add more useful printout to the CV test mgr to show what it
is pulling where.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-09-29 16:31:52 -07:00
jitendracandela
7e9b2565c0
added quiesce_after
2021-09-29 11:48:12 +05:30
Jed Reynolds
f4e45aadeb
set_port.py: corrects updated LFJsonCommand references that have changed
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-09-28 09:11:24 -07:00
Jed Reynolds
7bfc9ee7e0
lf_json_autogen.py: significant updates from the jag-2021-09-27 branch
...
- parameter types
- stand-alone request management
- session token
- expanded class hierarchy:
BaseSession <- LFSession,
LFBaseRequest <- JsonQuery <- LFJsonQuery
LFBaseRequest <- JsonCommand <- LFJsonCommand
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-09-28 01:14:15 -07:00
Jed Reynolds
e446aaed39
LFRequest.py: error message prints out called URL
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-09-28 01:14:15 -07:00