Remove Debian package support

This commit is contained in:
Pim van Pelt
2025-05-04 14:56:50 +02:00
parent 4e139d02f3
commit 4b0a8c9899
7 changed files with 2 additions and 107 deletions

View File

@ -1,14 +0,0 @@
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose --diff"
src: ". vppcfg"

View File

@ -11,7 +11,7 @@ If you're interested in helping, reach out to <pim at ipng dot ch> to disc
## Building ## Building
This program expects Python3 and PIP to be installed. It's known to work on Debian Bullseye and This program expects Python3 and PIP to be installed. It's known to work on Debian Bullseye and
Ubuntu Focal/Jammy. Bookworm, as well as on Ubuntu Focal, Jammy and Noble.
``` ```
## Install python build dependencies ## Install python build dependencies
@ -25,10 +25,6 @@ $ make build
## Install the tool with PIP ## Install the tool with PIP
$ make install $ make install
## To build & install debian packaging
$ make pkg-deb
$ ls -l ../vppcfg_*_amd64.deb
``` ```
## Running ## Running
@ -66,7 +62,7 @@ Developer deep-dives:
## Licensing ## Licensing
The code in this project is release under Apache 2.0 license. A copy of the license The code in this project is released under Apache 2.0 license. A copy of the license
is provided in this repo [here](LICENSE). All contributions are held against our is provided in this repo [here](LICENSE). All contributions are held against our
[contributing](docs/contributing.md) guidelines. Notably, all code must be licensed [contributing](docs/contributing.md) guidelines. Notably, all code must be licensed
Apache 2.0, and all contributions must come with a certificate of origin in the Apache 2.0, and all contributions must come with a certificate of origin in the

57
debian/changelog vendored
View File

@ -1,57 +0,0 @@
vppcfg (0.0.8) unstable; urgency=low
Feature release:
* Support af-packet interfaces
-- Pim van Pelt <pim@ipng.nl> Sat, 03 May 2025 14:45:37 +0000
vppcfg (0.0.7) unstable; urgency=low
Feature release:
* Support VPP sFlow plugin
-- Pim van Pelt <pim@ipng.nl> Mon, 28 Oct 2024 16:56:47 +0000
vppcfg (0.0.6) unstable; urgency=low
Feature release:
* Re-order the interfaces: loopbacks before phy/sub-int
-- Pim van Pelt <pim@ipng.nl> Sun, 07 APr 2024 12:15:00 +0000
vppcfg (0.0.5) unstable; urgency=low
Feature release:
* Allow for 'unnumbered' interfaces.
-- Pim van Pelt <pim@ipng.nl> Sun, 07 APr 2024 12:15:00 +0000
vppcfg (0.0.4) unstable; urgency=low
Feature release:
* Bugfix, ensuring IPv6 addresses are in their canonical form, to avoid
spurious diffs when comparing to VPP dataplane addresses.
* Document the 'device-type' field for interfaces
-- Pim van Pelt <pim@ipng.nl> Sat, 03 Dec 2022 14:15:00 +0000
vppcfg (0.0.3) unstable; urgency=low
Feature release:
* Allow the ability to set --novpp flag on planners. See user-guide for
details.
* Add device-type to the schema, which allows the configuratoin to specify
'dpdk' type interfaces. This paves the way for RDMA and AVF interfaces
in a later release.
* Some small bugfixes and refactors
* Lint: address a few pylint errors
-- Pim van Pelt <pim@ipng.nl> Sat, 03 Dec 2022 14:15:00 +0000
vppcfg (0.0.2) unstable; urgency=low
Bugfix release:
* Fix python load / include paths, now vppcfg runs relative to $PATH
* Partial fix for 'make test' (doesn't execute the YAMLTest suite yet,
this has no impact to production)
* Bugfix: correctly prune vxlan tunnels which have an address set
* Lint: address a few pylint errors
-- Ray Kinsella <mdr@ashroe.eu> Thu, 30 Jun 2022 14:00:00 +0000
vppcfg (0.0.1) unstable; urgency=low
* Initial public release
-- Ray Kinsella <mdr@ashroe.eu> Thu, 30 Jun 2022 14:00:00 +0000

1
debian/compat vendored
View File

@ -1 +0,0 @@
9

12
debian/control vendored
View File

@ -1,12 +0,0 @@
Source: vppcfg
Section: python
Priority: extra
Maintainer: Ray Kinsella <mdr@ashroe.eu>
Build-Depends: debhelper (>= 9), python3-all, python3-setuptools, dh-python
Standards-Version: 3.9.5
Package: vppcfg
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${python3:Depends}, python3-importlib-metadata, python3-yamale, python3-vpp-api
Description: A configuration tool for FD.io VPP

4
debian/rules vendored
View File

@ -1,4 +0,0 @@
#!/usr/bin/make -f
%:
dh $@ --with python3 --buildsystem=pybuild --with systemd

13
debian/vppcfg.service vendored
View File

@ -1,13 +0,0 @@
[Unit]
Description=vppcfg
BindsTo=vpp.service
After=vpp.service
ConditionPathExists=/etc/vpp/config.yaml
[Service]
Type=oneshot
ExecStart=vppcfg apply -c /etc/vpp/config.yaml
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target