Class | Fog::Compute::Libvirt::Server |
In: |
lib/fog/libvirt/models/compute/server.rb
|
Parent: | Fog::Model |
iso_dir | [RW] | The following attributes are only needed when creating a new vm |
iso_file | [RW] | The following attributes are only needed when creating a new vm |
network_bridge_name | [RW] | |
network_interface_type | [RW] | |
network_nat_network | [RW] | |
password | [RW] | |
private_key | [W] | |
private_key_path | [W] | |
public_key | [W] | |
public_key_path | [W] | |
raw | [R] | |
username | [W] | |
volume_allocation | [RW] | |
volume_capacity | [RW] | |
volume_format_type | [RW] | |
volume_name | [RW] | |
volume_path | [RW] | |
volume_pool_name | [RW] | |
volume_template_name | [RW] |
Can be created by passing in :xml => "<xml to create domain/server>" or by providing :template_options => {
:name => "", :cpus => 1, :memory_size => 256 , :volume_template :}
@returns server/domain created
This retrieves the ip address of the mac address It returns an array of public and private ip addresses Currently only one ip address is returned, but in the future this could be multiple if the server has multiple network interface
TODO: move this into the util class