Commit Graph

105 Commits

Author SHA1 Message Date
Alexandre Derumier
b0ed2beab0 add vnet
This allow to define bridges with a tag (can be vxlan or vlan tag),
and use configuration from transportzone

/etc/pve/network/vnet.cfg

vnet1:
      tag 2
      transportzone vlanzone1
      name network1
      ipv4 10.0.0.1
      ipv6 2a03:2880:f003:c07:face:b00c::2
      mtu 1500

vnet2:
      transportzone vlanzone1
      tag 3
      name network2
      ipv6 2a03:2880:f003:c07:face:b00c::2

vnet3:
      transportzone vxlanmulticastzone1
      tag 100000
      name network3
      mtu 1400

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-03-28 11:52:54 +01:00
Alexandre Derumier
7e720d4d19 add vxlan multicast plugin
/etc/pve/network/transports.cfg

vxlanmulticast: vxlanmulticastzone1
                uplink-id 1
                multicast-address 225.20.21.1
                vxlan-allowed 4-5

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-03-28 11:52:42 +01:00
Alexandre Derumier
f8140d5330 add vlan plugin
/etc/pve/network/transports.cfg

vlan: vlanzone1
      uplink-id 1
      vlan-aware 1
      vlan-allowed 2-4,6,10
      vlan-protocol 802.1ad

vlan: vlanzone2
      uplink-id 2
      vlan-aware 1

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-03-28 11:52:29 +01:00
Alexandre Derumier
6939693f5e add transport plugin infrastructure
used to generate network configuration for differents kind of plugins (vlan,vxlan....)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-03-28 11:01:16 +01:00
Alexandre Derumier
0399edbbbd initial package commit
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-03-28 10:59:08 +01:00