1921 lines
53 KiB
JSON
1921 lines
53 KiB
JSON
{
|
|
"EduNetworkBuilder": {
|
|
"Network": {
|
|
"en_message": "They say they did not do anything, but suddenly everything stopped working. Now that you are back from your trip, can you fix it?",
|
|
"fr_message": "TIls disent qu'ils n'ont rien fait, mais soudain tout a cessé de fonctionner. Maintenant que vous êtes de retour de votre voyage, pouvez-vous le réparer?",
|
|
"en_title": "What you cannot see can hurt you",
|
|
"height": "1024",
|
|
"width": "1024",
|
|
"itemsize": "100",
|
|
"showlabels": "full",
|
|
"level": "3",
|
|
"sortorder": "12",
|
|
"uniqueidentifier": "176",
|
|
"startinghelplevel": "full",
|
|
"vlansenabled": "True",
|
|
"VLANPacketColors": "False",
|
|
"device": [
|
|
{
|
|
"hostname": "server0",
|
|
"size": "100",
|
|
"uniqueidentifier": "162",
|
|
"location": "710,400",
|
|
"mytype": "server",
|
|
"isdns": "False",
|
|
"isdhcp": "True",
|
|
"gateway": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "162",
|
|
"nicid": "163",
|
|
"hostname": "firewall0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "163",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wan",
|
|
"wan"
|
|
],
|
|
"nicname": "wan0",
|
|
"myid": {
|
|
"hostid": "162",
|
|
"nicid": "166",
|
|
"hostname": "firewall0",
|
|
"nicname": "wan0"
|
|
},
|
|
"uniqueidentifier": "166",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "wan0",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "162",
|
|
"nicid": "164",
|
|
"hostname": "firewall0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "164",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.1.10",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth1",
|
|
"myid": {
|
|
"hostid": "162",
|
|
"nicid": "165",
|
|
"hostname": "firewall0",
|
|
"nicname": "eth1"
|
|
},
|
|
"uniqueidentifier": "165",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "eth1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"dhcprange": [
|
|
{
|
|
"ip": "127.0.0.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "route"
|
|
},
|
|
{
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "route"
|
|
},
|
|
{
|
|
"ip": "192.168.1.10",
|
|
"mask": "192.168.1.30",
|
|
"gateway": "192.168.1.40",
|
|
"type": "route"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "laptop0",
|
|
"size": "100",
|
|
"uniqueidentifier": "103",
|
|
"location": "410,790",
|
|
"mytype": "laptop",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "103",
|
|
"nicid": "104",
|
|
"hostname": "laptop0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "104",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "103",
|
|
"nicid": "105",
|
|
"hostname": "laptop0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "105",
|
|
"usesdhcp": "True",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "laptop1",
|
|
"size": "100",
|
|
"uniqueidentifier": "123",
|
|
"location": "680,160",
|
|
"mytype": "laptop",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.2.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "123",
|
|
"nicid": "124",
|
|
"hostname": "laptop1",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "124",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "123",
|
|
"nicid": "125",
|
|
"hostname": "laptop1",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "125",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.2.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "net_switch0",
|
|
"size": "100",
|
|
"uniqueidentifier": "109",
|
|
"location": "410,400",
|
|
"mytype": "net_switch",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "109",
|
|
"nicid": "110",
|
|
"hostname": "net_switch0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "110",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"management_interface",
|
|
"management_interface"
|
|
],
|
|
"nicname": "management_interface0",
|
|
"myid": {
|
|
"hostid": "109",
|
|
"nicid": "111",
|
|
"hostname": "net_switch0",
|
|
"nicname": "management_interface0"
|
|
},
|
|
"uniqueidentifier": "111",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "management_interface0",
|
|
"myip": {
|
|
"ip": "192.168.1.4",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port1",
|
|
"myid": {
|
|
"hostid": "109",
|
|
"nicid": "112",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port1"
|
|
},
|
|
"uniqueidentifier": "112",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port2",
|
|
"myid": {
|
|
"hostid": "109",
|
|
"nicid": "113",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port2"
|
|
},
|
|
"uniqueidentifier": "113",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port2",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port3",
|
|
"myid": {
|
|
"hostid": "109",
|
|
"nicid": "114",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port3"
|
|
},
|
|
"uniqueidentifier": "114",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port3",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port4",
|
|
"myid": {
|
|
"hostid": "109",
|
|
"nicid": "115",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port4"
|
|
},
|
|
"uniqueidentifier": "115",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port4",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port5",
|
|
"myid": {
|
|
"hostid": "109",
|
|
"nicid": "116",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port5"
|
|
},
|
|
"uniqueidentifier": "116",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port5",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port6",
|
|
"myid": {
|
|
"hostid": "109",
|
|
"nicid": "117",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port6"
|
|
},
|
|
"uniqueidentifier": "117",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port6",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port7",
|
|
"myid": {
|
|
"hostid": "109",
|
|
"nicid": "118",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port7"
|
|
},
|
|
"uniqueidentifier": "118",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port7",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "net_switch1",
|
|
"size": "100",
|
|
"uniqueidentifier": "130",
|
|
"location": "410,280",
|
|
"mytype": "net_switch",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"isinvisible": "True",
|
|
"gateway": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "130",
|
|
"nicid": "131",
|
|
"hostname": "net_switch1",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "131",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"management_interface",
|
|
"management_interface"
|
|
],
|
|
"nicname": "management_interface0",
|
|
"myid": {
|
|
"hostid": "130",
|
|
"nicid": "132",
|
|
"hostname": "net_switch1",
|
|
"nicname": "management_interface0"
|
|
},
|
|
"uniqueidentifier": "132",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "management_interface0",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port1",
|
|
"myid": {
|
|
"hostid": "130",
|
|
"nicid": "133",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port1"
|
|
},
|
|
"uniqueidentifier": "133",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port2",
|
|
"myid": {
|
|
"hostid": "130",
|
|
"nicid": "134",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port2"
|
|
},
|
|
"uniqueidentifier": "134",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port2",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port3",
|
|
"myid": {
|
|
"hostid": "130",
|
|
"nicid": "135",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port3"
|
|
},
|
|
"uniqueidentifier": "135",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port3",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port4",
|
|
"myid": {
|
|
"hostid": "130",
|
|
"nicid": "136",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port4"
|
|
},
|
|
"uniqueidentifier": "136",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port4",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port5",
|
|
"myid": {
|
|
"hostid": "130",
|
|
"nicid": "137",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port5"
|
|
},
|
|
"uniqueidentifier": "137",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port5",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port6",
|
|
"myid": {
|
|
"hostid": "130",
|
|
"nicid": "138",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port6"
|
|
},
|
|
"uniqueidentifier": "138",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port6",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port7",
|
|
"myid": {
|
|
"hostid": "130",
|
|
"nicid": "139",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port7"
|
|
},
|
|
"uniqueidentifier": "139",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "port7",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc0",
|
|
"size": "100",
|
|
"uniqueidentifier": "100",
|
|
"location": "130,680",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "101",
|
|
"hostname": "pc0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "101",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "102",
|
|
"hostname": "pc0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "102",
|
|
"usesdhcp": "True",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc1",
|
|
"size": "100",
|
|
"uniqueidentifier": "168",
|
|
"location": "610,650",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "168",
|
|
"nicid": "169",
|
|
"hostname": "pc1",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "169",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "168",
|
|
"nicid": "170",
|
|
"hostname": "pc1",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "170",
|
|
"usesdhcp": "True",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc2",
|
|
"size": "100",
|
|
"uniqueidentifier": "172",
|
|
"location": "130,450",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "172",
|
|
"nicid": "173",
|
|
"hostname": "pc2",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "173",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "172",
|
|
"nicid": "174",
|
|
"hostname": "pc2",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "174",
|
|
"usesdhcp": "True",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "router0",
|
|
"size": "100",
|
|
"uniqueidentifier": "119",
|
|
"location": "410,160",
|
|
"mytype": "router",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "119",
|
|
"nicid": "120",
|
|
"hostname": "router0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "120",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "119",
|
|
"nicid": "121",
|
|
"hostname": "router0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "121",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth1",
|
|
"myid": {
|
|
"hostid": "119",
|
|
"nicid": "122",
|
|
"hostname": "router0",
|
|
"nicname": "eth1"
|
|
},
|
|
"uniqueidentifier": "122",
|
|
"usesdhcp": "False",
|
|
"encryptionkey": null,
|
|
"ssid": null,
|
|
"interface": {
|
|
"nicname": "eth1",
|
|
"myip": {
|
|
"ip": "192.168.2.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "wrouter0",
|
|
"size": "100",
|
|
"uniqueidentifier": "142",
|
|
"location": "260,280",
|
|
"mytype": "wrouter",
|
|
"isdns": "False",
|
|
"isdhcp": "True",
|
|
"isinvisible": "True",
|
|
"gateway": {
|
|
"ip": "10.1.2.2",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "145",
|
|
"hostname": "wrouter0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "145",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wan",
|
|
"wan"
|
|
],
|
|
"nicname": "wan0",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "160",
|
|
"hostname": "wrouter0",
|
|
"nicname": "wan0"
|
|
},
|
|
"uniqueidentifier": "160",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wan0",
|
|
"myip": {
|
|
"ip": "10.1.2.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"vpn",
|
|
"vpn"
|
|
],
|
|
"nicname": "vpn0",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "159",
|
|
"hostname": "wrouter0",
|
|
"nicname": "vpn0"
|
|
},
|
|
"uniqueidentifier": "159",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "vpn0",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"management_interface",
|
|
"management_interface"
|
|
],
|
|
"nicname": "management_interface0",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "146",
|
|
"hostname": "wrouter0",
|
|
"nicname": "management_interface0"
|
|
},
|
|
"uniqueidentifier": "146",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "management_interface0",
|
|
"myip": {
|
|
"ip": "10.1.1.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port2",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "147",
|
|
"hostname": "wrouter0",
|
|
"nicname": "port2"
|
|
},
|
|
"uniqueidentifier": "147",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port2",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port3",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "148",
|
|
"hostname": "wrouter0",
|
|
"nicname": "port3"
|
|
},
|
|
"uniqueidentifier": "148",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port3",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port4",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "149",
|
|
"hostname": "wrouter0",
|
|
"nicname": "port4"
|
|
},
|
|
"uniqueidentifier": "149",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port4",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port5",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "150",
|
|
"hostname": "wrouter0",
|
|
"nicname": "port5"
|
|
},
|
|
"uniqueidentifier": "150",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port5",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wport",
|
|
"wport"
|
|
],
|
|
"nicname": "wport6",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "151",
|
|
"hostname": "wrouter0",
|
|
"nicname": "wport6"
|
|
},
|
|
"uniqueidentifier": "151",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wport6",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wport",
|
|
"wport"
|
|
],
|
|
"nicname": "wport7",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "152",
|
|
"hostname": "wrouter0",
|
|
"nicname": "wport7"
|
|
},
|
|
"uniqueidentifier": "152",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wport7",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wport",
|
|
"wport"
|
|
],
|
|
"nicname": "wport8",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "153",
|
|
"hostname": "wrouter0",
|
|
"nicname": "wport8"
|
|
},
|
|
"uniqueidentifier": "153",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wport8",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wport",
|
|
"wport"
|
|
],
|
|
"nicname": "wport9",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "154",
|
|
"hostname": "wrouter0",
|
|
"nicname": "wport9"
|
|
},
|
|
"uniqueidentifier": "154",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wport9",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wport",
|
|
"wport"
|
|
],
|
|
"nicname": "wport10",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "155",
|
|
"hostname": "wrouter0",
|
|
"nicname": "wport10"
|
|
},
|
|
"uniqueidentifier": "155",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wport10",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wport",
|
|
"wport"
|
|
],
|
|
"nicname": "wport11",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "156",
|
|
"hostname": "wrouter0",
|
|
"nicname": "wport11"
|
|
},
|
|
"uniqueidentifier": "156",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wport11",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wport",
|
|
"wport"
|
|
],
|
|
"nicname": "wport12",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "157",
|
|
"hostname": "wrouter0",
|
|
"nicname": "wport12"
|
|
},
|
|
"uniqueidentifier": "157",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wport12",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wport",
|
|
"wport"
|
|
],
|
|
"nicname": "wport13",
|
|
"myid": {
|
|
"hostid": "142",
|
|
"nicid": "158",
|
|
"hostname": "wrouter0",
|
|
"nicname": "wport13"
|
|
},
|
|
"uniqueidentifier": "158",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wport13",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"dhcprange": [
|
|
{
|
|
"ip": "127.0.0.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "route"
|
|
},
|
|
{
|
|
"ip": "10.1.2.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "route"
|
|
},
|
|
{
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "route"
|
|
},
|
|
{
|
|
"ip": "10.1.1.1",
|
|
"mask": "10.1.1.10",
|
|
"gateway": "10.1.1.20",
|
|
"type": "route"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"link": [
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "100",
|
|
"nicid": "102",
|
|
"hostname": "pc0",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "109",
|
|
"nicid": "112",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port1"
|
|
},
|
|
"hostname": "pc0_link_net_switch0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "126"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "103",
|
|
"nicid": "105",
|
|
"hostname": "laptop0",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "109",
|
|
"nicid": "113",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port2"
|
|
},
|
|
"hostname": "laptop0_link_net_switch0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "127"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "119",
|
|
"nicid": "122",
|
|
"hostname": "router0",
|
|
"nicname": "eth1"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "123",
|
|
"nicid": "125",
|
|
"hostname": "laptop1",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "router0_link_laptop1",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "129"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "109",
|
|
"nicid": "114",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port3"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "130",
|
|
"nicid": "133",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port1"
|
|
},
|
|
"hostname": "net_switch0_link_net_switch1",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "140"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "130",
|
|
"nicid": "134",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port2"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "119",
|
|
"nicid": "121",
|
|
"hostname": "router0",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "net_switch1_link_router0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "141"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "142",
|
|
"nicid": "147",
|
|
"hostname": "wrouter0",
|
|
"nicname": "port2"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "130",
|
|
"nicid": "135",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port3"
|
|
},
|
|
"hostname": "wrouter0_link_net_switch1",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "161",
|
|
"isinvisible": "True"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "162",
|
|
"nicid": "164",
|
|
"hostname": "firewall0",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "109",
|
|
"nicid": "115",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port4"
|
|
},
|
|
"hostname": "server0_link_net_switch0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "167"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "168",
|
|
"nicid": "170",
|
|
"hostname": "pc1",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "109",
|
|
"nicid": "116",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port5"
|
|
},
|
|
"hostname": "pc1_link_net_switch0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "171"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "172",
|
|
"nicid": "174",
|
|
"hostname": "pc2",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "109",
|
|
"nicid": "117",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port6"
|
|
},
|
|
"hostname": "pc2_link_net_switch0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "175"
|
|
}
|
|
],
|
|
"nettest": [
|
|
{
|
|
"shost": "pc0",
|
|
"dhost": "pc1",
|
|
"thetest": "SuccessfullyPings"
|
|
},
|
|
{
|
|
"shost": "pc0",
|
|
"dhost": "pc2",
|
|
"thetest": "SuccessfullyPings"
|
|
},
|
|
{
|
|
"shost": "pc0",
|
|
"dhost": "laptop0",
|
|
"thetest": "SuccessfullyPings"
|
|
},
|
|
{
|
|
"shost": "pc0",
|
|
"dhost": "laptop1",
|
|
"thetest": "SuccessfullyPings"
|
|
}
|
|
],
|
|
"VLANName": {
|
|
"@ID": "1",
|
|
"@Color": "Blue",
|
|
"#text": "Default"
|
|
}
|
|
}
|
|
}
|
|
}
|