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

Scripting: advanced network configuration #6877

Open
mottetm opened this issue Dec 5, 2024 · 2 comments
Open

Scripting: advanced network configuration #6877

mottetm opened this issue Dec 5, 2024 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@mottetm
Copy link

mottetm commented Dec 5, 2024

Hello!

The current AppleScript interface doesn't provide a way to specify advanced network settings such as the Guest network or DHCP range. This feature would be very helpful to provide predictable network interfaces for the vm during automation of tasks.

Thanks!

@mottetm mottetm added the enhancement New feature or request label Dec 5, 2024
@MarkusPettersson98
Copy link

I agree, this would be very useful!

@naveenrajm7
Copy link
Contributor

+1
Will this allow us to make sure a VM gets a specific IP address we need ?
How will the change in DHCP IP range in Mac (#6586) affect the use of these parameters?
What is the consequence of users changing these parameters ? will then the onus of making sure each VM gets unique IP lies with user?

    /// Guest IPv4 for emulated VLAN.
    var vlanGuestAddress: String?
    
    /// Guest IPv6 for emulated VLAN.
    var vlanGuestAddressIPv6: String?
    
    /// Host IPv4 for emulated VLAN.
    var vlanHostAddress: String?
    
    /// Host IPv6 for emulated VLAN.
    var vlanHostAddressIPv6: String?
    
    /// DHCP start address for emulated VLAN.
    var vlanDhcpStartAddress: String?
    
    /// DHCP end address for Apple VLAN
    var vlanDhcpEndAddress: String?
    ...

Since all of the advanced parameters are strings , it should be simple to expose them.
I'm just trying to understand what would this lead to.
Since we need to explain these if we send in the patch.
(I know it is already exposed in UI)

@osy osy added this to the Future milestone Dec 23, 2024
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

No branches or pull requests

4 participants