Changeset 158


Ignore:
Timestamp:
05/19/12 03:36:52 (12 years ago)
Author:
atzm
Message:
  • add history
Location:
etherws/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • etherws/trunk/README.rst

    r156 r158  
    8282  # etherws client --uri wss://<Hypervisor1's IP address>/ --insecure 
    8383 
    84 Note: see `<http://docs.python.org/library/ssl.html#certificates>`_ 
     84Note: see `<http://docs.python.org/library/ssl.html>`_ 
    8585for more information about certificates. 
    8686 
     
    123123History 
    124124======= 
     1250.4 (2012-05-19 JST) 
     126  - server certificate verification support 
     127 
    1251280.3 (2012-05-17 JST) 
    126129  - client authentication support 
  • etherws/trunk/etherws.py

    r156 r158  
    306306    subparsers = parser.add_subparsers(dest='subcommand') 
    307307 
    308     parser_server = subparsers.add_parser('server') 
    309     parser_server.add_argument('--address', action='store', default='') 
    310     parser_server.add_argument('--port', action='store', type=int) 
    311     parser_server.add_argument('--path', action='store', default='/') 
    312     parser_server.add_argument('--htpasswd', action='store') 
    313     parser_server.add_argument('--keyfile', action='store') 
    314     parser_server.add_argument('--certfile', action='store') 
    315  
    316     parser_client = subparsers.add_parser('client') 
    317     parser_client.add_argument('--uri', action='store', required=True) 
    318     parser_client.add_argument('--insecure', action='store_true', default=False) 
    319     parser_client.add_argument('--cacerts', action='store') 
    320     parser_client.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') 
    321321 
    322322    args = parser.parse_args() 
Note: See TracChangeset for help on using the changeset viewer.