Revision 0cdb8b3c ncclient/manager.py

b/ncclient/manager.py
17 17
import transport
18 18

  
19 19

  
20
def connect_ssh(*args, **kwds):
20
def ssh_connect(*args, **kwds):
21 21
    session = transport.SSHSession(capabilities.CAPABILITIES)
22 22
    session.load_system_host_keys()
23 23
    session.connect(*args, **kwds)
24 24
    return Manager(session)
25 25

  
26
connect = connect_ssh # default session type
26
connect = ssh_connect # default session type
27 27

  
28 28
RAISE_ALL, RAISE_ERROR, RAISE_NONE = range(3)
29 29

  
30 30
class Manager:
31 31
    
32
    "Thin layer of abstraction for the API."
32
    "Thin layer of abstraction for the ncclient API."
33 33
    
34 34
    def __init__(self, session, rpc_error=RAISE_ALL):
35 35
        self._session = session

Also available in: Unified diff