Revision eb4ed8c6 iooclient/eos_ned.py

b/iooclient/eos_ned.py
46 46
        or structured python data
47 47
        
48 48
        Usage:
49

  
49
            
50
            >>> from iooclient.eos_ned import *
50 51
            >>> ned = eosNed('1.2.3.4', 20006, 'password')
51 52
            >>> ned.list_ne_dir()
52 53
            [{'{'userLabel': 'elementName',
......
54 55
              'notificationType': 'pmPointList',
55 56
              ...
56 57

  
57
        or
58
        
59
        >>> with eosNed('1.2.3.4', 20006, 'password') as ned:
60
        >>>    ned.list_ne_dir()
61
        [{'{'userLabel': 'elementName',
62
          'locationName': Athens,
63
          'notificationType': 'pmPointList',
64
          ... 
65
                
58
        or:
59
            
60
            >>> from iooclient.eos_ned import *
61
            >>> with eosNed('1.2.3.4', 20006, 'password') as ned:
62
            >>>    ned.list_ne_dir()
63
            [{'{'userLabel': 'elementName',
64
              'locationName': Athens,
65
              'notificationType': 'pmPointList',
66
              ... 
67
                    
66 68
        @rtype: String or list of dictionaries
67 69
        @return: Network element data in raw text format or in structured format. False in case of errors.
68 70
        '''

Also available in: Unified diff