Feature #1177
Extra properties on VM deployed
Status: | Closed | Start date: | 03/23/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Core & System | |||
Target version: | - | |||
Resolution: | worksforme | Pull request: |
Description
VM already deployed could have extra properties added and updated afterwards.
For example, a VM hostname properties updated by the VM poll.
Why not an "EXTRA_FIELD" section in the VM Templates to define them or simply leave free adding extra fields on VM.
History
#1 Updated by Ruben S. Montero over 9 years ago
- Status changed from New to Closed
- Resolution set to worksforme
Hi
This can be done though the VM poll. Just add any information you need and it will be added to the VM template.
I'm closing this. Feel free to add more comments/reopen if there are other things needed or if this is not working for you
#2 Updated by Emmanuel Mathot over 9 years ago
Wonderful! Thank you for your answer.
It works fine!
Another question related. Is there now a way to see those extra monitoring info via OCCI?
#3 Updated by Ruben S. Montero over 9 years ago
Hi
not directly, you have to modify the VirtualMachineOCCI.rb file, there the OCCI_VM. That is an erb template used to generate the XML document for the VM. It should be more or less straighforward to add anything you need...
#4 Updated by Emmanuel Mathot over 9 years ago
Indeed, That is what I did but I am wondering if it is still "OCCI compatible" then...?