Changeset 168
- Timestamp:
- 06/28/12 02:53:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
etherws/trunk/etherws.py
r167 r168 475 475 taps = [TapHandler(switch, dev, debug=args.debug) for dev in args.device] 476 476 477 client = EtherWebSocketClient(switch, args.uri, 478 args.user, args.passwd, args.debug) 479 client.open() 480 ioloop.add_handler(client.fileno(), client, ioloop.READ) 477 clients = [EtherWebSocketClient(switch, uri, 478 args.user, args.passwd, args.debug) 479 for uri in args.uri] 480 481 for client in clients: 482 client.open() 483 ioloop.add_handler(client.fileno(), client, ioloop.READ) 481 484 482 485 for tap in taps: … … 508 511 509 512 parser_c = subparsers.add_parser('client') 510 parser_c.add_argument('--uri', action=' store', required=True)513 parser_c.add_argument('--uri', action='append', default=[]) 511 514 parser_c.add_argument('--insecure', action='store_true', default=False) 512 515 parser_c.add_argument('--cacerts', action='store')
Note: See TracChangeset
for help on using the changeset viewer.