terraform-provider-xenserver icon indicating copy to clipboard operation
terraform-provider-xenserver copied to clipboard

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

Open jamesliulondon opened this issue 8 years ago • 2 comments

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.

jamesliulondon avatar Jul 20 '16 09:07 jamesliulondon

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

mborodin avatar Aug 01 '16 21:08 mborodin

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

terricain avatar Feb 25 '18 15:02 terricain