/** * @return array */ function getGroup() { $properties = array(); $properties['groupname'] = OpenStackNovaController::_get_property($this->rule->group, 'name'); $properties['project'] = OpenStackNovaController::_get_property($this->rule->group, 'tenant_id'); if ($properties['groupname'] && $properties['project']) { return $properties; } else { return array(); } }
/** * Return the value of the metadata key requested * * @return string */ function getImageMetadata($key) { return OpenStackNovaController::_get_property($this->image->metadata, $key); }
/** * @return string */ function getProject() { return OpenStackNovaController::_get_property($this->group, 'tenant_id'); }
/** * Return the time at which this instance was created * * @return string */ function getLaunchTime() { return OpenStackNovaController::_get_property($this->instance, 'created'); }
/** * Return the volume's availability zone * * @return string */ function getVolumeAvailabilityZone() { return OpenStackNovaController::_get_property($this->volume, 'availability_zone'); }
function getAddressId() { return OpenStackNovaController::_get_property($this->address, 'id'); }
/** * Return the number of security groups used * * @return string */ function getSecurityGroupsUsed() { return OpenStackNovaController::_get_property($this->absolute, 'totalSecurityGroupsUsed'); }