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

Support Node specific apply-groups #120

Closed
arjenvri opened this issue Feb 11, 2021 · 1 comment · Fixed by #140
Closed

Support Node specific apply-groups #120

arjenvri opened this issue Feb 11, 2021 · 1 comment · Fixed by #140
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@arjenvri
Copy link
Contributor

I completely agree with the comments in #66 about the use of apply groups.
In almost all cases different configuration sections should be made within code instead of apply groups.

One exception might be when it comes to node specific settings.
Since a Juniper cluster has one shared configuration, the only way to have node specific management interface settings applied is using apply groups.

Below some key settings that would be applicable in those cases.
Is this something that could be considered for a future release?

set apply-groups "${node}"
set groups node0 system host-name SRX-1
set groups node0 security log source-address 192.168.1.5
set groups node0 interfaces fxp0 unit 0 family inet address 192.168.1.5/24
set groups node0 interfaces fxp0 unit 0 family inet address 192.168.1.4/24 master-only

set groups node1 system host-name SRX-2
set groups node1 security log source-address 192.168.1.6
set groups node1 interfaces fxp0 unit 0 family inet address 192.168.1.6/24
set groups node1 interfaces fxp0 unit 0 family inet address 192.168.1.4/24 master-only
@jeremmfr
Copy link
Owner

Yes, in those cases, it's maybe neccessary.
There is also backup-router and more in this group.
I'll take care of adding special resource to configure group (re|node)(0|1).

@jeremmfr jeremmfr added the enhancement New feature or request label Feb 12, 2021
@jeremmfr jeremmfr self-assigned this Feb 12, 2021
jeremmfr added a commit that referenced this issue Mar 9, 2021
Fix #120: add junos_group_dual_system resource
@jeremmfr jeremmfr added this to the v1.14.0 milestone Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants