Use addresses as identifiers and set type to router
This commit is contained in:
parent
d21d9614a8
commit
5944b6a348
13
README.md
13
README.md
|
@ -12,7 +12,7 @@ The data should be a JSON object with a anonymous top-level object and "route" a
|
||||||
|
|
||||||
"device" must contain at least one device that is reachable. A router is commonly used as the only object for the network as it is necessary in most setups.
|
"device" must contain at least one device that is reachable. A router is commonly used as the only object for the network as it is necessary in most setups.
|
||||||
|
|
||||||
Every device should contain the CRXN IPv6 address, along the optional list of services as "service".
|
Every device can contain the type of the device (router, generic, server), along with the list of services as "service". When no type is defined, generic is assumed.
|
||||||
|
|
||||||
Services must have a type (eg. tcp, udp, http, rsync, git) and at least one endpoint in the endpoints list.
|
Services must have a type (eg. tcp, udp, http, rsync, git) and at least one endpoint in the endpoints list.
|
||||||
|
|
||||||
|
@ -30,13 +30,12 @@ Here's a example that you may modify to your needs.
|
||||||
"fdaa:bbcc:ddee::/48": {
|
"fdaa:bbcc:ddee::/48": {
|
||||||
"description": "My home network",
|
"description": "My home network",
|
||||||
"device": [
|
"device": [
|
||||||
"router": {
|
"fdaa:bbcc:ddee::1": {
|
||||||
|
"type": "router",
|
||||||
"description": "My custom router running BIRD",
|
"description": "My custom router running BIRD",
|
||||||
"address": "fdaa:bbcc:ddee::1"
|
|
||||||
},
|
},
|
||||||
"mail": {
|
"fdaa:bbcc:ddee::5": {
|
||||||
"description": "Electronic mail endpoint",
|
"description": "Electronic mail endpoint",
|
||||||
"address": "fdaa:bbcc:ddee::5",
|
|
||||||
"service": [
|
"service": [
|
||||||
{
|
{
|
||||||
"type": "smtp",
|
"type": "smtp",
|
||||||
|
@ -63,7 +62,9 @@ Here's a example that you may modify to your needs.
|
||||||
},
|
},
|
||||||
"fdcc:ba11:b00b::/48": {
|
"fdcc:ba11:b00b::/48": {
|
||||||
"device": [
|
"device": [
|
||||||
"router": "fdcc:ba11:b00b::1"
|
"fdcc:ba11:b00b::1": {
|
||||||
|
"type": "router",
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
20
deavmi.json
20
deavmi.json
|
@ -3,11 +3,11 @@
|
||||||
"fdd2:cbf2:61bd::/48": {
|
"fdd2:cbf2:61bd::/48": {
|
||||||
"description": "deavmi.home.network1",
|
"description": "deavmi.home.network1",
|
||||||
"device": [
|
"device": [
|
||||||
"router": {
|
"fdd2:cbf2:61bd::1": {
|
||||||
"address": "fdd2:cbf2:61bd::1"
|
"type": "router"
|
||||||
},
|
},
|
||||||
"webserver": {
|
"fdd2:cbf2:61bd::2": {
|
||||||
"address": "fdd2:cbf2:61bd::2",
|
"type": "server",
|
||||||
"service": [
|
"service": [
|
||||||
{
|
{
|
||||||
"description": "Personal webserver",
|
"description": "Personal webserver",
|
||||||
|
@ -30,19 +30,25 @@
|
||||||
"fda2:a9b0:a02b::/48": {
|
"fda2:a9b0:a02b::/48": {
|
||||||
"description": "deavmi.home.network2",
|
"description": "deavmi.home.network2",
|
||||||
"device": [
|
"device": [
|
||||||
"router": "fda2:a9b0:a02b::1"
|
"fda2:a9b0:a02b::1": {
|
||||||
|
"type": "router"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"fd08:8441:e254::/48": {
|
"fd08:8441:e254::/48": {
|
||||||
"description": "deavmi.community.network1",
|
"description": "deavmi.community.network1",
|
||||||
"device": [
|
"device": [
|
||||||
"router": "fd08:8441:e254::1"
|
"fd08:8441:e254::1": {
|
||||||
|
"type": "router"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"fd1d:370c:38ee::/48": {
|
"fd1d:370c:38ee::/48": {
|
||||||
"description": "deavmi.community.network2",
|
"description": "deavmi.community.network2",
|
||||||
"device": [
|
"device": [
|
||||||
"router": "fd1d:370c:38ee::1"
|
"fd1d:370c:38ee::1": {
|
||||||
|
"type": "router"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
"fdcf:25b5:8c10::/48": {
|
"fdcf:25b5:8c10::/48": {
|
||||||
"description": "minus.home.network",
|
"description": "minus.home.network",
|
||||||
"device": [
|
"device": [
|
||||||
"router": {
|
"fdcf:25b5:8c10::1": {
|
||||||
"address": "fdcf:25b5:8c10::1"
|
"type": "router"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,16 +3,16 @@
|
||||||
"fdfb:1a20:a9bf::/48": {
|
"fdfb:1a20:a9bf::/48": {
|
||||||
"description": "rany.server.network1",
|
"description": "rany.server.network1",
|
||||||
"device": [
|
"device": [
|
||||||
"router": {
|
"fdfb:1a20:a9bf::1": {
|
||||||
"address": "fdfb:1a20:a9bf::1"
|
"type": "router"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"2a04:5b81:2055::/48": {
|
"2a04:5b81:2055::/48": {
|
||||||
"description": "rany.server.network2",
|
"description": "rany.server.network2",
|
||||||
"device": [
|
"device": [
|
||||||
"router": {
|
"2a04:5b81:2055::1": {
|
||||||
"address": "2a04:5b81:2055::1"
|
"type": "router"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
7
rnb.json
7
rnb.json
|
@ -3,11 +3,10 @@
|
||||||
"fd66:7afc:576::/48": {
|
"fd66:7afc:576::/48": {
|
||||||
"description": "rnb.home.network",
|
"description": "rnb.home.network",
|
||||||
"device": [
|
"device": [
|
||||||
"router": {
|
"fd66:7afc:576::1": {
|
||||||
"address": "fd66:7afc:576::1"
|
"type": "router"
|
||||||
},
|
},
|
||||||
"irc-server": {
|
"fd66:7afc:576::2": {
|
||||||
"address": "fd66:7afc:576::2",
|
|
||||||
"service": [
|
"service": [
|
||||||
{
|
{
|
||||||
"description": "BNET IRC server",
|
"description": "BNET IRC server",
|
||||||
|
|
|
@ -3,13 +3,17 @@
|
||||||
"fd9a:1111:98cc::/48": {
|
"fd9a:1111:98cc::/48": {
|
||||||
"description": "starland.galactic.network",
|
"description": "starland.galactic.network",
|
||||||
"device": [
|
"device": [
|
||||||
"router": "fd9a:1111:98cc::1"
|
"fd9a:1111:98cc::1": {
|
||||||
|
"type": "router"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"fd7e:33d3:de22::/48": {
|
"fd7e:33d3:de22::/48": {
|
||||||
"description": "starland.solar.network",
|
"description": "starland.solar.network",
|
||||||
"device": [
|
"device": [
|
||||||
"router": "fd7e:33d3:de22::1"
|
"fd7e:33d3:de22::1": {
|
||||||
|
"type": "router"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
"fdd3:5d24:69d3::/48": {
|
"fdd3:5d24:69d3::/48": {
|
||||||
"description": "thooms@v17",
|
"description": "thooms@v17",
|
||||||
"device": [
|
"device": [
|
||||||
"router": "fdd3:5d24:69d3::1"
|
"fdd3:5d24:69d3::1": {
|
||||||
|
"type": "router"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue