Skip to content

Commit

Permalink
BIRD 2.15, OpenBGPD 8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pierky committed Dec 17, 2024
1 parent 358224f commit 96c07e0
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ jobs:
run: |
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
docker pull pierky/bird:1.6.8
docker pull pierky/bird:2.15
docker pull pierky/bird:2.16
docker pull pierky/bird:3.0-alpha2
docker pull pierky/openbgpd:8.0
docker pull pierky/openbgpd:8.4
docker pull pierky/openbgpd:8.7
docker pull pierky/exabgp:4.2.7
docker pull nlnetlabs/routinator:v0.13.2
env:
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
-e ROUTER_ID=192.0.2.124 \
-e LOCAL_PREFIXES=192.0.2.0/24,2001:db8::/32 \
-e DAEMON=openbgpd \
-e VERSION=8.4 \
-e VERSION=8.7 \
-e SECRET_PEERINGDB_API_KEY="${SECRET_PEERINGDB_API_KEY}" \
pierky/arouteserver:${{ matrix.docker-image.target_image }}
env:
Expand All @@ -237,7 +237,7 @@ jobs:
-t \
--rm \
-v ~/arouteserver_configs/openbgpd.cfg:/etc/bgpd/bgpd.conf \
pierky/openbgpd:8.4 \
pierky/openbgpd:8.7 \
bgpd \
-f /etc/bgpd/bgpd.conf \
-d \
Expand All @@ -258,7 +258,7 @@ jobs:
-v $(pwd)/examples/auto-config/bird-general.yml:/etc/arouteserver/general.yml:ro \
-v ~/arouteserver_configs:/root/arouteserver_configs \
-e DAEMON=bird \
-e VERSION=2.15 \
-e VERSION=2.16 \
-e SECRET_PEERINGDB_API_KEY="${SECRET_PEERINGDB_API_KEY}" \
pierky/arouteserver:${{ matrix.docker-image.target_image }}
env:
Expand All @@ -270,7 +270,7 @@ jobs:
-t \
--rm \
-v ~/arouteserver_configs/bird.cfg:/etc/bird/bird.cfg \
pierky/bird:2.15 \
pierky/bird:2.16 \
bird \
-c /etc/bird/bird.cfg \
-d \
Expand Down
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Change log

.. note:: **Upgrade notes**: after upgrading, run the ``arouteserver setup-templates`` command to sync the local templates with those distributed with the new version. More details on the `Upgrading <https://arouteserver.readthedocs.io/en/latest/INSTALLATION.html#upgrading>`__ section of the documentation.

next release
------------

- New: add support for `BIRD 2.15 <https://bird.network.cz/pipermail/bird-users/2024-March/017517.html>`__ and OpenBGPD 8.7, also added to the integration testing suite.

1.23.1
------

Expand Down
5 changes: 3 additions & 2 deletions pierky/arouteserver/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,8 +890,9 @@ class BIRDConfigBuilder(ConfigBuilder):
AVAILABLE_VERSION = ["1.6.3", "1.6.4", "1.6.6", "1.6.7", "1.6.8",
"2.0.7", "2.0.7+b962967e", "2.0.8", "2.0.9",
"2.0.10", "2.0.11", "2.13", "2.14", "2.15",
"2.16",
"3.0"]
DEFAULT_VERSION = "2.15"
DEFAULT_VERSION = "2.16"

def validate_bgpspeaker_specific_configuration(self):
res = True
Expand Down Expand Up @@ -1077,7 +1078,7 @@ class OpenBGPDConfigBuilder(ConfigBuilder):
LOCAL_FILES_BASE_DIR = "/etc/bgpd"

AVAILABLE_VERSION = ["7.0", "7.1", "7.2", "7.3", "7.4", "7.5", "7.6", "7.7",
"7.8", "8.0", "8.3", "8.4"]
"7.8", "8.0", "8.3", "8.4", "8.7"]
DEFAULT_VERSION = AVAILABLE_VERSION[-1]

IGNORABLE_ISSUES = ConfigBuilder.IGNORABLE_ISSUES + \
Expand Down
4 changes: 2 additions & 2 deletions pierky/arouteserver/tests/live_tests/bird.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ def _birdcl(self, cmd):

class BIRD2Instance(BIRDInstance):

DOCKER_IMAGE = "pierky/bird:2.15"
DOCKER_IMAGE = "pierky/bird:2.16"

TAG = "bird2"

TARGET_VERSION = "2.15"
TARGET_VERSION = "2.16"

def _get_start_cmd(self):
return "bird -c /etc/bird/bird.conf -d"
Expand Down
14 changes: 12 additions & 2 deletions pierky/arouteserver/tests/live_tests/openbgpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,5 +681,15 @@ class OpenBGPD84PortableInstance(OpenBGPDPortableInstance):
TARGET_VERSION = "8.4"


OpenBGPDPortablePreviousInstance = OpenBGPD80PortableInstance
OpenBGPDPortableLatestInstance = OpenBGPD84PortableInstance
class OpenBGPD87PortableInstance(OpenBGPDPortableInstance):

DOCKER_IMAGE = "pierky/openbgpd:8.7"

TAG = "openbgpd87p"

BGP_SPEAKER_VERSION = "8.7"
TARGET_VERSION = "8.7"


OpenBGPDPortablePreviousInstance = OpenBGPD84PortableInstance
OpenBGPDPortableLatestInstance = OpenBGPD87PortableInstance
4 changes: 2 additions & 2 deletions utils/update_tests
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ fi
echo "Pulling Docker images needed for the tests..."
# To be kept in sync with .github/workflows/cicd.yml
docker pull pierky/bird:1.6.8
docker pull pierky/bird:2.15
docker pull pierky/bird:2.16
docker pull pierky/bird:3.0-alpha2
docker pull pierky/openbgpd:8.0
docker pull pierky/openbgpd:8.4
docker pull pierky/openbgpd:8.7
docker pull pierky/exabgp:4.2.7
docker pull nlnetlabs/routinator:v0.13.2
Expand Down

0 comments on commit 96c07e0

Please sign in to comment.