5
0
mirror of git://git.proxmox.com/git/pve-network.git synced 2025-01-06 17:18:00 +03:00
Commit Graph

459 Commits

Author SHA1 Message Date
Dietmar Maurer
f0d57613b2 get version from changelog 2019-03-28 12:14:16 +01:00
Dietmar Maurer
74ac5247e8 PVE/Network/Makefile: fix installation path 2019-03-28 12:12:24 +01:00
Dietmar Maurer
4d7560858d set package version to 0.1-1
This is experimental code.
2019-03-28 11:55:20 +01:00
Alexandre Derumier
8df9fab504 add a sample test to generate config
generate /etc/network/interfaces.d/vnet

reloading is not yet implemented

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-03-28 11:53:06 +01:00
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