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

add bootfile, nextserver, bootserver to nios_fixed_address #94

Open
DeveloperCrazy opened this issue Nov 4, 2021 · 2 comments
Open

Comments

@DeveloperCrazy
Copy link

Would it be possible to add the bootfile, nextserver, bootserver options to the nios_fixed_address module, so the IPV4 BOOTP/PXE options in the Infoblox could be updated via ansible?

I've tested it with the Infoblox WAPI 2.11:

curl -k -u admin:admin -H 'Content-Type: application/json' -X PUT https://10.10.10.10/wapi/v2.11/fixedaddress/<_ref> -d @add_dhcp_fixed_addr.json

add_dhcp_fixed_addr.json file:

{
  "name": <name>,
  "ipv4addr": <ipv4>,
  "mac":<mac>,
  "network":<network>,
  "bootfile":"pxelinux.101",
  "nextserver":"10.10.10.10",
  "bootserver":"10.10.10.10",
}
@Medalibi
Copy link
Contributor

Hi, nextserver and use_nextserver are very much needed here. It is the key to automating as much of the setup as possible and I was astonished when I was not able to find the options while they were defined in the documentation. I am happy to contribute the this if I can get some support. Defining them on the .py file seems to be fruitless.

@Medalibi
Copy link
Contributor

heh well, it seems I find the problem it is working now. I will try to do a fork and push my changes :)

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

No branches or pull requests

2 participants