]> git.proxmox.com Git - pve-network.git/log
pve-network.git
5 years agoremove $interfaces arg from generate_network_config
Alexandre Derumier [Thu, 28 Mar 2019 23:23:52 +0000 (00:23 +0100)]
remove $interfaces arg from generate_network_config

and remove verification of existing vlan interface in VlanPlugin.
(we do all verifications later reusing INotify read/write interfaces)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
5 years agogenerateconfig: print config before test
Alexandre Derumier [Thu, 28 Mar 2019 23:23:51 +0000 (00:23 +0100)]
generateconfig: print config before test

easier to debug if verification fail after

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
5 years agovlanplugin: define vlan interface and fix vlan-protocol
Alexandre Derumier [Thu, 28 Mar 2019 23:23:50 +0000 (00:23 +0100)]
vlanplugin: define vlan interface and fix vlan-protocol

vlan-protocol is on vlan interface, better to always define it

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
5 years agofix copyright data
Dietmar Maurer [Thu, 28 Mar 2019 11:21:01 +0000 (12:21 +0100)]
fix copyright data

5 years agoget version from changelog
Dietmar Maurer [Thu, 28 Mar 2019 11:14:16 +0000 (12:14 +0100)]
get version from changelog

5 years agoPVE/Network/Makefile: fix installation path
Dietmar Maurer [Thu, 28 Mar 2019 11:12:24 +0000 (12:12 +0100)]
PVE/Network/Makefile: fix installation path

5 years agoset package version to 0.1-1
Dietmar Maurer [Thu, 28 Mar 2019 10:55:20 +0000 (11:55 +0100)]
set package version to 0.1-1

This is experimental code.

5 years agoadd a sample test to generate config
Alexandre Derumier [Wed, 27 Mar 2019 17:24:10 +0000 (18:24 +0100)]
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>
5 years agoadd vnet
Alexandre Derumier [Wed, 27 Mar 2019 17:24:09 +0000 (18:24 +0100)]
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>
5 years agoadd vxlan multicast plugin
Alexandre Derumier [Wed, 27 Mar 2019 17:24:08 +0000 (18:24 +0100)]
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>
5 years agoadd vlan plugin
Alexandre Derumier [Wed, 27 Mar 2019 17:24:07 +0000 (18:24 +0100)]
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>
5 years agoadd transport plugin infrastructure
Alexandre Derumier [Wed, 27 Mar 2019 17:24:06 +0000 (18:24 +0100)]
add transport plugin infrastructure

used to generate network configuration for differents kind of plugins (vlan,vxlan....)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
5 years agoinitial package commit
Alexandre Derumier [Wed, 27 Mar 2019 17:24:05 +0000 (18:24 +0100)]
initial package commit

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>