Skip to content

Commit 365414d

Browse files
committed
Add IPv6-only support
1 parent c15a8a0 commit 365414d

20 files changed

Lines changed: 114 additions & 532 deletions

README.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,24 @@ Because plain text is awesome, but sometimes cumbersome.
77

88
Used by the Dreamhack Network Crew.
99

10-
## Example file
10+
## File formating
1111

1212
The file needs to use tabs for alignment, size 8 is recommended. UTF8 and UNIX line feed are required.
1313

14-
#Name #Terminator #Net #VLAN #Options
15-
DHTECH-TEST-1 R1 77.80.255.192/26 303 pkg=opsagent;flow=colo
16-
#GW 77.80.255.193
17-
#$ test.event.dreamhack.se 77.80.255.196 pkg=something
18-
19-
#Name #Terminator #Net #VLAN #Options
20-
DHTECH-TEST-2 R1 10.20.4.0/24 204 nat=1.2.3.4
21-
#GW 10.20.4.1
22-
#$ host.tech.dreamhack.local 10.20.4.3 os=esxi
23-
2414
## How to define a network
2515

2616
Each row in the file is either a comment (line starting with #) or a definition of a network. A network definition must always have 5 space-separated columns (many scripts depend on this).
2717

2818
Example:
2919

30-
C01 D-ASR-V 77.80.128.0/25 301 dhcp;resv=20;sw=abc;int=Te0/2/0/1
20+
C01 77.80.128.0/25 D-ASR-V 301 dhcp;resv=20;sw=abc;int=Te0/2/0/1
3121

3222
`C01` is the name of the network, this is an table in hall C, table 1.
3323

34-
`D-ASR-V` is the Layer 3 terminator of the network, the default gateway.
35-
3624
`77.80.128.0/25` is the network with the netmask in CIDR.
3725

26+
`D-ASR-V` is the Layer 3 terminator of the network, the default gateway.
27+
3828
`301` is the VLANID, all networks have an VLANID in case that is needed, otherwise use `-`. The IPv6 networks are calculated from the VLANID.
3929

4030
The last column defines special options for the network. The format is `option1=value1,value2,value3;option2=value4` and so on.
@@ -44,13 +34,15 @@ If you dont have any options use `none`.
4434

4535
Example:
4636

47-
#$ deploy.event.dreamhack.se 77.80.231.70 s=ssh64;c=ldap64,log64;l=tftp64,dhcp64
37+
#$ deploy.event.dreamhack.se 77.80.231.70 s=ssh64;c=ldap64,log64;l=tftp64,dhcp64
38+
#$ something.event.dreamhack.se ::1111 s=ssh64;c=ldap64,log64;l=tftp64,dhcp64
4839

4940
`#$` is used to indicate that this is a host row.
5041

5142
`deploy.event.dreamhack.se` is the FQDN for the host.
5243

5344
`77.80.231.70` is the IPv4 address of the host. IPv6 is generated from this and the network's VLAN ID.
45+
Alternatively an IPv6 address can be specified which will make the host IPv6-only.
5446

5547
The last column defines special options for the host. The format is `option1=value1,value2,value3;option2=value4` and so on.
5648
If you dont have any options use `none`.

examples/firewall-graph/graph.py

Lines changed: 0 additions & 106 deletions
This file was deleted.

examples/language/perl/example.pl

Lines changed: 0 additions & 61 deletions
This file was deleted.

examples/language/php/example.php

Lines changed: 0 additions & 51 deletions
This file was deleted.

examples/language/python/example.py

Lines changed: 0 additions & 60 deletions
This file was deleted.

examples/language/ruby/example.rb

Lines changed: 0 additions & 44 deletions
This file was deleted.

examples/rancid-router-db/generate.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)