summaryrefslogtreecommitdiff
path: root/PVE/API2
AgeCommit message (Collapse)Author
2023-05-25separate packaging and source build systemThomas Lamprecht
like almost all of our repos do nowadays, modern git can detect such things on rebase so in development stuff should be hopefully not too much affected by this. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-09api2: zones: fix updateAlexandre Derumier
2021-05-05api: zones: code/indentation/format cleanupsThomas Lamprecht
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-05api2: zone: check ipam change if no ipam was defined before tooAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2021-04-28sdn: rename config to running_configThomas Lamprecht
to reduce my confusion.. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-06subnets: add add_subnet/del_subnetAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-12-18subnets: api : add missing param in on_update_hook for updateAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-11-25sdn: fix : pending parserAlexandre Derumier
2020-11-25controllers: improve bgp-evpnAlexandre Derumier
- add new bgp plugin - add ebgp support - add loopback support - move gateway-nodes option to zone as 'exitnodes' - move external-peers to bgp plugin
2020-10-08vnets: allow duplicate tags in differents zonesAlexandre Derumier
only vxlan need to be unique globally. Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-08subnets/ipam: allow same subnet on different zonesAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-08move ipam option from subnet to zoneAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-08move dns options from subnets to zoneAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-08api: add running/pending zones/vnets/subnets/controllersAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-06api: generate 'running-config' state instead of version increase on applyAlexandre Derumier
This is the source configuration for generate local configuration /sdn/*.cfg are pending configs Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-06subnet: make IPAM required and use PVE IPAM as defaultAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-06Fix vnet gateway for routed setup + /32 pointopoint subnetAlexandre Derumier
add vnet to subnets && remove subnetlist from vnet Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-06subnets: move api to /sdn/vnet/<vnet>/subnets && make vnet option not optionnalAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-06add DNS pluginAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-06add IPAMs pluginsAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-06zone: add vnet_update_hookAlexandre Derumier
move verify_tag code in this hook add mac address generation for simple && evpn plugin Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-06vnets: add subnetsAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-10-06add subnet pluginAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-03api sdn/vnets: cleanupsThomas Lamprecht
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-03cleanup code with wrong copy/paste from StorageAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-07-03vnet: make tag optional and verify value in zone pluginsAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-07-03add simple pluginAlexandre Derumier
allow to create standalone or simple routed vnets Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-07-03white space and other minor cleanupsThomas Lamprecht
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-25fixup: drop trailing whitespacesThomas Lamprecht
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-12api: fix reload all UPID handlingThomas Lamprecht
run_command returns the exit code, we need to parse out the UPID from the outfunc. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-02sdn: use .version and global lockAlexandre Derumier
2020-05-02remove .new filesAlexandre Derumier
2020-03-10whitespace cleanupThomas Lamprecht
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-02-11api2: fix vnet statusAlexandre Derumier
2020-01-21API2: Vnets: fix updateAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-29create /etc/pve/sdn directoryAlexandre Derumier
like for /etc/pve/ha, create it in api create Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-26cleanup old transport/router/sdn_cfg referencesAlexandre Derumier
use zone/controller... Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-26add permissionsAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-26fix zones on_update_hookAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-26rename frrevpn controller plugin to evpn pluginAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-26add nodes option to zonesAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-26improve status error descriptionAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-26rename transportzone option to zoneAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-26api2: sdn: add reload configAlexandre Derumier
fixme: current using pvesh Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-11-26api2 : split vnets/zones/controllersAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-10-17api2 : sdn : add role and type to indexAlexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-10-17add qinq pluginAlexandre Derumier
move code from vlanplugin, add transport tag option Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-10-17rename plugins with controllersAlexandre Derumier
For true sdn, We have 2 plugins, 1 for dataplane (switch), 1 for controlplane (controller) rename: - Frr to EvpnController - Faucet to FaucetController - OvsFaucet to Faucet Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-10-17add evpnplugin (splitted from vxlanplugin)Alexandre Derumier
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2019-10-17add faucet sdn controller pluginsAlexandre Derumier
1 plugin for controller, 1 plugin for dataplane This is not 100% complete, but it's a proof of concept to test differents sdn controller Signed-off-by: Alexandre Derumier <aderumier@odiso.com>