Skip to content

Conversation

@hjensas
Copy link
Contributor

@hjensas hjensas commented Nov 13, 2025

Creates a new Ansible role to manage radvd (Router Advertisement Daemon) configuration for IPv6 networks.

Features:

  • Manages system radvd.service and /etc/radvd.conf
  • Configuration fragment assembly from /etc/cifmw-radvd.d/
  • Support for SLAAC and DHCPv6 (M-flag, O-flag)
  • IPv6 prefix, route, and RDNSS advertisement
  • Dynamic network addition/removal via tasks_from
  • Molecule test coverage

JIRA: OSPRH-20084

Assisted-By: Claude Code/claude-4.5-sonnet

@hjensas hjensas requested a review from a team as a code owner November 13, 2025 20:12
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 13, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hjensas hjensas changed the title Add radvd role for IPv6 RA management [radvd] Add radvd role for IPv6 RA management Nov 13, 2025
@hjensas hjensas force-pushed the radvd-role branch 4 times, most recently from e72772e to ff5a80a Compare November 13, 2025 23:44
@hjensas hjensas enabled auto-merge (rebase) November 14, 2025 08:06
become: true
ansible.builtin.package:
name: radvd
state: present
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so if we handle in this file cleanup and install, so it for sure can handle also present/absent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But do we want to remove the RPM as part of cleanup? IMO it is enough to ensure the service is stopped and config removed.

I also think this got messy with configure/cleanup calling each other. Let me re-factor.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it so configure.yml does only conigure, and all cleanup is in cleanup.yml - I think it is better like that, keep it simple ...

I also added a handler for the service restart. I'll rebase #3484 once this merges.

hjensas added a commit to hjensas/ci-framework that referenced this pull request Nov 14, 2025
Integration radvd role with libvirt_manager:
- Added cifmw_libvirt_manager_radvd_networks parameter
- Automatically configures radvd when networks are created
- Documented in libvirt_manager README with usage examples

Depends-On: openstack-k8s-operators#3483

Assisted-By: Claude Code/claude-4.5-sonnet
Signed-off-by: Harald Jensås <[email protected]>
hjensas added a commit to hjensas/ci-framework that referenced this pull request Nov 14, 2025
Integration radvd role with libvirt_manager:
- Added cifmw_libvirt_manager_radvd_networks parameter
- Automatically configures radvd when networks are created
- Documented in libvirt_manager README with usage examples

Depends-On: openstack-k8s-operators#3483

Assisted-By: Claude Code/claude-4.5-sonnet
Signed-off-by: Harald Jensås <[email protected]>
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/0d5df123a5704f489a71b90f6f300026

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 44m 52s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 19m 39s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 31m 00s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 21s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 30s
cifmw-pod-pre-commit FAILURE in 7m 59s
✔️ build-push-container-cifmw-client SUCCESS in 16m 14s
cifmw-molecule-radvd FAILURE in 4m 32s

@hjensas hjensas force-pushed the radvd-role branch 2 times, most recently from 7a69afe to baf207d Compare November 14, 2025 15:37
Creates a new Ansible role to manage radvd (Router
Advertisement Daemon) configuration for IPv6 networks.

Features:
- Manages system radvd.service and /etc/radvd.conf
- Configuration fragment assembly from /etc/cifmw-radvd.d/
- Support for SLAAC and DHCPv6 (M-flag, O-flag)
- IPv6 prefix, route, and RDNSS advertisement
- Dynamic network addition/removal via tasks_from
- Molecule test coverage

Assisted-By: Claude Code/claude-4.5-sonnet
Signed-off-by: Harald Jensås <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants