-fix is_ready(). -Now check if NodeManager has started and vuseradd has stopped
[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         {'plcs': ['TestPLC', '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         {'plcs': ['TestPLC', 'ParisPLC'],       
37          'site': 'ts',
38          'hostname': 'vm1.paris.cs.princeton.edu',
39          'host': 'localhost',
40          'redir_ssh_port': '51022',
41          'type': 'vm',
42          'model' : 'qemu/minhw',
43          'boot_state': 'rins', 
44          'nodenetworks' : [{'type': 'ipv4',
45                            'method': 'static',
46                            'ip': '10.0.2.16',
47                            'gateway': '10.0.2.2',
48                            'dns1': '10.0.2.3',
49                            'network': '10.0.2.0',
50                            'netmask': '255.255.255.0',
51                            'broadcast': '10.0.2.255',
52                            'mac': u'52:54:00:12:34:56'
53                            }]
54         }
55         
56         ]
57
58 slices = [
59         {'plcs': ['TestPLC','ParisPLC'],   
60          'name': 'ts_slice1',
61          'instantiation': 'plc-instantiated',
62          'max_nodes': 1000,
63          'description': 'blank',
64          'url': 'http://test.org',
65          'nodes': ['vm1.paris.cs.princeton.edu']
66         }
67         ]
68
69 persons = [
70         {'plc': ['TestPLC', 'ParisPLC'],
71          'first_name': 'fname',
72          'last_name': 'lname',
73          'password': 'password',
74          'email': 'person@cs.princeton.edu',
75          'roles': ['user', 'pi'],
76          'sites': ['ts'], 
77          'slices': ['ts_slice1']
78         }
79         ]