- Timestamp:
- 05/19/12 03:36:52 (13 years ago)
- Location:
- etherws/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
etherws/trunk/README.rst
r156 r158 82 82 # etherws client --uri wss://<Hypervisor1's IP address>/ --insecure 83 83 84 Note: see `<http://docs.python.org/library/ssl.html #certificates>`_84 Note: see `<http://docs.python.org/library/ssl.html>`_ 85 85 for more information about certificates. 86 86 … … 123 123 History 124 124 ======= 125 0.4 (2012-05-19 JST) 126 - server certificate verification support 127 125 128 0.3 (2012-05-17 JST) 126 129 - client authentication support -
etherws/trunk/etherws.py
r156 r158 306 306 subparsers = parser.add_subparsers(dest='subcommand') 307 307 308 parser_s erver= subparsers.add_parser('server')309 parser_s erver.add_argument('--address', action='store', default='')310 parser_s erver.add_argument('--port', action='store', type=int)311 parser_s erver.add_argument('--path', action='store', default='/')312 parser_s erver.add_argument('--htpasswd', action='store')313 parser_s erver.add_argument('--keyfile', action='store')314 parser_s erver.add_argument('--certfile', action='store')315 316 parser_c lient= subparsers.add_parser('client')317 parser_c lient.add_argument('--uri', action='store', required=True)318 parser_c lient.add_argument('--insecure', action='store_true', default=False)319 parser_c lient.add_argument('--cacerts', action='store')320 parser_c lient.add_argument('--user', action='store')308 parser_s = subparsers.add_parser('server') 309 parser_s.add_argument('--address', action='store', default='') 310 parser_s.add_argument('--port', action='store', type=int) 311 parser_s.add_argument('--path', action='store', default='/') 312 parser_s.add_argument('--htpasswd', action='store') 313 parser_s.add_argument('--keyfile', action='store') 314 parser_s.add_argument('--certfile', action='store') 315 316 parser_c = subparsers.add_parser('client') 317 parser_c.add_argument('--uri', action='store', required=True) 318 parser_c.add_argument('--insecure', action='store_true', default=False) 319 parser_c.add_argument('--cacerts', action='store') 320 parser_c.add_argument('--user', action='store') 321 321 322 322 args = parser.parse_args()
Note: See TracChangeset
for help on using the changeset viewer.