lfcli_base.py: changed --port in lfcli_base to --lf_port , this addition of

--port created a conflict with lf_attend_mod_test.py The --port was introduced
a month ago. Will look for other conflicts in the regressions.
Changed lf_attend_mod_test.py to add back in --port

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2022-03-21 11:08:11 -06:00
committed by shivam
parent f38170b77b
commit f7fae8f381
2 changed files with 2 additions and 2 deletions

View File

@@ -719,7 +719,7 @@ class LFCliBase:
default='localhost',
help='hostname for where LANforge GUI is running')
optional.add_argument('--mgr_port',
'--port',
'--lf_port',
default=8080,
help='port LANforge GUI HTTP service is running on')
optional.add_argument('-u',

View File

@@ -70,7 +70,7 @@ def main():
parser.add_argument('-hst', '--host', help='host name', default='192.168.200.12')
# basic_argparser contains --port option
# parser.add_argument('-port', '--port', help='port name', default=8080)
parser.add_argument('-port', '--port', help='port name', default=8080)
parser.add_argument('-atten_serno', '--atten_serno', help='Serial number for requested Attenuator, or \'all\'', default=2222)
parser.add_argument('-atten_idx', '--atten_idx', help='Attenuator index eg. For module 1 = 0,module 2 = 1', default=7)
parser.add_argument('-atten_val', '--atten_val', help='Requested attenution in 1/10ths of dB (ddB).', default=550)