-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig2
50 lines (48 loc) · 3.03 KB
/
config2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"hypervisor_address": "10.0.0.13",
"primary_dpid": 11141135,
"primary_switch_down_ports": [5, 7],
"port_to_hypervisor": 9,
"hypervisor_of_port": 6633,
"primary_vpn_hosts": [
{ "type": "server", "switch_port": 1, "node_internal_ip": "10.0.0.14", "node_public_ip": "10.0.1.12",
"key_dir": "/home/yuen/Desktop/openvpenca/keys/", "client_ip_pool_start": "10.0.0.50",
"client_ip_pool_stop": "10.0.0.100", "subnet_behind_server": "10.0.0.0", "bridged_eth_interface": "eth1",
"eth_broadcast_addr": "10.0.0.255", "hypervisor_ip": "10.0.0.10",
"ca_location": "/home/yuen/Desktop/openvpenca/keys/ca.crt",
"cert_location": "/home/yuen/Desktop/openvpenca/keys/server2.crt",
"key_location": "/home/yuen/Desktop/openvpenca/keys/server2.key",
"dh_location": "/home/yuen/Desktop/openvpenca/keys/dh2048.pem"
}
],
"slave_switches" :[
{"dpid": 11141141, "up_port":1, "down_ports":[3, 5], "address": "10.0.0.6", "mac_addr": "00:00:00:aa:00:03", "hyperv_slave_port": 7},
{"dpid": 11141139, "up_port":1, "down_ports":[3, 5], "address": "10.0.0.5", "mac_addr": "00:00:00:aa:00:13", "hyperv_slave_port": 5}
],
"vpn_hosts": [
{"internal_addr": "10.0.0.15", "public_addr": "10.0.1.13", "privatenet": "10.0.0.0", "switch_port": 3,
"mac_addr": "00:00:00:aa:00:11", "bridge_int": "eth1", "key_dir": "/home/yuen/Desktop/openvpenca/keys/",
"eth_broadcast_addr": "10.0.0.255", "client_ip_pool_start": "10.0.0.50", "client_ip_pool_end": "10.0.0.100",
"client_ca_location": "/home/yuen/Desktop/openvpenca/keys/ca.crt",
"client_cert_location": "/home/yuen/Desktop/openvpenca/keys/client1.crt",
"client_key_location": "/home/yuen/Desktop/openvpenca/keys/client1.key",
"client_dh_location": "/home/yuen/Desktop/openvpenca/keys/dh2048.pem",
"server_ca_location": "/home/yuen/Desktop/openvpenca/keys/ca.crt",
"server_cert_location": "/home/yuen/Desktop/openvpenca/keys/server2.crt",
"server_key_location": "/home/yuen/Desktop/openvpenca/keys/server2.key",
"server_dh_location": "/home/yuen/Desktop/openvpenca/keys/dh2048.pem"
},
{"internal_addr": "10.0.0.23", "public_addr": "10.0.1.15", "privatenet": "10.0.0.0", "switch_port": 11,
"mac_addr": "00:00:00:aa:00:28", "bridge_int": "eth1", "key_dir": "/home/yuen/Desktop/openvpenca/keys/",
"eth_broadcast_addr": "10.0.0.255", "client_ip_pool_start": "10.0.0.50", "client_ip_pool_end": "10.0.0.100",
"client_ca_location": "/home/yuen/Desktop/openvpenca/keys/ca.crt",
"client_cert_location": "/home/yuen/Desktop/openvpenca/keys/client1.crt",
"client_key_location": "/home/yuen/Desktop/openvpenca/keys/client1.key",
"client_dh_location": "/home/yuen/Desktop/openvpenca/keys/dh2048.pem",
"server_ca_location": "/home/yuen/Desktop/openvpenca/keys/ca.crt",
"server_cert_location": "/home/yuen/Desktop/openvpenca/keys/server2.crt",
"server_key_location": "/home/yuen/Desktop/openvpenca/keys/server2.key",
"server_dh_location": "/home/yuen/Desktop/openvpenca/keys/dh2048.pem"
}
]
}