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

Implement lookup plugin for next_address for a subnet in a given section #34

Open
cmeissner opened this issue Nov 16, 2020 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@cmeissner
Copy link
Member

Is your feature request related to a problem? Please describe.

It would be a good idea to have a lookup plugin to get the next free ip address for a subnet in a given section.

Describe the solution you'd like

There should be a lookup plugin (e.g. codeaffen.phpipam.next_address) which return the next free ip address for a subnet for in a given section.

E.g.

- name: get next ip address
  vars:
    ip: "{{ query('codeaffen.phpipam.next_address', server_url='ipam.example.com', app_id='ansible', username='username', password='password', subnet='192.0.2.0/24', section='DevOps Dept.') }}"

Describe alternatives you've considered

Alternatively we need to implement all the steps needed to get the next ip address by hand.

@cmeissner cmeissner added the enhancement New feature or request label Nov 16, 2020
@FlatKey FlatKey self-assigned this Nov 17, 2020
@cmeissner cmeissner added the help wanted Extra attention is needed label Aug 19, 2022
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Sep 5, 2023
@cmeissner cmeissner removed the Stale label Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants