mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
jbr_create_wanlink.py: many arguments are actually string typed
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
This commit is contained in:
@@ -63,38 +63,37 @@ def main():
|
|||||||
query: LFJsonQuery
|
query: LFJsonQuery
|
||||||
query = session.get_query()
|
query = session.get_query()
|
||||||
|
|
||||||
|
|
||||||
command.post_add_rdd(resource=args.resource,
|
command.post_add_rdd(resource=args.resource,
|
||||||
port="rd0a",
|
port="rd0a",
|
||||||
peer_ifname="rd0b",
|
peer_ifname="rd0b",
|
||||||
report_timer=1000,
|
report_timer="1000",
|
||||||
shelf=1,
|
shelf="1",
|
||||||
debug_=args.debug)
|
debug=args.debug)
|
||||||
|
|
||||||
command.post_add_rdd(resource=args.resource,
|
command.post_add_rdd(resource=args.resource,
|
||||||
port="rd1a",
|
port="rd1a",
|
||||||
peer_ifname="rd1b",
|
peer_ifname="rd1b",
|
||||||
report_timer=1000,
|
report_timer=1000,
|
||||||
shelf=1,
|
shelf=1,
|
||||||
debug_=args.debug)
|
debug=args.debug)
|
||||||
|
|
||||||
endp_a = args.wl_name + "-A"
|
endp_a = args.wl_name + "-A"
|
||||||
endp_b = args.wl_name + "-B"
|
endp_b = args.wl_name + "-B"
|
||||||
command.post_add_wl_endp(alias=endp_a,
|
command.post_add_wl_endp(alias=endp_a,
|
||||||
resource=args.resource,
|
resource=args.resource,
|
||||||
port="rd0a",
|
port="rd0a",
|
||||||
shelf=1,
|
shelf="1",
|
||||||
debug_=args.debug)
|
debug=args.debug)
|
||||||
command.post_add_wl_endp(alias=endp_b,
|
command.post_add_wl_endp(alias=endp_b,
|
||||||
resource=args.resource,
|
resource=args.resource,
|
||||||
port="rd1a",
|
port="rd1a",
|
||||||
shelf=1,
|
shelf="1",
|
||||||
debug_=args.debug)
|
debug=args.debug)
|
||||||
command.post_add_cx(alias=args.wl_name,
|
command.post_add_cx(alias=args.wl_name,
|
||||||
rx_endp=endp_a,
|
rx_endp=endp_a,
|
||||||
tx_endp=endp_b,
|
tx_endp=endp_b,
|
||||||
test_mgr="default_tm",
|
test_mgr="default_tm",
|
||||||
debug_=args.debug)
|
debug=args.debug)
|
||||||
ewarn_list = []
|
ewarn_list = []
|
||||||
result = query.get_wl(eid_list=(args.wl_name),
|
result = query.get_wl(eid_list=(args.wl_name),
|
||||||
wait_sec=0.2,
|
wait_sec=0.2,
|
||||||
@@ -103,6 +102,8 @@ def main():
|
|||||||
debug=args.debug)
|
debug=args.debug)
|
||||||
pprint.pprint(result)
|
pprint.pprint(result)
|
||||||
result = query.get_wl_endp(eid_list=(args.wl_name+"-A", args.wl_name+"-B"),
|
result = query.get_wl_endp(eid_list=(args.wl_name+"-A", args.wl_name+"-B"),
|
||||||
|
wait_sec=0.2,
|
||||||
|
timeout_sec=15.0,
|
||||||
debug=args.debug)
|
debug=args.debug)
|
||||||
pprint.pprint(result)
|
pprint.pprint(result)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user