EduNetworkBuilder/Web/Resources/Level0-SimpleDHCP.json

514 lines
14 KiB
JSON
Raw Permalink Normal View History

{
"EduNetworkBuilder": {
"Network": {
"en_message": "Tell the PC to do a DHCP request. Right-click on the PC to see the menu, or do it from the 'All' menu.",
"fr_message": "Dites au PC de faire une requête DHCP. Faites un clic droit sur le PC pour voir le menu, ou faites-le dans le menu «Tous».",
"en_title": "DHCP Request",
"height": "1024",
"width": "1024",
"itemsize": "100",
"showlabels": "full",
"level": "0",
"sortorder": "3",
"uniqueidentifier": "118",
"startinghelplevel": "full",
"vlansenabled": "False",
"VLANPacketColors": "False",
"device": [
{
"hostname": "net_switch0",
"size": "100",
"uniqueidentifier": "103",
"location": "422,141",
"mytype": "net_switch",
"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": "103",
"nicid": "104",
"hostname": "net_switch0",
"nicname": "lo0"
},
"uniqueidentifier": "104",
"usesdhcp": "False",
"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": "103",
"nicid": "105",
"hostname": "net_switch0",
"nicname": "management_interface0"
},
"uniqueidentifier": "105",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "management_interface0",
"myip": {
"ip": "102.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": "103",
"nicid": "106",
"hostname": "net_switch0",
"nicname": "port1"
},
"uniqueidentifier": "106",
"usesdhcp": "False",
"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": "103",
"nicid": "107",
"hostname": "net_switch0",
"nicname": "port2"
},
"uniqueidentifier": "107",
"usesdhcp": "False",
"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": "103",
"nicid": "108",
"hostname": "net_switch0",
"nicname": "port3"
},
"uniqueidentifier": "108",
"usesdhcp": "False",
"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": "103",
"nicid": "109",
"hostname": "net_switch0",
"nicname": "port4"
},
"uniqueidentifier": "109",
"usesdhcp": "False",
"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": "103",
"nicid": "110",
"hostname": "net_switch0",
"nicname": "port5"
},
"uniqueidentifier": "110",
"usesdhcp": "False",
"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": "103",
"nicid": "111",
"hostname": "net_switch0",
"nicname": "port6"
},
"uniqueidentifier": "111",
"usesdhcp": "False",
"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": "103",
"nicid": "112",
"hostname": "net_switch0",
"nicname": "port7"
},
"uniqueidentifier": "112",
"usesdhcp": "False",
"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": "113",
"location": "691,444",
"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": "113",
"nicid": "114",
"hostname": "pc0",
"nicname": "lo0"
},
"uniqueidentifier": "114",
"usesdhcp": "False",
"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": "113",
"nicid": "115",
"hostname": "pc0",
"nicname": "eth0"
},
"uniqueidentifier": "115",
"usesdhcp": "True",
"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": "server0",
"size": "100",
"uniqueidentifier": "100",
"location": "176,407",
"mytype": "server",
"isdns": "False",
"isdhcp": "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": "100",
"nicid": "101",
"hostname": "server0",
"nicname": "lo0"
},
"uniqueidentifier": "101",
"usesdhcp": "False",
"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": "server0",
"nicname": "eth0"
},
"uniqueidentifier": "102",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "eth0",
"myip": {
"ip": "192.168.1.2",
"mask": "255.255.255.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": "192.168.1.2",
"mask": "192.168.1.50",
"gateway": "192.168.1.60",
"type": "route"
}
]
}
],
"link": [
{
"SrcNic": {
"hostid": "100",
"nicid": "102",
"hostname": "server0",
"nicname": "eth0"
},
"DstNic": {
"hostid": "103",
"nicid": "106",
"hostname": "net_switch0",
"nicname": "port1"
},
"hostname": "server0_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "116"
},
{
"SrcNic": {
"hostid": "113",
"nicid": "115",
"hostname": "pc0",
"nicname": "eth0"
},
"DstNic": {
"hostid": "103",
"nicid": "107",
"hostname": "net_switch0",
"nicname": "port2"
},
"hostname": "pc0_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "117"
}
],
"nettest": {
"shost": "pc0",
"dhost": "server0",
"thetest": "NeedsLocalIPTo"
},
"tag": [
"DHCP",
"DHCPServer"
],
"VLANName": {
"@ID": "1",
"@Color": "Blue",
"#text": "Default"
}
}
}
}