1 #definition of all structure used by the test_setup.py script
4 'node1' : {'hostname': 'test1.one-lab.org',
6 'model':'vmware/minhw',
8 'network': { 'method':'static',
10 'ip':'192.168.132.128',
11 'gateway':'192.168.132.1',
12 'network':'192.168.132.0',
13 'broadcast':'192.168.132.255',
14 'netmask':'255.255.255.0',
15 'dns1': '192.168.132.2',
19 'node2' : { 'hostname':'test2.one-lab.org',
21 'model':'vmware/minhw',
23 'network': {'method':'static',
25 'ip':'192.168.132.130',
26 'gateway':'192.168.132.1',
27 'network':'192.168.132.0',
28 'broadcast':'192.168.132.255',
29 'netmask':'255.255.255.0',
30 'dns1': '192.168.132.2',
37 'site_fields' : {'name':'testsite',
39 'abbreviated_name':'PLanettest',
41 'url':'http://onelab-test.inria.fr',
43 'site_address' : {'line1':'route des lucioles',
49 'pi_spec' : {'first_name':'PI',
52 'email':'fake-pi1@one-lab.org',
56 'tech_spec' : {'first_name':'Tech',
59 'email':'fake-tech1@one-lab.org',
60 'password':'testtech',
63 'user_spec' : {'first_name':'User',
66 'email':'fake-user1@one-lab.org',
67 'password':'testuser',
70 'tech_user_spec' : {'first_name':'UserTech',
71 'last_name':'UserTech',
73 'email':'fake-tech2@one-lab.org',
74 'password':'testusertech',
75 'roles':['tech','user'],
77 'pi_tech_spec' : {'first_name':'PiTech',
80 'email':'fake-pi2@one-lab.org',
81 'password':'testusertech',
82 'roles':['pi','tech'],
85 'nodes' : [ site1_nodes['node1'], site1_nodes['node2']],
89 site_specs = [ site_spec1 ]
92 'hostname' : 'localhost',
94 'PLC_ROOT_USER' : 'root@onelab-test.inria.fr',
95 'PLC_ROOT_PASSWORD' : 'test++',
96 'PLC_NAME' : 'TestLab',
97 'PLC_MAIL_ENABLED':'true',
98 'PLC_MAIL_SUPPORT_ADDRESS' : 'mohamed-amine.chaoui@sophia.inria.fr',
99 'PLC_DB_HOST' : 'onelab-test.inria.fr',
100 'PLC_API_DEBUG':'true',
101 'PLC_API_HOST' : 'onelab-test.inria.fr',
102 'PLC_WWW_HOST' : 'onelab-test.inria.fr',
103 'PLC_BOOT_HOST' : 'onelab-test.inria.fr',
104 'PLC_NET_DNS1' : '138.96.0.10',
105 'PLC_NET_DNS2' : '138.96.0.11',
106 'sites' : site_specs,
109 plc_specs = [ plc_spec1 ]
111 key={'key_type':'ssh',
112 'key':'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4jNj8yT9ieEc6nSJz/ESu4fui9WrJ2y/MCfqIZ5WcdVKhBFUYyIenmUaeTduMcSqvoYRQ4QnFR1BFdLG8XR9D6FWZ5zTKUgpkew22EVNeqai4IXeWYKyt1Qf3ehaz9E3o1PG/bmQNIM6aQay6TD1Y4lqXI+eTVXVQev4K2fixySjFQpp9RB4UHbeA8c28yoa/cgAYHqCqlvm9uvpGMjgm/Qa4M+ZeO7NdjowfaF/wF4BQIzVFN9YRhvQ/d8WDz84B5Pr0J7pWpaX7EyC4bvdskxl6kmdNIwIRcIe4OcuIiX5Z9oO+7h/chsEVJWF4vqNIYlL9Zvyhnr0hLLhhuk2bw== root@onelab-test.inria.fr'}
115 slice_spec={'name':'ts_slicetest1',
116 'instantiation':'plc-instantiated',
117 'url':'http://foo@ffo.com',
118 'description':'testslice the first slice for the site testsite',