Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@1vivy dhcpv6-pd: T5387: add support for no-release flag #2108

Merged
merged 3 commits into from Jul 31, 2023

Conversation

1vivy
Copy link
Contributor

@1vivy 1vivy commented Jul 23, 2023

Change Summary

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Component(s) name

Proposed changes

How to test

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@vyosbot vyosbot requested review from a team, dmbaturin, sarthurdev, zdc, jestabro, sever-sever and c-po and removed request for a team July 23, 2023 17:34
@c-po
Copy link
Member

c-po commented Jul 23, 2023

I think you forgot to git add the dhcp-client/dhcp6c_daemon-options.j2 file

@1vivy
Copy link
Contributor Author

1vivy commented Jul 23, 2023

I have questions about this repo and it's dev env. I'm not sure if the template is supposed to be made by make or I can do it by hand in this case. I think I have to have a VyOS instance for development. Stuff to ask on slack

@c-po
Copy link
Member

c-po commented Jul 23, 2023

You need to create the template on your own - as its new code.

It will be packages during package build using make deb

@1vivy 1vivy changed the title vyos.ifconfig: dhcpv6: T5387: re-use options_file for no release flag vyos.ifconfig: dhcpv6: T5387: add no release flag Jul 24, 2023
When no-release is specified, dhcp6c client will not release allocated address or prefix on client exit.

vyos.ifconfig: dhcpv6: T5387: re-use options_file for no release flag [WIP]
* Todo: render Jinja2 template and fill it

vyos.ifconfig: dhcpv6: T5387: finish options_file and no release flag in cli

vyos.ifconfig: dhcpv6: T5387: fix missing/wrong end tag

vyos.ifconfig: dhcpv6: T5387: fix options, no var for -n

dhcpv6-client: T5387: fix missing / from filepaths
@1vivy
Copy link
Contributor Author

1vivy commented Jul 25, 2023

You need to create the template on your own - as its new code.

It will be packages during package build using make deb

I was overthinking the Jinja2 template, I thought the Autogenerated by... might have meant I should let something compile to make a boilerplate yadayada derp. Thanks

@1vivy 1vivy changed the title vyos.ifconfig: dhcpv6: T5387: add no release flag @1vivy dhcpv6-pd: T5387: add support for no-release flag Jul 25, 2023
@c-po c-po merged commit 1ee3801 into vyos:current Jul 31, 2023
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants