-added get_path() method
[tests.git] / qaapi / qa / qa_config.py
1 #!/usr/bin/python
2
3 sites = []
4 persons = []
5 slices = []
6
7 plcs = [
8         {'name': 'TestPLC',
9          'host': 'localhost',
10          'ip': '127.0.0.1',
11          'url': 'https://localhost.localdomain/',
12          'port': '443'
13         },
14         {'name': 'ParisPLC',
15          'host': 'paris.cs.princeton.edu',
16          'ip': '128.112.95.151',
17          'url': 'https://paris.cs.princeton.edu/',
18          'port': '443',
19          'chroot': '/plc/root/'
20         }
21         ]
22
23 sites = [
24         {'plc': 'ParisPLC',
25          'name': 'TestSite1',
26          'login_base': 'ts',
27          'enabled': True,
28          'abbreviated_name': 'Test1',
29          'max_slices': 100,
30          'is_public': True,
31          'url': 'http://pl-test.planet-lab.org'
32         }
33         ]
34
35 nodes = [
36         {'plc': 'ParisPLC',     
37          'site': 'ts',
38          'hostname': 'vm1.paris.cs.princeton.edu',
39          'host': 'localhost',
40          'redir_port': '51101',
41          'type': 'vm',
42          'nodenetworks' : [{'type': 'ipv4',
43                            'method': 'static',
44                            'ip': '10.0.2.16',
45                            'gateway': '10.0.2.2',
46                            'dns1': '10.0.2.2',
47                            'network': '10.0.2.0',
48                            'netmask': '255.255.255.0',
49                            'broadcast': '10.0.2.255'
50                            }]
51         }
52         
53         ]
54
55 slices = [
56         {'plc': 'ParisPLC',   
57          'name': 'ts_slice1',
58          'instantiation': 'plc-instantiated',
59          'max_nodes': 1000,
60          'description': 'blank',
61          'url': 'http://test.org',
62          'nodes': ['vm1.paris.cs.princeton.edu']
63         }
64         ]
65
66 persons = [
67         {'plc': 'ParisPLC',
68          'first_name': 'fname',
69          'last_name': 'lname',
70          'password': 'password',
71          'email': 'person@cs.princeton.edu',
72          'roles': ['user', 'pi'],
73          'sites': ['ts'], 
74          'slices': ['ts_slice1']
75         }
76         ]