summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorThomas Lamprecht <t.lamprecht@proxmox.com>2024-11-18 18:17:18 +0100
committerThomas Lamprecht <t.lamprecht@proxmox.com>2024-11-18 18:17:20 +0100
commit98f4d7525c7ec1074f80fc6a683405c944495b2e (patch)
tree08816927f6f3f60b7e3ef46867cc55e5c90e2f38 /debian
parentc64dd31bf9d30d7a8b2bf04e34d57c00baacb4e6 (diff)
split into implementation and API endpoint packages
To better handle the case where firewall requires to parse the SDN config and this package here would like to mount some vnet specific firewall endpoints, without a split we got a cyclic dependency here, and those are painful, especially on bootstrapping. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/control15
-rw-r--r--debian/libpve-network-api-perl.install1
-rw-r--r--debian/libpve-network-perl.install2
3 files changed, 17 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 6c08fbf..687bbd7 100644
--- a/debian/control
+++ b/debian/control
@@ -26,5 +26,18 @@ Depends: libpve-common-perl (>= 5.0-45),
Recommends: ifupdown2
Suggests: frr-pythontools (>= 8.5.1~), dnsmasq,
Description: Proxmox VE's SDN (Software Defined Network) stack
- This package contains the Software Defined Network (tech preview) for
+ This package contains the perl side of the Software Defined Network
+ implementation for Proxmox VE.
+
+Package: libpve-network-api-perl
+Architecture: all
+Depends: libpve-common-perl (>= 5.0-45),
+ pve-cluster (>= 8.0.9),
+ libpve-network-perl (= ${binary:Version}),
+ ${misc:Depends},
+ ${perl:Depends},
+Breaks: libpve-network-perl (<< 0.9.9~),
+Replaces: pve-cluster (<< 0.9.9~),
+Description: API endpoints for Proxmox VE's SDN stack
+ This package contains the API endpoints for the Software Defined Network of
Proxmox VE.
diff --git a/debian/libpve-network-api-perl.install b/debian/libpve-network-api-perl.install
new file mode 100644
index 0000000..c48f1c7
--- /dev/null
+++ b/debian/libpve-network-api-perl.install
@@ -0,0 +1 @@
+usr/share/perl5/PVE/API2
diff --git a/debian/libpve-network-perl.install b/debian/libpve-network-perl.install
new file mode 100644
index 0000000..b7cc7c8
--- /dev/null
+++ b/debian/libpve-network-perl.install
@@ -0,0 +1,2 @@
+lib/systemd/system/dnsmasq@.service.d/00-dnsmasq-after-networking.conf
+usr/share/perl5/PVE/Network