Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

feature request: [define:[vlan,netmask,gateway,vcpu,mem,disksize,netboot], return: MACaddress] #2

Open
jamesliulondon opened this issue Jul 20, 2016 · 2 comments

Comments

@jamesliulondon
Copy link

Hi,
First off, I've decided to learn golang after seeing what you did for terraform-provider-xenserver.
But I'm a few weeks off before i can do something useful in this arena.

In the meantime, can you extend the go-xen-api-client and terraform-provider-xenserver to include:
Initially Define:

  • vlan,netmask,gateway,
  • vcpu, disksize, mem(static probably easier)
  • bootorder (netboot)

Return:

  • MAC address

This in conjunciton with ansible will make an awesome combination.

@mborodin
Copy link
Contributor

mborodin commented Aug 1, 2016

Hi,
I'm currently working on extending functionality of terraform-xenserver-provider. Currently implemented:

  • VCPU
  • CPU topology
  • static and dynamic memory limits
  • boot order
  • interface assignment (network, mtu, device order and mac address)
  • Attach existing disks and CDs
  • Create new disks (via new resource type xenserver_vdi)

Work in progress:

  • Attach existing disks and CDs
  • Create new disks (via new resource type xenserver_disk)
  • Create storage repositories
  • VM installation
  • Create network and VLAN
  • Attach PCI

After all work will be finished I will create a pull request.

@jamesliulondon I would be very grateful if you can spend some time and test current state so I can fix possible existing bugs. Thanks!

UPDATE: Implemented creation of VDIs (hard drives), possibility to attach VDIs (HDD, CD) to VM

@terricain
Copy link

@mborodin how can i help out 😄, seems like you got a fair bit of it covered.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants