Skip to content

cs_instance - ip_to_networks does not support mac address #78

New issue

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

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

Already on GitHub? # to your account

Closed
jdinner opened this issue Jul 21, 2021 · 3 comments · Fixed by #81
Closed

cs_instance - ip_to_networks does not support mac address #78

jdinner opened this issue Jul 21, 2021 · 3 comments · Fixed by #81
Assignees
Labels
good first issue Good for newcomers

Comments

@jdinner
Copy link

jdinner commented Jul 21, 2021

Hello,
I need for my project set MAC address. From Apache CloudStack API documentation I read:
iptonetworklist | ip to network mapping. Can't be specified with networkIds parameter. Example: iptonetworklist[0].ip=10.10.10.11&iptonetworklist[0].ipv6=fc00:1234:5678::abcd&iptonetworklist[0].networkid=uuid&iptonetworklist[0].mac=aa:bb:cc:dd:ee::ff - requests to use ip 10.10.10.11 in network id=uuid

According to parameters of cs_instance. This should be possible via ip_to_networks, but only name (converted to networkid) and ip is passed. As you can see here.

Can you, please, repair it or do you accept pull requests?

@rvalle
Copy link
Collaborator

rvalle commented Jul 22, 2021

hi @jdinner, what is your use case?

Is it for L2 networks?

I am not completely sure if the mac address can be set for all network providers, I am actually interested in setting up the mac address for virtual routers, but I am not sure it is possible.

This project certainly accepts pull requests.

@resmo
Copy link
Member

resmo commented Aug 11, 2021

closed by #81

@resmo resmo closed this as completed in #81 Aug 15, 2021
@jdinner
Copy link
Author

jdinner commented Aug 17, 2021

Sorry about writting into closed issue. I want only response: My use case is: I need VM with predefined MAC address because of software license I need to use, is released for a certain MAC address. Ansible should spawn VM, install SW and after work expunge this VM (second playbook).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good first issue Good for newcomers
Projects
None yet
3 participants