diff --git a/SConstruct b/SConstruct index cf962f4d85..698b54f70b 100644 --- a/SConstruct +++ b/SConstruct @@ -212,7 +212,9 @@ build_scripts=[ 'src/authm/SConstruct', 'src/acl/SConstruct', 'src/xml/SConstruct', - 'share/man/SConstruct' + 'share/man/SConstruct', + 'src/sunstone/locale/languages/SConstruct', + 'src/cloud/occi/lib/ui/locale/languages/SConstruct' ] # Testing diff --git a/include/AclManager.h b/include/AclManager.h index 1107b7917c..d4401cbff1 100644 --- a/include/AclManager.h +++ b/include/AclManager.h @@ -18,6 +18,7 @@ #define ACL_MANAGER_H_ #include "AuthManager.h" +#include "AuthRequest.h" #include "PoolObjectSQL.h" #include "AclRule.h" diff --git a/include/Attribute.h b/include/Attribute.h index d302419987..86049cfbdb 100644 --- a/include/Attribute.h +++ b/include/Attribute.h @@ -239,7 +239,10 @@ public: }; /** + * Returns the string value + * @param name of the attribute * + * @return the value of the attribute if found, empty otherwise */ string vector_value(const char *name) const; @@ -251,7 +254,18 @@ public: * * @return 0 on success, -1 otherwise */ - int vector_value(const char *name, int & value) const; + int vector_value(const char *name, int& value) const; + + /** + * Returns the integer value + * + * @param name Name of the attribute + * @param value Integer value, if an error ocurred the string returned is + * empty and value set to -1; + * + * @return the value in string form on success, "" otherwise + */ + string vector_value_str(const char *name, int& value) const; /** * Marshall the attribute in a single string. The string MUST be freed @@ -290,7 +304,19 @@ public: * Replace the value of the given vector attribute */ void replace(const string& name, const string& value); - + + /** + * Replace the value of the given vector attribute + */ + void replace(const string& name, int value) + { + ostringstream oss; + + oss << value; + + replace(name, oss.str()); + } + /** * Returns the attribute type */ diff --git a/include/AuthManager.h b/include/AuthManager.h index 0d325495eb..ea4da3ccb4 100644 --- a/include/AuthManager.h +++ b/include/AuthManager.h @@ -21,11 +21,8 @@ #include "MadManager.h" #include "ActionManager.h" -#include "SSLTools.h" - #include "AuthManagerDriver.h" #include "PoolObjectSQL.h" -#include "PoolObjectAuth.h" using namespace std; @@ -43,16 +40,11 @@ class AuthManager : public MadManager, public ActionListener public: AuthManager( - time_t timer, - time_t __time_out, - vector& _mads): + time_t timer, + vector& _mads): MadManager(_mads), timer_period(timer) { - _time_out = __time_out; - am.addListener(this); - - pthread_mutex_init(&mutex,0); }; ~AuthManager(){}; @@ -99,32 +91,6 @@ public: return authm_thread; }; - /** - * Notify the result of an auth request - */ - void notify_request(int auth_id, bool result, const string& message); - - /** - * Discards a pending request. Call this before freeing not notified or - * timeout requests. - */ - void discard_request(int auth_id) - { - lock(); - - auth_requests.erase(auth_id); - - unlock(); - } - - /** - * Gets default timeout for Auth requests - */ - static time_t time_out() - { - return _time_out; - } - /** * Returns true if there is an authorization driver enabled * @@ -146,21 +112,6 @@ private: */ ActionManager am; - /** - * List of pending requests - */ - map auth_requests; - - /** - * Mutex to access the auth_requests - */ - pthread_mutex_t mutex; - - /** - * Default timeout for Auth requests - */ - static time_t _time_out; - /** * Timer for the Manager (periocally triggers timer action) */ @@ -230,287 +181,6 @@ private: * This function authorizes a user request */ void authorize_action(AuthRequest * ar); - - /** - * This function is periodically executed to check time_outs on requests - */ - void timer_action(); - - /** - * Function to lock the pool - */ - void lock() - { - pthread_mutex_lock(&mutex); - }; - - /** - * Function to unlock the pool - */ - void unlock() - { - pthread_mutex_unlock(&mutex); - }; - - /** - * Add a new request to the Request map - * @param ar pointer to the AuthRequest - * @return the id for the request - */ - int add_request(AuthRequest *ar); - - /** - * Gets request from the Request map - * @param id for the request - * @return pointer to the AuthRequest - */ - AuthRequest * get_request(int id); -}; - -/* -------------------------------------------------------------------------- */ -/* -------------------------------------------------------------------------- */ - -/** - * The AuthRequest class is used to pass an Authorization or Authentication - * request to the AuthManager. The result of the request will be stored - * in the result and message attributes of this class. - */ -class AuthRequest : public ActionListener -{ -public: - AuthRequest(int _uid, int _gid): - result(false), - timeout(false), - uid(_uid), - gid(_gid), - time_out(0), - self_authorize(true) - { - am.addListener(this); - }; - - ~AuthRequest(){}; - - /** - * Authorization Request Type - */ - enum Operation - { - USE = 0x1LL, /**< Auth. to use an object */ - MANAGE = 0x2LL, /**< Auth. to perform management actions */ - ADMIN = 0x4LL, /**< Auth. to perform administrative actions */ - CREATE = 0x8LL /**< Auth. to create an object */ - }; - - static string operation_to_str(Operation op) - { - switch (op) - { - case USE: return "USE"; - case MANAGE: return "MANAGE"; - case ADMIN: return "ADMIN"; - case CREATE: return "CREATE"; - default: return ""; - } - }; - - - /** - * Sets the challenge to authenticate an user - * @param challenge a driver specific authentication challenge - */ - void add_authenticate(const string &_driver, - const string &_username, - const string &_password, - const string &_session) - { - username = _username; - password = _password; - session = _session; - - driver = _driver; - } - - /** - * Adds a CREATE authorization request. - * - * OBJECT:<-1|OBJECT_TMPL_XML64>:CREATE:UID:AUTH - * - * @param type of the object to be created - * @param template (base64 encoded) of the new object - */ - void add_create_auth(PoolObjectSQL::ObjectType type, const string& txml_64) - { - PoolObjectAuth perms; //oid & gid set to -1 - - perms.uid = uid; - perms.obj_type = type; - - add_auth(AuthRequest::CREATE, perms, txml_64); - } - - /** - * Adds a new authorization item to this request - * - * OBJECT:OBJECT_ID:ACTION:OWNER:AUTH - * - * @param op the operation to be authorized - * @param ob_perms object's permission attributes - */ - void add_auth(Operation op, - const PoolObjectAuth& ob_perms) - { - add_auth(op, ob_perms, ""); - } - - /** - * Gets the authorization requests in a single string - * @return a space separated list of auth requests, or an empty string if - * no auth requests were added - */ - string get_auths() - { - ostringstream oss; - unsigned int i; - - if ( auths.empty() ) - { - return string(); - } - - for (i=0; i auths; - - /** - * Plain authorization for the request - */ - bool self_authorize; - - /** - * No actions defined for the Auth request, just FINALIZE when done - */ - void do_action(const string &name, void *args){}; - - /** - * Adds a new authorization item to this request, with a template for - * a new object - * - * OBJECT::ACTION:OWNER:AUTH - * - * @param op the operation to be authorized - * @param ob_perms object's permission attributes - * @param ob_template new object's template. If it is empty, - * it will be ignored - */ - void add_auth(Operation op, - const PoolObjectAuth& ob_perms, - string ob_template); }; #endif /*AUTH_MANAGER_H*/ diff --git a/include/AuthRequest.h b/include/AuthRequest.h new file mode 100644 index 0000000000..2ae3e04471 --- /dev/null +++ b/include/AuthRequest.h @@ -0,0 +1,211 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#ifndef AUTH_REQUEST_H_ +#define AUTH_REQUEST_H_ + +#include + +#include "ActionManager.h" +#include "PoolObjectAuth.h" +#include "SSLTools.h" +#include "AuthManager.h" + +#include "SyncRequest.h" + +using namespace std; + +/** + * The AuthRequest class is used to pass an Authorization or Authentication + * request to the AuthManager. The result of the request will be stored + * in the result and message attributes of this class. + */ +class AuthRequest : public SyncRequest +{ +public: + AuthRequest(int _uid, int _gid): uid(_uid),gid(_gid),self_authorize(true){}; + + ~AuthRequest(){}; + + /** + * Authorization Request Type + */ + enum Operation + { + USE = 0x1LL, /**< Auth. to use an object */ + MANAGE = 0x2LL, /**< Auth. to perform management actions */ + ADMIN = 0x4LL, /**< Auth. to perform administrative actions */ + CREATE = 0x8LL /**< Auth. to create an object */ + }; + + static string operation_to_str(Operation op) + { + switch (op) + { + case USE: return "USE"; + case MANAGE: return "MANAGE"; + case ADMIN: return "ADMIN"; + case CREATE: return "CREATE"; + default: return ""; + } + }; + + /** + * Sets the challenge to authenticate an user + * @param challenge a driver specific authentication challenge + */ + void add_authenticate(const string &_driver, + const string &_username, + const string &_password, + const string &_session) + { + username = _username; + password = _password; + session = _session; + + driver = _driver; + } + + /** + * Adds a CREATE authorization request. + * + * OBJECT:<-1|OBJECT_TMPL_XML64>:CREATE:UID:AUTH + * + * @param type of the object to be created + * @param template (base64 encoded) of the new object + */ + void add_create_auth(PoolObjectSQL::ObjectType type, const string& txml_64) + { + PoolObjectAuth perms; //oid & gid set to -1 + + perms.uid = uid; + perms.obj_type = type; + + add_auth(AuthRequest::CREATE, perms, txml_64); + } + + /** + * Adds a new authorization item to this request + * + * OBJECT:OBJECT_ID:ACTION:OWNER:AUTH + * + * @param op the operation to be authorized + * @param ob_perms object's permission attributes + */ + void add_auth(Operation op, + const PoolObjectAuth& ob_perms) + { + add_auth(op, ob_perms, ""); + } + + /** + * Gets the authorization requests in a single string + * @return a space separated list of auth requests, or an empty string if + * no auth requests were added + */ + string get_auths() + { + ostringstream oss; + unsigned int i; + + if ( auths.empty() ) + { + return string(); + } + + for (i=0; i auths; + + /** + * Plain authorization for the request + */ + bool self_authorize; + + /** + * Adds a new authorization item to this request, with a template for + * a new object + * + * OBJECT::ACTION:OWNER:AUTH + * + * @param op the operation to be authorized + * @param ob_perms object's permission attributes + * @param ob_template new object's template. If it is empty, + * it will be ignored + */ + void add_auth(Operation op, + const PoolObjectAuth& ob_perms, + string ob_template); +}; + +#endif diff --git a/include/Group.h b/include/Group.h index ace3058d36..3a080e0566 100644 --- a/include/Group.h +++ b/include/Group.h @@ -20,6 +20,7 @@ #include "PoolSQL.h" #include "ObjectCollection.h" #include "User.h" +#include "Quotas.h" using namespace std; @@ -65,6 +66,11 @@ public: return del_collection_id(id); } + /** + * Object quotas, provides set and check interface + */ + Quotas quota; + private: // ------------------------------------------------------------------------- @@ -79,7 +85,11 @@ private: Group(int id, const string& name): PoolObjectSQL(id,GROUP,name,-1,-1,"","",table), - ObjectCollection("USERS") + ObjectCollection("USERS"), + quota("/GROUP/DATASTORE_QUOTA", + "/GROUP/NETWORK_QUOTA", + "/GROUP/IMAGE_QUOTA", + "/GROUP/VM_QUOTA") { // Allow users in this group to see it group_u = 1; diff --git a/include/Host.h b/include/Host.h index b4ba3d05f7..def33e677e 100644 --- a/include/Host.h +++ b/include/Host.h @@ -123,6 +123,14 @@ public: **/ int update_info(string &parse_str); + /** + * Inserts the last monitoring, and deletes old monitoring entries. + * + * @param db pointer to the db + * @return 0 on success + */ + int update_monitoring(SqlDB * db); + /** * Retrives host state * @return HostState code number @@ -377,6 +385,12 @@ private: static const char * table; + static const char * monit_db_names; + + static const char * monit_db_bootstrap; + + static const char * monit_table; + /** * Execute an INSERT or REPLACE Sql query. * @param db The SQL DB @@ -392,9 +406,15 @@ private: */ static int bootstrap(SqlDB * db) { - ostringstream oss_host(Host::db_bootstrap); + int rc; - return db->exec(oss_host); + ostringstream oss_host(Host::db_bootstrap); + ostringstream oss_monit(Host::monit_db_bootstrap); + + rc = db->exec(oss_host); + rc += db->exec(oss_monit); + + return rc; }; /** diff --git a/include/HostPool.h b/include/HostPool.h index 0de6e8f8e4..8900b403cc 100644 --- a/include/HostPool.h +++ b/include/HostPool.h @@ -38,7 +38,8 @@ public: HostPool(SqlDB * db, vector hook_mads, const string& hook_location, - const string& remotes_location); + const string& remotes_location, + time_t expire_time); ~HostPool(){}; @@ -196,6 +197,60 @@ public: return PoolSQL::search(oids, Host::table, where); }; + /** + * Dumps the host monitoring information entries in XML format. A filter + * can be also added to the query. + * + * @param oss the output stream to dump the pool contents + * @param where filter for the objects, defaults to all + * + * @return 0 on success + */ + int dump_monitoring(ostringstream& oss, + const string& where); + + /** + * Dumps the HOST monitoring information for a single HOST + * + * @param oss the output stream to dump the pool contents + * @param hostid id of the target HOST + * + * @return 0 on success + */ + int dump_monitoring(ostringstream& oss, + int hostid) + { + ostringstream filter; + + filter << "oid = " << hostid; + + return dump_monitoring(oss, filter.str()); + } + + /** + * Inserts the last monitoring, and deletes old monitoring entries for this + * host + * + * @param host pointer to the host object + * @return 0 on success + */ + int update_monitoring(Host * host) + { + if ( _monitor_expiration <= 0 ) + { + return 0; + } + + return host->update_monitoring(db); + }; + + /** + * Deletes the expired monitoring entries for all hosts + * + * @return 0 on success + */ + int clean_expired_monitoring(); + private: /** @@ -216,6 +271,18 @@ private: * @return 0 on success */ int discover_cb(void * _map, int num, char **values, char **names); + + /** + * Deletes all monitoring entries for all hosts + * + * @return 0 on success + */ + int clean_all_monitoring(); + + /** + * Size, in seconds, of the historical monitoring information + */ + static time_t _monitor_expiration; }; #endif /*HOST_POOL_H_*/ diff --git a/include/Image.h b/include/Image.h index 44052e7a0f..064ec94664 100644 --- a/include/Image.h +++ b/include/Image.h @@ -55,6 +55,13 @@ public: } }; + /** + * Return the string representation of an ImageType + * @param ob the type + * @return the string + */ + static ImageType str_to_type(string& str_type); + /** * Type of Disks (used by the VMM_MAD). Values: BLOCK, CDROM or * FILE @@ -92,7 +99,10 @@ public: USED = 2, /** < Image in use */ DISABLED = 3, /** < Image can not be instantiated by a VM */ LOCKED = 4, /** < FS operation for the Image in process */ - ERROR = 5 /** < Error state the operation FAILED*/ + ERROR = 5, /** < Error state the operation FAILED*/ + CLONE = 6, /** < Image is being cloned */ + DELETE = 7, /** < DS is deleting the image */ + USED_PERS = 8 /** < Image is in use and persistent */ }; /** @@ -110,6 +120,9 @@ public: case DISABLED: return "DISABLED"; break; case LOCKED: return "LOCKED"; break; case ERROR: return "ERROR"; break; + case CLONE: return "CLONE"; break; + case DELETE: return "DELETE"; break; + case USED_PERS: return "USED"; break; default: return ""; } }; @@ -198,7 +211,7 @@ public: * Returns the type of the image * @return type */ - ImageType get_type() + ImageType get_type() const { return type; } @@ -221,30 +234,49 @@ public: } /** - * + * Return the ID of the image we are cloning this one from (if any) */ + int get_cloning_id() const + { + return cloning_id; + } + + /** + * Sets the ID of the image we are cloning this one from (if any) + */ + void set_cloning_id(int id) + { + cloning_id = id; + } + + /** + * Clear the cloning state of the image + */ + void clear_cloning_id() + { + cloning_id = -1; + } + + /* ---------------------------------------------------------------------- */ + /* Acess Image Counters (running vms and clonning operations ) */ + /* ---------------------------------------------------------------------- */ + int dec_running () { return --running_vms; } - /** - * - */ int inc_running() { return ++running_vms; } - /** - * - */ - int get_running() + int get_running() const { return running_vms; } - int get_cloning() + int get_cloning() const { return cloning_ops; } @@ -259,21 +291,6 @@ public: return ++cloning_ops; } - int get_source_img() - { - return source_img_id; - } - - void set_source_img(int id) - { - source_img_id = id; - } - - void unset_source_img() - { - source_img_id = -1; - } - /** * Sets the Image type. * @@ -416,15 +433,12 @@ public: }; /** - * Prepares a template to allocate a clone of this Image - * + * Clones this image template including image specific attributes: NAME, + * TYPE, PATH, FSTYPE, SIZE and PERSISTENT * @param new_name Value for the NAME attribute - * @param tmpl Will contain the resulting template, if any - * @param error_str Returns the error reason, if any - * @return 0 in case of success, -1 otherwise + * @return Pointer to the new tempalte 0 in case of success */ - int clone_template(string& new_name, - ImageTemplate * &tmpl, string& error_str) const; + ImageTemplate * clone_template(const string& new_name) const; private: @@ -497,7 +511,7 @@ private: * Indicates if this Image is a clone of another one. * Once the clone process is complete, it should be set to -1 */ - int source_img_id; + int cloning_id; /** * Datastore ID diff --git a/include/ImageManager.h b/include/ImageManager.h index 2d3d8789ca..7556d03880 100644 --- a/include/ImageManager.h +++ b/include/ImageManager.h @@ -26,6 +26,7 @@ using namespace std; extern "C" void * image_action_loop(void *arg); class Image; +class Template; class ImageManager : public MadManager, public ActionListener { @@ -103,6 +104,12 @@ public: */ void release_image(int iid, bool failed); + /** + * Closes any cloning operation on the image, updating the state if needed + * @param iid image id of the image to be released + */ + void release_cloning_image(int iid); + /** * Enables the image * @param to_enable true will enable the image. @@ -125,6 +132,18 @@ public: */ int delete_image(int iid, const string& ds_data); + /** + * Gets the size of an image by calling the STAT action of the associated + * datastore driver. + * + * @param img_tmpl the template for the image + * @param ds_tmpl the template for the datastore + * @oaram result with a string representation of the size or if an error + * occurred describing the error. + * @result 0 on success + */ + int stat_image(Template* img_tmpl, const string& ds_tmpl, string& res); + private: /** * Generic name for the Image driver @@ -196,4 +215,3 @@ private: }; #endif /*IMAGE_MANAGER_H*/ - diff --git a/include/ImageManagerDriver.h b/include/ImageManagerDriver.h index 3319ebf717..8ac43a2878 100644 --- a/include/ImageManagerDriver.h +++ b/include/ImageManagerDriver.h @@ -71,27 +71,26 @@ private: //Template driver_conf; /** - * Sends a copy request to the MAD + * Sends a copy request to the MAD. * @param oid the image id. * @param drv_msg xml data for the mad operation. */ void cp(int oid, const string& drv_msg) const; /** - * Sends a move request to the MAD: "MV IMAGE_ID SRC_PATH DST_PATH" - * @param oid the image id. - * @param destination is a driver specific location or "-" if not - * initialized - * @param size_mb of the image to be created + * Sends a stat request to the MAD. + * @param oid the id of the stat request + * @param drv_msg xml data for the mad operation. */ - void mv(int oid, const string& source, const string& destination) const; + void stat(int oid, const string& drv_msg) const; /** - * Sends a make filesystem request to the MAD: "MKFS IMAGE_ID PATH SIZE_MB" + * Sends a make filesystem request to the MAD. * @param oid the image id. * @param drv_msg xml data for the mad operation. */ void mkfs(int oid, const string& drv_msg) const; + /** * Sends a delete request to the MAD: "DELETE IMAGE_ID PATH" * @param oid the image id. diff --git a/include/ImageTemplate.h b/include/ImageTemplate.h index d6340432f0..b30f7d2738 100644 --- a/include/ImageTemplate.h +++ b/include/ImageTemplate.h @@ -29,7 +29,7 @@ class ImageTemplate : public Template public: ImageTemplate() : Template(true,'=',"TEMPLATE"){}; - ImageTemplate(ImageTemplate& tmpl):Template(tmpl){}; + ImageTemplate(const ImageTemplate& tmpl):Template(tmpl){}; ~ImageTemplate(){}; diff --git a/include/MadManager.h b/include/MadManager.h index 2cd552f665..43cfd434f5 100644 --- a/include/MadManager.h +++ b/include/MadManager.h @@ -30,6 +30,8 @@ using namespace std; +class SyncRequest; + extern "C" void * mad_manager_listener(void * _mm); /** @@ -54,7 +56,12 @@ public: * sudo application. */ virtual void load_mads(int uid) = 0; - + + /** + * Notify the result of an auth request + */ + void notify_request(int id, bool result, const string& message); + protected: MadManager(vector& _mads); @@ -93,7 +100,28 @@ protected: * @return 0 on success. */ int add(Mad *mad); - + + /** + * This function can be periodically executed to check time_outs on + * request. It will fail requests with an expired timeout and will notify + * the clients. + */ + void check_time_outs_action(); + + /** + * Add a new request to the Request map + * @param ar pointer to the request + * @return the id for the request + */ + void add_request(SyncRequest *ar); + + /** + * Gets request from the Request map + * @param id for the request + * @return pointer to the Request + */ + SyncRequest * get_request(int id); + private: /** * Function to lock the Manager @@ -155,11 +183,16 @@ private: * can be free upon listener thread cancellation. */ ostringstream buffer; + + /** + * List of pending requests + */ + map sync_requests; /** * Listener thread implementation. */ - void listener(); + void listener(); }; #endif /*MAD_MANAGER_H_*/ diff --git a/include/Quota.h b/include/Quota.h new file mode 100644 index 0000000000..1c8de9bf98 --- /dev/null +++ b/include/Quota.h @@ -0,0 +1,175 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#ifndef QUOTA_H_ +#define QUOTA_H_ + +#include "Template.h" + +/** + * Base class for resource quotas, it provides basic storage and management of + * the quotas. Each resource MUST inherit from it to implement check and + * update methods. Quotas are stored in a template form, each class store the + * limits and usage in a resource specific format. + */ +class Quota: public Template +{ +public: + + /** + * Set the quotas. If the quota previously exists its limit is updated. + * @param quota_str the quota template in ASCII or XML formats + * @param error describe the error in case of error + * @return 0 on success -1 otherwise + */ + int set(vector * quotas, string& error); + + /** + * Check if the resource allocation will exceed the quota limits. If not + * the usage counters are updated + * @param tmpl template for the resource + * @param error string + * @return true if the operation can be performed + */ + virtual bool check(Template* tmpl, string& error) = 0; + + /** + * Decrement usage counters when deallocating image + * @param tmpl template for the resource + */ + virtual void del(Template* tmpl) = 0; + + + /** + * Returns the name that identifies the quota in a template + */ + const char * get_quota_name() + { + return template_name; + } + + +protected: + + Quota(const char * quota_name, + const char * _template_name, + const char ** _metrics, + int _num_metrics) + : Template(false, '=', quota_name), + template_name(_template_name), + metrics(_metrics), + num_metrics(_num_metrics){}; + + virtual ~Quota(){}; + + /** + * Generic Quota Names + * + * template_name = [ + * ID = "ID to identify the resource", + * metrics[0] = "Limit for the first metric" + * metrics[0]_USED = "Usage for metric" + * ] + * + * ID & counter fields are optional + */ + + /** + * Name of the quota used in the templates + */ + const char * template_name; + + /** + * The name of the quota metrics + */ + const char ** metrics; + + /** + * Length + */ + int num_metrics; + + /** + * Check a given quota for an usage request and update counters if the + * request does not exceed quota limits + * @param qid id that identifies the quota, to be used by get_quota + * @param usage_req usage for each metric + * @return true if the request does not exceed current limits + */ + bool check_quota(const string& qid, + map& usage_req, + string& error); + + /** + * Reduce usage from a given quota based on the current consumption + * @param qid id that identifies the quota, to be used by get_quota + * @param usage_req usage for each metric + */ + void del_quota(const string& qid, + map& usage_req); + + /** + * Gets a quota identified by its ID. + * @param id of the quota + * @return a pointer to the quota or 0 if not found + */ + virtual int get_quota(const string& id, VectorAttribute **va); + +private: + /** + * Creates an empty quota based on the given attribute. The attribute va + * contains the limits for the quota. + * @param va limits for the new quota if 0 limits will be 0 + * @return a new attribute representing the quota + */ + VectorAttribute * new_quota(VectorAttribute* va); + + /** + * Adds a new quota, it also updates an internal index for fast accessing + * the quotas + * @param quota is the new quota, allocated in the HEAP + */ + void add(VectorAttribute * nq) + { + attributes.insert(make_pair(nq->name(), nq)); + } + + /** + * Adds a given value to the current quota (vector) + * @param attr the quota; + * @param va_name name of the quota in the vector attribute + * @param num value to add to the current quota; + */ + void add_to_quota(VectorAttribute * attr, const string& va_name, int num); + + /** + * Sets new limit values for the quota + * @param quota to be updated + * @param va attribute with the new limits + * @return 0 on success or -1 if wrong limits + */ + int update_limits(VectorAttribute* quota, const VectorAttribute* va); + + /** + * Extract the limits for the defined quota metrics from a given attribute + * @param va the attribute with the limits + * @param limits stores the known limits + * @return 0 on success + */ + int get_limits(const VectorAttribute * va, map& limits); +}; + +#endif /*QUOTA_H_*/ diff --git a/include/QuotaDatastore.h b/include/QuotaDatastore.h new file mode 100644 index 0000000000..02964e141c --- /dev/null +++ b/include/QuotaDatastore.h @@ -0,0 +1,68 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#ifndef QUOTA_DATASTORE_H_ +#define QUOTA_DATASTORE_H_ + +#include "Quota.h" + +/** + * DataStore Quotas, defined as: + * DATASTORE = [ + * ID = + * IMAGES = + * SIZE = + * IMAGES_USED = Current number of images in the datastore + * SIZE_USED = Current storage capacity un the datastore + * ] + * + * 0 = unlimited, default if missing + */ + +class QuotaDatastore : public Quota +{ +public: + + QuotaDatastore():Quota("DATASTORE_QUOTA", + "DATASTORE", + DS_METRICS, + NUM_DS_METRICS) + {}; + + ~QuotaDatastore(){}; + + /** + * Check if the resource allocation will exceed the quota limits. If not + * the usage counters are updated + * @param tmpl template for the resource + * @param error string + * @return true if the operation can be performed + */ + bool check(Template* tmpl, string& error); + + /** + * Decrement usage counters when deallocating image + * @param tmpl template for the resource + */ + void del(Template* tmpl); + +protected: + static const char * DS_METRICS[]; + + static const int NUM_DS_METRICS; +}; + +#endif /*QUOTA_DATASTORE_H_*/ \ No newline at end of file diff --git a/src/sunstone/public/locale/upgrade_translation.js b/include/QuotaImage.h old mode 100755 new mode 100644 similarity index 51% rename from src/sunstone/public/locale/upgrade_translation.js rename to include/QuotaImage.h index b0f7e91a26..6d75c62648 --- a/src/sunstone/public/locale/upgrade_translation.js +++ b/include/QuotaImage.h @@ -1,4 +1,3 @@ -#!/usr/bin/js /* -------------------------------------------------------------------------- */ /* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ /* */ @@ -15,38 +14,53 @@ /* limitations under the License. */ /* -------------------------------------------------------------------------- */ -if (!arguments[0] || !arguments[1]){ - print("Usage: upgrade_translation.js > "); - quit(); +#ifndef QUOTA_IMAGE_H_ +#define QUOTA_IMAGE_H_ + +#include "Quota.h" + +/** + * Image Quotas, defined as: + * IMAGE = [ + * ID = + * RVMS = + * RVMS _USED = Current number of VMs using the image + * ] + * + * 0 = unlimited, default if missing + */ + +class QuotaImage : public Quota +{ +public: + + QuotaImage():Quota("IMAGE_QUOTA", + "IMAGE", + IMAGE_METRICS, + NUM_IMAGE_METRICS) + {}; + + ~QuotaImage(){}; + + /** + * Check if the resource allocation will exceed the quota limits. If not + * the usage counters are updated + * @param tmpl template for the resource + * @param error string + * @return true if the operation can be performed + */ + bool check(Template* tmpl, string& error); + + /** + * Decrement usage counters when deallocating image + * @param tmpl template for the resource + */ + void del(Template* tmpl); + +protected: + static const char * IMAGE_METRICS[]; + + static const int NUM_IMAGE_METRICS; }; -var from = arguments[0]; -var to = arguments[1]; - -load(from); -var tr=""; -var locale_old= {}; -for (tr in locale){ - locale_old[tr] = locale[tr]; -}; - -var lang_old = lang; -var dt_lang_old = datatable_lang - -load(to); -for (tr in locale){ - if (locale_old[tr]){ - locale[tr] = locale_old[tr] - }; -}; - -print("//Translated by"); -print('lang="'+lang_old+'"'); -print('datatable_lang="'+dt_lang_old+'"'); -print("locale={"); - -for (tr in locale){ - print(' "'+tr+'":"'+locale[tr]+'",'); -}; - -print("};"); \ No newline at end of file +#endif /*QUOTA_IMAGE_H_*/ diff --git a/src/cloud/occi/lib/ui/public/locale/upgrade_translation.js b/include/QuotaNetwork.h old mode 100755 new mode 100644 similarity index 51% rename from src/cloud/occi/lib/ui/public/locale/upgrade_translation.js rename to include/QuotaNetwork.h index b0f7e91a26..defb73e482 --- a/src/cloud/occi/lib/ui/public/locale/upgrade_translation.js +++ b/include/QuotaNetwork.h @@ -1,4 +1,3 @@ -#!/usr/bin/js /* -------------------------------------------------------------------------- */ /* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ /* */ @@ -15,38 +14,53 @@ /* limitations under the License. */ /* -------------------------------------------------------------------------- */ -if (!arguments[0] || !arguments[1]){ - print("Usage: upgrade_translation.js > "); - quit(); +#ifndef QUOTA_NETWORK_H_ +#define QUOTA_NETWORK_H_ + +#include "Quota.h" + +/** + * DataStore Quotas, defined as: + * NETWORK = [ + * ID = + * LEASES = + * LEASES_USED = Current number of IPs + * ] + * + * 0 = unlimited, default if missing + */ + +class QuotaNetwork : public Quota +{ +public: + + QuotaNetwork():Quota("NETWORK_QUOTA", + "NETWORK", + NET_METRICS, + NUM_NET_METRICS) + {}; + + ~QuotaNetwork(){}; + + /** + * Check if the resource allocation will exceed the quota limits. If not + * the usage counters are updated + * @param tmpl template for the resource + * @param error string + * @return true if the operation can be performed + */ + bool check(Template* tmpl, string& error); + + /** + * Decrement usage counters when deallocating image + * @param tmpl template for the resource + */ + void del(Template* tmpl); + +protected: + static const char * NET_METRICS[]; + + static const int NUM_NET_METRICS; }; -var from = arguments[0]; -var to = arguments[1]; - -load(from); -var tr=""; -var locale_old= {}; -for (tr in locale){ - locale_old[tr] = locale[tr]; -}; - -var lang_old = lang; -var dt_lang_old = datatable_lang - -load(to); -for (tr in locale){ - if (locale_old[tr]){ - locale[tr] = locale_old[tr] - }; -}; - -print("//Translated by"); -print('lang="'+lang_old+'"'); -print('datatable_lang="'+dt_lang_old+'"'); -print("locale={"); - -for (tr in locale){ - print(' "'+tr+'":"'+locale[tr]+'",'); -}; - -print("};"); \ No newline at end of file +#endif /*QUOTA_NETWORK_H_*/ diff --git a/include/QuotaVirtualMachine.h b/include/QuotaVirtualMachine.h new file mode 100644 index 0000000000..8b430e10ee --- /dev/null +++ b/include/QuotaVirtualMachine.h @@ -0,0 +1,76 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#ifndef QUOTA_VIRTUALMACHINE_H_ +#define QUOTA_VIRTUALMACHINE_H_ + +#include "Quota.h" + +/** + * VM Quotas, defined as: + * VM = [ + * VMS = + * MEMORY = + * CPU = + * VMS_USED = Current number of VMs + * MEMORY_USED = Overall Memory requested + * CPU_USED = Overall CPU requested + * ] + * + * 0 = unlimited, default if missing + */ + +class QuotaVirtualMachine : public Quota +{ +public: + + QuotaVirtualMachine():Quota("VM_QUOTA", + "VM", + VM_METRICS, + NUM_VM_METRICS) + {}; + + ~QuotaVirtualMachine(){}; + + /** + * Check if the resource allocation will exceed the quota limits. If not + * the usage counters are updated + * @param tmpl template for the resource + * @param error string + * @return true if the operation can be performed + */ + bool check(Template* tmpl, string& error); + + /** + * Decrement usage counters when deallocating image + * @param tmpl template for the resource + */ + void del(Template* tmpl); + + /** + * Gets a quota, overrides base to not to use ID. + * @param id of the quota + * @return a pointer to the quota or 0 if not found + */ + int get_quota(const string& id, VectorAttribute **va); + +protected: + static const char * VM_METRICS[]; + + static const int NUM_VM_METRICS; +}; + +#endif /*QUOTA_VIRTUALMACHINE_H_*/ \ No newline at end of file diff --git a/include/Quotas.h b/include/Quotas.h new file mode 100644 index 0000000000..d6767668d1 --- /dev/null +++ b/include/Quotas.h @@ -0,0 +1,284 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#ifndef QUOTAS_H_ +#define QUOTAS_H_ + +#include "QuotaDatastore.h" +#include "QuotaNetwork.h" +#include "QuotaVirtualMachine.h" +#include "QuotaImage.h" + +class Quotas +{ +public: + Quotas(const char * _ds_xpath, + const char * _net_xpath, + const char * _img_xpath, + const char * _vm_xpath): + ds_xpath(_ds_xpath), + net_xpath(_net_xpath), + img_xpath(_img_xpath), + vm_xpath(_vm_xpath) + {}; + + virtual ~Quotas(){}; + + /** + * Set the quotas + * @param tmpl contains the user quota limits + * @param error describes error when setting the quotas + * + * @return 0 on success, -1 otherwise + */ + int set(Template *tmpl, string& error) + { + vector vquotas; + + if ( tmpl->get(datastore_quota.get_quota_name(), vquotas) > 0 ) + { + if ( datastore_quota.set(&vquotas, error) != 0 ) + { + return -1; + } + + vquotas.clear(); + } + + if ( tmpl->get(network_quota.get_quota_name(), vquotas) > 0 ) + { + if ( network_quota.set(&vquotas, error) != 0 ) + { + return -1; + } + + vquotas.clear(); + } + + if ( tmpl->get(image_quota.get_quota_name(), vquotas) > 0 ) + { + if ( image_quota.set(&vquotas, error) != 0 ) + { + return -1; + } + + vquotas.clear(); + } + + if ( tmpl->get(vm_quota.get_quota_name(), vquotas) > 0 ) + { + if ( vm_quota.set(&vquotas, error) != 0 ) + { + return -1; + } + + vquotas.clear(); + } + + return 0; + } + + /** + * Check Datastore quotas, it updates usage counters if quotas are not + * exceeded. + * @param tmpl template for the image + * @param reason string describing the error + * @return true if image can be allocated, false otherwise + */ + bool ds_check(Template * tmpl, string& reason) + { + return datastore_quota.check(tmpl, reason); + } + + /** + * Delete usage from quota counters. + * @param tmpl template for the image, with usage + */ + void ds_del(Template * tmpl) + { + return datastore_quota.del(tmpl); + } + + /** + * Check Virtual Machine quotas (network, image and compute), it updates + * usage counters if quotas are not exceeded. + * @param tmpl template for the VirtualMachine + * @param error_str string describing the error + * @return true if VM can be allocated, false otherwise + */ + bool vm_check(Template * tmpl, string& error_str) + { + + if ( network_quota.check(tmpl, error_str) == false ) + { + return false; + } + + if ( vm_quota.check(tmpl, error_str) == false ) + { + network_quota.del(tmpl); + return false; + } + + if ( image_quota.check(tmpl, error_str) == false ) + { + network_quota.del(tmpl); + vm_quota.del(tmpl); + return false; + } + + return true; + } + + /** + * Delete VM related usage (network, image and compute) from quota counters. + * @param tmpl template for the image, with usage + */ + void vm_del(Template * tmpl) + { + network_quota.del(tmpl); + vm_quota.del(tmpl); + image_quota.del(tmpl); + } + + /** + * Generates a string representation of the quotas in XML format + * @param xml the string to store the XML + * @return the same xml string to use it in << compounds + */ + string& to_xml(string& xml) const + { + ostringstream oss; + + string ds_quota_xml; + string net_quota_xml; + string vm_quota_xml; + string image_quota_xml; + + oss << datastore_quota.to_xml(ds_quota_xml) + << network_quota.to_xml(net_quota_xml) + << vm_quota.to_xml(vm_quota_xml) + << image_quota.to_xml(image_quota_xml); + + xml = oss.str(); + + return xml; + } + + /** + * Builds quota object from an ObjectXML + * @param object_xml pointer to the ObjectXML + * @return 0 if success + */ + int from_xml(ObjectXML * object_xml) + { + vector content; + int rc = 0; + + object_xml->get_nodes(ds_xpath, content); + + if (!content.empty()) + { + rc += datastore_quota.from_xml_node(content[0]); + } + + object_xml->free_nodes(content); + content.clear(); + + object_xml->get_nodes(net_xpath, content); + + if (!content.empty()) + { + rc += network_quota.from_xml_node(content[0]); + } + + object_xml->free_nodes(content); + content.clear(); + + object_xml->get_nodes(vm_xpath, content); + + if (!content.empty()) + { + rc += vm_quota.from_xml_node(content[0]); + } + + object_xml->free_nodes(content); + content.clear(); + + object_xml->get_nodes(img_xpath, content); + + if (!content.empty()) + { + rc += image_quota.from_xml_node(content[0]); + } + + object_xml->free_nodes(content); + + return rc; + } + +private: + //-------------------------------------------------------------------------- + // Usage Counters and Quotas + //-------------------------------------------------------------------------- + + /** + * Datastore Quotas + */ + QuotaDatastore datastore_quota; + + /** + * Network Quotas + */ + QuotaNetwork network_quota; + + /** + * Image Quotas + */ + QuotaImage image_quota; + + /** + * Virtual Machine Quotas + */ + QuotaVirtualMachine vm_quota; + + //-------------------------------------------------------------------------- + // XPaths + //-------------------------------------------------------------------------- + + /** + * Path for the datastore quota object + */ + const char * ds_xpath; + + /** + * Path for the network quota object + */ + const char * net_xpath; + + /** + * Path for the image quota object + */ + const char * img_xpath; + + /** + * Path for the vm quota object + */ + const char * vm_xpath; + +}; + +#endif /*QUOTABLE_H_*/ diff --git a/include/Request.h b/include/Request.h index 9c479d97b6..2faeef213f 100644 --- a/include/Request.h +++ b/include/Request.h @@ -21,7 +21,7 @@ #include #include "RequestManager.h" -#include "AuthManager.h" +#include "AuthRequest.h" #include "PoolObjectSQL.h" using namespace std; @@ -75,6 +75,32 @@ protected: string session; /**< Session from ONE XML-RPC API */ xmlrpc_c::value * retval; /**< Return value from libxmlrpc-c */ + + RequestAttributes(){}; + + RequestAttributes(const RequestAttributes& ra) + { + uid = ra.uid; + gid = ra.gid; + + uname = ra.uname; + gname = ra.gname; + + session = ra.session; + retval = ra.retval; + }; + + RequestAttributes(int _uid, int _gid, const RequestAttributes& ra) + { + uid = _uid; + gid = _gid; + + uname = ""; + gname = ""; + + session = ra.session; + retval = ra.retval; + }; }; /* -------- Static (shared among request of the same method) -------- */ @@ -130,7 +156,54 @@ protected: */ bool basic_authorization(int oid, AuthRequest::Operation op, RequestAttributes& att); - + + /** + * Performs a basic quota check for this request using the uid/gid and + * object type from the request. Usage counters are updated for the + * user/group. + * @param tmpl describing the object + * @param att the specific request attributes + * + * @return true if the user is authorized. + */ + bool quota_authorization(Template * tmpl, RequestAttributes& att) + { + return quota_authorization(tmpl, auth_object, att); + } + + /** + * Performs a basic quota check for this request using the uid/gid + * from the request. Usage counters are updated for the user/group. + * @param tmpl describing the object + * @param object type of the object + * @param att the specific request attributes + * + * @return true if the user is authorized. + */ + bool quota_authorization(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att); + /** + * Performs rollback on usage counters for a previous quota check operation + * for the request. + * @param tmpl describing the object + * @param att the specific request attributes + */ + void quota_rollback(Template * tmpl, RequestAttributes& att) + { + quota_rollback(tmpl, auth_object, att); + } + + /** + * Performs rollback on usage counters for a previous quota check operation + * for the request. + * @param tmpl describing the object + * @param att the specific request attributes + */ + void quota_rollback(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att); + /** * Actual Execution method for the request. Must be implemented by the * XML-RPC requests @@ -239,6 +312,27 @@ protected: RequestAttributes& att, PoolObjectAuth& perms, string& name); +private: + + /* ------------- Functions to manage user and group quotas -------------- */ + + bool user_quota_authorization(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att, + string& error_str); + + bool group_quota_authorization(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att, + string& error_str); + + void user_quota_rollback(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att); + + void group_quota_rollback(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att); }; /* -------------------------------------------------------------------------- */ diff --git a/include/RequestManagerAllocate.h b/include/RequestManagerAllocate.h index 01161b6b3d..e13bdbc42c 100644 --- a/include/RequestManagerAllocate.h +++ b/include/RequestManagerAllocate.h @@ -196,7 +196,6 @@ public: { Nebula& nd = Nebula::instance(); pool = nd.get_ipool(); - dspool = nd.get_dspool(); auth_object = PoolObjectSQL::IMAGE; }; @@ -210,9 +209,6 @@ public: bool allocate_authorization(Template * obj_template, RequestAttributes& att, PoolObjectAuth * cluster_perms); - -private: - DatastorePool * dspool; }; /* ------------------------------------------------------------------------- */ diff --git a/include/RequestManagerChown.h b/include/RequestManagerChown.h index 9ccedc49a0..37778dbc14 100644 --- a/include/RequestManagerChown.h +++ b/include/RequestManagerChown.h @@ -52,6 +52,11 @@ protected: virtual void request_execute(xmlrpc_c::paramList const& _paramList, RequestAttributes& att); + + PoolObjectSQL * get_and_quota(int oid, + int new_uid, + int new_gid, + RequestAttributes& att); }; /* ------------------------------------------------------------------------- */ diff --git a/include/RequestManagerGroup.h b/include/RequestManagerGroup.h new file mode 100644 index 0000000000..968654af05 --- /dev/null +++ b/include/RequestManagerGroup.h @@ -0,0 +1,72 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#ifndef REQUEST_MANAGER_GROUP_H +#define REQUEST_MANAGER_GROUP_H + +#include "Request.h" +#include "Nebula.h" + +using namespace std; + +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ + +class RequestManagerGroup: public Request +{ +protected: + RequestManagerGroup(const string& method_name, + const string& help, + const string& params) + :Request(method_name,params,help) + { + Nebula& nd = Nebula::instance(); + pool = nd.get_gpool(); + + auth_object = PoolObjectSQL::GROUP; + }; + + virtual ~RequestManagerGroup(){}; + + virtual void request_execute(xmlrpc_c::paramList const& _paramList, + RequestAttributes& att) = 0; +}; + +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ + +class GroupSetQuota : public RequestManagerGroup +{ +public: + GroupSetQuota(): + RequestManagerGroup("GroupSetQuota", + "Sets group quota limits", + "A:sis") + { + auth_op = AuthRequest::ADMIN; + }; + + ~GroupSetQuota(){}; + + void request_execute(xmlrpc_c::paramList const& _paramList, + RequestAttributes& att); +}; + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +#endif diff --git a/include/RequestManagerHost.h b/include/RequestManagerHost.h index 109542fc91..65f538cf0c 100644 --- a/include/RequestManagerHost.h +++ b/include/RequestManagerHost.h @@ -68,6 +68,26 @@ public: RequestAttributes& att); }; +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ + +class HostMonitoring : public RequestManagerHost +{ +public: + HostMonitoring(): + RequestManagerHost("HostMonitoring", + "Returns the host monitoring records", + "A:si") + { + auth_op = AuthRequest::USE; + }; + + ~HostMonitoring(){}; + + void request_execute(xmlrpc_c::paramList const& _paramList, + RequestAttributes& att); +}; + /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ diff --git a/include/RequestManagerImage.h b/include/RequestManagerImage.h index a8e9bc4344..092c66df8c 100644 --- a/include/RequestManagerImage.h +++ b/include/RequestManagerImage.h @@ -111,18 +111,12 @@ public: "A:sis") { auth_op = AuthRequest::USE; - - Nebula& nd = Nebula::instance(); - dspool = nd.get_dspool(); }; ~ImageClone(){}; void request_execute(xmlrpc_c::paramList const& _paramList, RequestAttributes& att); - -private: - DatastorePool * dspool; }; /* -------------------------------------------------------------------------- */ diff --git a/include/RequestManagerPoolInfoFilter.h b/include/RequestManagerPoolInfoFilter.h index 08d3459f2c..50bf75b678 100644 --- a/include/RequestManagerPoolInfoFilter.h +++ b/include/RequestManagerPoolInfoFilter.h @@ -132,6 +132,31 @@ public: /* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */ +class VirtualMachinePoolMonitoring : public RequestManagerPoolInfoFilter +{ +public: + + VirtualMachinePoolMonitoring(): + RequestManagerPoolInfoFilter("VirtualMachinePoolMonitoring", + "Returns the virtual machine monitoring records", + "A:si") + { + Nebula& nd = Nebula::instance(); + pool = nd.get_vmpool(); + auth_object = PoolObjectSQL::VM; + }; + + ~VirtualMachinePoolMonitoring(){}; + + /* -------------------------------------------------------------------- */ + + void request_execute( + xmlrpc_c::paramList const& paramList, RequestAttributes& att); +}; + +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ + class TemplatePoolInfo : public RequestManagerPoolInfoFilter { public: @@ -213,6 +238,31 @@ public: /* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */ +class HostPoolMonitoring : public RequestManagerPoolInfoFilter +{ +public: + + HostPoolMonitoring(): + RequestManagerPoolInfoFilter("HostPoolMonitoring", + "Returns the host monitoring records", + "A:s") + { + Nebula& nd = Nebula::instance(); + pool = nd.get_hpool(); + auth_object = PoolObjectSQL::HOST; + }; + + ~HostPoolMonitoring(){}; + + /* -------------------------------------------------------------------- */ + + void request_execute( + xmlrpc_c::paramList const& paramList, RequestAttributes& att); +}; + +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ + class GroupPoolInfo: public RequestManagerPoolInfoFilter { public: diff --git a/include/RequestManagerUser.h b/include/RequestManagerUser.h index 9201d22b63..e65d914b67 100644 --- a/include/RequestManagerUser.h +++ b/include/RequestManagerUser.h @@ -97,6 +97,27 @@ public: string& err); }; +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ + +class UserSetQuota : public RequestManagerUser +{ +public: + UserSetQuota(): + RequestManagerUser("UserSetQuota", + "Sets user quota limits", + "A:sis") + { + auth_op = AuthRequest::ADMIN; + }; + + ~UserSetQuota(){}; + + int user_action(int user_id, + xmlrpc_c::paramList const& _paramList, + string& err); +}; + /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ diff --git a/include/RequestManagerVirtualMachine.h b/include/RequestManagerVirtualMachine.h index 2955bbd79b..00326f47fa 100644 --- a/include/RequestManagerVirtualMachine.h +++ b/include/RequestManagerVirtualMachine.h @@ -143,6 +143,29 @@ public: RequestAttributes& att); }; +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ + +class VirtualMachineMonitoring : public RequestManagerVirtualMachine +{ +public: + + VirtualMachineMonitoring(): + RequestManagerVirtualMachine("VirtualMachineMonitoring", + "Returns the virtual machine monitoring records", + "A:si") + { + auth_op = AuthRequest::USE; + }; + + ~VirtualMachineMonitoring(){}; + + /* -------------------------------------------------------------------- */ + + void request_execute( + xmlrpc_c::paramList const& paramList, RequestAttributes& att); +}; + /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ diff --git a/include/SyncRequest.h b/include/SyncRequest.h new file mode 100644 index 0000000000..21f941d809 --- /dev/null +++ b/include/SyncRequest.h @@ -0,0 +1,101 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#ifndef SYNC_REQUEST_H_ +#define SYNC_REQUEST_H_ + +#include + +#include "ActionManager.h" + +/** + * Base class to implement synchronous operation in the MadManagers. This class + * cannot be directly instantiated. + */ +class SyncRequest: public ActionListener +{ +public: + SyncRequest(): + result(false), + message(""), + timeout(false), + id(-1), + time_out(0) + { + am.addListener(this); + }; + + virtual ~SyncRequest(){}; + + /** + * The result of the request, true if the operation succeeded + */ + bool result; + + /** + * Error message for negative results + */ + string message; + + /** + * Time out, true if the request ended because of a time out + */ + bool timeout; + + /** + * Identification of this request + */ + int id; + + /** + * Notify client that we have an answer for the request + */ + void notify() + { + am.trigger(ActionListener::ACTION_FINALIZE,0); + }; + + /** + * Wait for the AuthRequest to be completed + */ + void wait() + { + time_out = time(0) + 90;//Requests will expire in 1.5 minutes + + am.loop(0,0); + }; + +protected: + + friend class MadManager; + + /** + * Time in seconds when this request will expire + */ + time_t time_out; + + /** + * The ActionManager that will be notify when the request is ready. + */ + ActionManager am; + + /** + * No actions defined for the request, just FINALIZE when done + */ + void do_action(const string &name, void *args){}; +}; + +#endif /*SYNC_REQUEST_H_*/ diff --git a/include/Template.h b/include/Template.h index 74203ad000..43309ecab5 100644 --- a/include/Template.h +++ b/include/Template.h @@ -143,6 +143,47 @@ public: */ int replace(const string& name, const string& value); + /** + * Adds a new attribute to the template (replacing it if + * already defined) + * @param name of the new attribute + * @param value of the new attribute + * @return 0 on success + */ + int replace(const string& name, int value) + { + ostringstream oss; + + oss << value; + + return replace(name, oss.str()); + } + + /* + * Adds a new single attribute to the template. It will replace an existing + * one if replace_mode was set to true + * @param name of the attribute + * @param value of the attribute + */ + void add(const string& name, const string& value) + { + set(new SingleAttribute(name, value)); + } + + /** + * Adds a new single attribute to the template. + * @param name of the attribute + * @param value of the attribute + */ + void add(const string& name, int value) + { + ostringstream oss; + + oss << value; + + set(new SingleAttribute(name, oss.str())); + } + /** * Removes an attribute from the template. The attributes are returned. The * attributes MUST be freed by the calling funtion diff --git a/include/User.h b/include/User.h index 770b5943bc..f8aa724fcc 100644 --- a/include/User.h +++ b/include/User.h @@ -19,6 +19,7 @@ #include "PoolSQL.h" #include "UserTemplate.h" +#include "Quotas.h" using namespace std; @@ -166,7 +167,12 @@ public: { return new UserTemplate; } - + + /** + * Object quotas, provides set and check interface + */ + Quotas quota; + private: // ------------------------------------------------------------------------- // Friends @@ -289,6 +295,10 @@ protected: const string& _auth_driver, bool _enabled): PoolObjectSQL(id,USER,_uname,-1,_gid,"",_gname,table), + quota("/USER/DATASTORE_QUOTA", + "/USER/NETWORK_QUOTA", + "/USER/IMAGE_QUOTA", + "/USER/VM_QUOTA"), password(_password), auth_driver(_auth_driver), enabled(_enabled), diff --git a/include/UserPool.h b/include/UserPool.h index afe2e54e36..046224bbd5 100644 --- a/include/UserPool.h +++ b/include/UserPool.h @@ -131,7 +131,8 @@ public: string& uname, string& gname); /** - * Returns whether there is a user with given username/password or not + * Returns whether the operations described in a authorization request are + * authorized ot not. * @param ar, an Authorization Request * @return -1 if authz failed, 0 otherwise */ diff --git a/include/VirtualMachine.h b/include/VirtualMachine.h index 494b2a342a..12cd0a9e66 100644 --- a/include/VirtualMachine.h +++ b/include/VirtualMachine.h @@ -569,6 +569,17 @@ public: return new VirtualMachineTemplate; } + /** + * Returns a copy of the VirtualMachineTemplate + * @return A copy of the VirtualMachineTemplate + */ + VirtualMachineTemplate * clone_template() const + { + return new VirtualMachineTemplate( + *(static_cast(obj_template))); + }; + + // ------------------------------------------------------------------------ // States // ------------------------------------------------------------------------ @@ -838,9 +849,11 @@ private: int rc; ostringstream oss_vm(VirtualMachine::db_bootstrap); + ostringstream oss_monit(VirtualMachine::monit_db_bootstrap); ostringstream oss_hist(History::db_bootstrap); rc = db->exec(oss_vm); + rc += db->exec(oss_monit); rc += db->exec(oss_hist); return rc; @@ -895,6 +908,14 @@ private: return -1; }; + /** + * Inserts the last monitoring, and deletes old monitoring entries. + * + * @param db pointer to the db + * @return 0 on success + */ + int update_monitoring(SqlDB * db); + // ------------------------------------------------------------------------- // Attribute Parser // ------------------------------------------------------------------------- @@ -971,6 +992,12 @@ protected: static const char * db_bootstrap; + static const char * monit_table; + + static const char * monit_db_names; + + static const char * monit_db_bootstrap; + /** * Reads the Virtual Machine (identified with its OID) from the database. * @param db pointer to the db diff --git a/include/VirtualMachinePool.h b/include/VirtualMachinePool.h index 664da7fdb6..e3b75236b8 100644 --- a/include/VirtualMachinePool.h +++ b/include/VirtualMachinePool.h @@ -32,11 +32,12 @@ class VirtualMachinePool : public PoolSQL { public: - VirtualMachinePool(SqlDB * db, - vector hook_mads, - const string& hook_location, - const string& remotes_location, - vector& restricted_attrs); + VirtualMachinePool(SqlDB * db, + vector hook_mads, + const string& hook_location, + const string& remotes_location, + vector& restricted_attrs, + time_t expire_time); ~VirtualMachinePool(){}; @@ -75,6 +76,26 @@ public: return static_cast(PoolSQL::get(oid,lock)); }; + /** + * Function to get a VM from the pool, string version for VM ID + */ + VirtualMachine * get( + const string& oid_s, + bool lock) + { + istringstream iss(oid_s); + int oid; + + iss >> oid; + + if ( iss.fail() ) + { + return 0; + } + + return static_cast(PoolSQL::get(oid,lock)); + }; + /** * Function to get the IDs of running VMs * @param oids a vector that contains the IDs @@ -122,6 +143,38 @@ public: return vm->update_previous_history(db); } + /** + * Inserts the last monitoring, and deletes old monitoring entries for this + * VM + * + * @param vm pointer to the virtual machine object + * @return 0 on success + */ + int update_monitoring( + VirtualMachine * vm) + { + if ( _monitor_expiration <= 0 ) + { + return 0; + } + + return vm->update_monitoring(db); + }; + + /** + * Deletes the expired monitoring entries for all VMs + * + * @return 0 on success + */ + int clean_expired_monitoring(); + + /** + * Deletes all monitoring entries for all VMs + * + * @return 0 on success + */ + int clean_all_monitoring(); + /** * Bootstraps the database table(s) associated to the VirtualMachine pool * @return 0 on success @@ -157,6 +210,37 @@ public: const string& where, int time_start, int time_end); + + /** + * Dumps the VM monitoring information entries in XML format. A filter + * can be also added to the query. + * + * @param oss the output stream to dump the pool contents + * @param where filter for the objects, defaults to all + * + * @return 0 on success + */ + int dump_monitoring(ostringstream& oss, + const string& where); + + /** + * Dumps the VM monitoring information for a single VM + * + * @param oss the output stream to dump the pool contents + * @param vmid id of the target VM + * + * @return 0 on success + */ + int dump_monitoring(ostringstream& oss, + int vmid) + { + ostringstream filter; + + filter << "oid = " << vmid; + + return dump_monitoring(oss, filter.str()); + } + private: /** * Factory method to produce VM objects @@ -166,6 +250,11 @@ private: { return new VirtualMachine(-1,-1,-1,"","",0); }; + + /** + * Size, in seconds, of the historical monitoring information + */ + static time_t _monitor_expiration; }; #endif /*VIRTUAL_MACHINE_POOL_H_*/ diff --git a/install.sh b/install.sh index 401e11c7b2..121f6bc754 100755 --- a/install.sh +++ b/install.sh @@ -203,8 +203,7 @@ LIB_DIRS="$LIB_LOCATION/ruby \ $LIB_LOCATION/mads \ $LIB_LOCATION/sh \ $LIB_LOCATION/ruby/cli \ - $LIB_LOCATION/ruby/cli/one_helper \ - $LIB_LOCATION/ruby/acct" + $LIB_LOCATION/ruby/cli/one_helper" VAR_DIRS="$VAR_LOCATION/remotes \ $VAR_LOCATION/remotes/im \ @@ -246,7 +245,6 @@ VAR_DIRS="$VAR_LOCATION/remotes \ $VAR_LOCATION/remotes/auth/ldap \ $VAR_LOCATION/remotes/auth/server_x509 \ $VAR_LOCATION/remotes/auth/server_cipher \ - $VAR_LOCATION/remotes/auth/quota \ $VAR_LOCATION/remotes/auth/dummy" SUNSTONE_DIRS="$SUNSTONE_LOCATION/models \ @@ -271,6 +269,9 @@ SUNSTONE_DIRS="$SUNSTONE_LOCATION/models \ $SUNSTONE_LOCATION/public/vendor/jGrowl \ $SUNSTONE_LOCATION/public/vendor/flot \ $SUNSTONE_LOCATION/public/vendor/fileuploader \ + $SUNSTONE_LOCATION/public/vendor/FontAwesome \ + $SUNSTONE_LOCATION/public/vendor/FontAwesome/css \ + $SUNSTONE_LOCATION/public/vendor/FontAwesome/font \ $SUNSTONE_LOCATION/public/images \ $SUNSTONE_LOCATION/templates \ $SUNSTONE_LOCATION/views" @@ -287,6 +288,9 @@ OZONES_DIRS="$OZONES_LOCATION/lib \ $OZONES_LOCATION/public/vendor/jQueryUI \ $OZONES_LOCATION/public/vendor/jQueryUI/images \ $OZONES_LOCATION/public/vendor/jGrowl \ + $OZONES_LOCATION/public/vendor/FontAwesome \ + $OZONES_LOCATION/public/vendor/FontAwesome/css \ + $OZONES_LOCATION/public/vendor/FontAwesome/font \ $OZONES_LOCATION/public/js \ $OZONES_LOCATION/public/js/plugins \ $OZONES_LOCATION/public/images \ @@ -317,7 +321,10 @@ SELF_SERVICE_DIRS="\ $LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/flot \ $LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/crypto-js \ $LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/fileuploader \ - $LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/xml2json" + $LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/xml2json \ + $LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/FontAwesome \ + $LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/FontAwesome/css \ + $LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/FontAwesome/font" OZONES_CLIENT_DIRS="$LIB_LOCATION/ruby \ $LIB_LOCATION/ruby/OpenNebula \ @@ -384,7 +391,6 @@ INSTALL_FILES=( AUTH_SERVER_CIPHER_FILES:$VAR_LOCATION/remotes/auth/server_cipher AUTH_DUMMY_FILES:$VAR_LOCATION/remotes/auth/dummy AUTH_PLAIN_FILES:$VAR_LOCATION/remotes/auth/plain - AUTH_QUOTA_FILES:$VAR_LOCATION/remotes/auth/quota VMM_EXEC_KVM_SCRIPTS:$VAR_LOCATION/remotes/vmm/kvm VMM_EXEC_XEN_SCRIPTS:$VAR_LOCATION/remotes/vmm/xen VMM_EXEC_VMWARE_SCRIPTS:$VAR_LOCATION/remotes/vmm/vmware @@ -423,8 +429,6 @@ INSTALL_FILES=( MAN_FILES:$MAN_LOCATION CLI_LIB_FILES:$LIB_LOCATION/ruby/cli ONE_CLI_LIB_FILES:$LIB_LOCATION/ruby/cli/one_helper - ACCT_LIB_FILES:$LIB_LOCATION/ruby/acct - ACCT_BIN_FILES:$BIN_LOCATION ) INSTALL_CLIENT_FILES=( @@ -471,6 +475,9 @@ INSTALL_SUNSTONE_FILES=( SUNSTONE_PUBLIC_VENDOR_JQUERYLAYOUT:$SUNSTONE_LOCATION/public/vendor/jQueryLayout SUNSTONE_PUBLIC_VENDOR_FLOT:$SUNSTONE_LOCATION/public/vendor/flot SUNSTONE_PUBLIC_VENDOR_FILEUPLOADER:$SUNSTONE_LOCATION/public/vendor/fileuploader + SUNSTONE_PUBLIC_VENDOR_FONTAWESOME:$SUNSTONE_LOCATION/public/vendor/FontAwesome + SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_FONT:$SUNSTONE_LOCATION/public/vendor/FontAwesome/font + SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_CSS:$SUNSTONE_LOCATION/public/vendor/FontAwesome/css SUNSTONE_PUBLIC_IMAGES_FILES:$SUNSTONE_LOCATION/public/images SUNSTONE_PUBLIC_LOCALE_EN_US:$SUNSTONE_LOCATION/public/locale/en_US SUNSTONE_PUBLIC_LOCALE_RU:$SUNSTONE_LOCATION/public/locale/ru @@ -501,6 +508,9 @@ INSTALL_OZONES_FILES=( OZONES_PUBLIC_VENDOR_JQUERYUI:$OZONES_LOCATION/public/vendor/jQueryUI OZONES_PUBLIC_VENDOR_JQUERYUIIMAGES:$OZONES_LOCATION/public/vendor/jQueryUI/images OZONES_PUBLIC_VENDOR_JQUERYLAYOUT:$OZONES_LOCATION/public/vendor/jQueryLayout + OZONES_PUBLIC_VENDOR_FONTAWESOME:$OZONES_LOCATION/public/vendor/FontAwesome + OZONES_PUBLIC_VENDOR_FONTAWESOME_FONT:$OZONES_LOCATION/public/vendor/FontAwesome/font + OZONES_PUBLIC_VENDOR_FONTAWESOME_CSS:$OZONES_LOCATION/public/vendor/FontAwesome/css OZONES_PUBLIC_JS_FILES:$OZONES_LOCATION/public/js OZONES_PUBLIC_IMAGES_FILES:$OZONES_LOCATION/public/images OZONES_PUBLIC_CSS_FILES:$OZONES_LOCATION/public/css @@ -533,6 +543,9 @@ INSTALL_SELF_SERVICE_FILES=( SELF_SERVICE_PUBLIC_VENDOR_CRYPTOJS:$LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/crypto-js SELF_SERVICE_PUBLIC_VENDOR_FILEUPLOADER:$LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/fileuploader SELF_SERVICE_PUBLIC_VENDOR_XML2JSON:$LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/xml2json + SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME:$LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/FontAwesome + SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME_CSS:$LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/FontAwesome/css + SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME_FONT:$LIB_LOCATION/ruby/cloud/occi/ui/public/vendor/FontAwesome/font SELF_SERVICE_PUBLIC_IMAGES_FILES:$LIB_LOCATION/ruby/cloud/occi/ui/public/images SELF_SERVICE_PUBLIC_LOCALE_EN_US:$LIB_LOCATION/ruby/cloud/occi/ui/public/locale/en_US SELF_SERVICE_PUBLIC_LOCALE_ES_ES:$LIB_LOCATION/ruby/cloud/occi/ui/public/locale/es_ES @@ -553,7 +566,6 @@ INSTALL_ETC_FILES=( OCCI_ETC_FILES:$ETC_LOCATION OCCI_ETC_TEMPLATE_FILES:$ETC_LOCATION/occi_templates CLI_CONF_FILES:$ETC_LOCATION/cli - ACCT_ETC_FILES:$ETC_LOCATION ) #------------------------------------------------------------------------------- @@ -574,7 +586,7 @@ BIN_FILES="src/nebula/oned \ src/cli/onedatastore \ src/cli/onecluster \ src/onedb/onedb \ - src/authm_mad/remotes/quota/onequota \ + src/onedb/onezonedb/onezonedb \ src/mad/utils/tty_expect \ share/scripts/one" @@ -601,7 +613,6 @@ RUBY_LIB_FILES="src/mad/ruby/ActionManager.rb \ src/mad/ruby/Ganglia.rb \ src/oca/ruby/OpenNebula.rb \ src/authm_mad/remotes/ssh/ssh_auth.rb \ - src/authm_mad/remotes/quota/quota.rb \ src/authm_mad/remotes/server_x509/server_x509_auth.rb \ src/authm_mad/remotes/server_cipher/server_cipher_auth.rb \ src/authm_mad/remotes/ldap/ldap_auth.rb \ @@ -732,8 +743,6 @@ AUTH_DUMMY_FILES="src/authm_mad/remotes/dummy/authenticate" AUTH_PLAIN_FILES="src/authm_mad/remotes/plain/authenticate" -AUTH_QUOTA_FILES="src/authm_mad/remotes/quota/authorize" - #------------------------------------------------------------------------------- # Virtual Network Manager drivers to be installed under $REMOTES_LOCATION/vnm #------------------------------------------------------------------------------- @@ -854,23 +863,28 @@ DATASTORE_DRIVER_COMMON_SCRIPTS="src/datastore_mad/remotes/xpath.rb \ DATASTORE_DRIVER_DUMMY_SCRIPTS="src/datastore_mad/remotes/dummy/cp \ src/datastore_mad/remotes/dummy/mkfs \ + src/datastore_mad/remotes/dummy/stat \ src/datastore_mad/remotes/dummy/rm" DATASTORE_DRIVER_FS_SCRIPTS="src/datastore_mad/remotes/fs/cp \ src/datastore_mad/remotes/fs/mkfs \ + src/datastore_mad/remotes/fs/stat \ src/datastore_mad/remotes/fs/rm" DATASTORE_DRIVER_VMWARE_SCRIPTS="src/datastore_mad/remotes/vmware/cp \ src/datastore_mad/remotes/vmware/mkfs \ + src/datastore_mad/remotes/vmware/stat \ src/datastore_mad/remotes/vmware/rm" DATASTORE_DRIVER_ISCSI_SCRIPTS="src/datastore_mad/remotes/iscsi/cp \ src/datastore_mad/remotes/iscsi/mkfs \ + src/datastore_mad/remotes/iscsi/stat \ src/datastore_mad/remotes/iscsi/rm \ src/datastore_mad/remotes/iscsi/iscsi.conf" DATASTORE_DRIVER_LVM_SCRIPTS="src/datastore_mad/remotes/lvm/cp \ src/datastore_mad/remotes/lvm/mkfs \ + src/datastore_mad/remotes/lvm/stat \ src/datastore_mad/remotes/lvm/rm \ src/datastore_mad/remotes/lvm/lvm.conf" @@ -937,7 +951,6 @@ HM_ETC_FILES="src/hm_mad/hmrc" #------------------------------------------------------------------------------- AUTH_ETC_FILES="src/authm_mad/remotes/server_x509/server_x509_auth.conf \ - src/authm_mad/remotes/quota/quota.conf \ src/authm_mad/remotes/ldap/ldap_auth.conf \ src/authm_mad/remotes/x509/x509_auth.conf" @@ -1109,6 +1122,7 @@ ONE_CLI_LIB_FILES="src/cli/one_helper/onegroup_helper.rb \ src/cli/one_helper/onehost_helper.rb \ src/cli/one_helper/oneimage_helper.rb \ src/cli/one_helper/onetemplate_helper.rb \ + src/cli/one_helper/onequota_helper.rb \ src/cli/one_helper/oneuser_helper.rb \ src/cli/one_helper/onevm_helper.rb \ src/cli/one_helper/onevnet_helper.rb \ @@ -1136,7 +1150,8 @@ CLI_CONF_FILES="src/cli/etc/onegroup.yaml \ src/cli/etc/onevnet.yaml \ src/cli/etc/oneacl.yaml \ src/cli/etc/onedatastore.yaml \ - src/cli/etc/onecluster.yaml" + src/cli/etc/onecluster.yaml \ + src/cli/etc/oneacct.yaml" ETC_CLIENT_FILES="src/cli/etc/group.default" @@ -1179,6 +1194,7 @@ SUNSTONE_PUBLIC_JS_FILES="src/sunstone/public/js/layout.js \ src/sunstone/public/js/sunstone.js \ src/sunstone/public/js/sunstone-util.js \ src/sunstone/public/js/opennebula.js \ + src/sunstone/public/js/monitoring.js \ src/sunstone/public/js/locale.js" SUNSTONE_PUBLIC_JS_PLUGINS_FILES="\ @@ -1253,6 +1269,7 @@ SUNSTONE_PUBLIC_VENDOR_JQUERYLAYOUT="\ SUNSTONE_PUBLIC_VENDOR_FLOT="\ src/sunstone/public/vendor/flot/jquery.flot.min.js \ src/sunstone/public/vendor/flot/jquery.flot.navigate.min.js \ +src/sunstone/public/vendor/flot/jquery.flot.pie.min.js \ src/sunstone/public/vendor/flot/LICENSE.txt \ src/sunstone/public/vendor/flot/NOTICE \ src/sunstone/public/vendor/flot/README.txt" @@ -1270,6 +1287,22 @@ SUNSTONE_PUBLIC_VENDOR_XML2JSON="\ src/sunstone/public/vendor/xml2json/NOTICE \ src/sunstone/public/vendor/xml2json/jquery.xml2json.pack.js" +SUNSTONE_PUBLIC_VENDOR_FONTAWESOME="\ +src/sunstone/public/vendor/FontAwesome/NOTICE \ +" + +SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_CSS="\ +src/sunstone/public/vendor/FontAwesome/css/font-awesome.css \ +" + +SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_FONT="\ +src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.eot \ +src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.woff \ +src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.ttf \ +src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svgz \ +src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svg \ +" + SUNSTONE_PUBLIC_IMAGES_FILES="src/sunstone/public/images/ajax-loader.gif \ src/sunstone/public/images/login_over.png \ src/sunstone/public/images/login.png \ @@ -1290,27 +1323,25 @@ SUNSTONE_PUBLIC_IMAGES_FILES="src/sunstone/public/images/ajax-loader.gif \ " SUNSTONE_PUBLIC_LOCALE_EN_US="\ -src/sunstone/public/locale/en_US/en_US.js \ -src/sunstone/public/locale/en_US/en_datatable.txt \ +src/sunstone/locale/languages/en_US.js \ +src/sunstone/locale/languages/en_datatable.txt \ " SUNSTONE_PUBLIC_LOCALE_RU=" -src/sunstone/public/locale/ru/ru.js \ -src/sunstone/public/locale/ru/ru_datatable.txt" +src/sunstone/locale/languages/ru.js \ +src/sunstone/locale/languages/ru_datatable.txt" SUNSTONE_PUBLIC_LOCALE_IT_IT=" -src/sunstone/public/locale/it_IT/it_IT.js \ -src/sunstone/public/locale/it_IT/it_datatable.txt" +src/sunstone/locale/languages/it_IT.js \ +src/sunstone/locale/languages/it_datatable.txt" SUNSTONE_PUBLIC_LOCALE_PT_PT=" -src/sunstone/public/locale/pt_PT/pt_PT.js \ -src/sunstone/public/locale/pt_PT/pt_datatable.txt" +src/sunstone/locale/languages/pt_PT.js \ +src/sunstone/locale/languages/pt_datatable.txt" SUNSTONE_PUBLIC_LOCALE_FR_FR=" -src/sunstone/public/locale/fr_FR/fr_FR.js \ -src/sunstone/public/locale/fr_FR/fr_datatable.txt" - - +src/sunstone/locale/languages/fr_FR.js \ +src/sunstone/locale/languages/fr_datatable.txt" #----------------------------------------------------------------------------- # Ozones files @@ -1367,6 +1398,12 @@ OZONES_PUBLIC_VENDOR_JQUERYUIIMAGES=$SUNSTONE_PUBLIC_VENDOR_JQUERYUIIMAGES OZONES_PUBLIC_VENDOR_JQUERYLAYOUT=$SUNSTONE_PUBLIC_VENDOR_JQUERYLAYOUT +OZONES_PUBLIC_VENDOR_FONTAWESOME=$SUNSTONE_PUBLIC_VENDOR_FONTAWESOME + +OZONES_PUBLIC_VENDOR_FONTAWESOME_FONT=$SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_FONT + +OZONES_PUBLIC_VENDOR_FONTAWESOME_CSS=$SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_CSS + OZONES_PUBLIC_JS_FILES="src/ozones/Server/public/js/ozones.js \ src/ozones/Server/public/js/login.js \ src/ozones/Server/public/js/ozones-util.js \ @@ -1441,6 +1478,9 @@ SELF_SERVICE_PUBLIC_VENDOR_FLOT=$SUNSTONE_PUBLIC_VENDOR_FLOT SELF_SERVICE_PUBLIC_VENDOR_CRYPTOJS=$SUNSTONE_PUBLIC_VENDOR_CRYPTOJS SELF_SERVICE_PUBLIC_VENDOR_FILEUPLOADER=$SUNSTONE_PUBLIC_VENDOR_FILEUPLOADER SELF_SERVICE_PUBLIC_VENDOR_XML2JSON=$SUNSTONE_PUBLIC_VENDOR_XML2JSON +SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME=$SUNSTONE_PUBLIC_VENDOR_FONTAWESOME +SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME_FONT=$SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_FONT +SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME_CSS=$SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_CSS SELF_SERVICE_PUBLIC_IMAGES_FILES="\ src/cloud/occi/lib/ui/public/images/ajax-loader.gif \ @@ -1465,28 +1505,13 @@ src/cloud/occi/lib/ui/public/images/vnc_off.png \ src/cloud/occi/lib/ui/public/images/vnc_on.png \ src/cloud/occi/lib/ui/public/images/yellow_bullet.png" -SELF_SERVICE_PUBLIC_LOCALE_EN_US="src/cloud/occi/lib/ui/public/locale/en_US/en_US.js" -SELF_SERVICE_PUBLIC_LOCALE_ES_ES="src/cloud/occi/lib/ui/public/locale/es_ES/es_ES.js \ - src/cloud/occi/lib/ui/public/locale/es_ES/es_datatable.txt" -SELF_SERVICE_PUBLIC_LOCALE_FR_FR="src/cloud/occi/lib/ui/public/locale/fr_FR/fr_FR.js \ - src/cloud/occi/lib/ui/public/locale/fr_FR/fr_datatable.txt" -SELF_SERVICE_PUBLIC_LOCALE_FR_CA="src/cloud/occi/lib/ui/public/locale/fr_CA/fr_CA.js \ - src/cloud/occi/lib/ui/public/locale/fr_CA/fr_datatable.txt" - -#----------------------------------------------------------------------------- -# ACCT files -#----------------------------------------------------------------------------- - -ACCT_BIN_FILES="src/acct/oneacctd" - -ACCT_LIB_FILES="src/acct/monitoring.rb \ - src/acct/accounting.rb \ - src/acct/acctd.rb \ - src/acct/oneacct.rb \ - src/acct/watch_helper.rb \ - src/acct/watch_client.rb" - -ACCT_ETC_FILES="src/acct/etc/acctd.conf" +SELF_SERVICE_PUBLIC_LOCALE_EN_US="src/cloud/occi/lib/ui/locale/languages/en_US.js" +SELF_SERVICE_PUBLIC_LOCALE_ES_ES="src/cloud/occi/lib/ui/locale/languages/es_ES.js \ + src/cloud/occi/lib/ui/locale/languages/es_datatable.txt" +SELF_SERVICE_PUBLIC_LOCALE_FR_FR="src/cloud/occi/lib/ui/locale/languages/fr_FR.js \ + src/cloud/occi/lib/ui/locale/languages/fr_datatable.txt" +SELF_SERVICE_PUBLIC_LOCALE_FR_CA="src/cloud/occi/lib/ui/locale/languages/fr_CA.js \ + src/cloud/occi/lib/ui/locale/languages/fr_datatable.txt" #----------------------------------------------------------------------------- # MAN files diff --git a/share/doc/xsd/group.xsd b/share/doc/xsd/group.xsd index eb36432fff..81772e34c7 100644 --- a/share/doc/xsd/group.xsd +++ b/share/doc/xsd/group.xsd @@ -13,6 +13,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/doc/xsd/user.xsd b/share/doc/xsd/user.xsd index 5add6f1685..bf9c88b1cd 100644 --- a/share/doc/xsd/user.xsd +++ b/share/doc/xsd/user.xsd @@ -12,6 +12,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/etc/oned.conf b/share/etc/oned.conf index 2f4c5d807a..669307e776 100644 --- a/share/etc/oned.conf +++ b/share/etc/oned.conf @@ -11,10 +11,14 @@ # # HOST_MONITORING_INTERVAL: Time in seconds between host monitorization. # HOST_PER_INTERVAL: Number of hosts monitored in each interval. +# HOST_MONITORING_EXPIRATION_TIME: Time, in seconds, to expire monitoring +# information. Use 0 to disable HOST monitoring recording. # # VM_POLLING_INTERVAL: Time in seconds between virtual machine monitorization. -# (use 0 to disable VM monitoring). +# Use 0 to disable VM monitoring. # VM_PER_INTERVAL: Number of VMs monitored in each interval. +# VM_MONITORING_EXPIRATION_TIME: Time, in seconds, to expire monitoring +# information. Use 0 to disable VM monitoring recording. # # SCRIPTS_REMOTE_DIR: Remote path to store the monitoring and VM management # scripts. @@ -38,12 +42,13 @@ #MANAGER_TIMER = 30 -HOST_MONITORING_INTERVAL = 600 -#HOST_PER_INTERVAL = 15 - -VM_POLLING_INTERVAL = 600 -#VM_PER_INTERVAL = 5 +HOST_MONITORING_INTERVAL = 600 +#HOST_PER_INTERVAL = 15 +#HOST_MONITORING_EXPIRATION_TIME = 86400 +VM_POLLING_INTERVAL = 600 +#VM_PER_INTERVAL = 5 +#VM_MONITORING_EXPIRATION_TIME = 86400 SCRIPTS_REMOTE_DIR=/var/tmp/one @@ -414,22 +419,20 @@ HM_MAD = [ # valid. During this time, the driver is not used. Use 0 to disable session # caching # -# ENABLE_OTHER_PERMISSIONS: Whether or not to enable the permissions for -# 'other'. Users in the oneadmin group will still be able to change -# these permissions. Values: YES or NO +# ENABLE_OTHER_PERMISSIONS: Whether or not users can set the permissions for +# 'other', so publishing or sharing resources with others. Users in the oneadmin +# group will still be able to change these permissions. Values: YES or NO. #******************************************************************************* AUTH_MAD = [ executable = "one_auth_mad", authn = "ssh,x509,ldap,server_cipher,server_x509" -# , authz = "quota" ] SESSION_EXPIRATION_TIME = 900 #ENABLE_OTHER_PERMISSIONS = "YES" - #******************************************************************************* # Restricted Attributes Configuration #******************************************************************************* diff --git a/share/install_gems/install_gems b/share/install_gems/install_gems index 57671cced8..9e3be33a59 100755 --- a/share/install_gems/install_gems +++ b/share/install_gems/install_gems @@ -2,29 +2,26 @@ require 'pp' -DEFAULT=%w{optional sunstone quota cloud ozones_server acct auth_ldap} +$nokogiri='nokogiri' + +DEFAULT=%w{sunstone quota cloud ozones_server auth_ldap} if defined?(RUBY_VERSION) && RUBY_VERSION>="1.8.7" SQLITE='sqlite3' - else SQLITE='sqlite3-ruby --version 1.2.0' end GROUPS={ - :optional => ['nokogiri'], :quota => [SQLITE, 'sequel'], :sunstone => ['json', 'rack', 'sinatra', 'thin', 'sequel', SQLITE], :cloud => %w{amazon-ec2 rack sinatra thin uuidtools curb json}, :ozones_client => %w{json}, - :ozones_server => %w{json data_mapper dm-sqlite-adapter dm-mysql-adapter}+[ + :ozones_server => %w{json sequel}+[ SQLITE, 'mysql' ], - :ozones_server_sqlite => %w{json data_mapper dm-sqlite-adapter}< %w{json data_mapper dm-mysql-adapter mysql}, - :acct => ['sequel', SQLITE, 'mysql'], - :acct_sqlite => ['sequel', SQLITE], - :acct_mysql => ['sequel', 'mysql'], + :ozones_server_sqlite => %w{json sequel}< %w{json sequel mysql}, :auth_ldap => 'net-ldap' } @@ -223,12 +220,14 @@ def help puts DEFAULT.join(' ') puts puts "Use --check parameter to search for non installed libraries." + puts "Use --no-nokogiri parameter if you don't want to install" + puts "nokogiri gem." end def get_gems(packages) - packages.map do |package| + (packages.map do |package| GROUPS[package.to_sym] - end.flatten.uniq-installed_gems + end+[$nokogiri]).flatten.uniq-installed_gems end def detect_distro @@ -430,6 +429,11 @@ install_rubygems command='' params=ARGV +if params.include?('--no-nokogiri') + params-=['--no-nokogiri'] + $nokogiri=nil +end + if params.include?('-h') params-=['-h'] command='help' diff --git a/src/authm_mad/remotes/quota/authorize b/share/scons/po2json.rb similarity index 57% rename from src/authm_mad/remotes/quota/authorize rename to share/scons/po2json.rb index ae5916b4c0..b46d9ef832 100755 --- a/src/authm_mad/remotes/quota/authorize +++ b/share/scons/po2json.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# -*- coding: utf-8 -*- # -------------------------------------------------------------------------- # # Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # @@ -16,54 +17,42 @@ # limitations under the License. # #--------------------------------------------------------------------------- # -ONE_LOCATION=ENV["ONE_LOCATION"] - -if !ONE_LOCATION - RUBY_LIB_LOCATION="/usr/lib/one/ruby" - ETC_LOCATION="/etc/one/" -else - RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" - ETC_LOCATION=ONE_LOCATION+"/etc/" +if RUBY_VERSION =~ /1.9/ + Encoding.default_external = Encoding::UTF_8 + Encoding.default_internal = Encoding::UTF_8 end -$: << RUBY_LIB_LOCATION +if !ARGV[0] + puts "Usage ./po2json.rb > " + exit 1 +end -require 'scripts_common' -require 'OpenNebula' -require 'quota' +po_file = File.open(ARGV[0]) -user_id = ARGV.shift +lang = File.basename(ARGV[0]).split('.')[0] +datatable_lang = lang.split("_")[0] -overall_evalutation = ARGV.pop -exit -1 if overall_evalutation.to_i == 0 +puts "lang=\"#{lang}\"" +puts "datatable_lang=\"#{datatable_lang}_datatable.txt\"" +puts "locale={" -quota = Quota.new - -#q = { -# :cpu => 10, -# :memory => 2048, -# :storage => 100000, -# :num_vms => 5 -#} -# -#quota.set(1, q) -#OpenNebula.log_debug("quotas: #{quota.get(1)}") - -ARGV.each {|request| - obj, template_or_id, op, owner, acl_eval = request.split(':') - - if ( obj == "TEMPLATE" && op == "USE" && ARGV.size == 1 ) - rc = false - else - rc = quota.authorize(user_id, request) +msgid = nil +po_file.each do |line| + if msgid + msgstr = line.sub("msgstr ", "").chomp + puts " #{msgid}:#{msgstr}," + msgid = nil + next end - - if rc - OpenNebula.error_message rc - exit -1 + + if line.include?("msgid") + msgid = line.sub("msgid ", "").chomp + + if msgid.length == 0 || msgid.slice(0,1) == '#' + msgid = nil + end end -} -#OpenNebula.log_debug("AUTHORIZE ARGS: #{ARGV.join(' ')}") +end -exit 0 \ No newline at end of file +puts "}" diff --git a/src/acct/accounting.rb b/src/acct/accounting.rb deleted file mode 100644 index b30be641d6..0000000000 --- a/src/acct/accounting.rb +++ /dev/null @@ -1,131 +0,0 @@ -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -module OneWatch - require 'watch_helper' - - class Accounting - def initialize(client) - @client = client - @active_vms = Array.new - end - - def insert(hash) - @ptimestamp = @timestamp - @timestamp = generate_timestamp - - new_active_vms = Array.new - last_active_vm = @active_vms.empty? ? -1 : @active_vms.last - - if (vmpool_hash = hash['VM_POOL']) && !vmpool_hash.empty? - [vmpool_hash['VM']].flatten.each { |vm| - vm_id = vm['ID'].to_i - - if vm['STATE'] == 3 - new_active_vms << vm_id - end - - # ACTIVE VMs (including those that are stopped in this step) - # in the last step and NEW VMs - if @active_vms.include?(vm_id) || vm['STATE'].to_i == 3 - insert_vm(vm) - @active_vms.delete(vm_id) - else - # DONE/STOP VMs and non ACTIVE in the last step - next - end - } - end - - # DONE VMs that were ACTIVE in the last step - @active_vms.each { |id| - vm = OpenNebula::VirtualMachine.new_with_id(id, @client) - vm.info - - vm_hash = vm.to_hash - insert_vm(vm_hash) - } - - # DONE VMs that did not exist in the last step - vmpool = OpenNebula::VirtualMachinePool.new(@client) - vmpool.info(-2, last_active_vm, -1, 6) - done_hash = vmpool.to_hash - if (done_vm_hash = done_hash['VM_POOL']) && !done_vm_hash.empty? - [done_vm_hash['VM']].flatten.each { |vm| - insert_vm(vm) - } - end - - # Upate the active VMs - @active_vms = new_active_vms.sort - - WatchHelper::Vm.flush - end - - private - - def generate_timestamp - Time.now.to_i - end - - def insert_register(vm, register, history) - if register && register.seq == history['SEQ'].to_i - register.update_from_history(history) - else - vm.add_register_from_resource(history) - end - end - - def update_history(vm, vm_sql) - last_register = vm_sql.registers.last - seq = last_register ? last_register.seq : 0 - - hr = vm['HISTORY_RECORDS'] - if hr and !hr.empty? - if hr['HISTORY']['SEQ'] == seq - # The VM has not moved from the Host - insert_register(vm_sql, last_register, hr['HISTORY']) - return - else - unless hr['HISTORY'].instance_of?(Array) - # Get the full HISTORY - vm = OpenNebula::VirtualMachine.new_with_id(vm['ID'], @client) - vm.info - - vm_hash = vm.to_hash['VM'] - hr = vm_hash['HISTORY_RECORDS'] - end - - # Insert a new entry for each new history record - [hr['HISTORY']].flatten.each { |history| - if history['SEQ'].to_i < seq - next - else - insert_register(vm_sql, last_register, history) - end - } - end - end - end - - def insert_vm(vm) - vm_sql = WatchHelper::Vm.info(vm) - vm_sql.add_delta_from_resource(vm, @timestamp) - update_history(vm, vm_sql) - end - end -end - diff --git a/src/acct/acctd.rb b/src/acct/acctd.rb deleted file mode 100755 index dd5ee37215..0000000000 --- a/src/acct/acctd.rb +++ /dev/null @@ -1,139 +0,0 @@ -#!/usr/bin/env ruby - -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -ONE_LOCATION=ENV["ONE_LOCATION"] - -if !ONE_LOCATION - RUBY_LIB_LOCATION="/usr/lib/one/ruby" - ACCTD_CONF="/etc/one/acctd.conf" -else - RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" - ACCTD_CONF=ONE_LOCATION+"/etc/acctd.conf" -end - -$: << RUBY_LIB_LOCATION -$: << RUBY_LIB_LOCATION+"/acct" - -require 'yaml' - -require 'OpenNebula' -require 'watch_helper' - -class Watcher - def initialize - @monitors = Array.new - end - - def add(resource, steps, pools) - @monitors << { :resource => resource, - :steps => steps, - :pools => [pools].flatten - } - end - - def log(msg) - STDERR.puts "#{Time.now} #{msg}" - end - - def update(step) - # clear pool cache - @pool_cache = Hash.new - - @monitors.each do |monitor| - if monitor[:steps] > 0 and step % monitor[:steps] == 0 - monitor[:pools].each do |pool| - resource = monitor[:resource] - - log "#{resource.class}" - - if pool_hash = @pool_cache[pool] - else - rc = pool.info - if OpenNebula.is_error?(rc) - log "Error: " + rc.message - log "Shutting down" - exit 1 - end - - pool_hash = pool.to_hash - @pool_cache[pool] = pool_hash - end - - resource.insert(pool_hash) - end - end - end - end -end - -watcher = Watcher.new - -# OpenNebula variables -one_client = OpenNebula::Client.new -vm_pool = nil # common for accounting and monitoring -host_pool = nil - -# Initialize VM monitoring -if vm_steps = WatchHelper::get_config(:VM_MONITORING, :STEPS) and - vm_steps > 0 - - require 'monitoring' - vm_monitoring = OneWatch::VmMonitoring.new - vm_pool ||= OpenNebula::VirtualMachinePool.new(one_client, -2) - watcher.add(vm_monitoring, vm_steps, vm_pool) -end - -# Initialize Host monitoring -if host_steps = WatchHelper::get_config(:HOST_MONITORING, :STEPS) and - host_steps > 0 - - require 'monitoring' - host_monitoring = OneWatch::HostMonitoring.new - host_pool ||= OpenNebula::HostPool.new(one_client) - watcher.add(host_monitoring, host_steps, host_pool) -end - -# Initialize accounting -if accounting_steps = WatchHelper::get_config(:ACCOUNTING, :STEPS) and - accounting_steps > 0 - - require 'accounting' - accounting = OneWatch::Accounting.new(one_client) - vm_pool ||= OpenNebula::VirtualMachinePool.new(one_client, -2) - watcher.add(accounting, accounting_steps, vm_pool) -end - -step_time = WatchHelper::get_config(:STEP) - -step = 0 -loop do - start_time = Time.now - expected_end_time = start_time + step_time - - step += 1 - watcher.update(step) - - end_time = Time.now - sleep_time = start_time + step_time - end_time - - if sleep_time >= 1 - sleep sleep_time - else - sleep 1 - end -end diff --git a/src/acct/etc/acctd.conf b/src/acct/etc/acctd.conf deleted file mode 100644 index e97698b8ca..0000000000 --- a/src/acct/etc/acctd.conf +++ /dev/null @@ -1,55 +0,0 @@ -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -# Database URI -#:DB: sqlite:///var/one/oneacct.db - -# Duration of each daemon loop in seconds -:STEP: 300 # 5 minutes - -#------------------------------------------------------------------------------- -# VM Monitoring -#------------------------------------------------------------------------------- - -:VM_MONITORING: - - # Number of daemon loops until a VM monitoring watch - :STEPS: 1 - - # Number of VM records to preserve - :WINDOW_SIZE: 5 - -#------------------------------------------------------------------------------- -# HOST Monitoring -#------------------------------------------------------------------------------- - -:HOST_MONITORING: - - # Number of daemon loops until a Hosts monitoring watch - :STEPS: 3 - - # Number of HOST records to preserve - :WINDOW_SIZE: 5 - -#------------------------------------------------------------------------------- -# Accounting -#------------------------------------------------------------------------------- - -:ACCOUNTING: - - # Number of daemon loops until an accounting watch - :STEPS: 10 - diff --git a/src/acct/examples/acct_client.rb b/src/acct/examples/acct_client.rb deleted file mode 100644 index a85fb173be..0000000000 --- a/src/acct/examples/acct_client.rb +++ /dev/null @@ -1,91 +0,0 @@ -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -require 'watch_helper' - -class AcctClient - def prolog_time(t1, t2, opts={}) - times(t1, t2, opts) { |reg| - calculate_time(t1, t2, reg.pstime, reg.petime) - } - end - - def running_time(t1, t2, opts={}) - # TBD Suspened VMs - - times(t1, t2, opts) { |reg| - calculate_time(t1, t2, reg.rstime, reg.retime) - } - end - - def epilog_time(t1, t2, opts={}) - times(t1, t2, opts) { |reg| - calculate_time(t1, t2, reg.estime, reg.eetime) - } - end - - private - - def times(t1, t2, opts={}, &block) - time = 0 - - vms = filter_vms(opts) - - if vms && !vms.empty? - vms.each { |vm| - vm.registers.each { |reg| - time += block.call(reg) - } - } - end - - time - end - - def calculate_time(t1, t2, stime, etime) - if etime < t1 && etime != 0 - return 0 - elsif stime < t2 && stime != 0 - if etime < t2 && etime != 0 - e = etime - else - e = t2 - end - - s = stime > t1 ? stime : t1 - return e - s - end - - return 0 - end - - def filter_vms(opts={}) - opts ||= {} - - if opts[:uid] - vms = WatchHelper::Vm.filter(:uid=>opts[:uid]) - elsif opts[:gid] - vms = WatchHelper::Vm.filter(:gid=>opts[:gid]) - elsif opts[:hid] - vms = WatchHelper::Vm.filter( - :registers=>WatchHelper::Register.filter(:hid => opts[:hid])) - elsif opts[:vmid] - vms = WatchHelper::Vm.filter(:id=>opts[:vmid]) - else - vms = WatchHelper::Vm - end - end -end diff --git a/src/acct/monitoring.rb b/src/acct/monitoring.rb deleted file mode 100644 index e0260b8e32..0000000000 --- a/src/acct/monitoring.rb +++ /dev/null @@ -1,78 +0,0 @@ -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -module OneWatch - require 'watch_helper' - - class Monitoring - def insert(hash) - timestamp = generate_timestamp - - if (pool_hash = hash["#{resource}_POOL"]) && !pool_hash.empty? - [pool_hash["#{resource}"]].flatten.each { |elem| - sql = sql_elem(elem) - sql.add_sample_from_resource(elem, timestamp) - } - end - - sql_elem.flush - end - - private - - def generate_timestamp - Time.now.to_i - end - end - - class VmMonitoring < Monitoring - def resource - 'VM' - end - - def sql_elem(elem=nil) - if elem - WatchHelper::Vm.info(elem) - else - WatchHelper::Vm - end - end - - def generate_timestamp - ts = super - WatchHelper::VmTimestamp.find_or_create(:id=>ts) - end - end - - class HostMonitoring < Monitoring - def resource - 'HOST' - end - - def sql_elem(elem=nil) - if elem - WatchHelper::Host.info(elem) - else - WatchHelper::Host - end - end - - def generate_timestamp - ts = super - WatchHelper::HostTimestamp.find_or_create(:id=>ts) - end - end -end diff --git a/src/acct/oneacct.rb b/src/acct/oneacct.rb deleted file mode 100644 index 013dccd9ed..0000000000 --- a/src/acct/oneacct.rb +++ /dev/null @@ -1,183 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright 2010-2012, C12G Labs S.L. -# -# This file is part of OpenNebula addons. -# -# OpenNebula addons are free software: you can redistribute it -# and/or modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation, either version 3 of -# the License, or the hope That it will be useful, but (at your -# option) any later version. -# -# OpenNebula addons are distributed in WITHOUT ANY WARRANTY; -# without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License -# along with OpenNebula addons. If not, see -# -# -------------------------------------------------------------------------- - - - -require 'acct/watch_helper' - -class AcctClient - def initialize(filters={}) - @filters=filters - @deltas=[] - @users={} - end - - def account(time_start=nil, time_end=nil, user_id=nil) - @filters[:start]=time_start if time_start - @filters[:end]=time_end if time_end - @filters[:user]=user_id if user_id - - get_users_consumption - - @users - end - -private - - def get_users_consumption - # Get all the deltas that match the filters - @deltas=calculate_deltas.map {|q| q.values } - - @users=slices_by_user - - user_slices_and_deltas_to_vms - end - - def slices_by_user - # Get all VM slices that match the filters - query=get_vm_slices(@filters) - - # This hash will hold the users with the resources consumed - users={} - - query.each do |reg| - vm=reg.vm - uid=vm.uid.to_i - - # Create a new user register if it still does not exist - user=users[uid]||={ - :vm_slices => [], - } - - user[:vm_slices] << reg.values - end - - users - end - - def user_slices_and_deltas_to_vms - @users.each do |user, data| - # Get the VM ids array for this user - vms=data[:vm_slices].map {|vm| vm[:id] }.sort.uniq - - data[:vms]={} - - vms.each do |vm| - # Get the slices array for this VM - slices=data[:vm_slices].select {|slice| slice[:id]==vm } - - data[:vms][vm]={ - :slices => [], - :time => 0, - } - - # Get the deltas sum for this VM - vm_delta=@deltas.find {|d| d[:vm_id]==vm } - - data[:vms][vm][:network]=vm_delta - data[:vms][vm][:vmid]=vm - - # Calculate the time consumed by the VM - slices.each do |slice| - data[:vms][vm][:slices] << slice - - time=calculate_time(slice, - @filters[:start], @filters[:end]) - data[:vms][vm][:time]+=time - end - end - - # Delete redundant slices data - data.delete(:vm_slices) - end - end - - def get_vm_slices(filters={}) - vms=WatchHelper::Register - - query=vms.join(:vms, :id => :vm_id) - query=query.filter({:vms__uid => filters[:user]}) if filters[:user] - query=query.filter( - {:retime => 0} | (:retime > filters[:start])) if filters[:start] - query=query.filter(:rstime <= filters[:end]) if filters[:end] - - query - end - - def get_deltas(filters={}) - if filters[:data] - query=filters[:data] - else - query=WatchHelper::VmDelta - end - - query=query.filter( :ptimestamp >= filters[:start] ) if filters[:start] - query=query.filter( :ptimestamp <= filters[:end] ) if filters[:end] - query=query.filter( { :vm_id => filters[:vmid] } ) if filters[:vmid] - - query - end - - def calculate_deltas - query=WatchHelper::VmDelta.select( - :ptimestamp, :vm_id, - 'sum(net_tx) AS net_tx'.lit, 'sum(net_rx) AS net_rx'.lit) - - query=query.group(:vm_id) - - new_filters=@filters.merge(:data => query) - - get_deltas(new_filters) - end - - def calculate_time(slice, period_start, period_end) - ts=slice[:rstime].to_i - te=slice[:retime].to_i - - pstart=period_start.to_i - pend=period_end.to_i - - pend=Time.now.to_i if pend==0 - - ts=pstart if tspend or te==0 - te=pend - end - - te-ts - end -end - -if $0 == __FILE__ - - require 'json' - - acct=AcctClient.new( - :start => 1319476322, - :end => 1319637455 - ) - - a=acct.account() - - puts JSON.pretty_generate(a) - -end - diff --git a/src/acct/oneacctd b/src/acct/oneacctd deleted file mode 100755 index b527f4b970..0000000000 --- a/src/acct/oneacctd +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/bash - -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -if [ -z "$ONE_LOCATION" ]; then - ONE_PID=/var/run/one/oned.pid - LOCK_FILE=/var/lock/one/one - ACCTD_CMD=/usr/lib/one/ruby/acct/acctd.rb - ACCTD_LOG=/var/log/one/oneacctd.log - ACCTD_PID_FILE=/var/run/one/oneacctd.pid -else - ONE_PID=$ONE_LOCATION/var/oned.pid - LOCK_FILE=$ONE_LOCATION/var/.lock - ACCTD_CMD=$ONE_LOCATION/lib/ruby/acct/acctd.rb - ACCTD_LOG=$ONE_LOCATION/var/oneacctd.log - ACCTD_PID_FILE=$ONE_LOCATION/var/oneacctd.pid -fi - -function oned_running { - ONEPID=`cat $ONE_PID 2> /dev/null` - ps $ONEPID > /dev/null 2>&1 - if [ ! -f "$LOCK_FILE" -o ! -f "$ONE_PID" -o $? -ne 0 ]; then - echo oned not running - exit 1 - fi -} - -function acctd_running { - ACCTD_PID=`cat $ACCTD_PID_FILE 2>/dev/null` - ps "$ACCTD_PID" &> /dev/null -} - -COMMAND=$1 - -case $COMMAND in -start) - # check if OpenNebula running - oned_running - - # check if acct already running - acctd_running - if [ "$?" = "0" ]; then - echo "oneacctd already running." - exit 1 - fi - - # acctd not running, safe to start - $ACCTD_CMD &> $ACCTD_LOG & - - LASTRC=$? - LASTPID=$! - - if [ $LASTRC -ne 0 ]; then - echo "Error executing oneacctd." - echo "Check $ACCTD_LOG for more information" - exit 1 - else - echo $LASTPID > $ACCTD_PID_FILE - fi - - sleep 2 - ps $LASTPID > /dev/null 2>&1 - - if [ $? -ne 0 ]; then - echo "Error executing oneacctd." - echo "Check $ACCTD_LOG for more information" - exit 1 - fi - - echo "oneacctd started" - ;; -stop) - # check if running - acctd_running - if [ "$?" != "0" ]; then - echo "oneacctd not running." - exit 1 - fi - - # acctd running, safe to stop - ACCTD_PID=`cat $ACCTD_PID_FILE 2>/dev/null` - kill $ACCTD_PID &> /dev/null - rm -f $ACCTD_PID_FILE &> /dev/null - - echo "oneacctd stop" - ;; -*) - echo "Usage: oneacctd {start|stop}" >&2 - exit 3 - ;; -esac diff --git a/src/acct/test/1Vm1His.rb b/src/acct/test/1Vm1His.rb deleted file mode 100644 index babf836dc9..0000000000 --- a/src/acct/test/1Vm1His.rb +++ /dev/null @@ -1,335 +0,0 @@ -$: << '.' - -require 'helper/test_helper.rb' - -describe "1 Vm 1 History" do - before(:each) do - clean_db - - @mock_client = MockClient.new - @accounting = OneWatch::Accounting.new(@mock_client) - - @watch_client = AcctClient.new - - @db = WatchHelper::DB - check_lines(0,0) - end - - it "Prolog testing" do - ts1 = 100 - @accounting.set_mock_timestamp(ts1) - - @accounting.insert(create_vmpool_hash) - check_lines(0,0) - - ts2 = 200 - @accounting.set_mock_timestamp(ts2) - - values = { - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - @accounting.insert(create_vmpool_hash) - check_lines(1,1) - - history = values[:history].first - sum = ts2 - history[:pstime] - - warn "* T1 PSTIME T2" - @watch_client.prolog_time(ts1, ts2).to_i.should eql(sum) - warn " - By User" - @watch_client.prolog_time(ts1, ts2, :uid => 2).to_i.should eql(sum) - warn " - By Host" - @watch_client.prolog_time(ts1, ts2, :hid => 7).to_i.should eql(sum) - warn " - By Vm" - @watch_client.prolog_time(ts1, ts2, :vmid => 1).to_i.should eql(sum) - - warn " - Non existent User" - @watch_client.prolog_time(ts1, ts2, :uid => 555).to_i.should eql(0) - warn " - Non existent Host" - @watch_client.prolog_time(ts1, ts2, :hid => 555).to_i.should eql(0) - warn " - Non existent Vm" - @watch_client.prolog_time(ts1, ts2, :vmid => 555).to_i.should eql(0) - - warn "* PSTIME T1 T2" - @watch_client.prolog_time(160, ts2).to_i.should eql(sum-10) - warn "* T1 PSTIME T2-10" - @watch_client.prolog_time(ts1, ts2-10).to_i.should eql(sum-10) - warn "* T1 T2 PSTIME" - @watch_client.prolog_time(110, 130).to_i.should eql(0) - - warn "* Non Epilog time" - @watch_client.epilog_time(ts1, ts2).to_i.should eql(0) - warn "* Non Running time" - @watch_client.running_time(ts1, ts2).to_i.should eql(0) - - ts3 = 300 - @accounting.set_mock_timestamp(ts3) - - values = { - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 240, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - @accounting.insert(create_vmpool_hash) - check_lines(1,1) - - history = values[:history].first - sum = history[:petime] - history[:pstime] - - warn "* T1 PSTIME PETIME T3" - @watch_client.prolog_time(ts1, ts3).to_i.should eql(sum) - warn " - By User" - @watch_client.prolog_time(ts1, ts3, :uid => 2).to_i.should eql(sum) - warn " - By Host" - @watch_client.prolog_time(ts1, ts3, :hid => 7).to_i.should eql(sum) - warn " - By Vm" - @watch_client.prolog_time(ts1, ts3, :vmid => 1).to_i.should eql(sum) - - warn "* T1 PSTIME T3 PETIME" - @watch_client.prolog_time(ts1, 230).to_i.should eql(230 - history[:pstime]) - - warn "* PSTIME T1 PETIME T3" - @watch_client.prolog_time(160, ts3).to_i.should eql(history[:petime] - 160) - - warn "* PSTIME T1 T3 PETIME" - @watch_client.prolog_time(160, 230).to_i.should eql(230 - 160) - end - - it "Running testing" do - ts1 = 100 - @accounting.set_mock_timestamp(ts1) - - @accounting.insert(create_vmpool_hash) - check_lines(0,0) - - ts2 = 200 - @accounting.set_mock_timestamp(ts2) - - values = { - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 155, - :rstime => 155, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - @accounting.insert(create_vmpool_hash) - check_lines(1,1) - - history = values[:history].first - sum = ts2 - history[:rstime] - - warn "* T1 RSTIME T2" - @watch_client.running_time(ts1, ts2).to_i.should eql(sum) - warn " - By User" - @watch_client.running_time(ts1, ts2, :uid => 2).to_i.should eql(sum) - warn " - By Host" - @watch_client.running_time(ts1, ts2, :hid => 7).to_i.should eql(sum) - warn " - By Vm" - @watch_client.running_time(ts1, ts2, :vmid => 1).to_i.should eql(sum) - - warn " - Non existent User" - @watch_client.running_time(ts1, ts2, :uid => 555).to_i.should eql(0) - warn " - Non existent Host" - @watch_client.running_time(ts1, ts2, :hid => 555).to_i.should eql(0) - warn " - Non existent Vm" - @watch_client.running_time(ts1, ts2, :vmid => 555).to_i.should eql(0) - - warn "* RSTIME T1 T2" - @watch_client.running_time(160, ts2).to_i.should eql(ts2-160) - warn "* T1 RSTIME T2-10" - @watch_client.running_time(ts1, ts2-10).to_i.should eql(sum-10) - warn "* T1 T2 RSTIME" - @watch_client.running_time(110, 130).to_i.should eql(0) - - warn "* Non Epilog time" - @watch_client.epilog_time(ts1, ts2).to_i.should eql(0) - warn "* Non Prolog time" - @watch_client.prolog_time(ts1, ts2).to_i.should eql(5) - - ts3 = 300 - @accounting.set_mock_timestamp(ts3) - - values = { - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 155, - :rstime => 155, - :retime => 230, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - @accounting.insert(create_vmpool_hash) - check_lines(1,1) - - history = values[:history].first - sum = history[:retime] - history[:rstime] - - warn "* T1 PSTIME PETIME T3" - @watch_client.running_time(ts1, ts3).to_i.should eql(sum) - warn " - By User" - @watch_client.running_time(ts1, ts3, :uid => 2).to_i.should eql(sum) - warn " - By Host" - @watch_client.running_time(ts1, ts3, :hid => 7).to_i.should eql(sum) - warn " - By Vm" - @watch_client.running_time(ts1, ts3, :vmid => 1).to_i.should eql(sum) - - warn "* T1 PSTIME T3 PETIME" - @watch_client.running_time(ts1, 230).to_i.should eql(230 - history[:rstime]) - - warn "* PSTIME T1 PETIME T3" - @watch_client.running_time(160, ts3).to_i.should eql(history[:retime] - 160) - - warn "* PSTIME T1 T3 PETIME" - @watch_client.running_time(160, 230).to_i.should eql(230 - 160) - end - - it "Epilog testing" do - ts1 = 100 - @accounting.set_mock_timestamp(ts1) - - @accounting.insert(create_vmpool_hash) - check_lines(0,0) - - ts2 = 200 - @accounting.set_mock_timestamp(ts2) - - values = { - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 155, - :rstime => 155, - :retime => 170, - :estime => 180, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - @accounting.insert(create_vmpool_hash) - check_lines(1,1) - - history = values[:history].first - sum = ts2 - history[:estime] - - warn "* T1 ESTIME T2" - @watch_client.epilog_time(ts1, ts2).to_i.should eql(sum) - warn " - By User" - @watch_client.epilog_time(ts1, ts2, :uid => 2).to_i.should eql(sum) - warn " - By Host" - @watch_client.epilog_time(ts1, ts2, :hid => 7).to_i.should eql(sum) - warn " - By Vm" - @watch_client.epilog_time(ts1, ts2, :vmid => 1).to_i.should eql(sum) - - warn " - Non existent User" - @watch_client.epilog_time(ts1, ts2, :uid => 555).to_i.should eql(0) - warn " - Non existent Host" - @watch_client.epilog_time(ts1, ts2, :hid => 555).to_i.should eql(0) - warn " - Non existent Vm" - @watch_client.epilog_time(ts1, ts2, :vmid => 555).to_i.should eql(0) - - warn "* ESTIME T1 T2" - @watch_client.epilog_time(190, ts2).to_i.should eql(ts2-190) - warn "* T1 ESTIME T2-10" - @watch_client.epilog_time(ts1, ts2-10).to_i.should eql(sum-10) - warn "* T1 T2 ESTIME" - @watch_client.epilog_time(110, 130).to_i.should eql(0) - - warn "* Non Running time" - @watch_client.running_time(ts1, ts2).to_i.should eql(15) - warn "* Non Prolog time" - @watch_client.prolog_time(ts1, ts2).to_i.should eql(5) - - ts3 = 300 - @accounting.set_mock_timestamp(ts3) - - values = { - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 155, - :rstime => 155, - :retime => 170, - :estime => 180, - :eetime => 230, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - @accounting.insert(create_vmpool_hash) - check_lines(1,1) - - history = values[:history].first - sum = history[:eetime] - history[:estime] - - warn "* T1 PSTIME PETIME T3" - @watch_client.epilog_time(ts1, ts3).to_i.should eql(sum) - warn " - By User" - @watch_client.epilog_time(ts1, ts3, :uid => 2).to_i.should eql(sum) - warn " - By Host" - @watch_client.epilog_time(ts1, ts3, :hid => 7).to_i.should eql(sum) - warn " - By Vm" - @watch_client.epilog_time(ts1, ts3, :vmid => 1).to_i.should eql(sum) - - warn "* T1 PSTIME T3 PETIME" - @watch_client.epilog_time(ts1, 230).to_i.should eql(230 - history[:estime]) - - warn "* PSTIME T1 PETIME T3" - @watch_client.epilog_time(190, ts3).to_i.should eql(history[:eetime] - 190) - - warn "* PSTIME T1 T3 PETIME" - @watch_client.epilog_time(190, 220).to_i.should eql(220 - 190) - end -end \ No newline at end of file diff --git a/src/acct/test/1VmXHis.rb b/src/acct/test/1VmXHis.rb deleted file mode 100644 index 0d92ebb369..0000000000 --- a/src/acct/test/1VmXHis.rb +++ /dev/null @@ -1,101 +0,0 @@ -$: << '.' - -require 'helper/test_helper.rb' - -describe "1 Vm X History" do - before(:each) do - clean_db - - @mock_client = MockClient.new - @accounting = OneWatch::Accounting.new(@mock_client) - - @watch_client = AcctClient.new - - @db = WatchHelper::DB - check_lines(0,0) - end - - it "Running testing" do - ts1 = 100 - @accounting.set_mock_timestamp(ts1) - - @accounting.insert(create_vmpool_hash) - check_lines(0,0) - - ts2 = 200 - @accounting.set_mock_timestamp(ts2) - - values = { - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :seq => 0, - :pstime => 150, - :petime => 155, - :rstime => 155, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - @accounting.insert(create_vmpool_hash) - check_lines(1,1) - - history = values[:history].first - sum = ts2 - history[:rstime] - - warn "* T1 RSTIME T2" - @watch_client.running_time(ts1, ts2).to_i.should eql(sum) - - ts3 = 300 - @accounting.set_mock_timestamp(ts3) - - values = { - :uid => 2, - :gid => 4, - :history => [ - { - :hid => 7, - :seq => 0, - :pstime => 150, - :petime => 155, - :rstime => 155, - :retime => 230, - :estime => 230, - :eetime => 260, - :reason => 2 - }, - { - :hid => 8, - :seq => 1, - :pstime => 270, - :petime => 275, - :rstime => 275, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - } - ] - } - - @mock_client.add_vm(1, values) - - @accounting.insert(create_vmpool_hash) - check_lines(1,2) - - h1 = values[:history].first - sum1 = h1[:retime] - h1[:rstime] - - h2 = values[:history].last - sum2 = ts3 - h2[:rstime] - - warn "* T1 RSTIME1 RETIME1 RSTIME1 T2" - @watch_client.running_time(ts1, ts3).to_i.should eql(sum1 + sum2) - end -end \ No newline at end of file diff --git a/src/acct/test/XVm1His.rb b/src/acct/test/XVm1His.rb deleted file mode 100644 index c0640feb48..0000000000 --- a/src/acct/test/XVm1His.rb +++ /dev/null @@ -1,93 +0,0 @@ -$: << '.' - -require 'helper/test_helper.rb' - -describe "X Vm 1 History" do - before(:each) do - clean_db - - @mock_client = MockClient.new - @accounting = OneWatch::Accounting.new(@mock_client) - - @watch_client = AcctClient.new - - @db = WatchHelper::DB - check_lines(0,0) - end - - it "Running testing" do - ts1 = 100 - @accounting.set_mock_timestamp(ts1) - - @accounting.insert(create_vmpool_hash) - check_lines(0,0) - - ts2 = 200 - @accounting.set_mock_timestamp(ts2) - - values = { - :uid => 2, - :gid => 4, - :history => [ - :hid => 6, - :seq => 0, - :pstime => 150, - :petime => 155, - :rstime => 155, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - @accounting.insert(create_vmpool_hash) - check_lines(1,1) - - history = values[:history].first - sum = ts2 - history[:rstime] - - warn "* T1 RSTIME T2" - @watch_client.running_time(ts1, ts2).to_i.should eql(sum) - - ts3 = 300 - @accounting.set_mock_timestamp(ts3) - - values2 = { - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :seq => 0, - :pstime => 220, - :petime => 260, - :rstime => 260, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(2, values2) - - @accounting.insert(create_vmpool_hash) - check_lines(2,2) - - history1 = values[:history].first - sum1 = ts3 - history1[:rstime] - - history2 = values2[:history].first - sum2 = ts3 - history2[:rstime] - - warn "* T1 RSTIME T2" - @watch_client.running_time(ts1, ts3).to_i.should eql(sum1 + sum2) - @watch_client.running_time(ts1, ts3, :vmid=>1).to_i.should eql(sum1) - @watch_client.running_time(ts1, ts3, :vmid=>2).to_i.should eql(sum2) - @watch_client.running_time(ts1, ts3, :uid=>2).to_i.should eql(sum1 + sum2) - @watch_client.running_time(ts1, ts3, :hid=>6).to_i.should eql(sum1) - @watch_client.running_time(ts1, ts3, :hid=>7).to_i.should eql(sum2) - end -end \ No newline at end of file diff --git a/src/acct/test/cmonitoring_spec.rb b/src/acct/test/cmonitoring_spec.rb deleted file mode 100644 index dd79ed8719..0000000000 --- a/src/acct/test/cmonitoring_spec.rb +++ /dev/null @@ -1,529 +0,0 @@ -$: << '.' - -require 'helper/test_helper.rb' -require 'watch_client' - -describe "VmWatchClient tests" do - before(:all) do - clean_db - - @mock_client = MockClient.new - @monitoring = OneWatch::VmMonitoring.new - - @watch_client = OneWatchClient::VmWatchClient.new - - @db = WatchHelper::DB - @db[:vms].count.should eql(0) - end - - it "Create a VM: uid=2 gid=4, timestamp=100" do - @monitoring.set_mock_timestamp(100) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(0) - - values = { - :cpu => 1, - :memory => 128, - :net_tx => 200, - :net_rx => 400, - :last_poll => 100, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(1) - end - - it "should check all the monitoring resources are shown by default" do - mon = @watch_client.resource_monitoring(1) - - mon[:id].should eql(1) - mon[:resource].should eql("VM") - - monitoring = mon[:monitoring] - - monitoring.keys.size.should eql(4) - - monitoring[:cpu_usage].size.should eql(1) - monitoring[:cpu_usage].first.should eql([100,1]) - - monitoring[:mem_usage].size.should eql(1) - monitoring[:mem_usage].first.should eql([100,128]) - - monitoring[:net_tx].size.should eql(1) - monitoring[:net_tx].first.should eql([100,200]) - - monitoring[:net_rx].size.should eql(1) - monitoring[:net_rx].first.should eql([100,400]) - end - - it "should check all the monitoring resources are shown by default and filtered" do - mon = @watch_client.resource_monitoring(1, nil, :uid=>2) - - mon[:id].should eql(1) - mon[:resource].should eql("VM") - - monitoring = mon[:monitoring] - - monitoring.keys.size.should eql(4) - - monitoring[:cpu_usage].size.should eql(1) - monitoring[:cpu_usage].first.should eql([100,1]) - - monitoring[:mem_usage].size.should eql(1) - monitoring[:mem_usage].first.should eql([100,128]) - - monitoring[:net_tx].size.should eql(1) - monitoring[:net_tx].first.should eql([100,200]) - - monitoring[:net_rx].size.should eql(1) - monitoring[:net_rx].first.should eql([100,400]) - end - - it "should check no info for non exisiting user" do - mon = @watch_client.resource_monitoring(1, nil, :uid=>1) - - mon.should eql(nil) - end - - it "should check only one monitoring resource is shown if specified" do - mon = @watch_client.resource_monitoring(1, [:net_tx]) - - monitoring = mon[:monitoring] - - monitoring.keys.size.should eql(1) - - monitoring[:net_tx].size.should eql(1) - monitoring[:net_tx].first.should eql([100,200]) - end - - it "should check only two monitoring resources are shown if specified" do - mon = @watch_client.resource_monitoring(1, [:net_tx, :cpu_usage]) - - monitoring = mon[:monitoring] - - monitoring.keys.size.should eql(2) - - monitoring[:net_tx].size.should eql(1) - monitoring[:net_tx].first.should eql([100,200]) - - monitoring[:cpu_usage].size.should eql(1) - monitoring[:cpu_usage].first.should eql([100,1]) - end - - it "should check all the total monitoring resources are shown by default" do - mon = @watch_client.total_monitoring - - mon[:resource].should eql("VM_POOL") - - monitoring = mon[:monitoring] - - monitoring[:total].size.should eql(1) - monitoring[:total].first.should eql([100,1]) - - monitoring[:active].size.should eql(1) - monitoring[:active].first.should eql([100,1]) - - monitoring[:error].size.should eql(1) - monitoring[:error].first.should eql([100,0]) - - monitoring[:cpu_usage].size.should eql(1) - monitoring[:cpu_usage].first.should eql([100,1]) - - monitoring[:mem_usage].size.should eql(1) - monitoring[:mem_usage].first.should eql([100,128]) - - monitoring[:net_tx].size.should eql(1) - monitoring[:net_tx].first.should eql([100,200]) - - monitoring[:net_rx].size.should eql(1) - monitoring[:net_rx].first.should eql([100,400]) - end - - it "should check only one total monitoring resources is shown if specified" do - mon = @watch_client.total_monitoring([:total]) - - mon[:resource].should eql("VM_POOL") - - monitoring = mon[:monitoring] - - monitoring.keys.size.should eql(1) - - monitoring[:total].size.should eql(1) - monitoring[:total].first.should eql([100,1]) - end - - it "should return an empty Hash if no valid monitoring resource" do - mon = @watch_client.resource_monitoring(1, [:oranges]) - mon[:monitoring].empty?.should eql(true) - end - - it "should return nil if the VM does not exist" do - mon = @watch_client.resource_monitoring(100, [:oranges]) - mon.should eql(nil) - end - - it "Create a second VM: uid=2 gid=4, timestamp=200" do - @monitoring.set_mock_timestamp(200) - - values = { - :cpu => 1, - :memory => 128, - :net_tx => 200, - :net_rx => 400, - :last_poll => 100, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(2, values) - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(2) - end - - it "should check all the monitoring resources are shown by default" do - mon = @watch_client.resource_monitoring(1) - - mon[:id].should eql(1) - mon[:resource].should eql("VM") - - monitoring = mon[:monitoring] - - monitoring.keys.size.should eql(4) - - monitoring[:cpu_usage].size.should eql(2) - monitoring[:cpu_usage].first.should eql([100,1]) - - monitoring[:mem_usage].size.should eql(2) - monitoring[:mem_usage].first.should eql([100,128]) - - monitoring[:net_tx].size.should eql(2) - monitoring[:net_tx].first.should eql([100,200]) - - monitoring[:net_rx].size.should eql(2) - monitoring[:net_rx].first.should eql([100,400]) - - mon = @watch_client.resource_monitoring(2) - - mon[:id].should eql(2) - mon[:resource].should eql("VM") - - monitoring = mon[:monitoring] - - monitoring.keys.size.should eql(4) - - monitoring[:cpu_usage].size.should eql(1) - monitoring[:cpu_usage].first.should eql([100,1]) - - monitoring[:mem_usage].size.should eql(1) - monitoring[:mem_usage].first.should eql([100,128]) - - monitoring[:net_tx].size.should eql(1) - monitoring[:net_tx].first.should eql([100,200]) - - monitoring[:net_rx].size.should eql(1) - monitoring[:net_rx].first.should eql([100,400]) - end - - it "should check all the total monitoring resources are shown by default" do - mon = @watch_client.total_monitoring - - mon[:resource].should eql("VM_POOL") - - monitoring = mon[:monitoring] - - monitoring[:total].size.should eql(2) - monitoring[:total].first.should eql([100,1]) - monitoring[:total][1].should eql([200,2]) - - monitoring[:active].size.should eql(2) - monitoring[:active].first.should eql([100,1]) - monitoring[:active][1].should eql([200,2]) - - monitoring[:error].size.should eql(2) - monitoring[:error].first.should eql([100,0]) - monitoring[:error][1].should eql([200,0]) - - monitoring[:cpu_usage].size.should eql(2) - monitoring[:cpu_usage].first.should eql([100,1]) - monitoring[:cpu_usage][1].should eql([200,1*2]) - - monitoring[:mem_usage].size.should eql(2) - monitoring[:mem_usage].first.should eql([100,128]) - monitoring[:mem_usage][1].should eql([200,128*2]) - - monitoring[:net_tx].size.should eql(2) - monitoring[:net_tx].first.should eql([100,200]) - monitoring[:net_tx][1].should eql([200,200*2]) - - monitoring[:net_rx].size.should eql(2) - monitoring[:net_rx].first.should eql([100,400]) - monitoring[:net_rx][1].should eql([200,400*2]) - end - - it "Create a third VM: uid=3 gid=5, timestamp=300" do - @monitoring.set_mock_timestamp(300) - - values = { - :cpu => 1, - :memory => 128, - :net_tx => 200, - :net_rx => 400, - :last_poll => 270, - :uid => 3, - :gid => 5, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(3, values) - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(3) - end - - it "should check the total monitoring resources are filtered by uid(3)" do - mon = @watch_client.total_monitoring(nil, :uid=>3) - - mon[:resource].should eql("VM_POOL") - - monitoring = mon[:monitoring] - - monitoring[:total].size.should eql(3) - monitoring[:total].first.should eql([100,0]) - monitoring[:total][1].should eql([200,0]) - monitoring[:total][2].should eql([300,1]) - - monitoring[:active].size.should eql(3) - monitoring[:active].first.should eql([100,0]) - monitoring[:active][1].should eql([200,0]) - monitoring[:active][2].should eql([300,1]) - - monitoring[:error].size.should eql(3) - monitoring[:error].first.should eql([100,0]) - monitoring[:error][1].should eql([200,0]) - monitoring[:error][2].should eql([300,0]) - - monitoring[:cpu_usage].size.should eql(3) - monitoring[:cpu_usage].first.should eql([100,0]) - monitoring[:cpu_usage][1].should eql([200,0]) - monitoring[:cpu_usage][2].should eql([300,1]) - - monitoring[:mem_usage].size.should eql(3) - monitoring[:mem_usage].first.should eql([100,0]) - monitoring[:mem_usage][1].should eql([200,0]) - monitoring[:mem_usage][2].should eql([300,128]) - - monitoring[:net_tx].size.should eql(3) - monitoring[:net_tx].first.should eql([100,0]) - monitoring[:net_tx][1].should eql([200,0]) - monitoring[:net_tx][2].should eql([300,200]) - - monitoring[:net_rx].size.should eql(3) - monitoring[:net_rx].first.should eql([100,0]) - monitoring[:net_rx][1].should eql([200,0]) - monitoring[:net_rx][2].should eql([300,400]) - end - - it "should check the total monitoring resources are filtered by gid(5)" do - mon = @watch_client.total_monitoring(nil, :gid=>5) - - mon[:resource].should eql("VM_POOL") - - monitoring = mon[:monitoring] - - monitoring[:total].size.should eql(3) - monitoring[:total].first.should eql([100,0]) - monitoring[:total][1].should eql([200,0]) - monitoring[:total][2].should eql([300,1]) - - monitoring[:active].size.should eql(3) - monitoring[:active].first.should eql([100,0]) - monitoring[:active][1].should eql([200,0]) - monitoring[:active][2].should eql([300,1]) - - monitoring[:error].size.should eql(3) - monitoring[:error].first.should eql([100,0]) - monitoring[:error][1].should eql([200,0]) - monitoring[:error][2].should eql([300,0]) - - monitoring[:cpu_usage].size.should eql(3) - monitoring[:cpu_usage].first.should eql([100,0]) - monitoring[:cpu_usage][1].should eql([200,0]) - monitoring[:cpu_usage][2].should eql([300,1]) - - monitoring[:mem_usage].size.should eql(3) - monitoring[:mem_usage].first.should eql([100,0]) - monitoring[:mem_usage][1].should eql([200,0]) - monitoring[:mem_usage][2].should eql([300,128]) - - monitoring[:net_tx].size.should eql(3) - monitoring[:net_tx].first.should eql([100,0]) - monitoring[:net_tx][1].should eql([200,0]) - monitoring[:net_tx][2].should eql([300,200]) - - monitoring[:net_rx].size.should eql(3) - monitoring[:net_rx].first.should eql([100,0]) - monitoring[:net_rx][1].should eql([200,0]) - monitoring[:net_rx][2].should eql([300,400]) - end - - it "should check the total monitoring resources are filtered by uid(2)" do - mon = @watch_client.total_monitoring(nil, :uid=>2) - - mon[:resource].should eql("VM_POOL") - - monitoring = mon[:monitoring] - - monitoring[:total].size.should eql(3) - monitoring[:total].first.should eql([100,1]) - monitoring[:total][1].should eql([200,2]) - monitoring[:active].last.should eql([300,2]) - - monitoring[:active].size.should eql(3) - monitoring[:active].first.should eql([100,1]) - monitoring[:active][1].should eql([200,2]) - monitoring[:active].last.should eql([300,2]) - - monitoring[:error].size.should eql(3) - monitoring[:error].first.should eql([100,0]) - monitoring[:error][1].should eql([200,0]) - monitoring[:error][2].should eql([300,0]) - - monitoring[:cpu_usage].size.should eql(3) - monitoring[:cpu_usage].first.should eql([100,1]) - monitoring[:cpu_usage][1].should eql([200,2]) - monitoring[:cpu_usage][2].should eql([300,2]) - - monitoring[:mem_usage].size.should eql(3) - monitoring[:mem_usage].first.should eql([100,128]) - monitoring[:mem_usage][1].should eql([200,256]) - monitoring[:mem_usage][2].should eql([300,256]) - - monitoring[:net_tx].size.should eql(3) - monitoring[:net_tx].first.should eql([100,200]) - monitoring[:net_tx][1].should eql([200,400]) - monitoring[:net_tx][2].should eql([300,400]) - - monitoring[:net_rx].size.should eql(3) - monitoring[:net_rx].first.should eql([100,400]) - monitoring[:net_rx][1].should eql([200,800]) - monitoring[:net_rx][2].should eql([300,800]) - end - - it "should check the total monitoring resources are filtered by gid(4)" do - mon = @watch_client.total_monitoring(nil, :gid=>4) - - mon[:resource].should eql("VM_POOL") - - monitoring = mon[:monitoring] - - monitoring[:total].size.should eql(3) - monitoring[:total].first.should eql([100,1]) - monitoring[:total][1].should eql([200,2]) - monitoring[:total].last.should eql([300,2]) - - monitoring[:active].size.should eql(3) - monitoring[:active].first.should eql([100,1]) - monitoring[:active][1].should eql([200,2]) - monitoring[:active].last.should eql([300,2]) - - monitoring[:error].size.should eql(3) - monitoring[:error].first.should eql([100,0]) - monitoring[:error][1].should eql([200,0]) - monitoring[:error][2].should eql([300,0]) - - monitoring[:cpu_usage].size.should eql(3) - monitoring[:cpu_usage].first.should eql([100,1]) - monitoring[:cpu_usage][1].should eql([200,2]) - monitoring[:cpu_usage][2].should eql([300,2]) - - monitoring[:mem_usage].size.should eql(3) - monitoring[:mem_usage].first.should eql([100,128]) - monitoring[:mem_usage][1].should eql([200,256]) - monitoring[:mem_usage][2].should eql([300,256]) - - monitoring[:net_tx].size.should eql(3) - monitoring[:net_tx].first.should eql([100,200]) - monitoring[:net_tx][1].should eql([200,400]) - monitoring[:net_tx][2].should eql([300,400]) - - monitoring[:net_rx].size.should eql(3) - monitoring[:net_rx].first.should eql([100,400]) - monitoring[:net_rx][1].should eql([200,800]) - monitoring[:net_rx][2].should eql([300,800]) - end - - it "should check no total info for non existing user" do - mon = @watch_client.total_monitoring(nil, :uid=>5) - - mon[:resource].should eql("VM_POOL") - - monitoring = mon[:monitoring] - - monitoring[:total].size.should eql(3) - monitoring[:total].first.should eql([100,0]) - monitoring[:total][1].should eql([200,0]) - monitoring[:total].last.should eql([300,0]) - - monitoring[:active].size.should eql(3) - monitoring[:active].first.should eql([100,0]) - monitoring[:active][1].should eql([200,0]) - monitoring[:active].last.should eql([300,0]) - - monitoring[:error].size.should eql(3) - monitoring[:error].first.should eql([100,0]) - monitoring[:error][1].should eql([200,0]) - monitoring[:error][2].should eql([300,0]) - - monitoring[:cpu_usage].size.should eql(3) - monitoring[:cpu_usage].first.should eql([100,0]) - monitoring[:cpu_usage][1].should eql([200,0]) - monitoring[:cpu_usage][2].should eql([300,0]) - - monitoring[:mem_usage].size.should eql(3) - monitoring[:mem_usage].first.should eql([100,0]) - monitoring[:mem_usage][1].should eql([200,0]) - monitoring[:mem_usage][2].should eql([300,0]) - - monitoring[:net_tx].size.should eql(3) - monitoring[:net_tx].first.should eql([100,0]) - monitoring[:net_tx][1].should eql([200,0]) - monitoring[:net_tx][2].should eql([300,0]) - - monitoring[:net_rx].size.should eql(3) - monitoring[:net_rx].first.should eql([100,0]) - monitoring[:net_rx][1].should eql([200,0]) - monitoring[:net_rx][2].should eql([300,0]) - end -end \ No newline at end of file diff --git a/src/acct/test/fixtures/empty_pool.xml b/src/acct/test/fixtures/empty_pool.xml deleted file mode 100644 index 2a8bcd37c2..0000000000 --- a/src/acct/test/fixtures/empty_pool.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/acct/test/fixtures/vm.xml b/src/acct/test/fixtures/vm.xml deleted file mode 100644 index 1560a16029..0000000000 --- a/src/acct/test/fixtures/vm.xml +++ /dev/null @@ -1,46 +0,0 @@ - - <%= id %> - <%= vm[:uid] ? vm[:uid] : 0 %> - <%= vm[:gid] ? vm[:gid] : 0 %> - <%= vm[:name] ? vm[:uid] : 'pepe' %> - <%= vm[:last_poll] ? vm[:last_poll] : '1309275256' %> - <%= vm[:state] ? vm[:state] : 3 %> - 3 - 1309275252 - 0 - dummy - <%= vm[:memory] ? vm[:memory] : 128 %> - <%= vm[:cpu] ? vm[:cpu] : 1 %> - <%= vm[:net_tx] ? vm[:net_tx] : 0 %> - <%= vm[:net_rx] ? vm[:net_rx] : 0 %> - - <% if history = vm[:history] %> - - <% history.each do |h| %> - - <%= h[:seq] ? h[:seq] : 0 %> - <%= h[:hostname] ? h[:hostname] : "kvxen" %> - /Users/dmolina/trabajo/acctmoni/install/var/ - <%= h[:hid] ? h[:hid] : 0 %> - 1309275256 - 0 - vmm_dummy - tm_dummy - <%= h[:pstime] ? h[:pstime] : 0 %> - <%= h[:petime] ? h[:petime] : 0 %> - <%= h[:rstime] ? h[:rstime] : 0 %> - <%= h[:retime] ? h[:retime] : 0 %> - <%= h[:estime] ? h[:estime] : 0 %> - <%= h[:eetime] ? h[:eetime] : 0 %> - <%= h[:reason] ? h[:reason] : 0 %> - - <% end %> - - <% end %> - \ No newline at end of file diff --git a/src/acct/test/fixtures/vmpool.xml b/src/acct/test/fixtures/vmpool.xml deleted file mode 100644 index 1ff7f5626e..0000000000 --- a/src/acct/test/fixtures/vmpool.xml +++ /dev/null @@ -1,49 +0,0 @@ - - <% vms.each do |id,vm| %> - - <%= id %> - <%= vm[:uid] ? vm[:uid] : 0 %> - <%= vm[:gid] ? vm[:gid] : 0 %> - <%= vm[:name] ? vm[:uid] : 'pepe' %> - <%= vm[:last_poll] ? vm[:last_poll] : '1309275256' %> - <%= vm[:state] ? vm[:state] : 3 %> - 3 - 1309275252 - 0 - dummy - <%= vm[:memory] ? vm[:memory] : 128 %> - <%= vm[:cpu] ? vm[:cpu] : 1 %> - <%= vm[:net_tx] ? vm[:net_tx] : 0 %> - <%= vm[:net_rx] ? vm[:net_rx] : 0 %> - - <% if history = vm[:history] %> - - <% h = history.last %> - - <%= h[:seq] ? h[:seq] : 0 %> - <%= h[:hostname] ? h[:hostname] : "kvxen" %> - /Users/dmolina/trabajo/acctmoni/install/var/ - <%= h[:hid] ? h[:hid] : 0 %> - 1309275256 - 0 - vmm_dummy - tm_dummy - <%= h[:pstime] ? h[:pstime] : 0 %> - <%= h[:petime] ? h[:petime] : 0 %> - <%= h[:rstime] ? h[:rstime] : 0 %> - <%= h[:retime] ? h[:retime] : 0 %> - <%= h[:estime] ? h[:estime] : 0 %> - <%= h[:eetime] ? h[:eetime] : 0 %> - <%= h[:reason] ? h[:reason] : 0 %> - - - <% end %> - - <% end %> - diff --git a/src/acct/test/helper/mock_client.rb b/src/acct/test/helper/mock_client.rb deleted file mode 100644 index 1f04f5c098..0000000000 --- a/src/acct/test/helper/mock_client.rb +++ /dev/null @@ -1,49 +0,0 @@ -require 'erb' - -FPATH = "./fixtures/" - -class MockClient - def initialize - @vmpool = File.read("./fixtures/empty_pool.xml") - @done_vmpool = File.read("./fixtures/empty_pool.xml") - - @vms = Hash.new - @done_vms = Hash.new - end - - - def call(action, *args) - xmlrpc_action = "one."+action - - case xmlrpc_action - when "one.vm.info" - id = args[0] - vm = @vms[id] - return ERB.new(File.read(FPATH+'vm.xml')).result(binding) - when "one.vmpool.info" - case args[3] - when -1 - return File.read("./fixtures/empty_pool.xml") if @vms.empty? - vms = @vms - return ERB.new(File.read(FPATH+'vmpool.xml')).result(binding) - when 6 then - return File.read("./fixtures/empty_pool.xml") if @done_vms.empty? - vms = @done_vms - return ERB.new(File.read(FPATH+'vmpool.xml')).result(binding) - end - end - end - - def add_vm(id, values) - if values[:state] == 6 - @done_vms[id] = values.clone - else - @vms[id] = values.clone - end - end - - def delete_vm(id) - @vms.delete(id) - @vms_done.delete(id) - end -end \ No newline at end of file diff --git a/src/acct/test/helper/test_helper.rb b/src/acct/test/helper/test_helper.rb deleted file mode 100644 index ef4b0948dd..0000000000 --- a/src/acct/test/helper/test_helper.rb +++ /dev/null @@ -1,72 +0,0 @@ -require 'rubygems' -require 'sequel' - -ONE_LOCATION = ENV['ONE_LOCATION'] -if !ONE_LOCATION - RUBY_LIB_LOCATION="/usr/lib/one/ruby" -else - RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" -end - -$: << RUBY_LIB_LOCATION - -require 'OpenNebula' - -$: << './helper' -$: << '.' -$: << '..' - - -require 'examples/acct_client' -require 'mock_client' - -require 'accounting' -require 'monitoring' - -module OneWatch - class Accounting - def set_mock_timestamp(t) - @mock_timestamp = t - end - - def generate_timestamp - @mock_timestamp - end - end - - class Monitoring - def set_mock_timestamp(t) - @mock_timestamp = t - end - - def generate_timestamp - @mock_timestamp - end - end -end - -def create_vmpool_hash - @vm_pool = OpenNebula::VirtualMachinePool.new(@mock_client, -2) - @vm_pool.info - hash = @vm_pool.to_hash -end - -def clean_db - begin - WatchHelper::Register.destroy - WatchHelper::VmDelta.destroy - WatchHelper::VmSample.destroy - WatchHelper::HostSample.destroy - WatchHelper::VmTimestamp.destroy - WatchHelper::HostTimestamp.destroy - WatchHelper::Vm.destroy - WatchHelper::Host.destroy - rescue Exception => e - warn e.message - end -end - -def check_lines(*args) - @db[:vms].count.should eql(args[0]) - @db[:registers].count.should eql(args[1]) -end diff --git a/src/acct/test/vm_monitoring_spec.rb b/src/acct/test/vm_monitoring_spec.rb deleted file mode 100644 index 5465a238a8..0000000000 --- a/src/acct/test/vm_monitoring_spec.rb +++ /dev/null @@ -1,299 +0,0 @@ -$: << '.' - -require 'helper/test_helper.rb' - -describe "VM Monitoring tests" do - before(:all) do - clean_db - - @mock_client = MockClient.new - @monitoring = OneWatch::VmMonitoring.new - - #@watch_client = OneWatchClient::WatchClient.new - - @db = WatchHelper::DB - @db[:vms].count.should eql(0) - @db[:vm_samples].count.should eql(0) - @db[:vm_timestamps].count.should eql(0) - end - - it "after monitoring an empty pool: 0 VMs, 0 Samples, 1 Timestamp" do - ts1 = 100 - @monitoring.set_mock_timestamp(ts1) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(0) - @db[:vm_samples].count.should eql(0) - @db[:vm_timestamps].count.should eql(1) - end - - it "after monitoring a pool of 1 VM: 1 VMs, 1 Samples, 2 Timestamp" do - values = { - :cpu => 80, - :memory => 122, - :net_tx => 200, - :net_rx => 134, - :last_poll => 1309275256, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(0, values) - - ts2 = 200 - @monitoring.set_mock_timestamp(ts2) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(1) - @db[:vm_samples].count.should eql(1) - @db[:vm_timestamps].count.should eql(2) - end - - it "after monitoring a pool of 1 VM: 1 VMs, 2 Samples, 3 Timestamp" do - values = { - :cpu => 80, - :memory => 122, - :net_tx => 200, - :net_rx => 134, - :last_poll => 1309275256, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(0, values) - - ts = 300 - @monitoring.set_mock_timestamp(ts) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(1) - @db[:vm_samples].count.should eql(2) - @db[:vm_timestamps].count.should eql(3) - end - - it "after monitoring a pool of 2 VM: 2 VMs, 4 Samples, 4 Timestamp" do - values = { - :cpu => 80, - :memory => 122, - :net_tx => 200, - :net_rx => 134, - :last_poll => 1309275256, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - ts = 400 - @monitoring.set_mock_timestamp(ts) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(2) - @db[:vm_samples].count.should eql(4) - @db[:vm_timestamps].count.should eql(4) - end - - it "after monitoring a pool of 2 VM: 2 VMs, 6 Samples, 5 Timestamp" do - values = { - :cpu => 80, - :memory => 122, - :net_tx => 200, - :net_rx => 134, - :last_poll => 1309275256, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(1, values) - - ts = 500 - @monitoring.set_mock_timestamp(ts) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(2) - @db[:vm_samples].count.should eql(6) - @db[:vm_timestamps].count.should eql(5) - end - - it "after monitoring a pool of 3 VM: 3 VMs, 9 Samples, 5 Timestamp" do - values = { - :cpu => 80, - :memory => 122, - :net_tx => 200, - :net_rx => 134, - :last_poll => 1309275256, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(2, values) - - ts = 600 - @monitoring.set_mock_timestamp(ts) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(3) - @db[:vm_samples].count.should eql(9) - @db[:vm_timestamps].count.should eql(5) - end - - it "after monitoring a pool of 3 VM: 3 VMs, 11 Samples, 5 Timestamp" do - values = { - :cpu => 80, - :memory => 122, - :net_tx => 200, - :net_rx => 134, - :last_poll => 1309275256, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(2, values) - - ts = 700 - @monitoring.set_mock_timestamp(ts) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(3) - @db[:vm_samples].count.should eql(11) - @db[:vm_timestamps].count.should eql(5) - end - - - it "after monitoring a pool of 3 VM: 3 VMs, 13 Samples, 5 Timestamp" do - values = { - :cpu => 80, - :memory => 122, - :net_tx => 200, - :net_rx => 134, - :last_poll => 1309275256, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(2, values) - - ts = 800 - @monitoring.set_mock_timestamp(ts) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(3) - @db[:vm_samples].count.should eql(13) - @db[:vm_timestamps].count.should eql(5) - end - - it "after monitoring a pool of 4 VM: 4 VMs, 16 Samples, 5 Timestamp" do - values = { - :cpu => 80, - :memory => 122, - :net_tx => 200, - :net_rx => 134, - :last_poll => 1309275256, - :uid => 2, - :gid => 4, - :history => [ - :hid => 7, - :pstime => 150, - :petime => 0, - :rstime => 0, - :retime => 0, - :estime => 0, - :eetime => 0, - :reason => 0 - ] - } - - @mock_client.add_vm(3, values) - - ts = 900 - @monitoring.set_mock_timestamp(ts) - - @monitoring.insert(create_vmpool_hash) - @db[:vms].count.should eql(4) - @db[:vm_samples].count.should eql(15) - @db[:vm_timestamps].count.should eql(5) - end - - it "after (10)monitoring a pool of 4 VM: 4 VMs, 20 Samples, 5 Timestamp" do - 10.times { |i| - ts = 1000+i*100 - @monitoring.set_mock_timestamp(ts) - - @monitoring.insert(create_vmpool_hash) - } - - @db[:vms].count.should eql(4) - @db[:vm_samples].count.should eql(20) - @db[:vm_timestamps].count.should eql(5) - end -end \ No newline at end of file diff --git a/src/acct/watch_client.rb b/src/acct/watch_client.rb deleted file mode 100644 index c3da4289bf..0000000000 --- a/src/acct/watch_client.rb +++ /dev/null @@ -1,229 +0,0 @@ -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -module OneWatchClient - require 'acct/watch_helper' - - class WatchClient - TOTAL_COUNT = [:total, :active, :error] - - def resource_monitoring(id, monitoring_resources=[], filter={}) - # Retrieve Sequel resource - rsql = filter_resource(id, filter) - return nil if rsql.nil? - - # By default show all the available monitoring resources. - # If a set of monitoring resources is specified - # select only the allowed ones - allowed_keys = allowed_samples.keys - if monitoring_resources && !monitoring_resources.empty? - monitoring_resources = allowed_keys & monitoring_resources - else - monitoring_resources = allowed_keys - end - - # Initialize monitoring information - mon = Hash.new - monitoring_resources.each { |mr| - mon[mr] = Array.new - } - - # Retrieve information - rsql.samples_dataset.map { |sample| - monitoring_resources.each { |mr| - if sample.last_poll && sample.last_poll != 0 - mon[mr] << [sample.last_poll, sample.send(mr.to_sym)] - end - } - } - - # Format response in a Hash - hash = Hash.new - hash[:resource] = kind - hash[:id] = rsql.id - hash[:monitoring] = mon - hash - end - - def total_monitoring(monitoring_resources=[], filter={}) - # Retrieve Sequel resource - rsql = filter_pool(filter) - return nil if rsql.nil? - - # By default show all the available monitoring resources. - # If a set of monitoring resources is specified - # select only the allowed ones - allowed_keys = allowed_samples.keys + TOTAL_COUNT - if monitoring_resources && !monitoring_resources.empty? - monitoring_resources = allowed_keys & monitoring_resources - else - monitoring_resources = allowed_keys - end - - # Retrieve information - mon = Hash.new - monitoring_resources.each { |opt| - opt = opt.to_sym - if allowed_samples.has_key?(opt) - mon[opt] = sum_monitoring(rsql, opt) - elsif TOTAL_COUNT.include?(opt) - mon[opt] = count_monitoring(rsql, opt) - end - } - - # Format response in a Hash - hash = Hash.new - hash[:resource] = "#{kind.upcase}_POOL" - hash[:monitoring] = mon - hash - end - - private - - def sum_monitoring(rsql, mr) - # Get the MAX for each VM and last_poll value - max_per_vm = - rsql. - group(:timestamp). - select{[:timestamp, sum(mr.to_sym).as(:sum_mr)]} - - # Add all the existing timestamps - with_ts = timestamps.left_join(max_per_vm, :timestamp=>:id) - with_ts.collect do |row| - [row[:id], row[:sum_mr].to_i] - end - end - - def count_monitoring(rsql, opt) - resources = case opt - when :total then rsql - when :active then active(rsql) - when :error then error(rsql) - else return nil - end - - count = resources.group_and_count(:timestamp) - - # Add all the existing timestamps - with_ts = timestamps.left_join(count, :timestamp=>:id) - with_ts.collect do |row| - [row[:id], row[:count].to_i] - end - end - end - - class HostWatchClient < WatchClient - def pool - WatchHelper::Host - end - - def allowed_samples - WatchHelper::HOST_SAMPLE - end - - def kind - "HOST" - end - - def active(pool) - pool.filter('state < 3') - end - - def error(pool) - pool.filter(:state=>3) - end - - def timestamps - WatchHelper::HostTimestamp - end - - def filter_pool(filter) - if filter[:uid] - filter[:uid]==0 ? (hosts = pool) : (return nil) - elsif filter[:gid] - filter[:gid]==0 ? (hosts = pool) : (return nil) - else - hosts = pool - end - - WatchHelper::HostSample.join(hosts.select(:id.as(:host_id)), [:host_id]) - end - - def filter_resource(id, filter) - rsql = pool[id] - return nil if rsql.nil? - - if filter[:uid] - filter[:uid]==0 ? rsql : nil - elsif filter[:gid] - filter[:gid]==0 ? rsql : nil - else - rsql - end - end - end - - class VmWatchClient < WatchClient - def pool - WatchHelper::Vm - end - - def allowed_samples - WatchHelper::VM_SAMPLE - end - - def kind - "VM" - end - - def active(pool) - pool.filter(:state=>3) - end - - def error(pool) - pool.filter(:state=>7) - end - - def timestamps - WatchHelper::VmTimestamp - end - - def filter_pool(filter) - if filter[:uid] - vms = pool.filter(:uid=>filter[:uid]) - elsif filter[:gid] - vms = pool.filter(:gid=>filter[:gid]) - else - vms = pool - end - - WatchHelper::VmSample.join(vms.select(:id.as(:vm_id)), [:vm_id]) - end - - def filter_resource(id, filter) - rsql = pool[id] - return nil if rsql.nil? - - if filter[:uid] - filter[:uid]==rsql.uid ? rsql : nil - elsif filter[:gid] - filter[:gid]==rsql.gid ? rsql : nil - else - rsql - end - end - end -end diff --git a/src/acct/watch_helper.rb b/src/acct/watch_helper.rb deleted file mode 100644 index 925b0b18c3..0000000000 --- a/src/acct/watch_helper.rb +++ /dev/null @@ -1,455 +0,0 @@ -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -module WatchHelper - require 'sequel' - require 'yaml' - - ONE_LOCATION=ENV["ONE_LOCATION"] - - if !ONE_LOCATION - VAR_LOCATION = "/var/lib/one" - ETC_LOCATION = "/etc/one" - else - VAR_LOCATION = ONE_LOCATION + "/var" - ETC_LOCATION = ONE_LOCATION + "/etc" - end - - ACCTD_CONF = ETC_LOCATION + "/acctd.conf" - ACCT_DB = VAR_LOCATION + "/oneacct.db" - - CONF = YAML.load_file(ACCTD_CONF) - - if CONF[:DB] - DB = Sequel.connect(CONF[:DB]) - else - DB = Sequel.connect("sqlite://#{ACCT_DB}") - end - - VM_DELTA = { - :net_rx => { - :type => Integer, - :path => 'NET_RX' - }, - :net_tx => { - :type => Integer, - :path => 'NET_TX' - } - } - - VM_SAMPLE = { - :cpu_usage => { - :type => Integer, - :path => 'CPU' - }, - :mem_usage => { - :type => Integer, - :path => 'MEMORY' - }, - :net_tx => { - :type => Integer, - :path => 'NET_TX' - }, - :net_rx => { - :type => Integer, - :path => 'NET_RX' - } - } - - HOST_SAMPLE = { - :disk_usage => { - :type => Integer, - :path => 'DISK_USAGE' - }, - :mem_usage => { - :type => Integer, - :path => 'MEM_USAGE' - }, - :cpu_usage => { - :type => Integer, - :path => 'CPU_USAGE' - }, - :max_disk => { - :type => Integer, - :path => 'MAX_DISK' - }, - :max_mem => { - :type => Integer, - :path => 'MAX_MEM' - }, - :max_cpu => { - :type => Integer, - :path => 'MAX_CPU' - }, - :free_disk => { - :type => Integer, - :path => 'FREE_DISK' - }, - :free_mem => { - :type => Integer, - :path => 'FREE_MEM' - }, - :free_cpu => { - :type => Integer, - :path => 'FREE_CPU' - }, - :used_disk => { - :type => Integer, - :path => 'USED_DISK' - }, - :used_mem => { - :type => Integer, - :path => 'USED_MEM' - }, - :used_cpu => { - :type => Integer, - :path => 'USED_CPU' - }, - :rvms => { - :type => Integer, - :path => 'RUNNING_VMS' - } - } - - def self.get_config(*params) - conf = CONF - while param = params.shift - conf = conf[param] - break if conf.nil? - end - conf - end - - def self.bootstrap - DB.create_table? :vms do - Integer :id, :primary_key=>true - String :name - Integer :uid - Integer :gid - Integer :mem - Float :cpu - Integer :vcpu - Integer :stime - Integer :etime - end - - DB.create_table? :hosts do - Integer :id, :primary_key=>true - String :name - String :im_mad - String :vm_mad - String :vn_mad - end - - DB.create_table? :vm_timestamps do - Integer :id, :primary_key=>true - end - - DB.create_table? :vm_samples do - foreign_key :vm_id, :vms, :key=>:id - foreign_key :timestamp, :vm_timestamps, :key=>:id - Integer :state - Integer :lcm_state - Integer :last_poll - - VM_SAMPLE.each { |key,value| - column key, value[:type] - } - - primary_key [:vm_id, :timestamp] - end - - DB.create_table? :host_timestamps do - Integer :id, :primary_key=>true - end - - DB.create_table? :host_samples do - foreign_key :host_id, :hosts, :key=>:id - foreign_key :timestamp, :host_timestamps, :key=>:id - Integer :last_poll - Integer :state - - HOST_SAMPLE.each { |key,value| - column key, value[:type] - } - - primary_key [:host_id, :timestamp] - end - - DB.create_table? :registers do - foreign_key :vm_id, :vms, :key=>:id - Integer :hid - String :hostname - Integer :seq - Integer :pstime - Integer :petime - Integer :rstime - Integer :retime - Integer :estime - Integer :eetime - Integer :reason - - primary_key [:vm_id, :seq] - end - - DB.create_table? :vm_deltas do - foreign_key :vm_id, :vms, :key=>:id - Integer :timestamp - Integer :ptimestamp - - VM_DELTA.each { |key,value| - column key, value[:type] - } - - primary_key [:vm_id, :timestamp] - end - end - - self.bootstrap - - class VmSample < Sequel::Model - unrestrict_primary_key - - many_to_one :vm - many_to_one :timestamp, - :class=>"WatchHelper::VmTimestamp", - :key=>:id - end - - class VmTimestamp < Sequel::Model - unrestrict_primary_key - - one_to_many :samples, - :order=>:timestamp, - :class=>"WatchHelper::VmSample", - :key=>:timestamp - - @@window_size = WatchHelper::get_config( - :VM_MONITORING, - :WINDOW_SIZE - ) - - def self.fix_size - if self.count > @@window_size - last_timestamp = self.all.first - last_timestamp.samples_dataset.destroy - last_timestamp.destroy - end - end - end - - class HostSample < Sequel::Model - unrestrict_primary_key - - many_to_one :host - many_to_one :timestamp, - :class=>"WatchHelper::HostTimestamp", - :key=>:id - end - - class HostTimestamp < Sequel::Model - unrestrict_primary_key - - one_to_many :samples, - :order=>:timestamp, - :class=>"WatchHelper::HostSample", - :key=>:timestamp - - @@window_size = WatchHelper::get_config( - :HOST_MONITORING, - :WINDOW_SIZE - ) - - def self.fix_size - if self.count > @@window_size - last_timestamp = self.all.first - last_timestamp.samples_dataset.destroy - last_timestamp.destroy - end - end - end - - class Register < Sequel::Model - unrestrict_primary_key - - many_to_one :vm - - def update_from_history(history) - self.seq = history['SEQ'] - self.hostname = history['HOSTNAME'] - self.hid = history['HID'] - self.pstime = history['PSTIME'] - self.petime = history['PETIME'] - self.rstime = history['RSTIME'] - self.retime = history['RETIME'] - self.estime = history['ESTIME'] - self.eetime = history['EETIME'] - self.reason = history['REASON'] - - self.save - end - end - - class VmDelta < Sequel::Model - unrestrict_primary_key - - many_to_one :vm - end - - class Vm < Sequel::Model - unrestrict_primary_key - - # Accounting - one_to_many :registers, :order=>:seq - one_to_many :deltas, :order=>:timestamp, :class=>"WatchHelper::VmDelta" - - # Monitoring - one_to_many :samples, :order=>:timestamp, :class=>"WatchHelper::VmSample" - - @@samples_cache = [] - @@deltas_cache = [] - - def self.info(vm) - Vm.find_or_create(:id=>vm['ID']) { |v| - v.name = vm['NAME'] - v.uid = vm['UID'].to_i - v.gid = vm['GID'].to_i - v.mem = vm['TEMPLATE']['MEMORY'].to_i - v.cpu = vm['TEMPLATE']['CPU'].to_f - v.vcpu = vm['TEMPLATE']['VCPU'].to_i - v.stime = vm['STIME'].to_i - v.etime = vm['ETIME'].to_i - } - end - - def add_register_from_resource(history) - self.add_register( - :seq => history['SEQ'], - :hostname => history['HOSTNAME'], - :hid => history['HID'], - :pstime => history['PSTIME'], - :petime => history['PETIME'], - :rstime => history['RSTIME'], - :retime => history['RETIME'], - :estime => history['ESTIME'], - :eetime => history['EETIME'], - :reason => history['REASON'] - ) - end - - def add_sample_from_resource(vm, timestamp) - hash = { - :vm_id => vm['ID'], - :timestamp => timestamp.id, - :last_poll => vm['LAST_POLL'], - :state => vm['STATE'], - :lcm_state => vm['LCM_STATE'] - } - - VM_SAMPLE.each { |key,value| - hash[key] = vm[value[:path]] - } - - @@samples_cache << hash - end - - def add_delta_from_resource(vm, timestamp) - hash = Hash.new - - hash[:vm_id] = vm['ID'] - hash[:timestamp] = timestamp - - if last_delta = self.deltas.first - hash[:ptimestamp] = last_delta.send(:timestamp) - - VM_DELTA.each { |key,value| - old_value = last_delta.send("#{key}".to_sym) - new_value = vm[value[:path]].to_i - - if old_value > new_value - hash[key] = new_value - else - hash[key] = new_value - old_value - end - } - else - hash[:ptimestamp] = 0 - - VM_DELTA.each { |key,value| - hash[key] = vm[value[:path]] - } - end - - @@deltas_cache << hash - end - - def self.flush - DB.transaction do - VmDelta.multi_insert(@@deltas_cache) - VmSample.multi_insert(@@samples_cache) - - VmTimestamp.fix_size - end - - @@samples_cache = [] - @@deltas_cache = [] - end - end - - class Host < Sequel::Model - unrestrict_primary_key - - # Monitoring - one_to_many :samples, :order=>:timestamp, :class=>"WatchHelper::HostSample" - - @@samples_cache = [] - - def self.info(host) - Host.find_or_create(:id=>host['ID']) { |h| - h.name = host['NAME'] - h.im_mad = host['IM_MAD'] - h.vm_mad = host['VM_MAD'] - h.vn_mad = host['VN_MAD'] - } - end - - def add_sample_from_resource(host, timestamp) - hash = { - :host_id => host['ID'], - :timestamp => timestamp.id, - :last_poll => host['LAST_MON_TIME'], - :state => host['STATE'], - } - - host_share = host['HOST_SHARE'] - HOST_SAMPLE.each { |key,value| - hash[key] = host_share[value[:path]] - } - - @@samples_cache << hash - end - - def self.flush - DB.transaction do - HostSample.multi_insert(@@samples_cache) - - HostTimestamp.fix_size - end - - @@samples_cache = [] - end - end -end diff --git a/src/acl/AclRule.cc b/src/acl/AclRule.cc index e65a1071e2..8376d5b92e 100644 --- a/src/acl/AclRule.cc +++ b/src/acl/AclRule.cc @@ -15,7 +15,7 @@ /* -------------------------------------------------------------------------- */ #include "AclRule.h" -#include "AuthManager.h" +#include "AuthRequest.h" #include "PoolObjectSQL.h" /* -------------------------------------------------------------------------- */ diff --git a/src/authm/AuthManager.cc b/src/authm/AuthManager.cc index a772dca1dc..c7ba3b694b 100644 --- a/src/authm/AuthManager.cc +++ b/src/authm/AuthManager.cc @@ -15,6 +15,7 @@ /* -------------------------------------------------------------------------- */ #include "AuthManager.h" +#include "AuthRequest.h" #include "NebulaLog.h" #include "SSLTools.h" #include "PoolObjectAuth.h" @@ -23,8 +24,6 @@ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ -time_t AuthManager::_time_out; - const char * AuthManager::auth_driver_name = "auth_exe"; /* -------------------------------------------------------------------------- */ @@ -125,7 +124,7 @@ extern "C" void * authm_action_loop(void *arg) NebulaLog::log("AuM",Log::INFO,"Authorization Manager started."); - authm->am.loop(authm->timer_period,0); + authm->am.loop(authm->timer_period, 0); NebulaLog::log("AuM",Log::INFO,"Authorization Manager stopped."); @@ -203,7 +202,7 @@ void AuthManager::do_action(const string &action, void * arg) } else if (action == ACTION_TIMER) { - timer_action(); + check_time_outs_action(); } else if (action == ACTION_FINALIZE) { @@ -242,13 +241,12 @@ void AuthManager::authenticate_action(AuthRequest * ar) // Queue the request // ------------------------------------------------------------------------ - ar->id = add_request(ar); + add_request(ar); // ------------------------------------------------------------------------ // Make the request to the driver // ---- -------------------------------------------------------------------- - authm_md->authenticate(ar->id, ar->uid, ar->driver, @@ -287,7 +285,7 @@ void AuthManager::authorize_action(AuthRequest * ar) // Queue the request // ------------------------------------------------------------------------ - ar->id = add_request(ar); + add_request(ar); // ------------------------------------------------------------------------ // Make the request to the driver @@ -312,116 +310,6 @@ error: return; } -/* -------------------------------------------------------------------------- */ -/* -------------------------------------------------------------------------- */ - -void AuthManager::timer_action() -{ - map::iterator it; - - time_t the_time = time(0); - - lock(); - - it = auth_requests.begin(); - - while ( it !=auth_requests.end()) - { - if ((it->second->time_out != 0) && (the_time > it->second->time_out)) - { - AuthRequest * ar = it->second; - auth_requests.erase(it++); - - ar->result = false; - ar->timeout = true; - ar->message = "Auth request timeout"; - - ar->notify(); - } - else - { - ++it; - } - } - - unlock(); - -} - -/* -------------------------------------------------------------------------- */ -/* -------------------------------------------------------------------------- */ - -int AuthManager::add_request(AuthRequest *ar) -{ - static int auth_id = 0; - int id; - - lock(); - - id = auth_id++; - - auth_requests.insert(auth_requests.end(),make_pair(id,ar)); - - unlock(); - - return id; -} - -/* -------------------------------------------------------------------------- */ -/* -------------------------------------------------------------------------- */ - -AuthRequest * AuthManager::get_request(int id) -{ - AuthRequest * ar = 0; - map::iterator it; - ostringstream oss; - - lock(); - - it=auth_requests.find(id); - - if ( it != auth_requests.end()) - { - ar = it->second; - - auth_requests.erase(it); - } - - unlock(); - - return ar; -} - -/* -------------------------------------------------------------------------- */ -/* -------------------------------------------------------------------------- */ - -void AuthManager::notify_request(int auth_id,bool result,const string& message) -{ - - AuthRequest * ar; - - ar = get_request(auth_id); - - if ( ar == 0 ) - { - return; - } - - ar->result = result; - - if ( message != "-" ) - { - if ( !ar->message.empty() ) - { - ar->message.append("; "); - } - - ar->message.append(message); - } - - ar->notify(); -} - /* ************************************************************************** */ /* MAD Loading */ /* ************************************************************************** */ diff --git a/src/authm/test/AuthManagerTest.cc b/src/authm/test/AuthManagerTest.cc index 38635216ff..d5c709aa2f 100644 --- a/src/authm/test/AuthManagerTest.cc +++ b/src/authm/test/AuthManagerTest.cc @@ -65,7 +65,7 @@ public: t->get("AUTH_MAD", am_mads); - return new AuthManager(1,3,am_mads); + return new AuthManager(1,am_mads); }; }; @@ -144,7 +144,7 @@ public: /* ********************************************************************* */ /* ********************************************************************* */ - //This test needs a driver that takes more than 3 secs to AUTHENTICATE + //This test needs a driver that takes more than 90 secs to AUTHENTICATE void timeout() { AuthRequest ar(2, 2); @@ -157,8 +157,6 @@ public: CPPUNIT_ASSERT(ar.result==false); CPPUNIT_ASSERT(ar.timeout==true); - - am->discard_request(ar.id); } void authenticate() diff --git a/src/authm/test/SConstruct b/src/authm/test/SConstruct index 0e5538fcc1..3d7c89cba9 100644 --- a/src/authm/test/SConstruct +++ b/src/authm/test/SConstruct @@ -45,4 +45,6 @@ env.Prepend(LIBS=[ 'crypto' ]) -env.Program('test','AuthManagerTest.cc') +nt = env.Object('NebulaTemplate.o','../../nebula/NebulaTemplate.cc') + +env.Program('test',[nt,'AuthManagerTest.cc']) diff --git a/src/authm/test/dummy b/src/authm/test/dummy index 403ecc81a8..c3fa9f79ee 100755 --- a/src/authm/test/dummy +++ b/src/authm/test/dummy @@ -36,7 +36,7 @@ do "AUTHENTICATE") date 1>&2 >> mad.log if [ "$ARG4" = "timeout" ] ; then - sleep 4 + sleep 95 fi date 1>&2 >> mad.log diff --git a/src/authm_mad/remotes/quota/onequota b/src/authm_mad/remotes/quota/onequota deleted file mode 100755 index 5d616f29c0..0000000000 --- a/src/authm_mad/remotes/quota/onequota +++ /dev/null @@ -1,189 +0,0 @@ -#!/usr/bin/env ruby - -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -ONE_LOCATION=ENV["ONE_LOCATION"] - -if !ONE_LOCATION - RUBY_LIB_LOCATION="/usr/lib/one/ruby" -else - RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" -end - -$: << RUBY_LIB_LOCATION -$: << RUBY_LIB_LOCATION+"/cli" - -require 'command_parser' -require 'cli_helper' -require 'one_helper' -require 'quota' - -require 'pp' - -QUOTA_KEYS = Quota::DB_QUOTA_SCHEMA.keys - -def show_table(values, usage=nil) - size = usage ? 12 : 8 - - values.sort!{|v1, v2| v1[:UID]<=>v2[:UID] } - - table=CLIHelper::ShowTable.new(nil, self) do - column :UID, "ONE identifier for the User", :size=>4 do |d| - d[:UID] - end - - QUOTA_KEYS.each { |key| - column key, "#{key} quota", :size=>size do |d| - if usage - "#{usage[key].to_i}/#{d[key].to_i}" - else - "#{d[key].to_i}" - end - end - } - - default :UID, *QUOTA_KEYS - end - - table.show(values) -end - -cmd=CommandParser::CmdParser.new(ARGV) do - usage "`onequota` [] []" - version OpenNebulaHelper::ONE_VERSION - - quota = Quota.new - - ######################################################################## - # Global Options - ######################################################################## - set :option, CommandParser::OPTIONS - - ######################################################################## - # Argument Formats - ######################################################################## - quota_list_desc = <<-EOT.unindent - List of quota keys, comma separated. - Available quotas: #{QUOTA_KEYS.join(', ')} - EOT - - set :format, :quota_list, quota_list_desc do |arg| - arg_list = arg.split(',') - - rc = nil - arg_list.collect! do |elem| - sym = elem.upcase.to_sym - if !QUOTA_KEYS.include?(sym) - rc = -1, "#{elem} is not a valid quota" - break - end - sym - end - - rc ? rc : [0, arg_list] - end - - set :format, :value_list, "List of quota values, comma separated." do |arg| - arg_list = arg.split(',') - arg_list.map! {|a| a.to_i } - [0, arg_list] - end - - set :format, :userid, OpenNebulaHelper.rname_to_id_desc("USER") do |arg| - OpenNebulaHelper.rname_to_id(arg, "USER") - end - - ######################################################################## - # Commands - ######################################################################## - set_desc = <<-EOT.unindent - Set a quota for a given user. - Examples: - onequota set 3 cpu 12 - onequota set 4 cpu,memory,storage 8,4096,10000 - EOT - - command :set, set_desc, :userid, :quota_list, :value_list do - user_id, keys, values = args - - if keys.length != values.length - exit_with_code -1, "The number of keys and values does not match" - end - - values_hash = Hash.new - keys.each_with_index { |k,i| - values_hash[k] = values[i] - } - - quota.set_quota(user_id, values_hash) - exit_with_code 0 - end - - ######################################################################## - unset_desc = <<-EOT.unindent - Unset a quota for a given user. - Examples: - onequota unset 3 cpu - onequota unset 4 cpu,memory,storage - EOT - - command :unset, unset_desc, :userid, :quota_list do - user_id, keys = args - - values_hash = Hash.new - keys.each_with_index { |k,i| - values_hash[k] = 0 - } - - quota.set_quota(user_id, values_hash) - exit_with_code 0 - end - - ######################################################################## - delete_desc = "Delete the defined quotas for the given user" - - command :delete, delete_desc, :userid do - quota.delete_quota(args[0]) - exit_with_code 0 - end - - ######################################################################## - show_desc = "Show the user's quota and usage. (usage/quota)" - - FORCE={ - :name => "force", - :short => "-f", - :large => "--force", - :description => "Force the usage calculation instead of using the cache" - } - - command :show, show_desc, :userid, :options=>[FORCE] do - user_usage = quota.get_usage(args[0],nil,options[:force]) - user_quota = quota.get_quota(args[0]) - - show_table([user_quota], user_usage) - exit_with_code 0 - end - - ######################################################################## - list_desc = "List the defined quotas for all the users" - - command :list, list_desc do - show_table(quota.get_quota) - exit_with_code 0 - end -end \ No newline at end of file diff --git a/src/authm_mad/remotes/quota/quota.rb b/src/authm_mad/remotes/quota/quota.rb deleted file mode 100644 index e7a94b166e..0000000000 --- a/src/authm_mad/remotes/quota/quota.rb +++ /dev/null @@ -1,374 +0,0 @@ -# -------------------------------------------------------------------------- # -# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -#--------------------------------------------------------------------------- # - -require 'sequel' -require 'base64' -require 'yaml' -require 'uri' -require 'net/http' - -class Quota - ########################################################################### - # Constants with paths to relevant files and defaults - ########################################################################### - ONE_LOCATION=ENV["ONE_LOCATION"] - - if !ONE_LOCATION - VAR_LOCATION = "/var/lib/one" - ETC_LOCATION = "/etc/one" - else - VAR_LOCATION = ONE_LOCATION + "/var" - ETC_LOCATION = ONE_LOCATION + "/etc" - end - - CONF_FILE = ETC_LOCATION + "/auth/quota.conf" - - CONF = { - :db => "sqlite://#{VAR_LOCATION}/onequota.db", - :defaults => { - :CPU => nil, - :MEMORY => nil, - :NUM_VMS => nil, - :STORAGE => nil - } - } - - ########################################################################### - # Schema for the USAGE and QUOTA tables - ########################################################################### - DB_QUOTA_SCHEMA = { - :CPU => Float, - :MEMORY => Integer, - :NUM_VMS => Integer, - :STORAGE => Integer - } - - QUOTA_TABLE = :quotas - USAGE_TABLE = :usage - - ########################################################################### - # Usage params to calculate each quota - ########################################################################### - VM_USAGE = { - :CPU => { - :proc_info => lambda {|template| template['CPU']}, - :xpath => 'TEMPLATE/CPU' - }, - :MEMORY => { - :proc_info => lambda {|template| template['MEMORY']}, - :xpath => 'TEMPLATE/MEMORY' - }, - :NUM_VMS => { - :proc_info => lambda {|template| 1 }, - :xpath => 'ID', - :count => true - } - } - - IMAGE_USAGE = { - :STORAGE => { - :proc_info => lambda {|template| - if template['TYPE'] == 'DATABLOCK' - template['SIZE'].to_i - elsif template['PATH'] - uri = URI.parse(template['PATH']) - size = if uri.scheme.nil? - File.size(template['PATH']) - else - Net::HTTP.start(uri.host,uri.port) { |http| - http.head(uri.path) - }.content_length - end - (size.to_f / 2**20).round - elsif template['SAVED_VM_ID'] - vm_id = template['SAVED_VM_ID'].to_i - disk_id = template['SAVED_DISK_ID'].to_i - - client = OpenNebula::Client.new - vm = OpenNebula::VirtualMachine.new_with_id(vm_id, client) - vm.info - - im_id = vm["DISK[DISK_ID=#{disk_id}]/IMAGE_ID"].to_i - - im = OpenNebula::Image.new_with_id(im_id, client) - im.info - - im['SIZE'].to_i - else - 0 - end - }, - :xpath => 'SIZE' - } - } - - RESOURCES = ["VM", "IMAGE"] - - ########################################################################### - # DB handling - ########################################################################### - def initialize - conf = YAML.load_file(CONF_FILE) - @conf=CONF.merge(conf) {|key,h1,h2| - if h1.instance_of?(Hash) && h2.instance_of?(Hash) - h1.merge(h2) - else - if h2 - h2 - else - h1 - end - end - } - - @client = OpenNebula::Client.new - - @db=Sequel.connect(@conf[:db]) - - create_table(QUOTA_TABLE) - create_table(USAGE_TABLE) - end - - # Creates database quota table if it does not exist - def create_table(table) - @db.create_table?(table) do - Integer :UID - - DB_QUOTA_SCHEMA.each { |key,value| - column key, value - } - - primary_key :UID - index :UID - end - end - - # Adds new user limits - def set(table, uid, quota={}) - data=quota.delete_if{|key,value| !DB_QUOTA_SCHEMA.keys.include?(key)} - - quotas=@db[table].filter(:UID => uid) - - if quotas.first - quotas.update(data) - else - @db[table].insert(data.merge!(:UID => uid)) - end - end - - # Gets user limits - def get(table, uid=nil) - if uid - @db[table].filter(:UID => uid).first - else - @db[table].all - end - end - - # Delete user limits - def delete(table, uid) - quotas=@db[table].filter(:UID => uid) - - if quotas.first - quotas.delete - end - end - - ########################################################################### - # Quota Client - ########################################################################### - def set_quota(uid, quota={}) - set(QUOTA_TABLE, uid, quota) - end - - # Retrieves quota information for a given user - # - # @param [Integer, nil] uid the user id from which get the quota - # information, if nil will retrieve the quotas for all users. - # @return [Hash] Hash containing the quota information and the user id - # - # { - # :uid => 4, - # :cpu => 8, - # :memory => 8064, - # :num_vms => 4, - # :storage => 1240019 - # } - def get_quota(uid=nil) - limit = get(QUOTA_TABLE, uid) - limit ? limit : @conf[:defaults].merge!(:UID => uid) - end - - def delete_quota(uid) - delete(QUOTA_TABLE, uid) - end - - ########################################################################### - # Authorization - ########################################################################### - def authorize(user_id, request) - obj, template_or_id, op, owner, acl_eval = request.split(':') - - if acl_eval.to_i == 0 - return "ACL evaluation denied" - end - - # Check if this op needs to check the quota - return false unless with_quota?(obj, op) - - template = "" - - if ( obj == "TEMPLATE" ) - obj = "VM" - - vm_template = OpenNebula::Template.new_with_id(template_or_id, @client) - vm_template.info - - vm_template.each("TEMPLATE") { |xml_elem| - template = xml_elem.to_xml - } - else - template = Base64::decode64(template_or_id) - end - - check_quotas(user_id.to_i, obj, template) - end - - def check_quotas(user_id, obj, template) - info = get_resources(obj, template) - total = get_usage(user_id, obj, true) - quota = get_quota(user_id) - - msg = "" - separator = "" - info.each { |qname, quota_requested| - unless quota[qname] || quota[qname]==0 - next - end - - type = DB_QUOTA_SCHEMA[qname].name.to_sym - - used = send(type, total[qname]) - request = send(type, quota_requested) - limit = send(type, quota[qname]) - spent = used + request - - if spent > limit - msg << separator - msg << " #{qname.to_s.upcase} quota exceeded " - msg << "(Quota: #{limit}, " - msg << "Used: #{used}, " - msg << "Requested: #{request})" - - separator = ";" - end - } - - if msg=="" - return false - else - return msg.strip - end - end - - def with_quota?(obj, op) - return (obj == "VM" && op == "CREATE") || - (obj == "IMAGE" && op == "CREATE") || - (obj == "TEMPLATE" && op == "USE") - end - - ########################################################################### - # Usage - ########################################################################### - # Retrieves usage information for a given user - # - # @param [Integer] uid the user id from which get the usage information. - # @param ["VM", "IMAGE"] resource kind of resource. If nil will return - # the usage for all kinds of resources - # @param [true, false] force If true will force the usage calculation - # instead of retrieving it from the cache - # @return [Hash] Hash containing the usage information and the user id - # - # { - # :uid => 4, - # :cpu => 8, - # :memory => 8064, - # :num_vms => 4, - # :storage => 1240019 - # } - def get_usage(user_id, resource=nil, force=false) - if force - if RESOURCES.include?(resource) - resources = [resource] - else - resources = RESOURCES - end - - usage = Hash.new - - resources.each{ |res| - pool = get_pool(res, user_id) - base_xpath = "/#{res}_POOL/#{resource}" - Quota.const_get("#{res}_USAGE".to_sym).each { |key, params| - usage[key] ||= 0 - pool.each_xpath("#{base_xpath}/#{params[:xpath]}") { |elem| - if elem - if params[:count] - usage[key] += 1 - else - usage[key] += send(DB_QUOTA_SCHEMA[key].name.to_sym, elem) - end - end - } - } - - set(USAGE_TABLE, user_id, usage) unless usage.empty? - usage.merge!(:UID => user_id) - } - else - usage = get(USAGE_TABLE, user_id) - usage ||= {:UID => user_id} - end - - usage - end - - # Retrieve the useful information of the template for the specified - # kind of resource - def get_resources(resource, xml_template) - template = OpenNebula::XMLElement.new - template.initialize_xml(xml_template, 'TEMPLATE') - - info = Hash.new - - self.class.const_get("#{resource}_USAGE").each { |key, params| - info[key] = params[:proc_info].call(template).to_i - } - - info - end - - # Returns a an Array than contains the elements of the resource Pool - def get_pool(resource, user_id) - pool = case resource - when "VM" then OpenNebula::VirtualMachinePool.new(@client, user_id) - when "IMAGE" then OpenNebula::ImagePool.new(@client, user_id) - end - - rc = pool.info - return pool - end -end diff --git a/src/authm_mad/remotes/quota/test/fixtures/imagepool.xml b/src/authm_mad/remotes/quota/test/fixtures/imagepool.xml deleted file mode 100644 index f71c914557..0000000000 --- a/src/authm_mad/remotes/quota/test/fixtures/imagepool.xml +++ /dev/null @@ -1,26 +0,0 @@ - - <% images.each do |id,image| %> - - <%= id %> - <%= image[:uid] ? image[:uid] : 0 %> - <%= image[:gid] ? image[:gid] : 0 %> - <%= image[:uname] ? image[:uname] : 'oneadmin' %> - <%= image[:gname] ? image[:gname] : 'oneadmin' %> - <%= image[:name] ? image[:name] : 'ttylinux' %> - <%= image[:type] ? image[:type] : 0 %> - <%= image[:pub] ? image[:pub] : 0 %> - <%= image[:persistent] ? image[:persistent] : 0 %> - 1314875019 - <%= image[:source] ? image[:source] : '/etc/hosts' %> - <%= image[:state] ? image[:state] : 1 %> - <%= image[:size] ? image[:size] : 100 %> - 0 - - - <% end %> - \ No newline at end of file diff --git a/src/authm_mad/remotes/quota/test/fixtures/vm.xml b/src/authm_mad/remotes/quota/test/fixtures/vm.xml deleted file mode 100644 index 1560a16029..0000000000 --- a/src/authm_mad/remotes/quota/test/fixtures/vm.xml +++ /dev/null @@ -1,46 +0,0 @@ - - <%= id %> - <%= vm[:uid] ? vm[:uid] : 0 %> - <%= vm[:gid] ? vm[:gid] : 0 %> - <%= vm[:name] ? vm[:uid] : 'pepe' %> - <%= vm[:last_poll] ? vm[:last_poll] : '1309275256' %> - <%= vm[:state] ? vm[:state] : 3 %> - 3 - 1309275252 - 0 - dummy - <%= vm[:memory] ? vm[:memory] : 128 %> - <%= vm[:cpu] ? vm[:cpu] : 1 %> - <%= vm[:net_tx] ? vm[:net_tx] : 0 %> - <%= vm[:net_rx] ? vm[:net_rx] : 0 %> - - <% if history = vm[:history] %> - - <% history.each do |h| %> - - <%= h[:seq] ? h[:seq] : 0 %> - <%= h[:hostname] ? h[:hostname] : "kvxen" %> - /Users/dmolina/trabajo/acctmoni/install/var/ - <%= h[:hid] ? h[:hid] : 0 %> - 1309275256 - 0 - vmm_dummy - tm_dummy - <%= h[:pstime] ? h[:pstime] : 0 %> - <%= h[:petime] ? h[:petime] : 0 %> - <%= h[:rstime] ? h[:rstime] : 0 %> - <%= h[:retime] ? h[:retime] : 0 %> - <%= h[:estime] ? h[:estime] : 0 %> - <%= h[:eetime] ? h[:eetime] : 0 %> - <%= h[:reason] ? h[:reason] : 0 %> - - <% end %> - - <% end %> - \ No newline at end of file diff --git a/src/authm_mad/remotes/quota/test/fixtures/vmpool.xml b/src/authm_mad/remotes/quota/test/fixtures/vmpool.xml deleted file mode 100644 index 1ab1fa3112..0000000000 --- a/src/authm_mad/remotes/quota/test/fixtures/vmpool.xml +++ /dev/null @@ -1,49 +0,0 @@ - - <% vms.each do |id,vm| %> - - <%= id %> - <%= vm[:uid] ? vm[:uid] : 0 %> - <%= vm[:gid] ? vm[:gid] : 0 %> - <%= vm[:name] ? vm[:uid] : 'pepe' %> - <%= vm[:last_poll] ? vm[:last_poll] : '1309275256' %> - <%= vm[:state] ? vm[:state] : 3 %> - 3 - 1309275252 - 0 - dummy - <%= vm[:memory] ? vm[:memory] : 128 %> - <%= vm[:cpu] ? vm[:cpu] : 1 %> - <%= vm[:net_tx] ? vm[:net_tx] : 0 %> - <%= vm[:net_rx] ? vm[:net_rx] : 0 %> - - <% if history = vm[:history] %> - - <% h = history.last %> - - <%= h[:seq] ? h[:seq] : 0 %> - <%= h[:hostname] ? h[:hostname] : "kvxen" %> - /Users/dmolina/trabajo/acctmoni/install/var/ - <%= h[:hid] ? h[:hid] : 0 %> - 1309275256 - 0 - vmm_dummy - tm_dummy - <%= h[:pstime] ? h[:pstime] : 0 %> - <%= h[:petime] ? h[:petime] : 0 %> - <%= h[:rstime] ? h[:rstime] : 0 %> - <%= h[:retime] ? h[:retime] : 0 %> - <%= h[:estime] ? h[:estime] : 0 %> - <%= h[:eetime] ? h[:eetime] : 0 %> - <%= h[:reason] ? h[:reason] : 0 %> - - - <% end %> - - <% end %> - diff --git a/src/authm_mad/remotes/quota/test/helper/mock_client.rb b/src/authm_mad/remotes/quota/test/helper/mock_client.rb deleted file mode 100644 index e92264dea2..0000000000 --- a/src/authm_mad/remotes/quota/test/helper/mock_client.rb +++ /dev/null @@ -1,53 +0,0 @@ -require 'erb' - -FPATH = "./fixtures/" - -class MockClient - def initialize - @vms = Hash.new - @done_vms = Hash.new - - @images = Hash.new - end - - - def call(action, *args) - xmlrpc_action = "one."+action - - case xmlrpc_action - when "one.vm.info" - id = args[0] - vm = @vms[id] - return ERB.new(File.read(FPATH+'vm.xml')).result(binding) - when "one.vmpool.info" - case args[3] - when -1 - vms = @vms - return ERB.new(File.read(FPATH+'vmpool.xml')).result(binding) - when 6 then - vms = @done_vms - return ERB.new(File.read(FPATH+'vmpool.xml')).result(binding) - end - when "one.imagepool.info" - images = @images - return ERB.new(File.read(FPATH+'imagepool.xml')).result(binding) - end - end - - def add_vm(id, values) - if values[:state] == 6 - @done_vms[id] = values.clone - else - @vms[id] = values.clone - end - end - - def delete_vm(id) - @vms.delete(id) - @vms_done.delete(id) - end - - def add_image(id, values) - @images[id] = values - end -end \ No newline at end of file diff --git a/src/authm_mad/remotes/quota/test/helper/test_helper.rb b/src/authm_mad/remotes/quota/test/helper/test_helper.rb deleted file mode 100644 index 3f40bb8d58..0000000000 --- a/src/authm_mad/remotes/quota/test/helper/test_helper.rb +++ /dev/null @@ -1,31 +0,0 @@ - -ONE_LOCATION = ENV['ONE_LOCATION'] -if !ONE_LOCATION - RUBY_LIB_LOCATION="/usr/lib/one/ruby" -else - RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" -end - -$: << RUBY_LIB_LOCATION - -$: << './helper' -$: << '.' -$: << '..' - -require 'mock_client' -require 'OpenNebula' -require 'quota' - -class Quota - def set_client(client) - @client = client - end - - def rm_and_set_testdb - `rm -f /tmp/onequota_test.db` - @db=Sequel.connect("sqlite:///tmp/onequota_test.db") - - create_table(QUOTA_TABLE) - create_table(USAGE_TABLE) - end -end diff --git a/src/authm_mad/remotes/quota/test/quota_spec.rb b/src/authm_mad/remotes/quota/test/quota_spec.rb deleted file mode 100644 index 560b55ad1a..0000000000 --- a/src/authm_mad/remotes/quota/test/quota_spec.rb +++ /dev/null @@ -1,343 +0,0 @@ -$: << '.' - -require 'helper/test_helper' - -describe "Quota testing" do - before(:all) do - @mock_client = MockClient.new - - @quota = Quota.new - @quota.set_client(@mock_client) - @quota.rm_and_set_testdb - - @uid1 = 0 - @quota1 = { - :CPU => 2.4, - :MEMORY => 1024, - :NUM_VMS => 4, - :STORAGE => 10000 - } - - @uid2 = 1 - @quota2 = { - :CPU => 1.2, - :MEMORY => 512, - :NUM_VMS => 2, - :STORAGE => 5000 - } - - # Generate VM ACL request - vm_template = <<-EOT - - EOT - - vm_base64 = Base64::encode64(vm_template) - @acl_vm_create = "VM:#{vm_base64}:CREATE:0:1:1" - - # Generate IMAGE ACL request - image_template = <<-EOT - - EOT - - image_base64 = Base64::encode64(image_template) - @acl_image_create = "IMAGE:#{image_base64}:CREATE:0:1:1" - - # Generate TEMPLATE ACL request - temp_template = <<-EOT - - EOT - - temp_base64 = Base64::encode64(temp_template) - @acl_template_instantiate = "TEMPLATE:#{temp_base64}:INSTANTIATE:0:1:1" - end - - it "should check default quotas" do - quota1 = @quota.get_quota(@uid1) - quota1[:UID].should eql(0) - quota1[:NUM_VMS].should eql(nil) - quota1[:CPU].should eql(nil) - quota1[:MEMORY].should eql(nil) - quota1[:STORAGE].should eql(nil) - end - - it "should check default usage cache" do - usage1cache = @quota.get_usage(@uid1) - usage1cache[:UID].should eql(0) - usage1cache[:NUM_VMS].should eql(nil) - usage1cache[:CPU].should eql(nil) - usage1cache[:MEMORY].should eql(nil) - usage1cache[:STORAGE].should eql(nil) - end - - it "should check default cache (force)" do - usage1force = @quota.get_usage(@uid1, nil, true) - usage1force[:UID].should eql(0) - usage1force[:NUM_VMS].should eql(0) - usage1force[:CPU].should eql(0) - usage1force[:MEMORY].should eql(0) - usage1force[:STORAGE].should eql(0) - end - - it "should authorize the user because there is no quota defined" do - @quota.authorize(@uid1, @acl_vm_create).should eql(false) - @quota.authorize(@uid1, @acl_image_create).should eql(false) - @quota.authorize(@uid1, @acl_template_instantiate).should eql(false) - end - - it "should add a new VM" do - values = { - :CPU => 2, - :MEMORY => 128, - :UID => 2, - :GID => 4, - } - - @mock_client.add_vm(0, values) - end - - it "should check the usage cache is not updated" do - usage1cache = @quota.get_usage(@uid1) - usage1cache[:UID].should eql(0) - usage1cache[:NUM_VMS].should eql(0) - usage1cache[:CPU].should eql(0.0) - usage1cache[:MEMORY].should eql(0) - usage1cache[:STORAGE].should eql(0) - end - - it "should check the cache (force)" do - usage1force = @quota.get_usage(@uid1, nil, true) - usage1force[:UID].should eql(0) - usage1force[:NUM_VMS].should eql(1) - usage1force[:CPU].should eql(2.0) - usage1force[:MEMORY].should eql(128) - usage1force[:STORAGE].should eql(0) - end - - it "should check the usage cache is updated and contains the last usage" do - usage1cache = @quota.get_usage(@uid1) - usage1cache[:UID].should eql(0) - usage1cache[:NUM_VMS].should eql(1) - usage1cache[:CPU].should eql(2.0) - usage1cache[:MEMORY].should eql(128) - usage1cache[:STORAGE].should eql(0) - end - - it "should add a new Image" do - values = { - :UID => 2, - :GID => 4, - :SIZE => 1000 - } - - @mock_client.add_image(0, values) - end - - it "should check the usage cache is not updated" do - usage1cache = @quota.get_usage(@uid1) - usage1cache[:UID].should eql(0) - usage1cache[:NUM_VMS].should eql(1) - usage1cache[:CPU].should eql(2.0) - usage1cache[:MEMORY].should eql(128) - usage1cache[:STORAGE].should eql(0) - end - - it "should check the cache (force)" do - usage1force = @quota.get_usage(@uid1, nil, true) - usage1force[:UID].should eql(0) - usage1force[:NUM_VMS].should eql(1) - usage1force[:CPU].should eql(2.0) - usage1force[:MEMORY].should eql(128) - usage1force[:STORAGE].should eql(1000) - end - - it "should check the usage cache is updated and contains the last usage" do - usage1cache = @quota.get_usage(@uid1) - usage1cache[:UID].should eql(0) - usage1cache[:NUM_VMS].should eql(1) - usage1cache[:CPU].should eql(2.0) - usage1cache[:MEMORY].should eql(128) - usage1cache[:STORAGE].should eql(1000) - end - - it "should add a second VM" do - values = { - :CPU => 2, - :MEMORY => 128, - :UID => 2, - :GID => 4, - } - - @mock_client.add_vm(1, values) - end - - it "should check the usage cache is not updated" do - usage1cache = @quota.get_usage(@uid1) - usage1cache[:UID].should eql(0) - usage1cache[:NUM_VMS].should eql(1) - usage1cache[:CPU].should eql(2.0) - usage1cache[:MEMORY].should eql(128) - usage1cache[:STORAGE].should eql(1000) - end - - it "should check the cache (force)" do - usage1force = @quota.get_usage(@uid1, nil, true) - usage1force[:UID].should eql(0) - usage1force[:NUM_VMS].should eql(1*2) - usage1force[:CPU].should eql(2.0*2) - usage1force[:MEMORY].should eql(128*2) - usage1force[:STORAGE].should eql(1000) - end - - it "should check the usage cache is updated and contains the last usage" do - usage1cache = @quota.get_usage(@uid1) - usage1cache[:UID].should eql(0) - usage1cache[:NUM_VMS].should eql(1*2) - usage1cache[:CPU].should eql(2.0*2) - usage1cache[:MEMORY].should eql(128*2) - usage1cache[:STORAGE].should eql(1000) - end - - it "should add a second Image" do - values = { - :UID => 2, - :GID => 4, - :SIZE => 1000 - } - - @mock_client.add_image(1, values) - end - - it "should check the usage cache is not updated" do - usage1cache = @quota.get_usage(@uid1) - usage1cache[:UID].should eql(0) - usage1cache[:NUM_VMS].should eql(1*2) - usage1cache[:CPU].should eql(2.0*2) - usage1cache[:MEMORY].should eql(128*2) - usage1cache[:STORAGE].should eql(1000) - end - - it "should check the cache (force)" do - usage1force = @quota.get_usage(@uid1, nil, true) - usage1force[:UID].should eql(0) - usage1force[:NUM_VMS].should eql(1*2) - usage1force[:CPU].should eql(2.0*2) - usage1force[:MEMORY].should eql(128*2) - usage1force[:STORAGE].should eql(1000*2) - end - - it "should check the usage cache is updated and contains the last usage" do - usage1cache = @quota.get_usage(@uid1) - usage1cache[:UID].should eql(0) - usage1cache[:NUM_VMS].should eql(1*2) - usage1cache[:CPU].should eql(2.0*2) - usage1cache[:MEMORY].should eql(128*2) - usage1cache[:STORAGE].should eql(1000*2) - end - - it "should add a new quota and check it" do - @quota.set_quota(@uid1, @quota1) - - quota = @quota.get_quota(@uid1) - @quota1.each{ |key,value| - quota[key].should eql(value) - } - end - - it "should not authorize the user because the vm quota is spent" do - err_msg = "CPU quota exceeded (Quota: 2.4, Used: 4.0, Requested: 2.0)" - @quota.authorize(@uid1, @acl_vm_create).should eql(err_msg) - @quota.authorize(@uid1, @acl_template_instantiate).should eql(err_msg) - - @quota.authorize(@uid1, @acl_image_create).should eql(false) - end - - it "should add a new quota for another user and check it" do - @quota.set_quota(@uid2, @quota2) - - quota = @quota.get_quota(@uid2) - @quota2.each{ |key,value| - quota[key].should eql(value) - } - end - - it "should list all the defined quotas" do - quotas = @quota.get_quota - quotas.each { |quota| - if quota[:UID] == @uid1 - @quota1.each{ |key,value| - quota[key].should eql(value) - } - elsif quota[:UID] == @uid2 - @quota2.each{ |key,value| - quota[key].should eql(value) - } - end - } - - end - - it "should update the first user quota and check it" do - new_quota = Hash.new - @quota1.each { |key,value| - new_quota[key] = value*3 - } - - @quota.set_quota(@uid1, new_quota) - - quota = @quota.get_quota(@uid1) - new_quota.each{ |key,value| - quota[key] == value - } - end - - it "should authorize the user because the quota is not spent" do - @quota.authorize(@uid1, @acl_vm_create).should eql(false) - @quota.authorize(@uid1, @acl_image_create).should eql(false) - @quota.authorize(@uid1, @acl_template_instantiate).should eql(false) - end - - it "should update the first user quota and check it" do - new_quota = { - :STORAGE => 0 - } - - @quota.set_quota(@uid1, new_quota) - - quota = @quota.get_quota(@uid1) - - quota[:STORAGE].should eql(new_quota[:STORAGE]) - end - - it "should not authorize the user because the image quota is spent" do - @quota.authorize(@uid1, @acl_vm_create).should eql(false) - @quota.authorize(@uid1, @acl_template_instantiate).should eql(false) - - err_msg = "STORAGE quota exceeded (Quota: 0, Used: 2000, Requested: 271)" - @quota.authorize(@uid1, @acl_image_create).should eql(err_msg) - end - - it "should delete the quota and check it" do - @quota.delete_quota(@uid1) - - quota1 = @quota.get_quota(@uid1) - quota1[:UID].should eql(0) - quota1[:NUM_VMS].should eql(nil) - quota1[:CPU].should eql(nil) - quota1[:MEMORY].should eql(nil) - quota1[:STORAGE].should eql(nil) - end - - it "should authorize the user because the quota was deleted" do - @quota.authorize(@uid1, @acl_vm_create).should eql(false) - @quota.authorize(@uid1, @acl_image_create).should eql(false) - @quota.authorize(@uid1, @acl_template_instantiate).should eql(false) - end -end \ No newline at end of file diff --git a/src/cli/cli_helper.rb b/src/cli/cli_helper.rb index ac8c35c497..9e78d291d0 100644 --- a/src/cli/cli_helper.rb +++ b/src/cli/cli_helper.rb @@ -84,10 +84,14 @@ module CLIHelper # Print header def CLIHelper.print_header(str, underline=true) - scr_bold - scr_underline if underline - print str - scr_restore + if $stdout.tty? + scr_bold + scr_underline if underline + print str + scr_restore + else + print str + end puts end diff --git a/src/cli/etc/oneacct.yaml b/src/cli/etc/oneacct.yaml new file mode 100644 index 0000000000..0e79bf3db1 --- /dev/null +++ b/src/cli/etc/oneacct.yaml @@ -0,0 +1,53 @@ +--- +:VID: + :desc: Virtual Machine ID + :size: 4 + +:SEQ: + :desc: History record sequence number + :size: 3 + +:HOSTNAME: + :desc: Host name + :size: 15 + :left: true + +:REASON: + :desc: VM state change reason + :size: 4 + :left: true + +:START_TIME: + :desc: Start time + :size: 14 + +:END_TIME: + :desc: End time + :size: 14 + +:MEMORY: + :desc: Assigned memory + :size: 6 + +:CPU: + :desc: Number of CPUs + :size: 3 + +:NET_RX: + :desc: Data received from the network + :size: 6 + +:NET_TX: + :desc: Data sent to the network + :size: 6 + +:default: +- :VID +- :HOSTNAME +- :REASON +- :START_TIME +- :END_TIME +- :MEMORY +- :CPU +- :NET_RX +- :NET_TX \ No newline at end of file diff --git a/src/cli/etc/onegroup.yaml b/src/cli/etc/onegroup.yaml index 96fc7a2e73..662d3fe297 100644 --- a/src/cli/etc/onegroup.yaml +++ b/src/cli/etc/onegroup.yaml @@ -8,7 +8,21 @@ :size: 15 :left: true +:VMS: + :desc: Number of VMS + :size: 8 + +:MEMORY: + :desc: Total memory allocated to user VMs + :size: 8 + +:CPU: + :desc: Total CPU allocated to user VMs + :size: 8 + :default: - :ID - :NAME - +- :VMS +- :MEMORY +- :CPU diff --git a/src/cli/etc/oneuser.yaml b/src/cli/etc/oneuser.yaml index 377dd40d87..4795f35d9d 100644 --- a/src/cli/etc/oneuser.yaml +++ b/src/cli/etc/oneuser.yaml @@ -18,6 +18,18 @@ :size: 8 :left: true +:VMS: + :desc: Number of VMS + :size: 8 + +:MEMORY: + :desc: Total memory allocated to user VMs + :size: 8 + +:CPU: + :desc: Total CPU allocated to user VMs + :size: 8 + :PASSWORD: :desc: Password of the User :size: 50 @@ -27,4 +39,7 @@ - :GROUP - :NAME - :AUTH -- :PASSWORD +- :VMS +- :MEMORY +- :CPU + diff --git a/src/cli/one_helper/onegroup_helper.rb b/src/cli/one_helper/onegroup_helper.rb index a949d29978..d2923647dd 100644 --- a/src/cli/one_helper/onegroup_helper.rb +++ b/src/cli/one_helper/onegroup_helper.rb @@ -15,6 +15,7 @@ #--------------------------------------------------------------------------- # require 'one_helper' +require 'one_helper/onequota_helper' class OneGroupHelper < OpenNebulaHelper::OneHelper def self.rname @@ -56,7 +57,31 @@ class OneGroupHelper < OpenNebulaHelper::OneHelper d["NAME"] end - default :ID, :NAME + column :VMS, "Total number of VMS", :size=>8 do |d| + if d.has_key?('VM_QUOTA') and d['VM_QUOTA'].has_key?('VM') + d['VM_QUOTA']['VM']['VMS'] + else + "-" + end + end + + column :MEMORY, "Total memory allocated to group VMs", :size=>8 do |d| + if d.has_key?('VM_QUOTA') and d['VM_QUOTA'].has_key?('VM') + d['VM_QUOTA']['VM']['MEMORY_USED'] + else + "-" + end + end + + column :CPU, "Total CPU allocated to group VMs", :size=>8 do |d| + if d.has_key?('VM_QUOTA') and d['VM_QUOTA'].has_key?('VM') + d['VM_QUOTA']['VM']['CPU_USED'] + else + "-" + end + end + + default :ID, :NAME, :VMS, :MEMORY, :CPU end table @@ -92,5 +117,9 @@ class OneGroupHelper < OpenNebulaHelper::OneHelper group.user_ids.each do |uid| puts "%-15s" % [uid] end + + group_hash = group.to_hash + + OneQuotaHelper.format_quota(group_hash['GROUP']) end end diff --git a/src/cli/one_helper/onequota_helper.rb b/src/cli/one_helper/onequota_helper.rb new file mode 100644 index 0000000000..3e2e0a57ed --- /dev/null +++ b/src/cli/one_helper/onequota_helper.rb @@ -0,0 +1,209 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +require 'cli_helper' + +class OneQuotaHelper + + #--------------------------------------------------------------------------- + # Tables to format user quotas + #--------------------------------------------------------------------------- + TABLE_DS = CLIHelper::ShowTable.new(nil, self) do + column :"DATASTORE ID", "", :left, :size=>12 do |d| + d["ID"] if !d.nil? + end + + column :"IMAGES (used)", "", :right, :size=>14 do |d| + d["IMAGES_USED"] if !d.nil? + end + + column :"IMAGES (limit)", "", :right, :size=>14 do |d| + d["IMAGES"] if !d.nil? + end + + column :"SIZE (used)", "", :right, :size=>14 do |d| + d["SIZE_USED"] if !d.nil? + end + + column :"SIZE (limit)", "", :right, :size=>14 do |d| + d["SIZE"] if !d.nil? + end + end + + TABLE_NET = CLIHelper::ShowTable.new(nil, self) do + column :"NETWORK ID", "", :left, :size=>12 do |d| + d["ID"] if !d.nil? + end + + column :"LEASES (used)", "", :right, :size=>14 do |d| + d["LEASES_USED"] if !d.nil? + end + + column :"LEASES (limit)", "", :right, :size=>14 do |d| + d["LEASES"] if !d.nil? + end + end + + TABLE_VM = CLIHelper::ShowTable.new(nil, self) do + column :"VMS", "", :left, :size=>12 do |d| + d["VMS"] if !d.nil? + end + + column :"MEMORY (used)", "", :right, :size=>14 do |d| + d["MEMORY_USED"] if !d.nil? + end + + column :"MEMORY (limit)", "", :right, :size=>14 do |d| + d["MEMORY"] if !d.nil? + end + + column :"CPU (used)", "", :right, :size=>14 do |d| + d["CPU_USED"] if !d.nil? + end + + column :"CPU (limit)", "", :right, :size=>14 do |d| + d["CPU"] if !d.nil? + end + end + + TABLE_IMG = CLIHelper::ShowTable.new(nil, self) do + column :"IMAGE ID", "", :left, :size=>12 do |d| + d["ID"] if !d.nil? + end + + column :"RVMS (used)", "", :right, :size=>14 do |d| + d["RVMS_USED"] if !d.nil? + end + + column :"RVMS (limit)", "", :right, :size=>14 do |d| + d["RVMS"] if !d.nil? + end + end + + HELP_QUOTA = <<-EOT.unindent + #----------------------------------------------------------------------- + # Supported quota limits: + # + # DATASTORE = [ + # ID = + # IMAGES = + # SIZE = + # ] + # + # VM = [ + # VMS = + # MEMORY = + # CPU = + # ] + # + # NETWORK = [ + # ID = + # LEASES = + # ] + # + # IMAGE = [ + # ID = + # RVMS = + # ] + # + # In any quota 0 means unlimited. The usage counters "*_USED" are + # shown for information purposes and will NOT be modified. + #----------------------------------------------------------------------- + EOT + + # Edits the quota template of a resource + # @param resource [PoolElement] to get the current info from + # @param path [String] path to the new contents. If nil a editor will be + # used + # @return [String] contents of the new quotas + def self.set_quota(resource, path) + str = "" + + if path.nil? + require 'tempfile' + + tmp = Tempfile.new('one-cli') + path = tmp.path + + rc = resource.info + + if OpenNebula.is_error?(rc) + puts rc.message + exit -1 + end + + tmp << HELP_QUOTA + tmp << resource.template_like_str("DATASTORE_QUOTA") << "\n" + tmp << resource.template_like_str("VM_QUOTA") << "\n" + tmp << resource.template_like_str("NETWORK_QUOTA") << "\n" + tmp << resource.template_like_str("IMAGE_QUOTA") << "\n" + + tmp.close + + editor_path = ENV["EDITOR"] ? ENV["EDITOR"] : EDITOR_PATH + system("#{editor_path} #{path}") + + unless $?.exitstatus == 0 + puts "Editor not defined" + exit -1 + end + + str = File.read(path) + + File.unlink(path) + else + str = File.read(path) + end + + str + end + + # Outputs formated quota information to stdout + # @param qh [Hash] with the quotas for a given resource + # + def self.format_quota(qh) + str_h1="%-80s" + + puts + + CLIHelper.print_header(str_h1 % "RESOURCE USAGE & QUOTAS",false) + + puts + + ds_quotas = [qh['DATASTORE_QUOTA']['DATASTORE']].flatten + if !ds_quotas[0].nil? + TABLE_DS.show(ds_quotas, {}) + puts + end + + vm_quotas = [qh['VM_QUOTA']['VM']].flatten + if !vm_quotas[0].nil? + TABLE_VM.show(vm_quotas, {}) + puts + end + + net_quotas = [qh['NETWORK_QUOTA']['NETWORK']].flatten + if !net_quotas[0].nil? + TABLE_NET.show(net_quotas, {}) + puts + end + + image_quotas = [qh['IMAGE_QUOTA']['IMAGE']].flatten + if !image_quotas[0].nil? + TABLE_IMG.show(image_quotas, {}) + end + end +end diff --git a/src/cli/one_helper/oneuser_helper.rb b/src/cli/one_helper/oneuser_helper.rb index 2b1a532919..7653ec9c86 100644 --- a/src/cli/one_helper/oneuser_helper.rb +++ b/src/cli/one_helper/oneuser_helper.rb @@ -15,6 +15,7 @@ #--------------------------------------------------------------------------- # require 'one_helper' +require 'one_helper/onequota_helper' class OneUserHelper < OpenNebulaHelper::OneHelper def self.rname @@ -163,11 +164,35 @@ class OneUserHelper < OpenNebulaHelper::OneHelper d["AUTH_DRIVER"] end + column :VMS, "Number of VMS", :size=>8 do |d| + if d.has_key?('VM_QUOTA') and d['VM_QUOTA'].has_key?('VM') + d['VM_QUOTA']['VM']['VMS'] + else + "-" + end + end + + column :MEMORY, "Total memory allocated to user VMs", :size=>8 do |d| + if d.has_key?('VM_QUOTA') and d['VM_QUOTA'].has_key?('VM') + d['VM_QUOTA']['VM']['MEMORY_USED'] + else + "-" + end + end + + column :CPU, "Total CPU allocated to user VMs", :size=>8 do |d| + if d.has_key?('VM_QUOTA') and d['VM_QUOTA'].has_key?('VM') + d['VM_QUOTA']['VM']['CPU_USED'] + else + "-" + end + end + column :PASSWORD, "Password of the User", :size=>50 do |d| d['PASSWORD'] end - default :ID, :GROUP, :NAME, :AUTH, :PASSWORD + default :ID, :GROUP, :NAME, :AUTH, :VMS, :MEMORY, :CPU end table @@ -207,5 +232,9 @@ class OneUserHelper < OpenNebulaHelper::OneHelper CLIHelper.print_header(str_h1 % "USER TEMPLATE",false) puts user.template_str + + user_hash = user.to_hash + + OneQuotaHelper.format_quota(user_hash['USER']) end end diff --git a/src/cli/oneacct b/src/cli/oneacct index a9101f5bc1..ecd1554fbb 100755 --- a/src/cli/oneacct +++ b/src/cli/oneacct @@ -37,10 +37,15 @@ require 'json' require 'optparse' require 'optparse/time' -class AcctHelper - def initialize(client) - @client = client +################################################################################ +# CLI Helper +################################################################################ + +class AcctHelper < OpenNebulaHelper::OneHelper + + def self.conf_file + "oneacct.yaml" end =begin @@ -64,7 +69,7 @@ class AcctHelper =end def list_history(data) - table = CLIHelper::ShowTable.new(nil, self) do + table = CLIHelper::ShowTable.new(self.class.table_conf, self) do column :VID, "Virtual Machine ID", :size=>4 do |d| d["OID"] end @@ -73,11 +78,11 @@ class AcctHelper d["SEQ"] end - column :HOSTNAME, "Host name", :size=>15 do |d| + column :HOSTNAME, "Host name", :left, :size=>15 do |d| d["HOSTNAME"] end - column :REASON, "VM state change reason", :size=>4 do |d| + column :REASON, "VM state change reason", :left, :size=>4 do |d| VirtualMachine.get_reason d["REASON"] end @@ -89,20 +94,20 @@ class AcctHelper OpenNebulaHelper.time_to_str(d['ETIME']) end - column :MEMORY, "Assigned memory", :right, :size=>6 do |d| + column :MEMORY, "Assigned memory", :size=>6 do |d| OpenNebulaHelper.unit_to_str(d["VM/TEMPLATE/MEMORY"].to_i, {}, 'M') end - column :CPU, "Number of CPUs", :right, :size=>3 do |d| + column :CPU, "Number of CPUs", :size=>3 do |d| d["VM/TEMPLATE/CPU"] end - column :NET_RX, "Data received from the network", :right, :size=>6 do |d| + column :NET_RX, "Data received from the network", :size=>6 do |d| # NET is measured in bytes, unit_to_str expects KBytes OpenNebulaHelper.unit_to_str(d["VM/NET_RX"].to_i / 1024.0, {}) end - column :NET_TX, "Data sent to the network", :right, :size=>6 do |d| + column :NET_TX, "Data sent to the network", :size=>6 do |d| # NET is measured in bytes, unit_to_str expects KBytes OpenNebulaHelper.unit_to_str(d["VM/NET_TX"].to_i / 1024.0, {}) end @@ -114,10 +119,7 @@ class AcctHelper end public - def list_users(xml_info, options=nil) - - xmldoc = XMLElement.new - xmldoc.initialize_xml(xml_info, 'HISTORY_RECORDS') + def list_users(xmldoc, options=nil) uids = xmldoc.retrieve_elements('HISTORY/VM/UID') @@ -133,8 +135,10 @@ public uids.each do |uid| CLIHelper.scr_bold CLIHelper.scr_underline - # TODO: username? - puts "# User #{uid} " + + username = + xmldoc.retrieve_elements(["HISTORY/VM[UID=#{uid}]/UNAME"]).uniq; + puts "# User #{uid} #{username} " CLIHelper.scr_restore puts @@ -167,6 +171,28 @@ public end end +################################################################################ +# Helper methods +################################################################################ + +def redo_xmldoc(xmldoc, xpath_str) + xml_str = "" + + xmldoc.each(xpath_str) do |history| + xml_str << history.to_xml + end + + xml_str << "" + + xmldoc = XMLElement.new + xmldoc.initialize_xml(xml_str, 'HISTORY_RECORDS') + + return xmldoc +end + +################################################################################ +# Main command +################################################################################ options = Hash.new @@ -183,10 +209,24 @@ opts = OptionParser.new do |opts| options[:end]=ext end - # TODO: Allow username - opts.on("-u", "--user user", Integer, - "User id to make accounting" ) do |ext| - options[:user]=ext.to_i + opts.on("-u", "--user user", String, + "User id to filter the results" ) do |ext| + options[:user]=ext + end + + opts.on("-g", "--group group", String, + "Group id to filter the results" ) do |ext| + options[:group]=ext + end + + opts.on("-H", "--host hostname", String, + "Host id to filter the results" ) do |ext| + options[:host]=ext + end + + opts.on("--xpath expression", String, + "Xpath expression to filter the results. For example: oneacct --xpath 'HISTORY[ETIME>0]'" ) do |ext| + options[:xpath]=ext end opts.on("-j", "--json", @@ -204,6 +244,11 @@ opts = OptionParser.new do |opts| options[:split]=ext end + opts.on("-h", "--help", "Show this message" ) do + puts opts + exit + end + opts.on() end @@ -218,7 +263,7 @@ end client = OpenNebula::Client.new -acct_helper = AcctHelper.new(client) +acct_helper = AcctHelper.new() time_start = -1 time_end = -1 @@ -226,19 +271,72 @@ filter_flag = VirtualMachinePool::INFO_ALL time_start = options[:start].to_i if options[:start] time_end = options[:end].to_i if options[:end] -filter_flag = options[:user].to_i if options[:user] +if options[:user] + rc = OpenNebulaHelper.rname_to_id(options[:user], "USER") -ret = client.call("vmpool.accounting", + if rc[0] == 0 + filter_flag = rc[1] + else + puts rc[1] + exit -1 + end +end + +xml_str = client.call("vmpool.accounting", filter_flag, time_start, time_end) -if OpenNebula.is_error?(ret) - puts ret.message +if OpenNebula.is_error?(xml_str) + puts xml_str.message exit -1 end +xmldoc = XMLElement.new +xmldoc.initialize_xml(xml_str, 'HISTORY_RECORDS') + +xpath = nil +hid = nil +gid = nil + +if options[:host] + rc = OpenNebulaHelper.rname_to_id(options[:host], "HOST") + + if rc[0] == 0 + hid = rc[1] + else + puts rc[1] + exit -1 + end +end + +if options[:group] + rc = OpenNebulaHelper.rname_to_id(options[:group], "GROUP") + + if rc[0] == 0 + gid = rc[1] + else + puts rc[1] + exit -1 + end +end + +if options[:host] && options[:group] + xpath = "HISTORY[VM/GID=#{gid} and HID=#{hid}]" +elsif options[:host] + xpath = "HISTORY[HID=#{hid}]" +elsif options[:group] + xpath = "HISTORY[VM/GID=#{gid}]" +end + +xmldoc = redo_xmldoc(xmldoc, xpath) if !xpath.nil? + + +if options[:xpath] + xmldoc = redo_xmldoc(xmldoc, options[:xpath]) +end + case options[:format] when :table @@ -270,14 +368,12 @@ when :table puts end - acct_helper.list_users(ret, options) + acct_helper.list_users(xmldoc, options) when :xml - puts ret + puts xmldoc.to_xml when :json - xmldoc = XMLElement.new - xmldoc.initialize_xml(ret, 'HISTORY_RECORDS') puts xmldoc.to_hash.to_json end diff --git a/src/cli/onegroup b/src/cli/onegroup index f520300c79..ccb0a1cae7 100755 --- a/src/cli/onegroup +++ b/src/cli/onegroup @@ -97,4 +97,20 @@ cmd=CommandParser::CmdParser.new(ARGV) do helper.show_resource(group,options) end + quota_desc = <<-EOT.unindent + Set the quota limits for the group. If a path is not provided the editor + will be launched to modify the current quotas. + EOT + + command :quota, quota_desc, :groupid, [:file, nil] do + helper.perform_action(args[0], options, "modified") do |group| + str = OneQuotaHelper.set_quota(group, args[1]) + rc = group.set_quota(str) + + if OpenNebula.is_error?(rc) + puts rc.message + exit -1 + end + end + end end diff --git a/src/cli/oneuser b/src/cli/oneuser index 860078664b..74d1e98895 100755 --- a/src/cli/oneuser +++ b/src/cli/oneuser @@ -29,6 +29,7 @@ $: << RUBY_LIB_LOCATION+"/cli" require 'command_parser' require 'one_helper/oneuser_helper' +require 'one_helper/onequota_helper' require 'uri' @@ -196,6 +197,26 @@ cmd=CommandParser::CmdParser.new(ARGV) do end end + quota_desc = <<-EOT.unindent + Set the quota limits for the user. If a path is not provided the editor + will be launched to modify the current quotas. + EOT + + command :quota, quota_desc, :userid, [:file, nil] do + helper = OneUserHelper.new + + helper.perform_action(args[0], options, "modified") do |user| + str = OneQuotaHelper.set_quota(user, args[1]) + rc = user.set_quota(str) + + if OpenNebula.is_error?(rc) + puts rc.message + exit -1 + end + + end + end + login_desc = <<-EOT.unindent Creates the Login token for authentication Examples: @@ -237,7 +258,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do command :delete, delete_desc, [:range, :userid_list] do helper = OneUserHelper.new - helper.perform_actions(args[0],options,"deleted") do |user| + helper.perform_actions(args[0], options, "deleted") do |user| user.delete end end diff --git a/src/cloud/occi/lib/ui/locale/generate_messages_pot.sh b/src/cloud/occi/lib/ui/locale/generate_messages_pot.sh new file mode 100755 index 0000000000..d97cd276de --- /dev/null +++ b/src/cloud/occi/lib/ui/locale/generate_messages_pot.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +# -------------------------------------------------------------------------- # +# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +find ../public/js -name \*.js > file_list.txt +echo "../../../../../sunstone/public/js/sunstone.js" >> file_list.txt +echo "../../../../../sunstone/public/js/sunstone-util.js" >> file_list.txt +echo "../public/customize/custom.js" >> file_list.txt +xgettext --from-code=utf-8 --no-wrap --keyword=tr -L python -f file_list.txt -p . +mv messages.po messages.pot +rm file_list.txt \ No newline at end of file diff --git a/src/sunstone/public/locale/generate_translation_template.rb b/src/cloud/occi/lib/ui/locale/languages/SConstruct old mode 100755 new mode 100644 similarity index 79% rename from src/sunstone/public/locale/generate_translation_template.rb rename to src/cloud/occi/lib/ui/locale/languages/SConstruct index da8cb097ed..08a4d2d712 --- a/src/sunstone/public/locale/generate_translation_template.rb +++ b/src/cloud/occi/lib/ui/locale/languages/SConstruct @@ -1,5 +1,4 @@ -#!/usr/bin/env ruby -# -*- coding: utf-8 -*- +# SConstruct for share/man # -------------------------------------------------------------------------- # # Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # @@ -17,15 +16,15 @@ # limitations under the License. # #--------------------------------------------------------------------------- # -tr_strings = `grep -h -o -R -e 'tr("[[:print:]]*")' ../js/* | cut -d'"' -f 2 | sort -u` +Import('env') -puts "//Translated by" -puts 'lang="en_US"' -puts 'datatable_lang=""' -puts "locale={" +po_bld = Builder(action = 'share/scons/po2json.rb $SOURCE > $TARGET', + suffix = '.js', + src_suffix = '.po') -tr_strings.each_line do | line | - puts " \"#{line.chomp}\":\"\"," -end +env.Append(BUILDERS = {'Po' : po_bld}) -puts "};" +env.Po('en_US.po') +env.Po('es_ES.po') +env.Po('fr_CA.po') +env.Po('fr_FR.po') diff --git a/src/cloud/occi/lib/ui/locale/languages/en_US.po b/src/cloud/occi/lib/ui/locale/languages/en_US.po new file mode 100644 index 0000000000..2afa4899fa --- /dev/null +++ b/src/cloud/occi/lib/ui/locale/languages/en_US.po @@ -0,0 +1,674 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 15:11+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/locale.js:34 +msgid "Changing language" +msgstr "" + +#: ../public/js/locale.js:35 +msgid "Loading new language... please wait" +msgstr "" + +#: ../public/js/locale.js:53 ../public/customize/custom.js:51 +msgid "Documentation" +msgstr "" + +#: ../public/js/locale.js:54 ../public/customize/custom.js:54 +msgid "Support" +msgstr "" + +#: ../public/js/locale.js:55 ../public/customize/custom.js:57 +msgid "Community" +msgstr "" + +#: ../public/js/locale.js:56 +msgid "Welcome" +msgstr "" + +#: ../public/js/locale.js:57 +msgid "Sign out" +msgstr "" + +#: ../public/js/plugins/storage.js:26 ../public/js/plugins/network.js:26 +#: ../public/js/plugins/compute.js:63 +msgid "All" +msgstr "" + +#: ../public/js/plugins/storage.js:27 ../public/js/plugins/storage.js:345 +#: ../public/js/plugins/network.js:27 ../public/js/plugins/network.js:278 +#: ../public/js/plugins/compute.js:64 ../public/js/plugins/compute.js:510 +#: ../public/js/plugins/compute.js:555 ../public/js/plugins/compute.js:600 +msgid "ID" +msgstr "" + +#: ../public/js/plugins/storage.js:28 ../public/js/plugins/storage.js:45 +#: ../public/js/plugins/storage.js:349 ../public/js/plugins/network.js:28 +#: ../public/js/plugins/network.js:41 ../public/js/plugins/network.js:282 +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:514 +#: ../public/js/plugins/compute.js:559 ../public/js/plugins/compute.js:604 +msgid "Name" +msgstr "" + +#: ../public/js/plugins/storage.js:41 +msgid "Fields marked with" +msgstr "" + +#: ../public/js/plugins/storage.js:42 +msgid "are mandatory" +msgstr "" + +#: ../public/js/plugins/storage.js:47 +msgid "Name that the Image will get." +msgstr "" + +#: ../public/js/plugins/storage.js:50 ../public/js/plugins/storage.js:353 +msgid "Description" +msgstr "" + +#: ../public/js/plugins/storage.js:52 +msgid "Human readable description of the image." +msgstr "" + +#: ../public/js/plugins/storage.js:57 ../public/js/plugins/storage.js:357 +#: ../public/js/plugins/compute.js:567 +msgid "Type" +msgstr "" + +#: ../public/js/plugins/storage.js:59 +msgid "OS" +msgstr "" + +#: ../public/js/plugins/storage.js:60 +msgid "CD-ROM" +msgstr "" + +#: ../public/js/plugins/storage.js:61 +msgid "Datablock" +msgstr "" + +#: ../public/js/plugins/storage.js:63 +msgid "Type of the image" +msgstr "" + +#: ../public/js/plugins/storage.js:66 ../public/js/plugins/network.js:297 +msgid "Size" +msgstr "" + +#: ../public/js/plugins/storage.js:68 +msgid "Size of the datablock in MB." +msgstr "" + +#: ../public/js/plugins/storage.js:71 +msgid "FS type" +msgstr "" + +#: ../public/js/plugins/storage.js:73 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "" + +#: ../public/js/plugins/storage.js:76 +msgid "Select image to upload" +msgstr "" + +#: ../public/js/plugins/storage.js:83 +msgid "Public" +msgstr "" + +#: ../public/js/plugins/storage.js:85 +msgid "Public scope of the image" +msgstr "" + +#: ../public/js/plugins/storage.js:88 ../public/js/plugins/storage.js:361 +msgid "Persistent" +msgstr "" + +#: ../public/js/plugins/storage.js:90 +msgid "Persistence of the image" +msgstr "" + +#: ../public/js/plugins/storage.js:95 ../public/js/plugins/network.js:56 +#: ../public/js/plugins/compute.js:103 +msgid "Close" +msgstr "" + +#: ../public/js/plugins/storage.js:96 ../public/js/plugins/network.js:57 +#: ../public/js/plugins/compute.js:104 +msgid "Create" +msgstr "" + +#: ../public/js/plugins/storage.js:214 ../public/js/plugins/network.js:158 +#: ../public/js/plugins/compute.js:305 +msgid "Refresh list" +msgstr "" + +#: ../public/js/plugins/storage.js:219 ../public/js/plugins/network.js:164 +#: ../public/js/plugins/compute.js:311 +msgid "+ New" +msgstr "" + +#: ../public/js/plugins/storage.js:223 +msgid "Make persistent" +msgstr "" + +#: ../public/js/plugins/storage.js:227 +msgid "Make non persistent" +msgstr "" + +#: ../public/js/plugins/storage.js:234 ../public/js/plugins/network.js:169 +msgid "Publish" +msgstr "" + +#: ../public/js/plugins/storage.js:238 ../public/js/plugins/network.js:174 +msgid "Unpublish" +msgstr "" + +#: ../public/js/plugins/storage.js:244 ../public/js/plugins/network.js:179 +#: ../public/js/plugins/compute.js:353 +msgid "Delete" +msgstr "" + +#: ../public/js/plugins/storage.js:250 ../public/js/plugins/storage.js:337 +msgid "Image information" +msgstr "" + +#: ../public/js/plugins/storage.js:258 +msgid "Add storage" +msgstr "" + +#: ../public/js/plugins/storage.js:264 ../public/js/plugins/dashboard.js:46 +#: ../public/customize/custom.js:68 +msgid "Storage" +msgstr "" + +#: ../public/js/plugins/storage.js:341 +msgid "Image" +msgstr "" + +#: ../public/js/plugins/storage.js:342 ../public/js/plugins/network.js:275 +msgid "information" +msgstr "" + +#: ../public/js/plugins/storage.js:365 +msgid "Filesystem type" +msgstr "" + +#: ../public/js/plugins/storage.js:369 +msgid "Size (Mb)" +msgstr "" + +#: ../public/js/plugins/storage.js:503 +msgid "You must specify a name" +msgstr "" + +#: ../public/js/plugins/storage.js:521 +msgid "You must specify size and FS type" +msgstr "" + +#: ../public/js/plugins/storage.js:528 +msgid "You must select a file to upload" +msgstr "" + +#: ../public/js/plugins/network.js:47 +msgid "Network Address" +msgstr "" + +#: ../public/js/plugins/network.js:49 +msgid "Network Size" +msgstr "" + +#: ../public/js/plugins/network.js:185 +msgid "Network information" +msgstr "" + +#: ../public/js/plugins/network.js:193 +msgid "Create network" +msgstr "" + +#: ../public/js/plugins/network.js:199 ../public/js/plugins/compute.js:91 +#: ../public/js/plugins/compute.js:368 ../public/js/plugins/compute.js:627 +msgid "Networks" +msgstr "" + +#: ../public/js/plugins/network.js:274 +msgid "Virtual Network" +msgstr "" + +#: ../public/js/plugins/network.js:286 +msgid "Used leases" +msgstr "" + +#: ../public/js/plugins/network.js:293 +msgid "Address" +msgstr "" + +#: ../public/js/plugins/network.js:307 +msgid "Virtual Network information" +msgstr "" + +#: ../public/js/plugins/network.js:353 +msgid "Virtual Network name missing!" +msgstr "" + +#: ../public/js/plugins/network.js:365 +msgid "Please provide a network address" +msgstr "" + +#: ../public/js/plugins/dashboard.js:37 +msgid "Current resources" +msgstr "" + +#: ../public/js/plugins/dashboard.js:42 ../public/js/plugins/compute.js:381 +#: ../public/customize/custom.js:64 +msgid "Compute" +msgstr "" + +#: ../public/js/plugins/dashboard.js:50 ../public/customize/custom.js:72 +msgid "Network" +msgstr "" + +#: ../public/js/plugins/dashboard.js:62 +msgid "Useful links" +msgstr "" + +#: ../public/js/plugins/dashboard.js:81 +msgid "Create new compute resource" +msgstr "" + +#: ../public/js/plugins/dashboard.js:82 ../public/js/plugins/dashboard.js:96 +#: ../public/js/plugins/dashboard.js:110 +msgid "See more" +msgstr "" + +#: ../public/js/plugins/dashboard.js:95 +msgid "Create new storage resource" +msgstr "" + +#: ../public/js/plugins/dashboard.js:109 +msgid "Create new network resource" +msgstr "" + +#: ../public/js/plugins/dashboard.js:120 +msgid "Dashboard" +msgstr "" + +#: ../public/js/plugins/compute.js:32 ../public/js/plugins/compute.js:526 +msgid "CPU" +msgstr "" + +#: ../public/js/plugins/compute.js:37 ../public/js/plugins/compute.js:530 +msgid "Memory" +msgstr "" + +#: ../public/js/plugins/compute.js:42 +msgid "Network transmission" +msgstr "" + +#: ../public/js/plugins/compute.js:47 +msgid "Network reception" +msgstr "" + +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:522 +msgid "State" +msgstr "" + +#: ../public/js/plugins/compute.js:66 ../public/js/plugins/compute.js:608 +msgid "IP" +msgstr "" + +#: ../public/js/plugins/compute.js:76 +msgid "VM Name" +msgstr "" + +#: ../public/js/plugins/compute.js:80 ../public/js/plugins/compute.js:518 +msgid "Instance type" +msgstr "" + +#: ../public/js/plugins/compute.js:82 ../public/js/plugins/compute.js:982 +msgid "Loading" +msgstr "" + +#: ../public/js/plugins/compute.js:86 +msgid "Images" +msgstr "" + +#: ../public/js/plugins/compute.js:97 +msgid "Create # VMs" +msgstr "" + +#: ../public/js/plugins/compute.js:99 +msgid "You can use the wildcard %. When creating several VMs, % will be replaced with a different number starting from 0 in each of them" +msgstr "" + +#: ../public/js/plugins/compute.js:317 +msgid "Shutdown" +msgstr "" + +#: ../public/js/plugins/compute.js:318 +msgid "This will shutdown the selected VMs" +msgstr "" + +#: ../public/js/plugins/compute.js:326 +msgid "Suspend" +msgstr "" + +#: ../public/js/plugins/compute.js:327 +msgid "This will suspend the selected VMs" +msgstr "" + +#: ../public/js/plugins/compute.js:331 +msgid "Resume" +msgstr "" + +#: ../public/js/plugins/compute.js:332 +msgid "This will resume the selected VMs in stopped or suspended states" +msgstr "" + +#: ../public/js/plugins/compute.js:336 +msgid "Stop" +msgstr "" + +#: ../public/js/plugins/compute.js:341 ../public/js/plugins/compute.js:809 +#: ../../../../../sunstone/public/js/sunstone.js:661 +#: ../../../../../sunstone/public/js/sunstone.js:693 +msgid "Cancel" +msgstr "" + +#: ../public/js/plugins/compute.js:342 +msgid "This will cancel selected VMs" +msgstr "" + +#: ../public/js/plugins/compute.js:346 ../public/js/plugins/compute.js:798 +msgid "Take snapshot" +msgstr "" + +#: ../public/js/plugins/compute.js:354 +msgid "This will delete the selected VMs from the database" +msgstr "" + +#: ../public/js/plugins/compute.js:360 +msgid "Compute resource" +msgstr "" + +#: ../public/js/plugins/compute.js:364 ../public/js/plugins/compute.js:582 +msgid "Disks" +msgstr "" + +#: ../public/js/plugins/compute.js:375 +msgid "Create Virtual Machine" +msgstr "" + +#: ../public/js/plugins/compute.js:502 +msgid "VM information" +msgstr "" + +#: ../public/js/plugins/compute.js:506 +msgid "Virtual Machine information" +msgstr "" + +#: ../public/js/plugins/compute.js:534 +msgid "Launch VNC session" +msgstr "" + +#: ../public/js/plugins/compute.js:545 +msgid "Disks information" +msgstr "" + +#: ../public/js/plugins/compute.js:563 +msgid "Target" +msgstr "" + +#: ../public/js/plugins/compute.js:574 ../public/js/plugins/compute.js:905 +msgid "No disks defined" +msgstr "" + +#: ../public/js/plugins/compute.js:588 +msgid "Networks information" +msgstr "" + +#: ../public/js/plugins/compute.js:612 +msgid "MAC" +msgstr "" + +#: ../public/js/plugins/compute.js:619 +msgid "No networks defined" +msgstr "" + +#: ../public/js/plugins/compute.js:633 +msgid "Monitoring information" +msgstr "" + +#: ../public/js/plugins/compute.js:808 +#: ../../../../../sunstone/public/js/sunstone.js:660 +#: ../../../../../sunstone/public/js/sunstone.js:692 +msgid "OK" +msgstr "" + +#: ../public/js/plugins/compute.js:831 +msgid "Skipping VM " +msgstr "" + +#: ../public/js/plugins/compute.js:832 +msgid "No disk id or image name specified" +msgstr "" + +#: ../public/js/plugins/compute.js:868 +msgid "Saveas for VM with ID" +msgstr "" + +#: ../public/js/plugins/compute.js:871 +msgid "Select disk" +msgstr "" + +#: ../public/js/plugins/compute.js:873 +msgid "Retrieving" +msgstr "" + +#: ../public/js/plugins/compute.js:877 +msgid "Image name" +msgstr "" + +#: ../public/js/plugins/compute.js:897 ../public/js/plugins/compute.js:900 +msgid "disk id" +msgstr "" + +#: ../public/js/plugins/compute.js:975 +msgid "VNC connection" +msgstr "" + +#: ../public/js/plugins/compute.js:990 +msgid "Canvas not supported." +msgstr "" + +#: ../public/js/plugins/compute.js:1051 ../public/js/plugins/compute.js:1067 +msgid "Open VNC Session" +msgstr "" + +#: ../public/js/plugins/compute.js:1054 ../public/js/plugins/compute.js:1070 +msgid "VNC Disabled" +msgstr "" + +#: ../public/js/plugins/configuration.js:23 +msgid "Self-Service UI Configuration" +msgstr "" + +#: ../public/js/plugins/configuration.js:28 +msgid "Language" +msgstr "" + +#: ../public/js/plugins/configuration.js:31 +msgid "English" +msgstr "" + +#: ../public/js/plugins/configuration.js:32 +msgid "Spanish" +msgstr "" + +#: ../public/js/plugins/configuration.js:33 +msgid "French (FR)" +msgstr "" + +#: ../public/js/plugins/configuration.js:34 +msgid "French (CA)" +msgstr "" + +#: ../public/js/plugins/configuration.js:56 +msgid "Configuration" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:586 +msgid "Previous action" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:649 +#: ../../../../../sunstone/public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:220 +msgid "Error" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:226 +msgid "Info" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:561 +#: ../../../../../sunstone/public/js/sunstone-util.js:772 +msgid "Please select" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:701 +msgid "Please, choose and modify the template you want to update" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:703 +#: ../../../../../sunstone/public/js/sunstone-util.js:706 +msgid "Select a template" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:711 +msgid "Update" +msgstr "" + +#: ../public/customize/custom.js:18 +msgid "String" +msgstr "" + +#: ../public/customize/custom.js:39 +msgid "Welcome to OpenNebula Self-Service" +msgstr "" + +#: ../public/customize/custom.js:41 +msgid "OpenNebula Self-Service is a simplified user interface to manage OpenNebula compute, storage and network resources. It is focused on easiness and usability and features a limited set of operations directed towards end-users." +msgstr "" + +#: ../public/customize/custom.js:42 +msgid "Additionally, OpenNebula Self-Service allows easy customization of the interface (e.g. this text) and brings multi-language support." +msgstr "" + +#: ../public/customize/custom.js:43 +msgid "Have a cloudy experience!" +msgstr "" + +#: ../public/customize/custom.js:66 +msgid "Compute resources are Virtual Machines attached to storage and network resources. OpenNebula Self-Service allows you to easily create, remove and manage them, including the possibility of pausing a Virtual Machine or taking a snapshot of one of their disks." +msgstr "" + +#: ../public/customize/custom.js:70 +msgid "Storage pool is formed by several images. These images can contain from full operating systems to be used as base for compute resources, to simple data. OpenNebula Self-Service offers you the possibility to create or upload your own images." +msgstr "" + +#: ../public/customize/custom.js:74 +msgid "Your compute resources connectivity is performed using pre-defined virtual networks. You can create and manage these networks using OpenNebula Self-Service." +msgstr "" + +#: ../public/customize/custom.js:81 +msgid "This is a list of your current compute resources. Virtual Machines use previously defined images and networks. You can easily create a new compute element by cliking 'new' and filling-in an easy wizard." +msgstr "" + +#: ../public/customize/custom.js:82 +msgid "You can also manage compute resources and perform actions such as stop, resume, shutdown or cancel." +msgstr "" + +#: ../public/customize/custom.js:83 +msgid "Additionally, you can take a 'snapshot' of the storage attached to these resources. They will be saved as new resources, visible from the Storage view and re-usable." +msgstr "" + +#: ../public/customize/custom.js:84 ../public/customize/custom.js:94 +#: ../public/customize/custom.js:104 +msgid "There are currently" +msgstr "" + +#: ../public/customize/custom.js:85 +msgid "virtual machines" +msgstr "" + +#: ../public/customize/custom.js:91 +msgid "The Storage view offers you an overview of your current images. Storage elements are attached to compute resources at creation time. They can also be extracted from running virtual machines by taking an snapshot." +msgstr "" + +#: ../public/customize/custom.js:92 +msgid "You can add new storages by clicking 'new'. Image files will be uploaded to OpenNebula and set ready to be used." +msgstr "" + +#: ../public/customize/custom.js:93 +msgid "Additionally, you can run several operations on defined storages, such as defining their persistance. Persistent images can only be used by 1 virtual machine, and the changes made by it have effect on the base image. Non-persistent images are cloned before being used in a Virtual Machine, therefore changes are lost unless a snapshot is taken prior to Virtual Machine shutdown." +msgstr "" + +#: ../public/customize/custom.js:95 +msgid "images" +msgstr "" + +#: ../public/customize/custom.js:101 +msgid "In this view you can easily manage OpenNebula Network resources. You can add or remove virtual networks." +msgstr "" + +#: ../public/customize/custom.js:102 +msgid "Compute resources can be attached to these networks at creation time. Virtual machines will be provided with an IP and the correct parameters to ensure connectivity." +msgstr "" + +#: ../public/customize/custom.js:105 +msgid "networks" +msgstr "" diff --git a/src/cloud/occi/lib/ui/locale/languages/es_ES.po b/src/cloud/occi/lib/ui/locale/languages/es_ES.po new file mode 100644 index 0000000000..3f726c4ada --- /dev/null +++ b/src/cloud/occi/lib/ui/locale/languages/es_ES.po @@ -0,0 +1,678 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 15:11+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: es_ES\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/locale.js:34 +msgid "Changing language" +msgstr "Cambiando el lenguaje" + +#: ../public/js/locale.js:35 +msgid "Loading new language... please wait" +msgstr "Cargando nuevo lenguaje... espere, por favor" + +#: ../public/js/locale.js:53 ../public/customize/custom.js:51 +msgid "Documentation" +msgstr "Documentación" + +#: ../public/js/locale.js:54 ../public/customize/custom.js:54 +msgid "Support" +msgstr "Soporte" + +#: ../public/js/locale.js:55 ../public/customize/custom.js:57 +msgid "Community" +msgstr "Comunidad" + +#: ../public/js/locale.js:56 +msgid "Welcome" +msgstr "Bienvenid@" + +#: ../public/js/locale.js:57 +msgid "Sign out" +msgstr "Desconectar" + +#: ../public/js/plugins/storage.js:26 ../public/js/plugins/network.js:26 +#: ../public/js/plugins/compute.js:63 +msgid "All" +msgstr "Todos" + +#: ../public/js/plugins/storage.js:27 ../public/js/plugins/storage.js:345 +#: ../public/js/plugins/network.js:27 ../public/js/plugins/network.js:278 +#: ../public/js/plugins/compute.js:64 ../public/js/plugins/compute.js:510 +#: ../public/js/plugins/compute.js:555 ../public/js/plugins/compute.js:600 +msgid "ID" +msgstr "ID" + +#: ../public/js/plugins/storage.js:28 ../public/js/plugins/storage.js:45 +#: ../public/js/plugins/storage.js:349 ../public/js/plugins/network.js:28 +#: ../public/js/plugins/network.js:41 ../public/js/plugins/network.js:282 +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:514 +#: ../public/js/plugins/compute.js:559 ../public/js/plugins/compute.js:604 +msgid "Name" +msgstr "Nombre" + +#: ../public/js/plugins/storage.js:41 +msgid "Fields marked with" +msgstr "Campos marcados con" + +#: ../public/js/plugins/storage.js:42 +msgid "are mandatory" +msgstr "son obligatorios" + +#: ../public/js/plugins/storage.js:47 +msgid "Name that the Image will get." +msgstr "Nombre para la imagen." + +#: ../public/js/plugins/storage.js:50 ../public/js/plugins/storage.js:353 +msgid "Description" +msgstr "Descripción" + +#: ../public/js/plugins/storage.js:52 +msgid "Human readable description of the image." +msgstr "Descripción de la imagen." + +#: ../public/js/plugins/storage.js:57 ../public/js/plugins/storage.js:357 +#: ../public/js/plugins/compute.js:567 +msgid "Type" +msgstr "Tipo" + +#: ../public/js/plugins/storage.js:59 +msgid "OS" +msgstr "OS" + +#: ../public/js/plugins/storage.js:60 +msgid "CD-ROM" +msgstr "CD-ROM" + +#: ../public/js/plugins/storage.js:61 +msgid "Datablock" +msgstr "Datablock" + +#: ../public/js/plugins/storage.js:63 +msgid "Type of the image" +msgstr "Tipo de la imagen" + +#: ../public/js/plugins/storage.js:66 ../public/js/plugins/network.js:297 +msgid "Size" +msgstr "Tamaño" + +#: ../public/js/plugins/storage.js:68 +msgid "Size of the datablock in MB." +msgstr "Tamaño del datablcok en MB" + +#: ../public/js/plugins/storage.js:71 +msgid "FS type" +msgstr "tipo de FS" + +#: ../public/js/plugins/storage.js:73 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "Tipo de sistema de archivos a generar. Es válido cualquier valor entendido por el comando mkfs" + +#: ../public/js/plugins/storage.js:76 +msgid "Select image to upload" +msgstr "Seleccione una imagen para subir" + +#: ../public/js/plugins/storage.js:83 +msgid "Public" +msgstr "Público" + +#: ../public/js/plugins/storage.js:85 +msgid "Public scope of the image" +msgstr "Imagen pública" + +#: ../public/js/plugins/storage.js:88 ../public/js/plugins/storage.js:361 +msgid "Persistent" +msgstr "Persistente" + +#: ../public/js/plugins/storage.js:90 +msgid "Persistence of the image" +msgstr "Persistencia de la imagen" + +#: ../public/js/plugins/storage.js:95 ../public/js/plugins/network.js:56 +#: ../public/js/plugins/compute.js:103 +msgid "Close" +msgstr "Cerrar" + +#: ../public/js/plugins/storage.js:96 ../public/js/plugins/network.js:57 +#: ../public/js/plugins/compute.js:104 +msgid "Create" +msgstr "Crear" + +#: ../public/js/plugins/storage.js:214 ../public/js/plugins/network.js:158 +#: ../public/js/plugins/compute.js:305 +msgid "Refresh list" +msgstr "Refrescar lista" + +#: ../public/js/plugins/storage.js:219 ../public/js/plugins/network.js:164 +#: ../public/js/plugins/compute.js:311 +msgid "+ New" +msgstr "+ Nuevo" + +#: ../public/js/plugins/storage.js:223 +msgid "Make persistent" +msgstr "Hacer persistente" + +#: ../public/js/plugins/storage.js:227 +msgid "Make non persistent" +msgstr "Hacer no persistente" + +#: ../public/js/plugins/storage.js:234 ../public/js/plugins/network.js:169 +msgid "Publish" +msgstr "Publicar" + +#: ../public/js/plugins/storage.js:238 ../public/js/plugins/network.js:174 +msgid "Unpublish" +msgstr "Despublicar" + +#: ../public/js/plugins/storage.js:244 ../public/js/plugins/network.js:179 +#: ../public/js/plugins/compute.js:353 +msgid "Delete" +msgstr "Borrar" + +#: ../public/js/plugins/storage.js:250 ../public/js/plugins/storage.js:337 +msgid "Image information" +msgstr "Información de la imagen" + +#: ../public/js/plugins/storage.js:258 +msgid "Add storage" +msgstr "Añadir almacenamiento" + +#: ../public/js/plugins/storage.js:264 ../public/js/plugins/dashboard.js:46 +#: ../public/customize/custom.js:68 +msgid "Storage" +msgstr "Almacenamiento" + +#: ../public/js/plugins/storage.js:341 +msgid "Image" +msgstr "Imagen" + +#: ../public/js/plugins/storage.js:342 ../public/js/plugins/network.js:275 +msgid "information" +msgstr "Información" + +#: ../public/js/plugins/storage.js:365 +msgid "Filesystem type" +msgstr "Sistema de ficheros" + +#: ../public/js/plugins/storage.js:369 +msgid "Size (Mb)" +msgstr "Tamaño (Mb)" + +#: ../public/js/plugins/storage.js:503 +msgid "You must specify a name" +msgstr "Debe especificar un nombre" + +#: ../public/js/plugins/storage.js:521 +msgid "You must specify size and FS type" +msgstr "Debe especificar un tamaño y un tipo de FS" + +#: ../public/js/plugins/storage.js:528 +msgid "You must select a file to upload" +msgstr "Debe seleccionar un fichero para subir" + +#: ../public/js/plugins/network.js:47 +msgid "Network Address" +msgstr "Dirección de red" + +#: ../public/js/plugins/network.js:49 +msgid "Network Size" +msgstr "Tamaño de red" + +#: ../public/js/plugins/network.js:185 +msgid "Network information" +msgstr "Información de red" + +#: ../public/js/plugins/network.js:193 +msgid "Create network" +msgstr "Crear red" + +#: ../public/js/plugins/network.js:199 ../public/js/plugins/compute.js:91 +#: ../public/js/plugins/compute.js:368 ../public/js/plugins/compute.js:627 +msgid "Networks" +msgstr "Redes" + +#: ../public/js/plugins/network.js:274 +msgid "Virtual Network" +msgstr "Red virtual" + +#: ../public/js/plugins/network.js:286 +msgid "Used leases" +msgstr "Leases usados" + +#: ../public/js/plugins/network.js:293 +msgid "Address" +msgstr "Dirección" + +#: ../public/js/plugins/network.js:307 +msgid "Virtual Network information" +msgstr "Información de red virtual" + +#: ../public/js/plugins/network.js:353 +msgid "Virtual Network name missing!" +msgstr "¡Falta el nombre de la red!" + +#: ../public/js/plugins/network.js:365 +msgid "Please provide a network address" +msgstr "Por favor, proporcione una dirección de red" + +#: ../public/js/plugins/dashboard.js:37 +msgid "Current resources" +msgstr "Recursos actuales" + +#: ../public/js/plugins/dashboard.js:42 ../public/js/plugins/compute.js:381 +#: ../public/customize/custom.js:64 +msgid "Compute" +msgstr "Máquinas Virtuales" + +#: ../public/js/plugins/dashboard.js:50 ../public/customize/custom.js:72 +msgid "Network" +msgstr "Red" + +#: ../public/js/plugins/dashboard.js:62 +msgid "Useful links" +msgstr "Enlances útiles" + +#: ../public/js/plugins/dashboard.js:81 +msgid "Create new compute resource" +msgstr "Crear nueva máquina virtual" + +#: ../public/js/plugins/dashboard.js:82 ../public/js/plugins/dashboard.js:96 +#: ../public/js/plugins/dashboard.js:110 +msgid "See more" +msgstr "Ver más" + +#: ../public/js/plugins/dashboard.js:95 +msgid "Create new storage resource" +msgstr "Crear nuevo almacenamiento" + +#: ../public/js/plugins/dashboard.js:109 +msgid "Create new network resource" +msgstr "Crear nueva red" + +#: ../public/js/plugins/dashboard.js:120 +msgid "Dashboard" +msgstr "Portada" + +#: ../public/js/plugins/compute.js:32 ../public/js/plugins/compute.js:526 +msgid "CPU" +msgstr "CPU" + +#: ../public/js/plugins/compute.js:37 ../public/js/plugins/compute.js:530 +msgid "Memory" +msgstr "Memoria" + +#: ../public/js/plugins/compute.js:42 +msgid "Network transmission" +msgstr "Transmisión de red" + +#: ../public/js/plugins/compute.js:47 +msgid "Network reception" +msgstr "Recepción de red" + +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:522 +msgid "State" +msgstr "Estado" + +#: ../public/js/plugins/compute.js:66 ../public/js/plugins/compute.js:608 +msgid "IP" +msgstr "IP" + +#: ../public/js/plugins/compute.js:76 +msgid "VM Name" +msgstr "Nombre" + +#: ../public/js/plugins/compute.js:80 ../public/js/plugins/compute.js:518 +msgid "Instance type" +msgstr "Tipo de instancia" + +#: ../public/js/plugins/compute.js:82 ../public/js/plugins/compute.js:982 +msgid "Loading" +msgstr "Cargando" + +#: ../public/js/plugins/compute.js:86 +msgid "Images" +msgstr "Imágenes" + +#: ../public/js/plugins/compute.js:97 +msgid "Create # VMs" +msgstr "Crear # MVs" + +#: ../public/js/plugins/compute.js:99 +#, fuzzy +msgid "You can use the wildcard %. When creating several VMs, % will be replaced with a different number starting from 0 in each of them" +msgstr "Puede utilizar el comodín %i. Durante la creación de varias máquinas virtuales, %i será reemplazado por un número distinto en cada una de ellas, empezando por 0" + +#: ../public/js/plugins/compute.js:317 +msgid "Shutdown" +msgstr "Apagar" + +#: ../public/js/plugins/compute.js:318 +msgid "This will shutdown the selected VMs" +msgstr "Esto apagará las MVs seleccionadas" + +#: ../public/js/plugins/compute.js:326 +msgid "Suspend" +msgstr "Suspender" + +#: ../public/js/plugins/compute.js:327 +msgid "This will suspend the selected VMs" +msgstr "Esto suspenderá las MVs seleccionadas" + +#: ../public/js/plugins/compute.js:331 +msgid "Resume" +msgstr "Reanudar" + +#: ../public/js/plugins/compute.js:332 +msgid "This will resume the selected VMs in stopped or suspended states" +msgstr "Esto reanudará las MVs seleccionadas paradas o suspendidas" + +#: ../public/js/plugins/compute.js:336 +msgid "Stop" +msgstr "Detener" + +#: ../public/js/plugins/compute.js:341 ../public/js/plugins/compute.js:809 +#: ../../../../../sunstone/public/js/sunstone.js:661 +#: ../../../../../sunstone/public/js/sunstone.js:693 +msgid "Cancel" +msgstr "Cancelar" + +#: ../public/js/plugins/compute.js:342 +msgid "This will cancel selected VMs" +msgstr "Esto cancelará las MVs seleccionadas" + +#: ../public/js/plugins/compute.js:346 ../public/js/plugins/compute.js:798 +msgid "Take snapshot" +msgstr "Tomar instantánea" + +#: ../public/js/plugins/compute.js:354 +msgid "This will delete the selected VMs from the database" +msgstr "Esto borrará las MVs seleccionadas de la base de datos" + +#: ../public/js/plugins/compute.js:360 +msgid "Compute resource" +msgstr "máquina virtual" + +#: ../public/js/plugins/compute.js:364 ../public/js/plugins/compute.js:582 +msgid "Disks" +msgstr "Discos" + +#: ../public/js/plugins/compute.js:375 +msgid "Create Virtual Machine" +msgstr "Crear máquina virtual" + +#: ../public/js/plugins/compute.js:502 +msgid "VM information" +msgstr "Información de MV" + +#: ../public/js/plugins/compute.js:506 +msgid "Virtual Machine information" +msgstr "Información de máquina virtual" + +#: ../public/js/plugins/compute.js:534 +msgid "Launch VNC session" +msgstr "Lanzar sesión VNC" + +#: ../public/js/plugins/compute.js:545 +msgid "Disks information" +msgstr "Información de discos" + +#: ../public/js/plugins/compute.js:563 +msgid "Target" +msgstr "Target" + +#: ../public/js/plugins/compute.js:574 ../public/js/plugins/compute.js:905 +msgid "No disks defined" +msgstr "No hay discos definidos" + +#: ../public/js/plugins/compute.js:588 +msgid "Networks information" +msgstr "Información de redes" + +#: ../public/js/plugins/compute.js:612 +msgid "MAC" +msgstr "MAC" + +#: ../public/js/plugins/compute.js:619 +msgid "No networks defined" +msgstr "No hay redes definidas" + +#: ../public/js/plugins/compute.js:633 +msgid "Monitoring information" +msgstr "Información de monitorización" + +#: ../public/js/plugins/compute.js:808 +#: ../../../../../sunstone/public/js/sunstone.js:660 +#: ../../../../../sunstone/public/js/sunstone.js:692 +msgid "OK" +msgstr "OK" + +#: ../public/js/plugins/compute.js:831 +msgid "Skipping VM " +msgstr "Saltando MV" + +#: ../public/js/plugins/compute.js:832 +msgid "No disk id or image name specified" +msgstr "No se ha especificado ID de disco o nombre de la imagen" + +#: ../public/js/plugins/compute.js:868 +msgid "Saveas for VM with ID" +msgstr "Instantánea a MV con ID" + +#: ../public/js/plugins/compute.js:871 +msgid "Select disk" +msgstr "Seleccione un disco" + +#: ../public/js/plugins/compute.js:873 +msgid "Retrieving" +msgstr "Cargando" + +#: ../public/js/plugins/compute.js:877 +msgid "Image name" +msgstr "Nombre de la imagen" + +#: ../public/js/plugins/compute.js:897 ../public/js/plugins/compute.js:900 +msgid "disk id" +msgstr "id del disco" + +#: ../public/js/plugins/compute.js:975 +msgid "VNC connection" +msgstr "Conexión VNC" + +#: ../public/js/plugins/compute.js:990 +msgid "Canvas not supported." +msgstr "Canvas no soportado" + +#: ../public/js/plugins/compute.js:1051 ../public/js/plugins/compute.js:1067 +msgid "Open VNC Session" +msgstr "Abrir sesión VNC" + +#: ../public/js/plugins/compute.js:1054 ../public/js/plugins/compute.js:1070 +msgid "VNC Disabled" +msgstr "VNC Desabilitado" + +#: ../public/js/plugins/configuration.js:23 +msgid "Self-Service UI Configuration" +msgstr "Configuración de la interfaz Self-Service" + +#: ../public/js/plugins/configuration.js:28 +msgid "Language" +msgstr "Lenguaje" + +#: ../public/js/plugins/configuration.js:31 +msgid "English" +msgstr "Inglés" + +#: ../public/js/plugins/configuration.js:32 +msgid "Spanish" +msgstr "Español" + +#: ../public/js/plugins/configuration.js:33 +msgid "French (FR)" +msgstr "" + +#: ../public/js/plugins/configuration.js:34 +msgid "French (CA)" +msgstr "" + +#: ../public/js/plugins/configuration.js:56 +msgid "Configuration" +msgstr "Configuración" + +#: ../../../../../sunstone/public/js/sunstone.js:586 +msgid "Previous action" +msgstr "Acción anterior" + +#: ../../../../../sunstone/public/js/sunstone.js:649 +#: ../../../../../sunstone/public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "Confirmar operación" + +#: ../../../../../sunstone/public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "Necesita confirmar esta acción" + +#: ../../../../../sunstone/public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "¿Desea continuar?" + +#: ../../../../../sunstone/public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "Debe seleccionar algo" + +#: ../../../../../sunstone/public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "Hecho" + +#: ../../../../../sunstone/public/js/sunstone-util.js:220 +msgid "Error" +msgstr "Error" + +#: ../../../../../sunstone/public/js/sunstone-util.js:226 +msgid "Info" +msgstr "Información" + +#: ../../../../../sunstone/public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "No se puede contactar con el servidor: ¿está funcionando y es alcanzable?" + +#: ../../../../../sunstone/public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "No se puede alcanzar la red: ¿está OpenNebula funcionando?" + +#: ../../../../../sunstone/public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "No autorizado" + +#: ../../../../../sunstone/public/js/sunstone-util.js:561 +#: ../../../../../sunstone/public/js/sunstone-util.js:772 +msgid "Please select" +msgstr "Por favor escoja" + +#: ../../../../../sunstone/public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "Actualizar plantilla" + +#: ../../../../../sunstone/public/js/sunstone-util.js:701 +msgid "Please, choose and modify the template you want to update" +msgstr "Por favor, escoja y modifique la plantilla que desea actualizar" + +#: ../../../../../sunstone/public/js/sunstone-util.js:703 +#: ../../../../../sunstone/public/js/sunstone-util.js:706 +msgid "Select a template" +msgstr "Seleccione una plantilla" + +#: ../../../../../sunstone/public/js/sunstone-util.js:711 +msgid "Update" +msgstr "Actualizar" + +#: ../public/customize/custom.js:18 +msgid "String" +msgstr "String" + +#: ../public/customize/custom.js:39 +msgid "Welcome to OpenNebula Self-Service" +msgstr "Bienvenid@ a OpenNebula Self-Service" + +#: ../public/customize/custom.js:41 +msgid "OpenNebula Self-Service is a simplified user interface to manage OpenNebula compute, storage and network resources. It is focused on easiness and usability and features a limited set of operations directed towards end-users." +msgstr "OpenNebula Self-Service es una interfaz de usuario simplificada para administrar máquinas virtuales, almacenamiento y red de OpenNebula. Está basada en la facilidad de uso y cuenta con un número limitado de operaciones dirigidas a los usuarios finales." + +#: ../public/customize/custom.js:42 +msgid "Additionally, OpenNebula Self-Service allows easy customization of the interface (e.g. this text) and brings multi-language support." +msgstr "Además, OpenNebula Self-Service permite una fácil personalización de la interfaz (por ejemplo, de este mismo texto) y viene con soporte para múltiples lenguajes." + +#: ../public/customize/custom.js:43 +msgid "Have a cloudy experience!" +msgstr "¡Nos vemos en las nubes!" + +#: ../public/customize/custom.js:66 +msgid "Compute resources are Virtual Machines attached to storage and network resources. OpenNebula Self-Service allows you to easily create, remove and manage them, including the possibility of pausing a Virtual Machine or taking a snapshot of one of their disks." +msgstr "Las máquinas virtuales están asociadas a recursos de almacenamiento y de red. OpenNebula Self-Service le permite crearlos, borrarlos y administrarlos fácilmente, incluyendo la posibilidad de pausar una máquina virtual o de tomar una instantánea de alguno de sus discos." + +#: ../public/customize/custom.js:70 +msgid "Storage pool is formed by several images. These images can contain from full operating systems to be used as base for compute resources, to simple data. OpenNebula Self-Service offers you the possibility to create or upload your own images." +msgstr "La lista de almacenamiento está formada por varias imágenes. Estas imágenes pueden contener desde sistemas operativos completos para ser usados como base en máquinas virtuales, hasta simples datos. OpenNebula Self-Service ofrece la posibilidad de crear o subir sus propias imágenes." + +#: ../public/customize/custom.js:74 +msgid "Your compute resources connectivity is performed using pre-defined virtual networks. You can create and manage these networks using OpenNebula Self-Service." +msgstr "La conectividad de sus máquinas virtuales se realiza usando redes virtuales pre-definidas. Puede crear y administrar estas redes usando OpenNebula Self-Service." + +#: ../public/customize/custom.js:81 +msgid "This is a list of your current compute resources. Virtual Machines use previously defined images and networks. You can easily create a new compute element by cliking 'new' and filling-in an easy wizard." +msgstr "Esta es una lista de sus máquinas virtuales actuales. Las máquinas virtuales utilizan imagenes y redes definidas previamente. Puede crear fácilmente una nueva máquina virtual haciendo click en 'New' y rellenado un sencillo formulario." + +#: ../public/customize/custom.js:82 +msgid "You can also manage compute resources and perform actions such as stop, resume, shutdown or cancel." +msgstr "También puede administrar las máquinas virtuales y realizar acciones como detener, reanudar, apagar o cancelar." + +#: ../public/customize/custom.js:83 +msgid "Additionally, you can take a 'snapshot' of the storage attached to these resources. They will be saved as new resources, visible from the Storage view and re-usable." +msgstr "Además, puede tomar una 'instantánea' de los almacenamientos asociado a estos recursos. Ésta será salvaguardada como un nuevo recurso, visible y reutilizable desde la vista de almacenamientos." + +#: ../public/customize/custom.js:84 ../public/customize/custom.js:94 +#: ../public/customize/custom.js:104 +msgid "There are currently" +msgstr "Actualmente hay" + +#: ../public/customize/custom.js:85 +msgid "virtual machines" +msgstr "máquinas virtuales" + +#: ../public/customize/custom.js:91 +msgid "The Storage view offers you an overview of your current images. Storage elements are attached to compute resources at creation time. They can also be extracted from running virtual machines by taking an snapshot." +msgstr "La vista de almacenamiento le ofrece la visión general de sus imágenes. Los elementos de almacenamiento se asocian a máquinas virtuales en el momento de la creación. También pueden ser extraídos de una máquina virtual en ejecución tomando una instantánea" + +#: ../public/customize/custom.js:92 +msgid "You can add new storages by clicking 'new'. Image files will be uploaded to OpenNebula and set ready to be used." +msgstr "Puede añadir nuevos almacenamientos haciendo click en 'new'. Los ficheros de imagen pueden ser subidos a OpenNebula y preparados para ser usado." + +#: ../public/customize/custom.js:93 +msgid "Additionally, you can run several operations on defined storages, such as defining their persistance. Persistent images can only be used by 1 virtual machine, and the changes made by it have effect on the base image. Non-persistent images are cloned before being used in a Virtual Machine, therefore changes are lost unless a snapshot is taken prior to Virtual Machine shutdown." +msgstr "Además, puede ejecutar varias operaciones en los almacenamientos presentes, como definir su persistencia. Las imágenes persistentes sólo pueden ser usadas por 1 máquina virtual, y los cambios realizados por ella tiene efecto en la imágen base. Las imágenes no persistentes son clonadas antes de ser utilizadas en una máquina virtual, por tanto los cambios se pierden a menos que se tome una instantánea antes de apagar la máquina virtual." + +#: ../public/customize/custom.js:95 +msgid "images" +msgstr "imágenes" + +#: ../public/customize/custom.js:101 +msgid "In this view you can easily manage OpenNebula Network resources. You can add or remove virtual networks." +msgstr "En esta vista puede gestionar fácilmente los recursos de red de OpenNebula. Puede añadir o borrar redes virtuales." + +#: ../public/customize/custom.js:102 +msgid "Compute resources can be attached to these networks at creation time. Virtual machines will be provided with an IP and the correct parameters to ensure connectivity." +msgstr "Las máquinas virtuales pueden asociarse a estas redes en el momento de su creación. Las máquinas virtuales serán provistas de una IP y de los parámetros correctos para asegurar conectividad." + +#: ../public/customize/custom.js:105 +msgid "networks" +msgstr "redes" + +#~ msgid "style" +#~ msgstr "estilo" diff --git a/src/cloud/occi/lib/ui/public/locale/es_ES/es_datatable.txt b/src/cloud/occi/lib/ui/locale/languages/es_datatable.txt similarity index 100% rename from src/cloud/occi/lib/ui/public/locale/es_ES/es_datatable.txt rename to src/cloud/occi/lib/ui/locale/languages/es_datatable.txt diff --git a/src/cloud/occi/lib/ui/locale/languages/fr_CA.po b/src/cloud/occi/lib/ui/locale/languages/fr_CA.po new file mode 100644 index 0000000000..042391322a --- /dev/null +++ b/src/cloud/occi/lib/ui/locale/languages/fr_CA.po @@ -0,0 +1,683 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 15:11+0200\n" +"PO-Revision-Date: 2012-05-21 15:32+0200\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: fr_CA\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/locale.js:34 +msgid "Changing language" +msgstr "Modification de la langue" + +#: ../public/js/locale.js:35 +msgid "Loading new language... please wait" +msgstr "Chargement d'une nouvelle langue... veuillez patienter" + +#: ../public/js/locale.js:53 ../public/customize/custom.js:51 +msgid "Documentation" +msgstr "Documentation" + +#: ../public/js/locale.js:54 ../public/customize/custom.js:54 +msgid "Support" +msgstr "Support" + +#: ../public/js/locale.js:55 ../public/customize/custom.js:57 +msgid "Community" +msgstr "Communauté" + +#: ../public/js/locale.js:56 +msgid "Welcome" +msgstr "Bienvenue" + +#: ../public/js/locale.js:57 +msgid "Sign out" +msgstr "Déconnecter" + +#: ../public/js/plugins/storage.js:26 ../public/js/plugins/network.js:26 +#: ../public/js/plugins/compute.js:63 +msgid "All" +msgstr "Tout " + +#: ../public/js/plugins/storage.js:27 ../public/js/plugins/storage.js:345 +#: ../public/js/plugins/network.js:27 ../public/js/plugins/network.js:278 +#: ../public/js/plugins/compute.js:64 ../public/js/plugins/compute.js:510 +#: ../public/js/plugins/compute.js:555 ../public/js/plugins/compute.js:600 +msgid "ID" +msgstr "ID" + +#: ../public/js/plugins/storage.js:28 ../public/js/plugins/storage.js:45 +#: ../public/js/plugins/storage.js:349 ../public/js/plugins/network.js:28 +#: ../public/js/plugins/network.js:41 ../public/js/plugins/network.js:282 +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:514 +#: ../public/js/plugins/compute.js:559 ../public/js/plugins/compute.js:604 +msgid "Name" +msgstr "Nom" + +#: ../public/js/plugins/storage.js:41 +msgid "Fields marked with" +msgstr "Champs marqués par" + +#: ../public/js/plugins/storage.js:42 +msgid "are mandatory" +msgstr "sont obligatoire" + +#: ../public/js/plugins/storage.js:47 +msgid "Name that the Image will get." +msgstr "Nom que l'Image va avoir." + +#: ../public/js/plugins/storage.js:50 ../public/js/plugins/storage.js:353 +msgid "Description" +msgstr "Description" + +#: ../public/js/plugins/storage.js:52 +msgid "Human readable description of the image." +msgstr "Description humainement lisible de l'image." + +#: ../public/js/plugins/storage.js:57 ../public/js/plugins/storage.js:357 +#: ../public/js/plugins/compute.js:567 +msgid "Type" +msgstr "Type" + +#: ../public/js/plugins/storage.js:59 +msgid "OS" +msgstr "OS" + +#: ../public/js/plugins/storage.js:60 +msgid "CD-ROM" +msgstr "CD-ROM" + +#: ../public/js/plugins/storage.js:61 +msgid "Datablock" +msgstr "Block de données" + +#: ../public/js/plugins/storage.js:63 +msgid "Type of the image" +msgstr "Type de l'image" + +#: ../public/js/plugins/storage.js:66 ../public/js/plugins/network.js:297 +msgid "Size" +msgstr "Taille" + +#: ../public/js/plugins/storage.js:68 +msgid "Size of the datablock in MB." +msgstr "Taille du bloc de données en MB." + +#: ../public/js/plugins/storage.js:71 +msgid "FS type" +msgstr "Type de FS" + +#: ../public/js/plugins/storage.js:73 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "Type de système de fichier à créer. Ce peut être n'importe quelle valeur comprise par la commande unix mkfs." + +#: ../public/js/plugins/storage.js:76 +msgid "Select image to upload" +msgstr "Sélectionner une image à téléverser" + +#: ../public/js/plugins/storage.js:83 +msgid "Public" +msgstr "Publique" + +#: ../public/js/plugins/storage.js:85 +msgid "Public scope of the image" +msgstr "Visibilité publique de l'image" + +#: ../public/js/plugins/storage.js:88 ../public/js/plugins/storage.js:361 +msgid "Persistent" +msgstr "Persistant" + +#: ../public/js/plugins/storage.js:90 +msgid "Persistence of the image" +msgstr "Persistance de l'image" + +#: ../public/js/plugins/storage.js:95 ../public/js/plugins/network.js:56 +#: ../public/js/plugins/compute.js:103 +msgid "Close" +msgstr "Fermer" + +#: ../public/js/plugins/storage.js:96 ../public/js/plugins/network.js:57 +#: ../public/js/plugins/compute.js:104 +msgid "Create" +msgstr "Créer" + +#: ../public/js/plugins/storage.js:214 ../public/js/plugins/network.js:158 +#: ../public/js/plugins/compute.js:305 +msgid "Refresh list" +msgstr "Rafraîchir la liste" + +#: ../public/js/plugins/storage.js:219 ../public/js/plugins/network.js:164 +#: ../public/js/plugins/compute.js:311 +msgid "+ New" +msgstr "+ Nouveau" + +#: ../public/js/plugins/storage.js:223 +msgid "Make persistent" +msgstr "Rendre persistant" + +#: ../public/js/plugins/storage.js:227 +msgid "Make non persistent" +msgstr "Rendre non-persistant" + +#: ../public/js/plugins/storage.js:234 ../public/js/plugins/network.js:169 +msgid "Publish" +msgstr "Publier" + +#: ../public/js/plugins/storage.js:238 ../public/js/plugins/network.js:174 +msgid "Unpublish" +msgstr "Retirer" + +#: ../public/js/plugins/storage.js:244 ../public/js/plugins/network.js:179 +#: ../public/js/plugins/compute.js:353 +msgid "Delete" +msgstr "Supprimer" + +#: ../public/js/plugins/storage.js:250 ../public/js/plugins/storage.js:337 +msgid "Image information" +msgstr "Information de l'image" + +#: ../public/js/plugins/storage.js:258 +msgid "Add storage" +msgstr "Ajouter des images" + +#: ../public/js/plugins/storage.js:264 ../public/js/plugins/dashboard.js:46 +#: ../public/customize/custom.js:68 +msgid "Storage" +msgstr "Stockage" + +#: ../public/js/plugins/storage.js:341 +msgid "Image" +msgstr "Image" + +#: ../public/js/plugins/storage.js:342 ../public/js/plugins/network.js:275 +msgid "information" +msgstr "information" + +#: ../public/js/plugins/storage.js:365 +msgid "Filesystem type" +msgstr "Type de système de fichiers" + +#: ../public/js/plugins/storage.js:369 +msgid "Size (Mb)" +msgstr "Taille (Mb)" + +#: ../public/js/plugins/storage.js:503 +msgid "You must specify a name" +msgstr "Vous devez spécifier un nom" + +#: ../public/js/plugins/storage.js:521 +msgid "You must specify size and FS type" +msgstr "Vous devez spécifier une taille et un type de Système de Fichiers" + +#: ../public/js/plugins/storage.js:528 +msgid "You must select a file to upload" +msgstr "Vous devez sélectionner un fichier à téléverser" + +#: ../public/js/plugins/network.js:47 +msgid "Network Address" +msgstr "Adresse réseau" + +#: ../public/js/plugins/network.js:49 +msgid "Network Size" +msgstr "Taille du réseau" + +#: ../public/js/plugins/network.js:185 +msgid "Network information" +msgstr "Information réseau" + +#: ../public/js/plugins/network.js:193 +msgid "Create network" +msgstr "Créer le réseau" + +#: ../public/js/plugins/network.js:199 ../public/js/plugins/compute.js:91 +#: ../public/js/plugins/compute.js:368 ../public/js/plugins/compute.js:627 +msgid "Networks" +msgstr "Réseaux" + +#: ../public/js/plugins/network.js:274 +msgid "Virtual Network" +msgstr "Réseau Virtuel" + +#: ../public/js/plugins/network.js:286 +msgid "Used leases" +msgstr "Baux utilisés" + +#: ../public/js/plugins/network.js:293 +msgid "Address" +msgstr "Adresse " + +#: ../public/js/plugins/network.js:307 +msgid "Virtual Network information" +msgstr "Informations sur le Réseau Virtuel" + +#: ../public/js/plugins/network.js:353 +msgid "Virtual Network name missing!" +msgstr "Le nom du Réseau Virtuel est manquant!" + +#: ../public/js/plugins/network.js:365 +msgid "Please provide a network address" +msgstr "Veuillez renseigner une adresse réseau" + +#: ../public/js/plugins/dashboard.js:37 +msgid "Current resources" +msgstr "Ressources actuelles" + +#: ../public/js/plugins/dashboard.js:42 ../public/js/plugins/compute.js:381 +#: ../public/customize/custom.js:64 +msgid "Compute" +msgstr "Machines virtuelles" + +#: ../public/js/plugins/dashboard.js:50 ../public/customize/custom.js:72 +msgid "Network" +msgstr "Réseau" + +#: ../public/js/plugins/dashboard.js:62 +msgid "Useful links" +msgstr "Liens utiles" + +#: ../public/js/plugins/dashboard.js:81 +msgid "Create new compute resource" +msgstr "Créer une nouvelle ressource de calcul" + +#: ../public/js/plugins/dashboard.js:82 ../public/js/plugins/dashboard.js:96 +#: ../public/js/plugins/dashboard.js:110 +msgid "See more" +msgstr "Voir plus" + +#: ../public/js/plugins/dashboard.js:95 +msgid "Create new storage resource" +msgstr "Créer une nouvelle ressource de stockage" + +#: ../public/js/plugins/dashboard.js:109 +msgid "Create new network resource" +msgstr "Créer une nouvelle ressource réseau" + +#: ../public/js/plugins/dashboard.js:120 +msgid "Dashboard" +msgstr "Tableau de bord" + +#: ../public/js/plugins/compute.js:32 ../public/js/plugins/compute.js:526 +msgid "CPU" +msgstr "CPU" + +#: ../public/js/plugins/compute.js:37 ../public/js/plugins/compute.js:530 +msgid "Memory" +msgstr "Mémoire" + +#: ../public/js/plugins/compute.js:42 +msgid "Network transmission" +msgstr "Transmission réseau" + +#: ../public/js/plugins/compute.js:47 +msgid "Network reception" +msgstr "Réception réseau" + +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:522 +msgid "State" +msgstr "État" + +#: ../public/js/plugins/compute.js:66 ../public/js/plugins/compute.js:608 +msgid "IP" +msgstr "IP" + +#: ../public/js/plugins/compute.js:76 +msgid "VM Name" +msgstr "Nom MV" + +#: ../public/js/plugins/compute.js:80 ../public/js/plugins/compute.js:518 +msgid "Instance type" +msgstr "Type d'instance" + +#: ../public/js/plugins/compute.js:82 ../public/js/plugins/compute.js:982 +msgid "Loading" +msgstr "Chargement" + +#: ../public/js/plugins/compute.js:86 +msgid "Images" +msgstr "Images" + +#: ../public/js/plugins/compute.js:97 +msgid "Create # VMs" +msgstr "Créer # MVs" + +#: ../public/js/plugins/compute.js:99 +#, fuzzy +msgid "You can use the wildcard %. When creating several VMs, % will be replaced with a different number starting from 0 in each of them" +msgstr "Vous pouvez utiliser le joker %i. Lors de la création de plusieurs MVs, %i sera remplacé par un nombre commençant à 0 dans chaqu'une d'entre elles." + +#: ../public/js/plugins/compute.js:317 +msgid "Shutdown" +msgstr "Éteindre" + +#: ../public/js/plugins/compute.js:318 +msgid "This will shutdown the selected VMs" +msgstr "Ceci va éteindre les MVs sélectionnées" + +#: ../public/js/plugins/compute.js:326 +msgid "Suspend" +msgstr "Suspendre" + +#: ../public/js/plugins/compute.js:327 +msgid "This will suspend the selected VMs" +msgstr "Ceci va mettre en pause les MVs sélectionnées" + +#: ../public/js/plugins/compute.js:331 +msgid "Resume" +msgstr "Reprendre" + +#: ../public/js/plugins/compute.js:332 +msgid "This will resume the selected VMs in stopped or suspended states" +msgstr "Ceci va reprendre les MVs sélectionnées qui sont stoppées ou en pause" + +#: ../public/js/plugins/compute.js:336 +msgid "Stop" +msgstr "Arrêter" + +#: ../public/js/plugins/compute.js:341 ../public/js/plugins/compute.js:809 +#: ../../../../../sunstone/public/js/sunstone.js:661 +#: ../../../../../sunstone/public/js/sunstone.js:693 +msgid "Cancel" +msgstr "Annuler" + +#: ../public/js/plugins/compute.js:342 +msgid "This will cancel selected VMs" +msgstr "Ceci va annuler les MVs sélectionnées" + +#: ../public/js/plugins/compute.js:346 ../public/js/plugins/compute.js:798 +msgid "Take snapshot" +msgstr "Prendre un instantané" + +#: ../public/js/plugins/compute.js:354 +msgid "This will delete the selected VMs from the database" +msgstr "Ceci va supprimer les MVs sélectionnées de la base de données" + +#: ../public/js/plugins/compute.js:360 +msgid "Compute resource" +msgstr "Ressource de calcul" + +#: ../public/js/plugins/compute.js:364 ../public/js/plugins/compute.js:582 +msgid "Disks" +msgstr "Disques" + +#: ../public/js/plugins/compute.js:375 +msgid "Create Virtual Machine" +msgstr "Créer une machine virtuelle" + +#: ../public/js/plugins/compute.js:502 +msgid "VM information" +msgstr "Information MV" + +#: ../public/js/plugins/compute.js:506 +msgid "Virtual Machine information" +msgstr "Informations sur la machine virtuelle" + +#: ../public/js/plugins/compute.js:534 +msgid "Launch VNC session" +msgstr "Exécuter une session VNC" + +#: ../public/js/plugins/compute.js:545 +msgid "Disks information" +msgstr "Informations des disques" + +#: ../public/js/plugins/compute.js:563 +msgid "Target" +msgstr "Cible" + +#: ../public/js/plugins/compute.js:574 ../public/js/plugins/compute.js:905 +msgid "No disks defined" +msgstr "Aucun disque défini" + +#: ../public/js/plugins/compute.js:588 +msgid "Networks information" +msgstr "Informations réseaux" + +#: ../public/js/plugins/compute.js:612 +msgid "MAC" +msgstr "MAC" + +#: ../public/js/plugins/compute.js:619 +msgid "No networks defined" +msgstr "Aucun réseau défini" + +#: ../public/js/plugins/compute.js:633 +msgid "Monitoring information" +msgstr "Information de surveillance" + +#: ../public/js/plugins/compute.js:808 +#: ../../../../../sunstone/public/js/sunstone.js:660 +#: ../../../../../sunstone/public/js/sunstone.js:692 +msgid "OK" +msgstr "OK" + +#: ../public/js/plugins/compute.js:831 +msgid "Skipping VM " +msgstr "Passer la MV" + +#: ../public/js/plugins/compute.js:832 +msgid "No disk id or image name specified" +msgstr "Aucun identifiant de disque ou nom d'image" + +#: ../public/js/plugins/compute.js:868 +msgid "Saveas for VM with ID" +msgstr "Sauvegarder sous pour une MV avec ID" + +#: ../public/js/plugins/compute.js:871 +msgid "Select disk" +msgstr "Sélectionner un disque" + +#: ../public/js/plugins/compute.js:873 +msgid "Retrieving" +msgstr "Récupération" + +#: ../public/js/plugins/compute.js:877 +msgid "Image name" +msgstr "Nom de l'image" + +#: ../public/js/plugins/compute.js:897 ../public/js/plugins/compute.js:900 +msgid "disk id" +msgstr "identifiant disque" + +#: ../public/js/plugins/compute.js:975 +msgid "VNC connection" +msgstr "Connexion VNC" + +#: ../public/js/plugins/compute.js:990 +msgid "Canvas not supported." +msgstr "Modèle non supporté." + +#: ../public/js/plugins/compute.js:1051 ../public/js/plugins/compute.js:1067 +msgid "Open VNC Session" +msgstr "Ouvrir une session VNC" + +#: ../public/js/plugins/compute.js:1054 ../public/js/plugins/compute.js:1070 +msgid "VNC Disabled" +msgstr "VNC désactivé" + +#: ../public/js/plugins/configuration.js:23 +msgid "Self-Service UI Configuration" +msgstr "Configuration de l'interface utilisateur du Libre-Service" + +#: ../public/js/plugins/configuration.js:28 +msgid "Language" +msgstr "Langue" + +#: ../public/js/plugins/configuration.js:31 +msgid "English" +msgstr "Anglais" + +#: ../public/js/plugins/configuration.js:32 +msgid "Spanish" +msgstr "Espagnol" + +#: ../public/js/plugins/configuration.js:33 +#, fuzzy +msgid "French (FR)" +msgstr "Français" + +#: ../public/js/plugins/configuration.js:34 +#, fuzzy +msgid "French (CA)" +msgstr "Quebecois" + +#: ../public/js/plugins/configuration.js:56 +msgid "Configuration" +msgstr "Configuration" + +#: ../../../../../sunstone/public/js/sunstone.js:586 +msgid "Previous action" +msgstr "Action précédente" + +#: ../../../../../sunstone/public/js/sunstone.js:649 +#: ../../../../../sunstone/public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "Confirmation de l'action" + +#: ../../../../../sunstone/public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "Vous devez confirmer cette action." + +#: ../../../../../sunstone/public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "Souhaitez-vous continuer ?" + +#: ../../../../../sunstone/public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "Vous devez sélectionner quelque chose." + +#: ../../../../../sunstone/public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "Soumis" + +#: ../../../../../sunstone/public/js/sunstone-util.js:220 +msgid "Error" +msgstr "Erreur" + +#: ../../../../../sunstone/public/js/sunstone-util.js:226 +msgid "Info" +msgstr "Info." + +#: ../../../../../sunstone/public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "Impossible de contacter le serveur: est-il en cours d'exécution et accessible ?" + +#: ../../../../../sunstone/public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "Le réseau est injoignable: est-ce qu'OpenNebula tourne ?" + +#: ../../../../../sunstone/public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "Non autorisé" + +#: ../../../../../sunstone/public/js/sunstone-util.js:561 +#: ../../../../../sunstone/public/js/sunstone-util.js:772 +msgid "Please select" +msgstr "Veuillez sélectionner" + +#: ../../../../../sunstone/public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "Mettre à jour le modèle" + +#: ../../../../../sunstone/public/js/sunstone-util.js:701 +msgid "Please, choose and modify the template you want to update" +msgstr "Veuillez choisir et modifier le modèle que vous souhaitez mettre à jour" + +#: ../../../../../sunstone/public/js/sunstone-util.js:703 +#: ../../../../../sunstone/public/js/sunstone-util.js:706 +msgid "Select a template" +msgstr "Sélectionner un modèle" + +#: ../../../../../sunstone/public/js/sunstone-util.js:711 +msgid "Update" +msgstr "Mettre à jour" + +#: ../public/customize/custom.js:18 +msgid "String" +msgstr "Chaîne" + +#: ../public/customize/custom.js:39 +msgid "Welcome to OpenNebula Self-Service" +msgstr "Bienvenue au Libre-Service OpenNebula" + +#: ../public/customize/custom.js:41 +msgid "OpenNebula Self-Service is a simplified user interface to manage OpenNebula compute, storage and network resources. It is focused on easiness and usability and features a limited set of operations directed towards end-users." +msgstr "OpenNebula Libre-Service est une interface utilisateur simplifiée pour gérer les ressources de calcul, stockage et réseau OpenNebula. Il est axé sur la facilité et la convivialité d'un nombre limité d'opérations destinées aux utilisateurs finaux." + +#: ../public/customize/custom.js:42 +msgid "Additionally, OpenNebula Self-Service allows easy customization of the interface (e.g. this text) and brings multi-language support." +msgstr "Aditionnellement, OpenNebula Libre-Service permet une personalisation aisée de l'interface (ex.: ce texte) et apporte un support multilingue." + +#: ../public/customize/custom.js:43 +msgid "Have a cloudy experience!" +msgstr "Ayez une expérience dans le Nuage!" + +#: ../public/customize/custom.js:66 +msgid "Compute resources are Virtual Machines attached to storage and network resources. OpenNebula Self-Service allows you to easily create, remove and manage them, including the possibility of pausing a Virtual Machine or taking a snapshot of one of their disks." +msgstr "Les ressources de calculs sont des machines virtuelles attachées aux ressources de stockage et de réseau. OpenNebula Libre-Service vous permet d'aiséement les créer, supprimer et gérer, incluant la possibilité de mettre en pause une machine virtuelle ou de prendre un instantané d'un de leur disques." + +#: ../public/customize/custom.js:70 +msgid "Storage pool is formed by several images. These images can contain from full operating systems to be used as base for compute resources, to simple data. OpenNebula Self-Service offers you the possibility to create or upload your own images." +msgstr "Le dépot de stockage est formé par plusieurs images. Ces images peuvent contenir du système d'exploitation complet pour être utilisé comme base pour les ressources de calculs, à de simple données. Open-Nebula Libre-Service vous offre la possibilité de créer ou de téléverser vos propres images." + +#: ../public/customize/custom.js:74 +msgid "Your compute resources connectivity is performed using pre-defined virtual networks. You can create and manage these networks using OpenNebula Self-Service." +msgstr "Votre connectivité de ressources de calculs est effectuée des réseaux virtuels pré-définis. Vous pouvez créer et gérer ces réseaux en utilisant OpenNebula Libre-Service" + +#: ../public/customize/custom.js:81 +msgid "This is a list of your current compute resources. Virtual Machines use previously defined images and networks. You can easily create a new compute element by cliking 'new' and filling-in an easy wizard." +msgstr "Ceci est une liste de vos ressources de calculs actuelles. Les machines virtuelles utilisent des images et réseaux prédéfinis. Vous pouvez facilement créer un nouvel élément de calcul en cliquant sur 'Nouveau' et en remplissant un assistant." + +#: ../public/customize/custom.js:82 +msgid "You can also manage compute resources and perform actions such as stop, resume, shutdown or cancel." +msgstr "Vous pouvez aussi gérer les ressources de calculs et exécuter des actions telles qu'arrêter, reprendre, éteindre ou annuler." + +#: ../public/customize/custom.js:83 +msgid "Additionally, you can take a 'snapshot' of the storage attached to these resources. They will be saved as new resources, visible from the Storage view and re-usable." +msgstr "De plus, vous pouvez prendre un 'instantané' d'une image raccordée à ces ressources. Elles seront sauvegardées en tant que nouvelles ressources, visibles depuis la vue 'Images' et réutilisables." + +#: ../public/customize/custom.js:84 ../public/customize/custom.js:94 +#: ../public/customize/custom.js:104 +msgid "There are currently" +msgstr "Il y a présentement" + +#: ../public/customize/custom.js:85 +msgid "virtual machines" +msgstr "machines virtuelles" + +#: ../public/customize/custom.js:91 +msgid "The Storage view offers you an overview of your current images. Storage elements are attached to compute resources at creation time. They can also be extracted from running virtual machines by taking an snapshot." +msgstr "La vue de stockage vous offre un aperçu de vos images actuelles. Les éléments de stockage sont attachés aux ressources de calculs lors de la création. Ils peuvent également être extrait d'une machine virtuelle en cours d'exécution en prenant un instantané." + +#: ../public/customize/custom.js:92 +msgid "You can add new storages by clicking 'new'. Image files will be uploaded to OpenNebula and set ready to be used." +msgstr "Vous pouvez ajouter de nouveaux stockages en cliquant sur 'Nouveau'. Les fichiers image seront téléversés à OpenNebula et prêts à être utilisés." + +#: ../public/customize/custom.js:93 +msgid "Additionally, you can run several operations on defined storages, such as defining their persistance. Persistent images can only be used by 1 virtual machine, and the changes made by it have effect on the base image. Non-persistent images are cloned before being used in a Virtual Machine, therefore changes are lost unless a snapshot is taken prior to Virtual Machine shutdown." +msgstr "En outre, vous pouvez exécuter plusieurs opérations sur une image définie, tel que définir leur persistance. Les images persistantes peuvent seulement être utilisées par une machine virtuelle et les changements effectués auront un effet sur l'image de base. Les images non-persistantes sont clonées avant d'être utilisées dans une machine virtuelle, mais les changements sont perdus en moins qu'un instantané soit pris avant l'extinction de la machine virtuelle." + +#: ../public/customize/custom.js:95 +msgid "images" +msgstr "images" + +#: ../public/customize/custom.js:101 +msgid "In this view you can easily manage OpenNebula Network resources. You can add or remove virtual networks." +msgstr "Dans cette vue vous pouvez aisément gérer les ressources Réseau d'OpenNebula. Vous pouvez ajouter ou supprimer des réseaux virtuels." + +#: ../public/customize/custom.js:102 +msgid "Compute resources can be attached to these networks at creation time. Virtual machines will be provided with an IP and the correct parameters to ensure connectivity." +msgstr "Les ressources de calculs peuvent être rattachées à ces réseaux lors de la création. Une adresse IP ainsi que les paramètres corrects afin d'assurer une connectivité seront fournis aux machines virtuelles." + +#: ../public/customize/custom.js:105 +msgid "networks" +msgstr "réseaux" + +#~ msgid "style" +#~ msgstr "style" + +#~ msgid "French Canadian" +#~ msgstr "Québécois" diff --git a/src/cloud/occi/lib/ui/locale/languages/fr_FR.po b/src/cloud/occi/lib/ui/locale/languages/fr_FR.po new file mode 100644 index 0000000000..8a8513d59b --- /dev/null +++ b/src/cloud/occi/lib/ui/locale/languages/fr_FR.po @@ -0,0 +1,683 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 15:11+0200\n" +"PO-Revision-Date: 2012-05-21 15:33+0200\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/locale.js:34 +msgid "Changing language" +msgstr "Modification de la langue" + +#: ../public/js/locale.js:35 +msgid "Loading new language... please wait" +msgstr "Chargement d'une nouvelle langue... veuillez patienter" + +#: ../public/js/locale.js:53 ../public/customize/custom.js:51 +msgid "Documentation" +msgstr "Documentation" + +#: ../public/js/locale.js:54 ../public/customize/custom.js:54 +msgid "Support" +msgstr "Support" + +#: ../public/js/locale.js:55 ../public/customize/custom.js:57 +msgid "Community" +msgstr "Communauté" + +#: ../public/js/locale.js:56 +msgid "Welcome" +msgstr "Bienvenue" + +#: ../public/js/locale.js:57 +msgid "Sign out" +msgstr "Déconnecter" + +#: ../public/js/plugins/storage.js:26 ../public/js/plugins/network.js:26 +#: ../public/js/plugins/compute.js:63 +msgid "All" +msgstr "Tout " + +#: ../public/js/plugins/storage.js:27 ../public/js/plugins/storage.js:345 +#: ../public/js/plugins/network.js:27 ../public/js/plugins/network.js:278 +#: ../public/js/plugins/compute.js:64 ../public/js/plugins/compute.js:510 +#: ../public/js/plugins/compute.js:555 ../public/js/plugins/compute.js:600 +msgid "ID" +msgstr "ID" + +#: ../public/js/plugins/storage.js:28 ../public/js/plugins/storage.js:45 +#: ../public/js/plugins/storage.js:349 ../public/js/plugins/network.js:28 +#: ../public/js/plugins/network.js:41 ../public/js/plugins/network.js:282 +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:514 +#: ../public/js/plugins/compute.js:559 ../public/js/plugins/compute.js:604 +msgid "Name" +msgstr "Nom" + +#: ../public/js/plugins/storage.js:41 +msgid "Fields marked with" +msgstr "Champs marqués par" + +#: ../public/js/plugins/storage.js:42 +msgid "are mandatory" +msgstr "sont obligatoire" + +#: ../public/js/plugins/storage.js:47 +msgid "Name that the Image will get." +msgstr "Nom que l'Image va avoir." + +#: ../public/js/plugins/storage.js:50 ../public/js/plugins/storage.js:353 +msgid "Description" +msgstr "Description" + +#: ../public/js/plugins/storage.js:52 +msgid "Human readable description of the image." +msgstr "Description humainement lisible de l'image." + +#: ../public/js/plugins/storage.js:57 ../public/js/plugins/storage.js:357 +#: ../public/js/plugins/compute.js:567 +msgid "Type" +msgstr "Type" + +#: ../public/js/plugins/storage.js:59 +msgid "OS" +msgstr "OS" + +#: ../public/js/plugins/storage.js:60 +msgid "CD-ROM" +msgstr "CD-ROM" + +#: ../public/js/plugins/storage.js:61 +msgid "Datablock" +msgstr "Block de données" + +#: ../public/js/plugins/storage.js:63 +msgid "Type of the image" +msgstr "Type de l'image" + +#: ../public/js/plugins/storage.js:66 ../public/js/plugins/network.js:297 +msgid "Size" +msgstr "Taille" + +#: ../public/js/plugins/storage.js:68 +msgid "Size of the datablock in MB." +msgstr "Taille du bloc de données en Mo." + +#: ../public/js/plugins/storage.js:71 +msgid "FS type" +msgstr "Type de FS" + +#: ../public/js/plugins/storage.js:73 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "Type de système de fichier à créer. Ce peut être n'importe quelle valeur comprise par la commande unix mkfs." + +#: ../public/js/plugins/storage.js:76 +msgid "Select image to upload" +msgstr "Sélectionner une image à envoyer" + +#: ../public/js/plugins/storage.js:83 +msgid "Public" +msgstr "Publique" + +#: ../public/js/plugins/storage.js:85 +msgid "Public scope of the image" +msgstr "Visibilité publique de l'image" + +#: ../public/js/plugins/storage.js:88 ../public/js/plugins/storage.js:361 +msgid "Persistent" +msgstr "Persistant" + +#: ../public/js/plugins/storage.js:90 +msgid "Persistence of the image" +msgstr "Persistance de l'image" + +#: ../public/js/plugins/storage.js:95 ../public/js/plugins/network.js:56 +#: ../public/js/plugins/compute.js:103 +msgid "Close" +msgstr "Fermer" + +#: ../public/js/plugins/storage.js:96 ../public/js/plugins/network.js:57 +#: ../public/js/plugins/compute.js:104 +msgid "Create" +msgstr "Créer" + +#: ../public/js/plugins/storage.js:214 ../public/js/plugins/network.js:158 +#: ../public/js/plugins/compute.js:305 +msgid "Refresh list" +msgstr "Rafraîchir la liste" + +#: ../public/js/plugins/storage.js:219 ../public/js/plugins/network.js:164 +#: ../public/js/plugins/compute.js:311 +msgid "+ New" +msgstr "+ Nouveau" + +#: ../public/js/plugins/storage.js:223 +msgid "Make persistent" +msgstr "Rendre persistant" + +#: ../public/js/plugins/storage.js:227 +msgid "Make non persistent" +msgstr "Rendre non-persistant" + +#: ../public/js/plugins/storage.js:234 ../public/js/plugins/network.js:169 +msgid "Publish" +msgstr "Publier" + +#: ../public/js/plugins/storage.js:238 ../public/js/plugins/network.js:174 +msgid "Unpublish" +msgstr "Retirer" + +#: ../public/js/plugins/storage.js:244 ../public/js/plugins/network.js:179 +#: ../public/js/plugins/compute.js:353 +msgid "Delete" +msgstr "Supprimer" + +#: ../public/js/plugins/storage.js:250 ../public/js/plugins/storage.js:337 +msgid "Image information" +msgstr "Information de l'image" + +#: ../public/js/plugins/storage.js:258 +msgid "Add storage" +msgstr "Ajouter du stockage " + +#: ../public/js/plugins/storage.js:264 ../public/js/plugins/dashboard.js:46 +#: ../public/customize/custom.js:68 +msgid "Storage" +msgstr "Disques" + +#: ../public/js/plugins/storage.js:341 +msgid "Image" +msgstr "Image" + +#: ../public/js/plugins/storage.js:342 ../public/js/plugins/network.js:275 +msgid "information" +msgstr "information" + +#: ../public/js/plugins/storage.js:365 +msgid "Filesystem type" +msgstr "Type de système de fichiers" + +#: ../public/js/plugins/storage.js:369 +msgid "Size (Mb)" +msgstr "Taille (Mb)" + +#: ../public/js/plugins/storage.js:503 +msgid "You must specify a name" +msgstr "Vous devez spécifier un nom" + +#: ../public/js/plugins/storage.js:521 +msgid "You must specify size and FS type" +msgstr "Vous devez spécifier une taille et un type de FS" + +#: ../public/js/plugins/storage.js:528 +msgid "You must select a file to upload" +msgstr "Vous devez sélectionner un fichier à envoyer" + +#: ../public/js/plugins/network.js:47 +msgid "Network Address" +msgstr "Adresse réseau" + +#: ../public/js/plugins/network.js:49 +msgid "Network Size" +msgstr "Taille du réseau" + +#: ../public/js/plugins/network.js:185 +msgid "Network information" +msgstr "Information réseau" + +#: ../public/js/plugins/network.js:193 +msgid "Create network" +msgstr "Créer le réseau" + +#: ../public/js/plugins/network.js:199 ../public/js/plugins/compute.js:91 +#: ../public/js/plugins/compute.js:368 ../public/js/plugins/compute.js:627 +msgid "Networks" +msgstr "Réseaux" + +#: ../public/js/plugins/network.js:274 +msgid "Virtual Network" +msgstr "Réseau Virtuel" + +#: ../public/js/plugins/network.js:286 +msgid "Used leases" +msgstr "IP utilisées" + +#: ../public/js/plugins/network.js:293 +msgid "Address" +msgstr "Adresse IP" + +#: ../public/js/plugins/network.js:307 +msgid "Virtual Network information" +msgstr "Informations sur le Réseau Virtuel" + +#: ../public/js/plugins/network.js:353 +msgid "Virtual Network name missing!" +msgstr "Le nom du Réseau Virtuel est manquant !" + +#: ../public/js/plugins/network.js:365 +msgid "Please provide a network address" +msgstr "Veuillez renseigner une adresse réseau" + +#: ../public/js/plugins/dashboard.js:37 +msgid "Current resources" +msgstr "Ressources actuelles" + +#: ../public/js/plugins/dashboard.js:42 ../public/js/plugins/compute.js:381 +#: ../public/customize/custom.js:64 +msgid "Compute" +msgstr "Machines virtuelles" + +#: ../public/js/plugins/dashboard.js:50 ../public/customize/custom.js:72 +msgid "Network" +msgstr "Réseau" + +#: ../public/js/plugins/dashboard.js:62 +msgid "Useful links" +msgstr "Liens utiles" + +#: ../public/js/plugins/dashboard.js:81 +msgid "Create new compute resource" +msgstr "Créer une nouvelle machine virtuelle" + +#: ../public/js/plugins/dashboard.js:82 ../public/js/plugins/dashboard.js:96 +#: ../public/js/plugins/dashboard.js:110 +msgid "See more" +msgstr "Voir plus" + +#: ../public/js/plugins/dashboard.js:95 +msgid "Create new storage resource" +msgstr "Créer une nouvelle image" + +#: ../public/js/plugins/dashboard.js:109 +msgid "Create new network resource" +msgstr "Créer un nouveau réseau" + +#: ../public/js/plugins/dashboard.js:120 +msgid "Dashboard" +msgstr "Tableau de bord" + +#: ../public/js/plugins/compute.js:32 ../public/js/plugins/compute.js:526 +msgid "CPU" +msgstr "CPU" + +#: ../public/js/plugins/compute.js:37 ../public/js/plugins/compute.js:530 +msgid "Memory" +msgstr "Mémoire" + +#: ../public/js/plugins/compute.js:42 +msgid "Network transmission" +msgstr "Transmission réseau" + +#: ../public/js/plugins/compute.js:47 +msgid "Network reception" +msgstr "Réception réseau" + +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:522 +msgid "State" +msgstr "État" + +#: ../public/js/plugins/compute.js:66 ../public/js/plugins/compute.js:608 +msgid "IP" +msgstr "IP" + +#: ../public/js/plugins/compute.js:76 +msgid "VM Name" +msgstr "Nom VM" + +#: ../public/js/plugins/compute.js:80 ../public/js/plugins/compute.js:518 +msgid "Instance type" +msgstr "Type d'instance" + +#: ../public/js/plugins/compute.js:82 ../public/js/plugins/compute.js:982 +msgid "Loading" +msgstr "Chargement" + +#: ../public/js/plugins/compute.js:86 +msgid "Images" +msgstr "Images" + +#: ../public/js/plugins/compute.js:97 +msgid "Create # VMs" +msgstr "Créer # VMs" + +#: ../public/js/plugins/compute.js:99 +#, fuzzy +msgid "You can use the wildcard %. When creating several VMs, % will be replaced with a different number starting from 0 in each of them" +msgstr "Vous pouvez utiliser le joker %i. Lors de la création de plusieurs VMs, %i sera remplacé par un nombre commençant à 0 dans chaqu'une d'entre elles." + +#: ../public/js/plugins/compute.js:317 +msgid "Shutdown" +msgstr "Éteindre" + +#: ../public/js/plugins/compute.js:318 +msgid "This will shutdown the selected VMs" +msgstr "Ceci va éteindre les VMs sélectionnées" + +#: ../public/js/plugins/compute.js:326 +msgid "Suspend" +msgstr "Suspendre" + +#: ../public/js/plugins/compute.js:327 +msgid "This will suspend the selected VMs" +msgstr "Ceci va mettre en pause les VMs sélectionnées" + +#: ../public/js/plugins/compute.js:331 +msgid "Resume" +msgstr "Reprendre" + +#: ../public/js/plugins/compute.js:332 +msgid "This will resume the selected VMs in stopped or suspended states" +msgstr "Ceci va reprendre les VMs sélectionnées qui sont stoppées ou en pause" + +#: ../public/js/plugins/compute.js:336 +msgid "Stop" +msgstr "Stop" + +#: ../public/js/plugins/compute.js:341 ../public/js/plugins/compute.js:809 +#: ../../../../../sunstone/public/js/sunstone.js:661 +#: ../../../../../sunstone/public/js/sunstone.js:693 +msgid "Cancel" +msgstr "Annuler" + +#: ../public/js/plugins/compute.js:342 +msgid "This will cancel selected VMs" +msgstr "Ceci va annuler les VMs sélectionnées" + +#: ../public/js/plugins/compute.js:346 ../public/js/plugins/compute.js:798 +msgid "Take snapshot" +msgstr "Prendre un snapshot" + +#: ../public/js/plugins/compute.js:354 +msgid "This will delete the selected VMs from the database" +msgstr "Ceci va supprimer les VMs sélectionnées de la base de données" + +#: ../public/js/plugins/compute.js:360 +msgid "Compute resource" +msgstr "Ressource de calcul" + +#: ../public/js/plugins/compute.js:364 ../public/js/plugins/compute.js:582 +msgid "Disks" +msgstr "Disques" + +#: ../public/js/plugins/compute.js:375 +msgid "Create Virtual Machine" +msgstr "Créer une machine virtuelle" + +#: ../public/js/plugins/compute.js:502 +msgid "VM information" +msgstr "Information VM" + +#: ../public/js/plugins/compute.js:506 +msgid "Virtual Machine information" +msgstr "Informations sur la machine virtuelle" + +#: ../public/js/plugins/compute.js:534 +msgid "Launch VNC session" +msgstr "Exécuter une session VNC" + +#: ../public/js/plugins/compute.js:545 +msgid "Disks information" +msgstr "Informations des disques" + +#: ../public/js/plugins/compute.js:563 +msgid "Target" +msgstr "Cible" + +#: ../public/js/plugins/compute.js:574 ../public/js/plugins/compute.js:905 +msgid "No disks defined" +msgstr "Aucun disque défini" + +#: ../public/js/plugins/compute.js:588 +msgid "Networks information" +msgstr "Informations réseaux" + +#: ../public/js/plugins/compute.js:612 +msgid "MAC" +msgstr "MAC" + +#: ../public/js/plugins/compute.js:619 +msgid "No networks defined" +msgstr "Aucun réseau défini" + +#: ../public/js/plugins/compute.js:633 +msgid "Monitoring information" +msgstr "Information de surveillance" + +#: ../public/js/plugins/compute.js:808 +#: ../../../../../sunstone/public/js/sunstone.js:660 +#: ../../../../../sunstone/public/js/sunstone.js:692 +msgid "OK" +msgstr "OK" + +#: ../public/js/plugins/compute.js:831 +msgid "Skipping VM " +msgstr "Passer la VM" + +#: ../public/js/plugins/compute.js:832 +msgid "No disk id or image name specified" +msgstr "Aucun identifiant de disque ou nom d'image" + +#: ../public/js/plugins/compute.js:868 +msgid "Saveas for VM with ID" +msgstr "Sauvegarder sous pour une VM avec ID" + +#: ../public/js/plugins/compute.js:871 +msgid "Select disk" +msgstr "Sélectionner un disque" + +#: ../public/js/plugins/compute.js:873 +msgid "Retrieving" +msgstr "Récupération" + +#: ../public/js/plugins/compute.js:877 +msgid "Image name" +msgstr "Nom de l'image" + +#: ../public/js/plugins/compute.js:897 ../public/js/plugins/compute.js:900 +msgid "disk id" +msgstr "identifiant disque" + +#: ../public/js/plugins/compute.js:975 +msgid "VNC connection" +msgstr "Connexion VNC" + +#: ../public/js/plugins/compute.js:990 +msgid "Canvas not supported." +msgstr "Canvas non supporté" + +#: ../public/js/plugins/compute.js:1051 ../public/js/plugins/compute.js:1067 +msgid "Open VNC Session" +msgstr "Ouvrir une session VNC" + +#: ../public/js/plugins/compute.js:1054 ../public/js/plugins/compute.js:1070 +msgid "VNC Disabled" +msgstr "VNC désactivé" + +#: ../public/js/plugins/configuration.js:23 +msgid "Self-Service UI Configuration" +msgstr "Configuration de l'interface de Self-Service" + +#: ../public/js/plugins/configuration.js:28 +msgid "Language" +msgstr "Langue" + +#: ../public/js/plugins/configuration.js:31 +msgid "English" +msgstr "Anglais" + +#: ../public/js/plugins/configuration.js:32 +msgid "Spanish" +msgstr "Espagnol" + +#: ../public/js/plugins/configuration.js:33 +#, fuzzy +msgid "French (FR)" +msgstr "Français" + +#: ../public/js/plugins/configuration.js:34 +#, fuzzy +msgid "French (CA)" +msgstr "Quebecois" + +#: ../public/js/plugins/configuration.js:56 +msgid "Configuration" +msgstr "Configuration" + +#: ../../../../../sunstone/public/js/sunstone.js:586 +msgid "Previous action" +msgstr "Action précédente" + +#: ../../../../../sunstone/public/js/sunstone.js:649 +#: ../../../../../sunstone/public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "Confirmation de l'action" + +#: ../../../../../sunstone/public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "Vous devez confirmer cette action." + +#: ../../../../../sunstone/public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "Souhaitez-vous continuer ?" + +#: ../../../../../sunstone/public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "Vous devez sélectionner quelque chose." + +#: ../../../../../sunstone/public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "Soumis" + +#: ../../../../../sunstone/public/js/sunstone-util.js:220 +msgid "Error" +msgstr "Erreur" + +#: ../../../../../sunstone/public/js/sunstone-util.js:226 +msgid "Info" +msgstr "Info." + +#: ../../../../../sunstone/public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "Impossible de contacter le serveur : est-il en cours d'exécution et accessible ?" + +#: ../../../../../sunstone/public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "Le réseau est injoignable : est-ce qu'OpenNebula tourne ?" + +#: ../../../../../sunstone/public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "Non autorisé" + +#: ../../../../../sunstone/public/js/sunstone-util.js:561 +#: ../../../../../sunstone/public/js/sunstone-util.js:772 +msgid "Please select" +msgstr "Veuillez sélectionner" + +#: ../../../../../sunstone/public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "Mettre à jour le modèle" + +#: ../../../../../sunstone/public/js/sunstone-util.js:701 +msgid "Please, choose and modify the template you want to update" +msgstr "Veuillez choisir et modifier le modèle que vous souhaitez mettre à jour" + +#: ../../../../../sunstone/public/js/sunstone-util.js:703 +#: ../../../../../sunstone/public/js/sunstone-util.js:706 +msgid "Select a template" +msgstr "Sélectionner un modèle" + +#: ../../../../../sunstone/public/js/sunstone-util.js:711 +msgid "Update" +msgstr "Mettre à jour" + +#: ../public/customize/custom.js:18 +msgid "String" +msgstr "Chaîne" + +#: ../public/customize/custom.js:39 +msgid "Welcome to OpenNebula Self-Service" +msgstr "Bienvenue dans OpenNebula Self-Service" + +#: ../public/customize/custom.js:41 +msgid "OpenNebula Self-Service is a simplified user interface to manage OpenNebula compute, storage and network resources. It is focused on easiness and usability and features a limited set of operations directed towards end-users." +msgstr "OpenNebula Self-Service est une interface utilisateur simplifiée pour gérer les machines virtuelles, les images disques et les réseaux d'OpenNebula. Il est axé sur la facilité et la convivialité d'un nombre limité d'opérations destinées aux utilisateurs finaux." + +#: ../public/customize/custom.js:42 +msgid "Additionally, OpenNebula Self-Service allows easy customization of the interface (e.g. this text) and brings multi-language support." +msgstr "Aditionnellement, OpenNebula Self-Service permet une personalisation aisée de l'interface (ex.: ce texte) et apporte un support multi-lingue." + +#: ../public/customize/custom.js:43 +msgid "Have a cloudy experience!" +msgstr "Ayez une expérience dans le Cloud !" + +#: ../public/customize/custom.js:66 +msgid "Compute resources are Virtual Machines attached to storage and network resources. OpenNebula Self-Service allows you to easily create, remove and manage them, including the possibility of pausing a Virtual Machine or taking a snapshot of one of their disks." +msgstr "Les ressources de calculs sont des machines virtuelles attachées aux ressources de stockage et de réseau. OpenNebula Self-Service vous permet d'aiséement les créer, supprimer et gérer, incluant la possibilité de mettre en pause une machine virtuelle ou de prendre un snapshot d'un de leur disques." + +#: ../public/customize/custom.js:70 +msgid "Storage pool is formed by several images. These images can contain from full operating systems to be used as base for compute resources, to simple data. OpenNebula Self-Service offers you the possibility to create or upload your own images." +msgstr "Le dépot de stockage est formé par plusieurs images disques. Ces images peuvent contenir un système d'exploitation complet pour être utilisé comme base pour les machines virtuelles, ou de simples données. Open-Nebula Self-Service vous offre la possibilité de créer ou d'envoyer vos propres images." + +#: ../public/customize/custom.js:74 +msgid "Your compute resources connectivity is performed using pre-defined virtual networks. You can create and manage these networks using OpenNebula Self-Service." +msgstr "La connectivité des machines virtuelles est effectuée par des réseaux virtuels pré-définis. Vous pouvez créer et gérer ces réseaux en utilisant OpenNebula Self-Service" + +#: ../public/customize/custom.js:81 +msgid "This is a list of your current compute resources. Virtual Machines use previously defined images and networks. You can easily create a new compute element by cliking 'new' and filling-in an easy wizard." +msgstr "Ceci est la liste de vos machines virtuelles actuelles. Ces machines virtuelles utilisent des images et réseaux prédéfinis. Vous pouvez facilement créer une nouvelle machine virtuelle en cliquant sur « nouveau » et en remplissant le formulaire." + +#: ../public/customize/custom.js:82 +msgid "You can also manage compute resources and perform actions such as stop, resume, shutdown or cancel." +msgstr "Vous pouvez aussi gérer les machines virtuelles et exécuter des actions telles que arrêter, reprendre, éteindre ou annuler." + +#: ../public/customize/custom.js:83 +msgid "Additionally, you can take a 'snapshot' of the storage attached to these resources. They will be saved as new resources, visible from the Storage view and re-usable." +msgstr "De plus, vous pouvez prendre un « snapshot » des images attachées à ces ressources. Elles seront sauvegardées en tant que nouvelles images, visibles depuis l'onglet « Disques » et réutilisables." + +#: ../public/customize/custom.js:84 ../public/customize/custom.js:94 +#: ../public/customize/custom.js:104 +msgid "There are currently" +msgstr "Il y a actuellement" + +#: ../public/customize/custom.js:85 +msgid "virtual machines" +msgstr "machines virtuelles" + +#: ../public/customize/custom.js:91 +msgid "The Storage view offers you an overview of your current images. Storage elements are attached to compute resources at creation time. They can also be extracted from running virtual machines by taking an snapshot." +msgstr "L'onglet Disques vous offre un aperçu de vos images disques actuelles. Les images sont attachées aux machines virtuelles lors de la création. Elles peuvent également être sauvegardées en prenant un snapshot." + +#: ../public/customize/custom.js:92 +msgid "You can add new storages by clicking 'new'. Image files will be uploaded to OpenNebula and set ready to be used." +msgstr "Vous pouvez ajouter de nouvelles images en cliquant sur « nouveau ». Les fichiers image seront envoyés à OpenNebula et prêts à être utilisés." + +#: ../public/customize/custom.js:93 +msgid "Additionally, you can run several operations on defined storages, such as defining their persistance. Persistent images can only be used by 1 virtual machine, and the changes made by it have effect on the base image. Non-persistent images are cloned before being used in a Virtual Machine, therefore changes are lost unless a snapshot is taken prior to Virtual Machine shutdown." +msgstr "En outre, vous pouvez exécuter plusieurs opérations sur une image donnée, tel que définir sa persistance. Les images persistantes peuvent seulement être utilisées par une machine virtuelle et les changements effectués auront un effet sur l'image de base. Les images non-persistantes sont clonées avant d'être utilisées dans une machine virtuelle, mais les changements sont perdus à moins qu'un snapshot soit pris avant l'extinction de la machine virtuelle." + +#: ../public/customize/custom.js:95 +msgid "images" +msgstr "images" + +#: ../public/customize/custom.js:101 +msgid "In this view you can easily manage OpenNebula Network resources. You can add or remove virtual networks." +msgstr "Dans cette vue vous pouvez aisément gérer les réseaux d'OpenNebula. Vous pouvez ajouter ou supprimer des réseaux virtuels." + +#: ../public/customize/custom.js:102 +msgid "Compute resources can be attached to these networks at creation time. Virtual machines will be provided with an IP and the correct parameters to ensure connectivity." +msgstr "Les machines virtuelles peuvent être rattachées à ces réseaux lors de la création. Une adresse IP ainsi que les paramètres corrects afin d'assurer une connectivité seront fournis aux machines virtuelles." + +#: ../public/customize/custom.js:105 +msgid "networks" +msgstr "réseaux" + +#~ msgid "style" +#~ msgstr "style" + +#~ msgid "French Canadian" +#~ msgstr "Québécois" diff --git a/src/cloud/occi/lib/ui/public/locale/fr_CA/fr_datatable.txt b/src/cloud/occi/lib/ui/locale/languages/fr_datatable.txt similarity index 100% rename from src/cloud/occi/lib/ui/public/locale/fr_CA/fr_datatable.txt rename to src/cloud/occi/lib/ui/locale/languages/fr_datatable.txt diff --git a/src/cloud/occi/lib/ui/locale/messages.pot b/src/cloud/occi/lib/ui/locale/messages.pot new file mode 100644 index 0000000000..3831d701c6 --- /dev/null +++ b/src/cloud/occi/lib/ui/locale/messages.pot @@ -0,0 +1,680 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 15:11+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/locale.js:34 +msgid "Changing language" +msgstr "" + +#: ../public/js/locale.js:35 +msgid "Loading new language... please wait" +msgstr "" + +#: ../public/js/locale.js:53 ../public/customize/custom.js:51 +msgid "Documentation" +msgstr "" + +#: ../public/js/locale.js:54 ../public/customize/custom.js:54 +msgid "Support" +msgstr "" + +#: ../public/js/locale.js:55 ../public/customize/custom.js:57 +msgid "Community" +msgstr "" + +#: ../public/js/locale.js:56 +msgid "Welcome" +msgstr "" + +#: ../public/js/locale.js:57 +msgid "Sign out" +msgstr "" + +#: ../public/js/plugins/storage.js:26 ../public/js/plugins/network.js:26 +#: ../public/js/plugins/compute.js:63 +msgid "All" +msgstr "" + +#: ../public/js/plugins/storage.js:27 ../public/js/plugins/storage.js:345 +#: ../public/js/plugins/network.js:27 ../public/js/plugins/network.js:278 +#: ../public/js/plugins/compute.js:64 ../public/js/plugins/compute.js:510 +#: ../public/js/plugins/compute.js:555 ../public/js/plugins/compute.js:600 +msgid "ID" +msgstr "" + +#: ../public/js/plugins/storage.js:28 ../public/js/plugins/storage.js:45 +#: ../public/js/plugins/storage.js:349 ../public/js/plugins/network.js:28 +#: ../public/js/plugins/network.js:41 ../public/js/plugins/network.js:282 +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:514 +#: ../public/js/plugins/compute.js:559 ../public/js/plugins/compute.js:604 +msgid "Name" +msgstr "" + +#: ../public/js/plugins/storage.js:41 +msgid "Fields marked with" +msgstr "" + +#: ../public/js/plugins/storage.js:42 +msgid "are mandatory" +msgstr "" + +#: ../public/js/plugins/storage.js:47 +msgid "Name that the Image will get." +msgstr "" + +#: ../public/js/plugins/storage.js:50 ../public/js/plugins/storage.js:353 +msgid "Description" +msgstr "" + +#: ../public/js/plugins/storage.js:52 +msgid "Human readable description of the image." +msgstr "" + +#: ../public/js/plugins/storage.js:57 ../public/js/plugins/storage.js:357 +#: ../public/js/plugins/compute.js:567 +msgid "Type" +msgstr "" + +#: ../public/js/plugins/storage.js:59 +msgid "OS" +msgstr "" + +#: ../public/js/plugins/storage.js:60 +msgid "CD-ROM" +msgstr "" + +#: ../public/js/plugins/storage.js:61 +msgid "Datablock" +msgstr "" + +#: ../public/js/plugins/storage.js:63 +msgid "Type of the image" +msgstr "" + +#: ../public/js/plugins/storage.js:66 ../public/js/plugins/network.js:297 +msgid "Size" +msgstr "" + +#: ../public/js/plugins/storage.js:68 +msgid "Size of the datablock in MB." +msgstr "" + +#: ../public/js/plugins/storage.js:71 +msgid "FS type" +msgstr "" + +#: ../public/js/plugins/storage.js:73 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "" + +#: ../public/js/plugins/storage.js:76 +msgid "Select image to upload" +msgstr "" + +#: ../public/js/plugins/storage.js:83 +msgid "Public" +msgstr "" + +#: ../public/js/plugins/storage.js:85 +msgid "Public scope of the image" +msgstr "" + +#: ../public/js/plugins/storage.js:88 ../public/js/plugins/storage.js:361 +msgid "Persistent" +msgstr "" + +#: ../public/js/plugins/storage.js:90 +msgid "Persistence of the image" +msgstr "" + +#: ../public/js/plugins/storage.js:95 ../public/js/plugins/network.js:56 +#: ../public/js/plugins/compute.js:103 +msgid "Close" +msgstr "" + +#: ../public/js/plugins/storage.js:96 ../public/js/plugins/network.js:57 +#: ../public/js/plugins/compute.js:104 +msgid "Create" +msgstr "" + +#: ../public/js/plugins/storage.js:214 ../public/js/plugins/network.js:158 +#: ../public/js/plugins/compute.js:305 +msgid "Refresh list" +msgstr "" + +#: ../public/js/plugins/storage.js:219 ../public/js/plugins/network.js:164 +#: ../public/js/plugins/compute.js:311 +msgid "+ New" +msgstr "" + +#: ../public/js/plugins/storage.js:223 +msgid "Make persistent" +msgstr "" + +#: ../public/js/plugins/storage.js:227 +msgid "Make non persistent" +msgstr "" + +#: ../public/js/plugins/storage.js:234 ../public/js/plugins/network.js:169 +msgid "Publish" +msgstr "" + +#: ../public/js/plugins/storage.js:238 ../public/js/plugins/network.js:174 +msgid "Unpublish" +msgstr "" + +#: ../public/js/plugins/storage.js:244 ../public/js/plugins/network.js:179 +#: ../public/js/plugins/compute.js:353 +msgid "Delete" +msgstr "" + +#: ../public/js/plugins/storage.js:250 ../public/js/plugins/storage.js:337 +msgid "Image information" +msgstr "" + +#: ../public/js/plugins/storage.js:258 +msgid "Add storage" +msgstr "" + +#: ../public/js/plugins/storage.js:264 ../public/js/plugins/dashboard.js:46 +#: ../public/customize/custom.js:68 +msgid "Storage" +msgstr "" + +#: ../public/js/plugins/storage.js:341 +msgid "Image" +msgstr "" + +#: ../public/js/plugins/storage.js:342 ../public/js/plugins/network.js:275 +msgid "information" +msgstr "" + +#: ../public/js/plugins/storage.js:365 +msgid "Filesystem type" +msgstr "" + +#: ../public/js/plugins/storage.js:369 +msgid "Size (Mb)" +msgstr "" + +#: ../public/js/plugins/storage.js:503 +msgid "You must specify a name" +msgstr "" + +#: ../public/js/plugins/storage.js:521 +msgid "You must specify size and FS type" +msgstr "" + +#: ../public/js/plugins/storage.js:528 +msgid "You must select a file to upload" +msgstr "" + +#: ../public/js/plugins/network.js:47 +msgid "Network Address" +msgstr "" + +#: ../public/js/plugins/network.js:49 +msgid "Network Size" +msgstr "" + +#: ../public/js/plugins/network.js:185 +msgid "Network information" +msgstr "" + +#: ../public/js/plugins/network.js:193 +msgid "Create network" +msgstr "" + +#: ../public/js/plugins/network.js:199 ../public/js/plugins/compute.js:91 +#: ../public/js/plugins/compute.js:368 ../public/js/plugins/compute.js:627 +msgid "Networks" +msgstr "" + +#: ../public/js/plugins/network.js:274 +msgid "Virtual Network" +msgstr "" + +#: ../public/js/plugins/network.js:286 +msgid "Used leases" +msgstr "" + +#: ../public/js/plugins/network.js:293 +msgid "Address" +msgstr "" + +#: ../public/js/plugins/network.js:307 +msgid "Virtual Network information" +msgstr "" + +#: ../public/js/plugins/network.js:353 +msgid "Virtual Network name missing!" +msgstr "" + +#: ../public/js/plugins/network.js:365 +msgid "Please provide a network address" +msgstr "" + +#: ../public/js/plugins/dashboard.js:37 +msgid "Current resources" +msgstr "" + +#: ../public/js/plugins/dashboard.js:42 ../public/js/plugins/compute.js:381 +#: ../public/customize/custom.js:64 +msgid "Compute" +msgstr "" + +#: ../public/js/plugins/dashboard.js:50 ../public/customize/custom.js:72 +msgid "Network" +msgstr "" + +#: ../public/js/plugins/dashboard.js:62 +msgid "Useful links" +msgstr "" + +#: ../public/js/plugins/dashboard.js:81 +msgid "Create new compute resource" +msgstr "" + +#: ../public/js/plugins/dashboard.js:82 ../public/js/plugins/dashboard.js:96 +#: ../public/js/plugins/dashboard.js:110 +msgid "See more" +msgstr "" + +#: ../public/js/plugins/dashboard.js:95 +msgid "Create new storage resource" +msgstr "" + +#: ../public/js/plugins/dashboard.js:109 +msgid "Create new network resource" +msgstr "" + +#: ../public/js/plugins/dashboard.js:120 +msgid "Dashboard" +msgstr "" + +#: ../public/js/plugins/compute.js:32 ../public/js/plugins/compute.js:526 +msgid "CPU" +msgstr "" + +#: ../public/js/plugins/compute.js:37 ../public/js/plugins/compute.js:530 +msgid "Memory" +msgstr "" + +#: ../public/js/plugins/compute.js:42 +msgid "Network transmission" +msgstr "" + +#: ../public/js/plugins/compute.js:47 +msgid "Network reception" +msgstr "" + +#: ../public/js/plugins/compute.js:65 ../public/js/plugins/compute.js:522 +msgid "State" +msgstr "" + +#: ../public/js/plugins/compute.js:66 ../public/js/plugins/compute.js:608 +msgid "IP" +msgstr "" + +#: ../public/js/plugins/compute.js:76 +msgid "VM Name" +msgstr "" + +#: ../public/js/plugins/compute.js:80 ../public/js/plugins/compute.js:518 +msgid "Instance type" +msgstr "" + +#: ../public/js/plugins/compute.js:82 ../public/js/plugins/compute.js:982 +msgid "Loading" +msgstr "" + +#: ../public/js/plugins/compute.js:86 +msgid "Images" +msgstr "" + +#: ../public/js/plugins/compute.js:97 +msgid "Create # VMs" +msgstr "" + +#: ../public/js/plugins/compute.js:99 +msgid "You can use the wildcard %. When creating several VMs, % will be replaced with a different number starting from 0 in each of them" +msgstr "" + +#: ../public/js/plugins/compute.js:317 +msgid "Shutdown" +msgstr "" + +#: ../public/js/plugins/compute.js:318 +msgid "This will shutdown the selected VMs" +msgstr "" + +#: ../public/js/plugins/compute.js:326 +msgid "Suspend" +msgstr "" + +#: ../public/js/plugins/compute.js:327 +msgid "This will suspend the selected VMs" +msgstr "" + +#: ../public/js/plugins/compute.js:331 +msgid "Resume" +msgstr "" + +#: ../public/js/plugins/compute.js:332 +msgid "This will resume the selected VMs in stopped or suspended states" +msgstr "" + +#: ../public/js/plugins/compute.js:336 +msgid "Stop" +msgstr "" + +#: ../public/js/plugins/compute.js:341 ../public/js/plugins/compute.js:809 +#: ../../../../../sunstone/public/js/sunstone.js:661 +#: ../../../../../sunstone/public/js/sunstone.js:693 +msgid "Cancel" +msgstr "" + +#: ../public/js/plugins/compute.js:342 +msgid "This will cancel selected VMs" +msgstr "" + +#: ../public/js/plugins/compute.js:346 ../public/js/plugins/compute.js:798 +msgid "Take snapshot" +msgstr "" + +#: ../public/js/plugins/compute.js:354 +msgid "This will delete the selected VMs from the database" +msgstr "" + +#: ../public/js/plugins/compute.js:360 +msgid "Compute resource" +msgstr "" + +#: ../public/js/plugins/compute.js:364 ../public/js/plugins/compute.js:582 +msgid "Disks" +msgstr "" + +#: ../public/js/plugins/compute.js:375 +msgid "Create Virtual Machine" +msgstr "" + +#: ../public/js/plugins/compute.js:502 +msgid "VM information" +msgstr "" + +#: ../public/js/plugins/compute.js:506 +msgid "Virtual Machine information" +msgstr "" + +#: ../public/js/plugins/compute.js:534 +msgid "Launch VNC session" +msgstr "" + +#: ../public/js/plugins/compute.js:545 +msgid "Disks information" +msgstr "" + +#: ../public/js/plugins/compute.js:563 +msgid "Target" +msgstr "" + +#: ../public/js/plugins/compute.js:574 ../public/js/plugins/compute.js:905 +msgid "No disks defined" +msgstr "" + +#: ../public/js/plugins/compute.js:588 +msgid "Networks information" +msgstr "" + +#: ../public/js/plugins/compute.js:612 +msgid "MAC" +msgstr "" + +#: ../public/js/plugins/compute.js:619 +msgid "No networks defined" +msgstr "" + +#: ../public/js/plugins/compute.js:633 +msgid "Monitoring information" +msgstr "" + +#: ../public/js/plugins/compute.js:808 +#: ../../../../../sunstone/public/js/sunstone.js:660 +#: ../../../../../sunstone/public/js/sunstone.js:692 +msgid "OK" +msgstr "" + +#: ../public/js/plugins/compute.js:831 +msgid "Skipping VM " +msgstr "" + +#: ../public/js/plugins/compute.js:832 +msgid "No disk id or image name specified" +msgstr "" + +#: ../public/js/plugins/compute.js:868 +msgid "Saveas for VM with ID" +msgstr "" + +#: ../public/js/plugins/compute.js:871 +msgid "Select disk" +msgstr "" + +#: ../public/js/plugins/compute.js:873 +msgid "Retrieving" +msgstr "" + +#: ../public/js/plugins/compute.js:877 +msgid "Image name" +msgstr "" + +#: ../public/js/plugins/compute.js:897 ../public/js/plugins/compute.js:900 +msgid "disk id" +msgstr "" + +#: ../public/js/plugins/compute.js:975 +msgid "VNC connection" +msgstr "" + +#: ../public/js/plugins/compute.js:990 +msgid "Canvas not supported." +msgstr "" + +#: ../public/js/plugins/compute.js:1051 ../public/js/plugins/compute.js:1067 +msgid "Open VNC Session" +msgstr "" + +#: ../public/js/plugins/compute.js:1054 ../public/js/plugins/compute.js:1070 +msgid "VNC Disabled" +msgstr "" + +#: ../public/js/plugins/configuration.js:23 +msgid "Self-Service UI Configuration" +msgstr "" + +#: ../public/js/plugins/configuration.js:28 +msgid "Language" +msgstr "" + +#: ../public/js/plugins/configuration.js:31 +msgid "English" +msgstr "" + +#: ../public/js/plugins/configuration.js:32 +msgid "Spanish" +msgstr "" + +#: ../public/js/plugins/configuration.js:33 +msgid "French (FR)" +msgstr "" + +#: ../public/js/plugins/configuration.js:34 +msgid "French (CA)" +msgstr "" + +#: ../public/js/plugins/configuration.js:56 +msgid "Configuration" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:586 +msgid "Previous action" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:649 +#: ../../../../../sunstone/public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:220 +msgid "Error" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:226 +msgid "Info" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:561 +#: ../../../../../sunstone/public/js/sunstone-util.js:772 +msgid "Please select" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:701 +msgid "Please, choose and modify the template you want to update" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:703 +#: ../../../../../sunstone/public/js/sunstone-util.js:706 +msgid "Select a template" +msgstr "" + +#: ../../../../../sunstone/public/js/sunstone-util.js:711 +msgid "Update" +msgstr "" + +#: ../public/customize/custom.js:18 +msgid "String" +msgstr "" + +#: ../public/customize/custom.js:39 +msgid "Welcome to OpenNebula Self-Service" +msgstr "" + +#: ../public/customize/custom.js:41 +msgid "OpenNebula Self-Service is a simplified user interface to manage OpenNebula compute, storage and network resources. It is focused on easiness and usability and features a limited set of operations directed towards end-users." +msgstr "" + +#: ../public/customize/custom.js:42 +msgid "Additionally, OpenNebula Self-Service allows easy customization of the interface (e.g. this text) and brings multi-language support." +msgstr "" + +#: ../public/customize/custom.js:43 +msgid "Have a cloudy experience!" +msgstr "" + +#: ../public/customize/custom.js:66 +msgid "Compute resources are Virtual Machines attached to storage and network resources. OpenNebula Self-Service allows you to easily create, remove and manage them, including the possibility of pausing a Virtual Machine or taking a snapshot of one of their disks." +msgstr "" + +#: ../public/customize/custom.js:70 +msgid "Storage pool is formed by several images. These images can contain from full operating systems to be used as base for compute resources, to simple data. OpenNebula Self-Service offers you the possibility to create or upload your own images." +msgstr "" + +#: ../public/customize/custom.js:74 +msgid "Your compute resources connectivity is performed using pre-defined virtual networks. You can create and manage these networks using OpenNebula Self-Service." +msgstr "" + +#: ../public/customize/custom.js:81 +msgid "This is a list of your current compute resources. Virtual Machines use previously defined images and networks. You can easily create a new compute element by cliking 'new' and filling-in an easy wizard." +msgstr "" + +#: ../public/customize/custom.js:82 +msgid "You can also manage compute resources and perform actions such as stop, resume, shutdown or cancel." +msgstr "" + +#: ../public/customize/custom.js:83 +msgid "Additionally, you can take a 'snapshot' of the storage attached to these resources. They will be saved as new resources, visible from the Storage view and re-usable." +msgstr "" + +#: ../public/customize/custom.js:84 ../public/customize/custom.js:94 +#: ../public/customize/custom.js:104 +msgid "There are currently" +msgstr "" + +#: ../public/customize/custom.js:85 +msgid "virtual machines" +msgstr "" + +#: ../public/customize/custom.js:91 +msgid "The Storage view offers you an overview of your current images. Storage elements are attached to compute resources at creation time. They can also be extracted from running virtual machines by taking an snapshot." +msgstr "" + +#: ../public/customize/custom.js:92 +msgid "You can add new storages by clicking 'new'. Image files will be uploaded to OpenNebula and set ready to be used." +msgstr "" + +#: ../public/customize/custom.js:93 +msgid "Additionally, you can run several operations on defined storages, such as defining their persistance. Persistent images can only be used by 1 virtual machine, and the changes made by it have effect on the base image. Non-persistent images are cloned before being used in a Virtual Machine, therefore changes are lost unless a snapshot is taken prior to Virtual Machine shutdown." +msgstr "" + +#: ../public/customize/custom.js:95 +msgid "images" +msgstr "" + +#: ../public/customize/custom.js:101 +msgid "In this view you can easily manage OpenNebula Network resources. You can add or remove virtual networks." +msgstr "" + +#: ../public/customize/custom.js:102 +msgid "Compute resources can be attached to these networks at creation time. Virtual machines will be provided with an IP and the correct parameters to ensure connectivity." +msgstr "" + +#: ../public/customize/custom.js:105 +msgid "networks" +msgstr "" diff --git a/src/authm_mad/remotes/quota/quota.conf b/src/cloud/occi/lib/ui/locale/upgrade_po_translations.sh old mode 100644 new mode 100755 similarity index 76% rename from src/authm_mad/remotes/quota/quota.conf rename to src/cloud/occi/lib/ui/locale/upgrade_po_translations.sh index 4d66cfb48b..fb81f1d3ed --- a/src/authm_mad/remotes/quota/quota.conf +++ b/src/cloud/occi/lib/ui/locale/upgrade_po_translations.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # -------------------------------------------------------------------------- # # Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # # # @@ -14,16 +16,8 @@ # limitations under the License. # #--------------------------------------------------------------------------- # -# Database URI -#:db: sqlite:///var/one/onequota.db - -#------------------------------------------------------------------------------- -# Default quotas, these apply to all users. Leave empty to disable quota for -# a given metric. -#------------------------------------------------------------------------------- -:defaults: - :CPU: - :MEMORY: - :NUM_VMS: - :STORAGE: +#msgmerge [option] def.po ref.pot +for lang in $(ls languages/*); do + msgmerge --backup=off --no-wrap --update $lang messages.pot +done \ No newline at end of file diff --git a/src/cloud/occi/lib/ui/public/css/layout.css b/src/cloud/occi/lib/ui/public/css/layout.css index 624e1e39a3..8859755b76 100644 --- a/src/cloud/occi/lib/ui/public/css/layout.css +++ b/src/cloud/occi/lib/ui/public/css/layout.css @@ -107,24 +107,25 @@ body { padding-left: 0; border:0; border-right: 1px solid #353735; - background-image: -webkit-gradient( - linear, - left top, - right top, - color-stop(0.95, rgb(99,102,99)), - color-stop(1, rgb(53,55,53)) -); -background-image: -moz-linear-gradient( - left center, - rgb(99,102,99) 95%, - rgb(53,55,53) 100% -); + background: #636663; /* Old browsers */ + background: -moz-linear-gradient(left, #636663 95%, #353735 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, right top, color-stop(95%,#636663), color-stop(100%,#353735)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(left, #636663 95%,#353735 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(left, #636663 95%,#353735 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(left, #636663 95%,#353735 100%); /* IE10+ */ + background: linear-gradient(left, #636663 95%,#353735 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#636663', endColorstr='#353735',GradientType=1 ); /* IE6-9 */ } -#navigation { + +.navigation { list-style: none; padding: 0; } +.navigation i { + margin-right: 5px; +} + .navigation li.topTab { line-height: 2em; text-align: left; @@ -166,32 +167,14 @@ background-image: -moz-linear-gradient( } #navigation li:hover, .navigation-active-li { - background-image: -webkit-gradient( - linear, - left top, - right top, - color-stop(0.95, #0098C3), - color-stop(1, rgb(53,55,53)) -); -background-image: -moz-linear-gradient( - left center, - #0098C3 95%, - rgb(53,55,53) 100% -); - /* - background-image: -webkit-gradient( - linear, - right top, - left top, - color-stop(0, rgb(0,152,192)), - color-stop(1, rgb(255,255,255)) - ); - background-image: -moz-linear-gradient( - right center, - rgb(0,152,192) 0%, - rgb(255,255,255) 100% - ); - */ + background: #0098c3; /* Old browsers */ + background: -moz-linear-gradient(left, #0098c3 95%, #353735 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, right top, color-stop(95%,#0098c3), color-stop(100%,#353735)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(left, #0098c3 95%,#353735 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(left, #0098c3 95%,#353735 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(left, #0098c3 95%,#353735 100%); /* IE10+ */ + background: linear-gradient(left, #0098c3 95%,#353735 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0098c3', endColorstr='#353735',GradientType=1 ); /* IE6-9 */ } .navigation-active-li { font-weight: bold; diff --git a/src/cloud/occi/lib/ui/public/js/plugins/compute.js b/src/cloud/occi/lib/ui/public/js/plugins/compute.js index 13084dec10..c9d123334b 100644 --- a/src/cloud/occi/lib/ui/public/js/plugins/compute.js +++ b/src/cloud/occi/lib/ui/public/js/plugins/compute.js @@ -96,7 +96,7 @@ var create_vm_tmpl ='
\
\ \ \ -
'+tr("You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them")+'.
\ +
'+tr("You can use the wildcard %. When creating several VMs, % will be replaced with a different number starting from 0 in each of them")+'.
\
\ \
\ @@ -406,7 +406,7 @@ var vm_create_panel = { }; var vms_tab = { - title: tr("Compute"), + title: ''+tr("Compute"), content: vms_tab_content, buttons: vm_buttons } diff --git a/src/cloud/occi/lib/ui/public/js/plugins/configuration.js b/src/cloud/occi/lib/ui/public/js/plugins/configuration.js index ac6d4e0200..1ac9aae7b8 100644 --- a/src/cloud/occi/lib/ui/public/js/plugins/configuration.js +++ b/src/cloud/occi/lib/ui/public/js/plugins/configuration.js @@ -53,7 +53,7 @@ var config_actions = { }; var config_tab = { - title: tr("Configuration"), + title: ''+tr("Configuration"), content: config_tab_content } diff --git a/src/cloud/occi/lib/ui/public/js/plugins/dashboard.js b/src/cloud/occi/lib/ui/public/js/plugins/dashboard.js index 960f93d49c..d5c090134e 100644 --- a/src/cloud/occi/lib/ui/public/js/plugins/dashboard.js +++ b/src/cloud/occi/lib/ui/public/js/plugins/dashboard.js @@ -117,7 +117,7 @@ var dashboard_tab_content = '; var dashboard_tab = { - title: tr("Dashboard"), + title: ''+tr("Dashboard"), content: dashboard_tab_content } diff --git a/src/cloud/occi/lib/ui/public/js/plugins/network.js b/src/cloud/occi/lib/ui/public/js/plugins/network.js index a19f9046bc..5b409b09d7 100644 --- a/src/cloud/occi/lib/ui/public/js/plugins/network.js +++ b/src/cloud/occi/lib/ui/public/js/plugins/network.js @@ -196,7 +196,7 @@ var vnet_create_panel = { } var vnets_tab = { - title: tr("Networks"), + title: ''+tr("Networks"), content: vnets_tab_content, buttons: vnet_buttons } diff --git a/src/cloud/occi/lib/ui/public/js/plugins/storage.js b/src/cloud/occi/lib/ui/public/js/plugins/storage.js index c42a3ab7dc..2fb749a85f 100644 --- a/src/cloud/occi/lib/ui/public/js/plugins/storage.js +++ b/src/cloud/occi/lib/ui/public/js/plugins/storage.js @@ -261,7 +261,7 @@ var image_create_panel = { }; var images_tab = { - title: tr("Storage"), + title: ''+tr("Storage"), content: images_tab_content, buttons: image_buttons } diff --git a/src/cloud/occi/lib/ui/public/locale/en_US/en_US.js b/src/cloud/occi/lib/ui/public/locale/en_US/en_US.js deleted file mode 100644 index c9a21c8fc9..0000000000 --- a/src/cloud/occi/lib/ui/public/locale/en_US/en_US.js +++ /dev/null @@ -1,163 +0,0 @@ -//Translated by -lang="en_US" -datatable_lang="" -locale={ - "Additionally, OpenNebula Self-Service allows easy customization of the interface (e.g. this text) and brings multi-language support.":"", - "Additionally, you can run several operations on defined storages, such as defining their persistance. Persistent images can only be used by 1 virtual machine, and the changes made by it have effect on the base image. Non-persistent images are cloned before being used in a Virtual Machine, therefore changes are lost unless a snapshot is taken prior to Virtual Machine shutdown.":"", - "Additionally, you can take a \'snapshot\' of the storage attached to these resources. They will be saved as new resources, visible from the Storage view and re-usable.":"", - "Address":"", - "Add storage":"", - "All":"", - "are mandatory":"", - "Cancel":"", - "Cannot contact server: is it running and reachable?":"", - "Canvas not supported.":"", - "CD-ROM":"", - "Changing language":"", - "Close":"", - "Community":"", - "Compute":"", - "Compute resource":"", - "Compute resources are Virtual Machines attached to storage and network resources. OpenNebula Self-Service allows you to easily create, remove and manage them, including the possibility of pausing a Virtual Machine or taking a snapshot of one of their disks.":"", - "Compute resources can be attached to these networks at creation time. Virtual machines will be provided with an IP and the correct parameters to ensure connectivity.":"", - "Configuration":"", - "Confirmation of action":"", - "CPU":"", - "Create":"", - "Create network":"", - "Create new compute resource":"", - "Create new network resource":"", - "Create new storage resource":"", - "Create Virtual Machine":"", - "Create # VMs":"", - "Current resources":"", - "Dashboard":"", - "Datablock":"", - "Delete":"", - "Description":"", - "disk id":"", - "Disks":"", - "Disks information":"", - "Documentation":"", - "Do you want to proceed?":"", - "English":"", - "Error":"", - "Fields marked with":"", - "Filesystem type":"", - "FS type":"", - "Have a cloudy experience!":"", - "Human readable description of the image.":"", - "ID":"", - "Image":"", - "Image information":"", - "Image name":"", - "images":"", - "Images":"", - "Info":"", - "information":"", - "Instance type":"", - "In this view you can easily manage OpenNebula Network resources. You can add or remove virtual networks.":"", - "IP":"", - "Language":"", - "Launch VNC session":"", - "Loading":"", - "Loading new language... please wait":"", - "MAC":"", - "Make non persistent":"", - "Make persistent":"", - "Memory":"", - "Monitoring information":"", - "Name":"", - "Name that the Image will get.":"", - "Network":"", - "Network Address":"", - "Network information":"", - "Network is unreachable: is OpenNebula running?":"", - "Network reception":"", - "networks":"", - "Networks":"", - "Networks information":"", - "Network Size":"", - "Network transmission":"", - "+ New":"", - "No disk id or image name specified":"", - "No disks defined":"", - "No networks defined":"", - "OK":"", - "OpenNebula Self-Service is a simplified user interface to manage OpenNebula compute, storage and network resources. It is focused on easiness and usability and features a limited set of operations directed towards end-users.":"", - "Open VNC Session":"", - "OS":"", - "Persistence of the image":"", - "Persistent":"", - "Please, choose and modify the template you want to update":"", - "Please provide a network address":"", - "Please select":"", - "Previous action":"", - "Public":"", - "Public scope of the image":"", - "Publish":"", - "Refresh list":"", - "Resume":"", - "Retrieving":"", - "Saveas for VM with ID":"", - "See more":"", - "Select a template":"", - "Select disk":"", - "Select image to upload":"", - "Self-Service UI Configuration":"", - "Shutdown":"", - "Sign out":"", - "Size":"", - "Size (Mb)":"", - "Size of the datablock in MB.":"", - "Skipping VM ":"", - "Spanish":"", - "State":"", - "Stop":"", - "Storage":"", - "Storage pool is formed by several images. These images can contain from full operating systems to be used as base for compute resources, to simple data. OpenNebula Self-Service offers you the possibility to create or upload your own images.":"", - "String":"", - "style":"", - "Submitted":"", - "Support":"", - "Suspend":"", - "Take snapshot":"", - "Target":"", - "There are currently":"", - "The Storage view offers you an overview of your current images. Storage elements are attached to compute resources at creation time. They can also be extracted from running virtual machines by taking an snapshot.":"", - "This is a list of your current compute resources. Virtual Machines use previously defined images and networks. You can easily create a new compute element by cliking \'new\' and filling-in an easy wizard.":"", - "This will cancel selected VMs":"", - "This will delete the selected VMs from the database":"", - "This will resume the selected VMs in stopped or suspended states":"", - "This will shutdown the selected VMs":"", - "This will suspend the selected VMs":"", - "Type":"", - "Type of file system to be built. This can be any value understood by mkfs unix command.":"", - "Type of the image":"", - "Unauthorized":"", - "Unpublish":"", - "Update":"", - "Update template":"", - "Used leases":"", - "Useful links":"", - "Virtual Machine information":"", - "virtual machines":"", - "Virtual Network":"", - "Virtual Network information":"", - "Virtual Network name missing!":"", - "VM information":"", - "VM Name":"", - "VNC connection":"", - "VNC Disabled":"", - "Welcome":"", - "Welcome to OpenNebula Self-Service":"", - "You can add new storages by clicking \'new\'. Image files will be uploaded to OpenNebula and set ready to be used.":"", - "You can also manage compute resources and perform actions such as stop, resume, shutdown or cancel.":"", - "You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them":"", - "You have to confirm this action.":"", - "You must select a file to upload":"", - "You must specify a name":"", - "You must specify size and FS type":"", - "You need to select something.":"", - "Your compute resources connectivity is performed using pre-defined virtual networks. You can create and manage these networks using OpenNebula Self-Service.":"", -}; diff --git a/src/cloud/occi/lib/ui/public/locale/es_ES/es_ES.js b/src/cloud/occi/lib/ui/public/locale/es_ES/es_ES.js deleted file mode 100644 index f44bc40ab8..0000000000 --- a/src/cloud/occi/lib/ui/public/locale/es_ES/es_ES.js +++ /dev/null @@ -1,163 +0,0 @@ -//Translated by Hector Sanjuan -lang="es_ES" -datatable_lang="es_datatable.txt" -locale={ - "Additionally, OpenNebula Self-Service allows easy customization of the interface (e.g. this text) and brings multi-language support.":"Además, OpenNebula Self-Service permite una fácil personalización de la interfaz (por ejemplo, de este mismo texto) y viene con soporte para múltiples lenguajes.", - "Additionally, you can run several operations on defined storages, such as defining their persistance. Persistent images can only be used by 1 virtual machine, and the changes made by it have effect on the base image. Non-persistent images are cloned before being used in a Virtual Machine, therefore changes are lost unless a snapshot is taken prior to Virtual Machine shutdown.":"Además, puede ejecutar varias operaciones en los almacenamientos presentes, como definir su persistencia. Las imágenes persistentes sólo pueden ser usadas por 1 máquina virtual, y los cambios realizados por ella tiene efecto en la imágen base. Las imágenes no persistentes son clonadas antes de ser utilizadas en una máquina virtual, por tanto los cambios se pierden a menos que se tome una instantánea antes de apagar la máquina virtual.", - "Additionally, you can take a 'snapshot' of the storage attached to these resources. They will be saved as new resources, visible from the Storage view and re-usable.":"Además, puede tomar una 'instantánea' de los almacenamientos asociado a estos recursos. Ésta será salvaguardada como un nuevo recurso, visible y reutilizable desde la vista de almacenamientos.", - "Address":"Dirección", - "Add storage":"Añadir almacenamiento", - "All":"Todos", - "are mandatory":"son obligatorios", - "Cancel":"Cancelar", - "Cannot contact server: is it running and reachable?":"No se puede contactar con el servidor: ¿está funcionando y es alcanzable?", - "Canvas not supported.":"Canvas no soportado", - "CD-ROM":"CD-ROM", - "Changing language":"Cambiando el lenguaje", - "Close":"Cerrar", - "Community":"Comunidad", - "Compute":"Máquinas Virtuales", - "Compute resource":"máquina virtual", - "Compute resources are Virtual Machines attached to storage and network resources. OpenNebula Self-Service allows you to easily create, remove and manage them, including the possibility of pausing a Virtual Machine or taking a snapshot of one of their disks.":"Las máquinas virtuales están asociadas a recursos de almacenamiento y de red. OpenNebula Self-Service le permite crearlos, borrarlos y administrarlos fácilmente, incluyendo la posibilidad de pausar una máquina virtual o de tomar una instantánea de alguno de sus discos.", - "Compute resources can be attached to these networks at creation time. Virtual machines will be provided with an IP and the correct parameters to ensure connectivity.":"Las máquinas virtuales pueden asociarse a estas redes en el momento de su creación. Las máquinas virtuales serán provistas de una IP y de los parámetros correctos para asegurar conectividad.", - "Configuration":"Configuración", - "Confirmation of action":"Confirmar operación", - "CPU":"CPU", - "Create":"Crear", - "Create network":"Crear red", - "Create new compute resource":"Crear nueva máquina virtual", - "Create new network resource":"Crear nueva red", - "Create new storage resource":"Crear nuevo almacenamiento", - "Create Virtual Machine":"Crear máquina virtual", - "Create # VMs":"Crear # MVs", - "Current resources":"Recursos actuales", - "Dashboard":"Portada", - "Datablock":"Datablock", - "Delete":"Borrar", - "Description":"Descripción", - "disk id":"id del disco", - "Disks":"Discos", - "Disks information":"Información de discos", - "Documentation":"Documentación", - "Do you want to proceed?":"¿Desea continuar?", - "English":"Inglés", - "Error":"Error", - "Fields marked with":"Campos marcados con", - "Filesystem type":"Sistema de ficheros", - "FS type":"tipo de FS", - "Have a cloudy experience!":"¡Nos vemos en las nubes!", - "Human readable description of the image.":"Descripción de la imagen.", - "ID":"ID", - "Image":"Imagen", - "Image information":"Información de la imagen", - "Image name":"Nombre de la imagen", - "images":"imágenes", - "Images":"Imágenes", - "Info":"Información", - "information":"Información", - "Instance type":"Tipo de instancia", - "In this view you can easily manage OpenNebula Network resources. You can add or remove virtual networks.":"En esta vista puede gestionar fácilmente los recursos de red de OpenNebula. Puede añadir o borrar redes virtuales.", - "IP":"IP", - "Language":"Lenguaje", - "Launch VNC session":"Lanzar sesión VNC", - "Loading":"Cargando", - "Loading new language... please wait":"Cargando nuevo lenguaje... espere, por favor", - "MAC":"MAC", - "Make non persistent":"Hacer no persistente", - "Make persistent":"Hacer persistente", - "Memory":"Memoria", - "Monitoring information":"Información de monitorización", - "Name":"Nombre", - "Name that the Image will get.":"Nombre para la imagen.", - "Network":"Red", - "Network Address":"Dirección de red", - "Network information":"Información de red", - "Network is unreachable: is OpenNebula running?":"No se puede alcanzar la red: ¿está OpenNebula funcionando?", - "Network reception":"Recepción de red", - "networks":"redes", - "Networks":"Redes", - "Networks information":"Información de redes", - "Network Size":"Tamaño de red", - "Network transmission":"Transmisión de red", - "+ New":"+ Nuevo", - "No disk id or image name specified":"No se ha especificado ID de disco o nombre de la imagen", - "No disks defined":"No hay discos definidos", - "No networks defined":"No hay redes definidas", - "OK":"OK", - "OpenNebula Self-Service is a simplified user interface to manage OpenNebula compute, storage and network resources. It is focused on easiness and usability and features a limited set of operations directed towards end-users.":"OpenNebula Self-Service es una interfaz de usuario simplificada para administrar máquinas virtuales, almacenamiento y red de OpenNebula. Está basada en la facilidad de uso y cuenta con un número limitado de operaciones dirigidas a los usuarios finales.", - "Open VNC Session":"Abrir sesión VNC", - "OS":"OS", - "Persistence of the image":"Persistencia de la imagen", - "Persistent":"Persistente", - "Please, choose and modify the template you want to update":"Por favor, escoja y modifique la plantilla que desea actualizar", - "Please provide a network address":"Por favor, proporcione una dirección de red", - "Please select":"Por favor escoja", - "Previous action":"Acción anterior", - "Public":"Público", - "Public scope of the image":"Imagen pública", - "Publish":"Publicar", - "Refresh list":"Refrescar lista", - "Resume":"Reanudar", - "Retrieving":"Cargando", - "Saveas for VM with ID":"Instantánea a MV con ID", - "See more":"Ver más", - "Select a template":"Seleccione una plantilla", - "Select disk":"Seleccione un disco", - "Select image to upload":"Seleccione una imagen para subir", - "Self-Service UI Configuration":"Configuración de la interfaz Self-Service", - "Shutdown":"Apagar", - "Sign out":"Desconectar", - "Size":"Tamaño", - "Size (Mb)":"Tamaño (Mb)", - "Size of the datablock in MB.":"Tamaño del datablcok en MB", - "Skipping VM ":"Saltando MV", - "Spanish":"Español", - "State":"Estado", - "Stop":"Detener", - "Storage":"Almacenamiento", - "Storage pool is formed by several images. These images can contain from full operating systems to be used as base for compute resources, to simple data. OpenNebula Self-Service offers you the possibility to create or upload your own images.":"La lista de almacenamiento está formada por varias imágenes. Estas imágenes pueden contener desde sistemas operativos completos para ser usados como base en máquinas virtuales, hasta simples datos. OpenNebula Self-Service ofrece la posibilidad de crear o subir sus propias imágenes.", - "String":"String", - "style":"estilo", - "Submitted":"Hecho", - "Support":"Soporte", - "Suspend":"Suspender", - "Take snapshot":"Tomar instantánea", - "Target":"Target", - "There are currently":"Actualmente hay", - "The Storage view offers you an overview of your current images. Storage elements are attached to compute resources at creation time. They can also be extracted from running virtual machines by taking an snapshot.":"La vista de almacenamiento le ofrece la visión general de sus imágenes. Los elementos de almacenamiento se asocian a máquinas virtuales en el momento de la creación. También pueden ser extraídos de una máquina virtual en ejecución tomando una instantánea", - "This is a list of your current compute resources. Virtual Machines use previously defined images and networks. You can easily create a new compute element by cliking 'new' and filling-in an easy wizard.":"Esta es una lista de sus máquinas virtuales actuales. Las máquinas virtuales utilizan imagenes y redes definidas previamente. Puede crear fácilmente una nueva máquina virtual haciendo click en 'New' y rellenado un sencillo formulario.", - "This will cancel selected VMs":"Esto cancelará las MVs seleccionadas", - "This will delete the selected VMs from the database":"Esto borrará las MVs seleccionadas de la base de datos", - "This will resume the selected VMs in stopped or suspended states":"Esto reanudará las MVs seleccionadas paradas o suspendidas", - "This will shutdown the selected VMs":"Esto apagará las MVs seleccionadas", - "This will suspend the selected VMs":"Esto suspenderá las MVs seleccionadas", - "Type":"Tipo", - "Type of file system to be built. This can be any value understood by mkfs unix command.":"Tipo de sistema de archivos a generar. Es válido cualquier valor entendido por el comando mkfs", - "Type of the image":"Tipo de la imagen", - "Unauthorized":"No autorizado", - "Unpublish":"Despublicar", - "Update":"Actualizar", - "Update template":"Actualizar plantilla", - "Used leases":"Leases usados", - "Useful links":"Enlances útiles", - "Virtual Machine information":"Información de máquina virtual", - "virtual machines":"máquinas virtuales", - "Virtual Network":"Red virtual", - "Virtual Network information":"Información de red virtual", - "Virtual Network name missing!":"¡Falta el nombre de la red!", - "VM information":"Información de MV", - "VM Name":"Nombre", - "VNC connection":"Conexión VNC", - "VNC Disabled":"VNC Desabilitado", - "Welcome":"Bienvenid@", - "Welcome to OpenNebula Self-Service":"Bienvenid@ a OpenNebula Self-Service", - "You can add new storages by clicking 'new'. Image files will be uploaded to OpenNebula and set ready to be used.":"Puede añadir nuevos almacenamientos haciendo click en 'new'. Los ficheros de imagen pueden ser subidos a OpenNebula y preparados para ser usado.", - "You can also manage compute resources and perform actions such as stop, resume, shutdown or cancel.":"También puede administrar las máquinas virtuales y realizar acciones como detener, reanudar, apagar o cancelar.", - "You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them":"Puede utilizar el comodín %i. Durante la creación de varias máquinas virtuales, %i será reemplazado por un número distinto en cada una de ellas, empezando por 0", - "You have to confirm this action.":"Necesita confirmar esta acción", - "You must select a file to upload":"Debe seleccionar un fichero para subir", - "You must specify a name":"Debe especificar un nombre", - "You must specify size and FS type":"Debe especificar un tamaño y un tipo de FS", - "You need to select something.":"Debe seleccionar algo", - "Your compute resources connectivity is performed using pre-defined virtual networks. You can create and manage these networks using OpenNebula Self-Service.":"La conectividad de sus máquinas virtuales se realiza usando redes virtuales pre-definidas. Puede crear y administrar estas redes usando OpenNebula Self-Service.", -}; diff --git a/src/cloud/occi/lib/ui/public/locale/fr_CA/fr_CA.js b/src/cloud/occi/lib/ui/public/locale/fr_CA/fr_CA.js deleted file mode 100644 index 4d0efdfe60..0000000000 --- a/src/cloud/occi/lib/ui/public/locale/fr_CA/fr_CA.js +++ /dev/null @@ -1,165 +0,0 @@ -//Translated by Romain Dartigues -lang="fr_CA" -datatable_lang="fr_datatable.txt" -locale={ - "Additionally, OpenNebula Self-Service allows easy customization of the interface (e.g. this text) and brings multi-language support.":"Aditionnellement, OpenNebula Libre-Service permet une personalisation aisée de l'interface (ex.: ce texte) et apporte un support multilingue.", - "Additionally, you can run several operations on defined storages, such as defining their persistance. Persistent images can only be used by 1 virtual machine, and the changes made by it have effect on the base image. Non-persistent images are cloned before being used in a Virtual Machine, therefore changes are lost unless a snapshot is taken prior to Virtual Machine shutdown.":"En outre, vous pouvez exécuter plusieurs opérations sur une image définie, tel que définir leur persistance. Les images persistantes peuvent seulement être utilisées par une machine virtuelle et les changements effectués auront un effet sur l'image de base. Les images non-persistantes sont clonées avant d'être utilisées dans une machine virtuelle, mais les changements sont perdus en moins qu'un instantané soit pris avant l'extinction de la machine virtuelle.", - "Additionally, you can take a \'snapshot\' of the storage attached to these resources. They will be saved as new resources, visible from the Storage view and re-usable.":"De plus, vous pouvez prendre un \"instantané\" d\'une image raccordée à ces ressources. Elles seront sauvegardées en tant que nouvelles ressources, visibles depuis la vue \"Images\" et réutilisables.", - "Address":"Adresse ", - "Add storage":"Ajouter des images", - "All":"Tout ", - "are mandatory":"sont obligatoire", - "Cancel":"Annuler", - "Cannot contact server: is it running and reachable?":"Impossible de contacter le serveur: est-il en cours d'exécution et accessible ?", - "Canvas not supported.":"Modèle non supporté.", - "CD-ROM":"CD-ROM", - "Changing language":"Modification de la langue", - "Close":"Fermer", - "Community":"Communauté", - "Compute":"Machines virtuelles", - "Compute resource":"Ressource de calcul", - "Compute resources are Virtual Machines attached to storage and network resources. OpenNebula Self-Service allows you to easily create, remove and manage them, including the possibility of pausing a Virtual Machine or taking a snapshot of one of their disks.":"Les ressources de calculs sont des machines virtuelles attachées aux ressources de stockage et de réseau. OpenNebula Libre-Service vous permet d'aiséement les créer, supprimer et gérer, incluant la possibilité de mettre en pause une machine virtuelle ou de prendre un instantané d'un de leur disques.", - "Compute resources can be attached to these networks at creation time. Virtual machines will be provided with an IP and the correct parameters to ensure connectivity.":"Les ressources de calculs peuvent être rattachées à ces réseaux lors de la création. Une adresse IP ainsi que les paramètres corrects afin d'assurer une connectivité seront fournis aux machines virtuelles.", - "Configuration":"Configuration", - "Confirmation of action":"Confirmation de l\'action", - "CPU":"CPU", - "Create":"Créer", - "Create network":"Créer le réseau", - "Create new compute resource":"Créer une nouvelle ressource de calcul", - "Create new network resource":"Créer une nouvelle ressource réseau", - "Create new storage resource":"Créer une nouvelle ressource de stockage", - "Create Virtual Machine":"Créer une machine virtuelle", - "Create # VMs":"Créer # MVs", - "Current resources":"Ressources actuelles", - "Dashboard":"Tableau de bord", - "Datablock":"Block de données", - "Delete":"Supprimer", - "Description":"Description", - "disk id":"identifiant disque", - "Disks":"Disques", - "Disks information":"Informations des disques", - "Documentation":"Documentation", - "Do you want to proceed?":"Souhaitez-vous continuer ?", - "English":"Anglais", - "Error":"Erreur", - "Fields marked with":"Champs marqués par", - "Filesystem type":"Type de système de fichiers", - "FS type":"Type de FS", - "French":"Français", - "French Canadian":"Québécois", - "Have a cloudy experience!":"Ayez une expérience dans le Nuage!", - "Human readable description of the image.":"Description humainement lisible de l'image.", - "ID":"ID", - "Image":"Image", - "Image information":"Information de l'image", - "Image name":"Nom de l'image", - "images":"images", - "Images":"Images", - "Info":"Info.", - "information":"information", - "Instance type":"Type d\'instance", - "In this view you can easily manage OpenNebula Network resources. You can add or remove virtual networks.":"Dans cette vue vous pouvez aisément gérer les ressources Réseau d\'OpenNebula. Vous pouvez ajouter ou supprimer des réseaux virtuels.", - "IP":"IP", - "Language":"Langue", - "Launch VNC session":"Exécuter une session VNC", - "Loading":"Chargement", - "Loading new language... please wait":"Chargement d\'une nouvelle langue... veuillez patienter", - "MAC":"MAC", - "Make non persistent":"Rendre non-persistant", - "Make persistent":"Rendre persistant", - "Memory":"Mémoire", - "Monitoring information":"Information de surveillance", - "Name":"Nom", - "Name that the Image will get.":"Nom que l\'Image va avoir.", - "Network":"Réseau", - "Network Address":"Adresse réseau", - "Network information":"Information réseau", - "Network is unreachable: is OpenNebula running?":"Le réseau est injoignable: est-ce qu\'OpenNebula tourne ?", - "Network reception":"Réception réseau", - "networks":"réseaux", - "Networks":"Réseaux", - "Networks information":"Informations réseaux", - "Network Size":"Taille du réseau", - "Network transmission":"Transmission réseau", - "+ New":"+ Nouveau", - "No disk id or image name specified":"Aucun identifiant de disque ou nom d\'image", - "No disks defined":"Aucun disque défini", - "No networks defined":"Aucun réseau défini", - "OK":"OK", - "OpenNebula Self-Service is a simplified user interface to manage OpenNebula compute, storage and network resources. It is focused on easiness and usability and features a limited set of operations directed towards end-users.":"OpenNebula Libre-Service est une interface utilisateur simplifiée pour gérer les ressources de calcul, stockage et réseau OpenNebula. Il est axé sur la facilité et la convivialité d\'un nombre limité d\'opérations destinées aux utilisateurs finaux.", - "Open VNC Session":"Ouvrir une session VNC", - "OS":"OS", - "Persistence of the image":"Persistance de l\'image", - "Persistent":"Persistant", - "Please, choose and modify the template you want to update":"Veuillez choisir et modifier le modèle que vous souhaitez mettre à jour", - "Please provide a network address":"Veuillez renseigner une adresse réseau", - "Please select":"Veuillez sélectionner", - "Previous action":"Action précédente", - "Public":"Publique", - "Public scope of the image":"Visibilité publique de l\'image", - "Publish":"Publier", - "Refresh list":"Rafraîchir la liste", - "Resume":"Reprendre", - "Retrieving":"Récupération", - "Saveas for VM with ID":"Sauvegarder sous pour une MV avec ID", - "See more":"Voir plus", - "Select a template":"Sélectionner un modèle", - "Select disk":"Sélectionner un disque", - "Select image to upload":"Sélectionner une image à téléverser", - "Self-Service UI Configuration":"Configuration de l\'interface utilisateur du Libre-Service", - "Shutdown":"Éteindre", - "Sign out":"Déconnecter", - "Size":"Taille", - "Size (Mb)":"Taille (Mb)", - "Size of the datablock in MB.":"Taille du bloc de données en MB.", - "Skipping VM ":"Passer la MV", - "Spanish":"Espagnol", - "State":"État", - "Stop":"Arrêter", - "Storage":"Stockage", - "Storage pool is formed by several images. These images can contain from full operating systems to be used as base for compute resources, to simple data. OpenNebula Self-Service offers you the possibility to create or upload your own images.":"Le dépot de stockage est formé par plusieurs images. Ces images peuvent contenir du système d\'exploitation complet pour être utilisé comme base pour les ressources de calculs, à de simple données. Open-Nebula Libre-Service vous offre la possibilité de créer ou de téléverser vos propres images.", - "String":"Chaîne", - "style":"style", - "Submitted":"Soumis", - "Support":"Support", - "Suspend":"Suspendre", - "Take snapshot":"Prendre un instantané", - "Target":"Cible", - "There are currently":"Il y a présentement", - "The Storage view offers you an overview of your current images. Storage elements are attached to compute resources at creation time. They can also be extracted from running virtual machines by taking an snapshot.":"La vue de stockage vous offre un aperçu de vos images actuelles. Les éléments de stockage sont attachés aux ressources de calculs lors de la création. Ils peuvent également être extrait d\'une machine virtuelle en cours d\'exécution en prenant un instantané.", - "This is a list of your current compute resources. Virtual Machines use previously defined images and networks. You can easily create a new compute element by cliking \'new\' and filling-in an easy wizard.":"Ceci est une liste de vos ressources de calculs actuelles. Les machines virtuelles utilisent des images et réseaux prédéfinis. Vous pouvez facilement créer un nouvel élément de calcul en cliquant sur \"Nouveau\" et en remplissant un assistant.", - "This will cancel selected VMs":"Ceci va annuler les MVs sélectionnées", - "This will delete the selected VMs from the database":"Ceci va supprimer les MVs sélectionnées de la base de données", - "This will resume the selected VMs in stopped or suspended states":"Ceci va reprendre les MVs sélectionnées qui sont stoppées ou en pause", - "This will shutdown the selected VMs":"Ceci va éteindre les MVs sélectionnées", - "This will suspend the selected VMs":"Ceci va mettre en pause les MVs sélectionnées", - "Type":"Type", - "Type of file system to be built. This can be any value understood by mkfs unix command.":"Type de système de fichier à créer. Ce peut être n\'importe quelle valeur comprise par la commande unix mkfs.", - "Type of the image":"Type de l\'image", - "Unauthorized":"Non autorisé", - "Unpublish":"Retirer", - "Update":"Mettre à jour", - "Update template":"Mettre à jour le modèle", - "Used leases":"Baux utilisés", - "Useful links":"Liens utiles", - "Virtual Machine information":"Informations sur la machine virtuelle", - "virtual machines":"machines virtuelles", - "Virtual Network":"Réseau Virtuel", - "Virtual Network information":"Informations sur le Réseau Virtuel", - "Virtual Network name missing!":"Le nom du Réseau Virtuel est manquant!", - "VM information":"Information MV", - "VM Name":"Nom MV", - "VNC connection":"Connexion VNC", - "VNC Disabled":"VNC désactivé", - "Welcome":"Bienvenue", - "Welcome to OpenNebula Self-Service":"Bienvenue au Libre-Service OpenNebula", - "You can add new storages by clicking \'new\'. Image files will be uploaded to OpenNebula and set ready to be used.":"Vous pouvez ajouter de nouveaux stockages en cliquant sur \"Nouveau\". Les fichiers image seront téléversés à OpenNebula et prêts à être utilisés.", - "You can also manage compute resources and perform actions such as stop, resume, shutdown or cancel.":"Vous pouvez aussi gérer les ressources de calculs et exécuter des actions telles qu'arrêter, reprendre, éteindre ou annuler.", - "You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them":"Vous pouvez utiliser le joker %i. Lors de la création de plusieurs MVs, %i sera remplacé par un nombre commençant à 0 dans chaqu\'une d\'entre elles.", - "You have to confirm this action.":"Vous devez confirmer cette action.", - "You must select a file to upload":"Vous devez sélectionner un fichier à téléverser", - "You must specify a name":"Vous devez spécifier un nom", - "You must specify size and FS type":"Vous devez spécifier une taille et un type de Système de Fichiers", - "You need to select something.":"Vous devez sélectionner quelque chose.", - "Your compute resources connectivity is performed using pre-defined virtual networks. You can create and manage these networks using OpenNebula Self-Service.":"Votre connectivité de ressources de calculs est effectuée des réseaux virtuels pré-définis. Vous pouvez créer et gérer ces réseaux en utilisant OpenNebula Libre-Service", -}; diff --git a/src/cloud/occi/lib/ui/public/locale/fr_FR/fr_FR.js b/src/cloud/occi/lib/ui/public/locale/fr_FR/fr_FR.js deleted file mode 100644 index f480920a67..0000000000 --- a/src/cloud/occi/lib/ui/public/locale/fr_FR/fr_FR.js +++ /dev/null @@ -1,165 +0,0 @@ -//Translated by Romain Dartigues -lang="fr_FR" -datatable_lang="fr_datatable.txt" -locale={ - "Additionally, OpenNebula Self-Service allows easy customization of the interface (e.g. this text) and brings multi-language support.":"Aditionnellement, OpenNebula Self-Service permet une personalisation aisée de l'interface (ex.: ce texte) et apporte un support multi-lingue.", - "Additionally, you can run several operations on defined storages, such as defining their persistance. Persistent images can only be used by 1 virtual machine, and the changes made by it have effect on the base image. Non-persistent images are cloned before being used in a Virtual Machine, therefore changes are lost unless a snapshot is taken prior to Virtual Machine shutdown.":"En outre, vous pouvez exécuter plusieurs opérations sur une image donnée, tel que définir sa persistance. Les images persistantes peuvent seulement être utilisées par une machine virtuelle et les changements effectués auront un effet sur l'image de base. Les images non-persistantes sont clonées avant d'être utilisées dans une machine virtuelle, mais les changements sont perdus à moins qu'un snapshot soit pris avant l'extinction de la machine virtuelle.", - "Additionally, you can take a \'snapshot\' of the storage attached to these resources. They will be saved as new resources, visible from the Storage view and re-usable.":"De plus, vous pouvez prendre un « snapshot » des images attachées à ces ressources. Elles seront sauvegardées en tant que nouvelles images, visibles depuis l\'onglet « Disques » et réutilisables.", - "Address":"Adresse IP", - "Add storage":"Ajouter du stockage ", - "All":"Tout ", - "are mandatory":"sont obligatoire", - "Cancel":"Annuler", - "Cannot contact server: is it running and reachable?":"Impossible de contacter le serveur : est-il en cours d'exécution et accessible ?", - "Canvas not supported.":"Canvas non supporté", - "CD-ROM":"CD-ROM", - "Changing language":"Modification de la langue", - "Close":"Fermer", - "Community":"Communauté", - "Compute":"Machines virtuelles", - "Compute resource":"Ressource de calcul", - "Compute resources are Virtual Machines attached to storage and network resources. OpenNebula Self-Service allows you to easily create, remove and manage them, including the possibility of pausing a Virtual Machine or taking a snapshot of one of their disks.":"Les ressources de calculs sont des machines virtuelles attachées aux ressources de stockage et de réseau. OpenNebula Self-Service vous permet d'aiséement les créer, supprimer et gérer, incluant la possibilité de mettre en pause une machine virtuelle ou de prendre un snapshot d'un de leur disques.", - "Compute resources can be attached to these networks at creation time. Virtual machines will be provided with an IP and the correct parameters to ensure connectivity.":"Les machines virtuelles peuvent être rattachées à ces réseaux lors de la création. Une adresse IP ainsi que les paramètres corrects afin d'assurer une connectivité seront fournis aux machines virtuelles.", - "Configuration":"Configuration", - "Confirmation of action":"Confirmation de l\'action", - "CPU":"CPU", - "Create":"Créer", - "Create network":"Créer le réseau", - "Create new compute resource":"Créer une nouvelle machine virtuelle", - "Create new network resource":"Créer un nouveau réseau", - "Create new storage resource":"Créer une nouvelle image", - "Create Virtual Machine":"Créer une machine virtuelle", - "Create # VMs":"Créer # VMs", - "Current resources":"Ressources actuelles", - "Dashboard":"Tableau de bord", - "Datablock":"Block de données", - "Delete":"Supprimer", - "Description":"Description", - "disk id":"identifiant disque", - "Disks":"Disques", - "Disks information":"Informations des disques", - "Documentation":"Documentation", - "Do you want to proceed?":"Souhaitez-vous continuer ?", - "English":"Anglais", - "Error":"Erreur", - "Fields marked with":"Champs marqués par", - "Filesystem type":"Type de système de fichiers", - "French":"Français", - "French Canadian":"Québécois", - "FS type":"Type de FS", - "Have a cloudy experience!":"Ayez une expérience dans le Cloud !", - "Human readable description of the image.":"Description humainement lisible de l'image.", - "ID":"ID", - "Image":"Image", - "Image information":"Information de l'image", - "Image name":"Nom de l'image", - "images":"images", - "Images":"Images", - "Info":"Info.", - "information":"information", - "Instance type":"Type d\'instance", - "In this view you can easily manage OpenNebula Network resources. You can add or remove virtual networks.":"Dans cette vue vous pouvez aisément gérer les réseaux d\'OpenNebula. Vous pouvez ajouter ou supprimer des réseaux virtuels.", - "IP":"IP", - "Language":"Langue", - "Launch VNC session":"Exécuter une session VNC", - "Loading":"Chargement", - "Loading new language... please wait":"Chargement d\'une nouvelle langue... veuillez patienter", - "MAC":"MAC", - "Make non persistent":"Rendre non-persistant", - "Make persistent":"Rendre persistant", - "Memory":"Mémoire", - "Monitoring information":"Information de surveillance", - "Name":"Nom", - "Name that the Image will get.":"Nom que l\'Image va avoir.", - "Network":"Réseau", - "Network Address":"Adresse réseau", - "Network information":"Information réseau", - "Network is unreachable: is OpenNebula running?":"Le réseau est injoignable : est-ce qu\'OpenNebula tourne ?", - "Network reception":"Réception réseau", - "networks":"réseaux", - "Networks":"Réseaux", - "Networks information":"Informations réseaux", - "Network Size":"Taille du réseau", - "Network transmission":"Transmission réseau", - "+ New":"+ Nouveau", - "No disk id or image name specified":"Aucun identifiant de disque ou nom d\'image", - "No disks defined":"Aucun disque défini", - "No networks defined":"Aucun réseau défini", - "OK":"OK", - "OpenNebula Self-Service is a simplified user interface to manage OpenNebula compute, storage and network resources. It is focused on easiness and usability and features a limited set of operations directed towards end-users.":"OpenNebula Self-Service est une interface utilisateur simplifiée pour gérer les machines virtuelles, les images disques et les réseaux d'OpenNebula. Il est axé sur la facilité et la convivialité d\'un nombre limité d\'opérations destinées aux utilisateurs finaux.", - "Open VNC Session":"Ouvrir une session VNC", - "OS":"OS", - "Persistence of the image":"Persistance de l\'image", - "Persistent":"Persistant", - "Please, choose and modify the template you want to update":"Veuillez choisir et modifier le modèle que vous souhaitez mettre à jour", - "Please provide a network address":"Veuillez renseigner une adresse réseau", - "Please select":"Veuillez sélectionner", - "Previous action":"Action précédente", - "Public":"Publique", - "Public scope of the image":"Visibilité publique de l\'image", - "Publish":"Publier", - "Refresh list":"Rafraîchir la liste", - "Resume":"Reprendre", - "Retrieving":"Récupération", - "Saveas for VM with ID":"Sauvegarder sous pour une VM avec ID", - "See more":"Voir plus", - "Select a template":"Sélectionner un modèle", - "Select disk":"Sélectionner un disque", - "Select image to upload":"Sélectionner une image à envoyer", - "Self-Service UI Configuration":"Configuration de l\'interface de Self-Service", - "Shutdown":"Éteindre", - "Sign out":"Déconnecter", - "Size":"Taille", - "Size (Mb)":"Taille (Mb)", - "Size of the datablock in MB.":"Taille du bloc de données en Mo.", - "Skipping VM ":"Passer la VM", - "Spanish":"Espagnol", - "State":"État", - "Stop":"Stop", - "Storage":"Disques", - "Storage pool is formed by several images. These images can contain from full operating systems to be used as base for compute resources, to simple data. OpenNebula Self-Service offers you the possibility to create or upload your own images.":"Le dépot de stockage est formé par plusieurs images disques. Ces images peuvent contenir un système d\'exploitation complet pour être utilisé comme base pour les machines virtuelles, ou de simples données. Open-Nebula Self-Service vous offre la possibilité de créer ou d\'envoyer vos propres images.", - "String":"Chaîne", - "style":"style", - "Submitted":"Soumis", - "Support":"Support", - "Suspend":"Suspendre", - "Take snapshot":"Prendre un snapshot", - "Target":"Cible", - "There are currently":"Il y a actuellement", - "The Storage view offers you an overview of your current images. Storage elements are attached to compute resources at creation time. They can also be extracted from running virtual machines by taking an snapshot.":"L\'onglet Disques vous offre un aperçu de vos images disques actuelles. Les images sont attachées aux machines virtuelles lors de la création. Elles peuvent également être sauvegardées en prenant un snapshot.", - "This is a list of your current compute resources. Virtual Machines use previously defined images and networks. You can easily create a new compute element by cliking \'new\' and filling-in an easy wizard.":"Ceci est la liste de vos machines virtuelles actuelles. Ces machines virtuelles utilisent des images et réseaux prédéfinis. Vous pouvez facilement créer une nouvelle machine virtuelle en cliquant sur « nouveau » et en remplissant le formulaire.", - "This will cancel selected VMs":"Ceci va annuler les VMs sélectionnées", - "This will delete the selected VMs from the database":"Ceci va supprimer les VMs sélectionnées de la base de données", - "This will resume the selected VMs in stopped or suspended states":"Ceci va reprendre les VMs sélectionnées qui sont stoppées ou en pause", - "This will shutdown the selected VMs":"Ceci va éteindre les VMs sélectionnées", - "This will suspend the selected VMs":"Ceci va mettre en pause les VMs sélectionnées", - "Type":"Type", - "Type of file system to be built. This can be any value understood by mkfs unix command.":"Type de système de fichier à créer. Ce peut être n\'importe quelle valeur comprise par la commande unix mkfs.", - "Type of the image":"Type de l\'image", - "Unauthorized":"Non autorisé", - "Unpublish":"Retirer", - "Update":"Mettre à jour", - "Update template":"Mettre à jour le modèle", - "Used leases":"IP utilisées", - "Useful links":"Liens utiles", - "Virtual Machine information":"Informations sur la machine virtuelle", - "virtual machines":"machines virtuelles", - "Virtual Network":"Réseau Virtuel", - "Virtual Network information":"Informations sur le Réseau Virtuel", - "Virtual Network name missing!":"Le nom du Réseau Virtuel est manquant !", - "VM information":"Information VM", - "VM Name":"Nom VM", - "VNC connection":"Connexion VNC", - "VNC Disabled":"VNC désactivé", - "Welcome":"Bienvenue", - "Welcome to OpenNebula Self-Service":"Bienvenue dans OpenNebula Self-Service", - "You can add new storages by clicking \'new\'. Image files will be uploaded to OpenNebula and set ready to be used.":"Vous pouvez ajouter de nouvelles images en cliquant sur « nouveau ». Les fichiers image seront envoyés à OpenNebula et prêts à être utilisés.", - "You can also manage compute resources and perform actions such as stop, resume, shutdown or cancel.":"Vous pouvez aussi gérer les machines virtuelles et exécuter des actions telles que arrêter, reprendre, éteindre ou annuler.", - "You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them":"Vous pouvez utiliser le joker %i. Lors de la création de plusieurs VMs, %i sera remplacé par un nombre commençant à 0 dans chaqu\'une d\'entre elles.", - "You have to confirm this action.":"Vous devez confirmer cette action.", - "You must select a file to upload":"Vous devez sélectionner un fichier à envoyer", - "You must specify a name":"Vous devez spécifier un nom", - "You must specify size and FS type":"Vous devez spécifier une taille et un type de FS", - "You need to select something.":"Vous devez sélectionner quelque chose.", - "Your compute resources connectivity is performed using pre-defined virtual networks. You can create and manage these networks using OpenNebula Self-Service.":"La connectivité des machines virtuelles est effectuée par des réseaux virtuels pré-définis. Vous pouvez créer et gérer ces réseaux en utilisant OpenNebula Self-Service", -}; diff --git a/src/cloud/occi/lib/ui/views/index.erb b/src/cloud/occi/lib/ui/views/index.erb index 86dd776731..294d996071 100644 --- a/src/cloud/occi/lib/ui/views/index.erb +++ b/src/cloud/occi/lib/ui/views/index.erb @@ -2,13 +2,14 @@ OpenNebula Self-Service - + + diff --git a/src/common/Attribute.cc b/src/common/Attribute.cc index bce9e58eb8..389681ea1b 100644 --- a/src/common/Attribute.cc +++ b/src/common/Attribute.cc @@ -225,3 +225,39 @@ int VectorAttribute::vector_value(const char *name, int & value) const return 0; } + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +string VectorAttribute::vector_value_str(const char *name, int& value) const +{ + map::const_iterator it; + + it = attribute_value.find(name); + + if ( it == attribute_value.end() ) + { + value = -1; + return ""; + } + + if ( it->second.empty() ) + { + value = -1; + return ""; + } + + istringstream iss(it->second); + iss >> value; + + if (iss.fail() || !iss.eof()) + { + value = -1; + return ""; + } + + return it->second; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ diff --git a/src/datastore_mad/one_datastore.rb b/src/datastore_mad/one_datastore.rb index 2ed7afc99b..c77d937225 100755 --- a/src/datastore_mad/one_datastore.rb +++ b/src/datastore_mad/one_datastore.rb @@ -44,11 +44,11 @@ class DatastoreDriver < OpenNebulaDriver # Image Driver Protocol constants ACTION = { - :mv => "MV", :cp => "CP", :rm => "RM", :mkfs => "MKFS", - :log => "LOG" + :log => "LOG", + :stat => "STAT" } # Register default actions for the protocol @@ -58,7 +58,7 @@ class DatastoreDriver < OpenNebulaDriver :threaded => true, :retries => 0, :local_actions => { - ACTION[:mv] => nil, + ACTION[:stat] => nil, ACTION[:cp] => nil, ACTION[:rm] => nil, ACTION[:mkfs] => nil @@ -77,19 +77,15 @@ class DatastoreDriver < OpenNebulaDriver @types = ds_type end -# register_action(ACTION[:mv].to_sym, method("mv")) - register_action(ACTION[:cp].to_sym, method("cp")) - register_action(ACTION[:rm].to_sym, method("rm")) + register_action(ACTION[:cp].to_sym, method("cp")) + register_action(ACTION[:rm].to_sym, method("rm")) register_action(ACTION[:mkfs].to_sym, method("mkfs")) + register_action(ACTION[:stat].to_sym, method("stat")) end ############################################################################ # Image Manager Protocol Actions (generic implementation) ############################################################################ -# TODO: Integrate this with TM -# def mv(id, ds, src, dst) -# do_image_action(id, ds, :mv, "'#{src}' '#{dst}' '#{id}'") -# end def cp(id, drv_message) ds = get_ds_type(drv_message) @@ -106,6 +102,11 @@ class DatastoreDriver < OpenNebulaDriver do_image_action(id, ds, :mkfs, "#{drv_message} #{id}") end + def stat(id, drv_message) + ds = get_ds_type(drv_message) + do_image_action(id, ds, :stat, "#{drv_message} #{id}") + end + private def is_available?(ds, id, action) @@ -130,8 +131,6 @@ class DatastoreDriver < OpenNebulaDriver result, info = get_info_from_execution(rc) - - PP.pp([ACTION[action], result, id, info],STDERR) send_message(ACTION[action], result, id, info) end diff --git a/src/datastore_mad/remotes/common/stat b/src/datastore_mad/remotes/common/stat new file mode 100755 index 0000000000..855ecae00b --- /dev/null +++ b/src/datastore_mad/remotes/common/stat @@ -0,0 +1,59 @@ +#!/bin/bash + +# -------------------------------------------------------------------------- # +# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +############################################################################### +# This script is used to copy a VM image (SRC) to the image repository as DST +# Several SRC types are supported +############################################################################### + +# -------- Set up the environment to source common tools & conf ------------ + +if [ -z "${ONE_LOCATION}" ]; then + LIB_LOCATION=/usr/lib/one +else + LIB_LOCATION=$ONE_LOCATION/lib +fi + +. $LIB_LOCATION/sh/scripts_common.sh + +DRIVER_PATH=$(dirname $0) +source ${DRIVER_PATH}/../libfs.sh + +# -------- Get cp and datastore arguments from OpenNebula core ------------ + +DRV_ACTION=$1 +ID=$2 + +XPATH="${DRIVER_PATH}/../xpath.rb -b $DRV_ACTION" + +unset i XPATH_ELEMENTS + +while IFS= read -r -d '' element; do + XPATH_ELEMENTS[i++]="$element" +done < <($XPATH /DS_DRIVER_ACTION_DATA/IMAGE/PATH) + +SRC="${XPATH_ELEMENTS[0]}" + +SIZE=`fs_size $SRC` + +if [ "$SIZE" = "0" ]; then + log_error "Cannot determine size for $SRC" + exit -1 +fi + +echo "$SIZE" \ No newline at end of file diff --git a/src/datastore_mad/remotes/dummy/cp b/src/datastore_mad/remotes/dummy/cp index d915146f42..9cf7239279 100755 --- a/src/datastore_mad/remotes/dummy/cp +++ b/src/datastore_mad/remotes/dummy/cp @@ -16,4 +16,4 @@ # limitations under the License. # #--------------------------------------------------------------------------- # -echo "dummy_path 1024" +echo "dummy_path" diff --git a/src/datastore_mad/remotes/dummy/mkfs b/src/datastore_mad/remotes/dummy/mkfs index d915146f42..9cf7239279 100755 --- a/src/datastore_mad/remotes/dummy/mkfs +++ b/src/datastore_mad/remotes/dummy/mkfs @@ -16,4 +16,4 @@ # limitations under the License. # #--------------------------------------------------------------------------- # -echo "dummy_path 1024" +echo "dummy_path" diff --git a/src/datastore_mad/remotes/dummy/stat b/src/datastore_mad/remotes/dummy/stat new file mode 100755 index 0000000000..390fb72944 --- /dev/null +++ b/src/datastore_mad/remotes/dummy/stat @@ -0,0 +1,19 @@ +#!/bin/sh + +# -------------------------------------------------------------------------- # +# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +echo "1024" diff --git a/src/datastore_mad/remotes/fs/cp b/src/datastore_mad/remotes/fs/cp index 81a6b07679..fbb80dce23 100755 --- a/src/datastore_mad/remotes/fs/cp +++ b/src/datastore_mad/remotes/fs/cp @@ -84,8 +84,4 @@ http://*) ;; esac -# ---------------- Get the size of the image ------------ - -SIZE=`fs_du $DST` - -echo "$DST $SIZE" +echo "$DST" diff --git a/src/datastore_mad/remotes/fs/mkfs b/src/datastore_mad/remotes/fs/mkfs index d6a3d8d484..381a7a461b 100755 --- a/src/datastore_mad/remotes/fs/mkfs +++ b/src/datastore_mad/remotes/fs/mkfs @@ -68,7 +68,7 @@ DST=`generate_image_path` # ------------ Image to save_as disk, no need to create a FS ------------ if [ "$FSTYPE" = "save_as" ]; then - echo "$DST $SIZE" + echo "$DST" exit 0 fi @@ -81,4 +81,4 @@ exec_and_log "$DD if=/dev/zero of=$DST bs=1 count=1 seek=${SIZE}M" \ exec_and_log "$MKFS_CMD" \ "Unable to create filesystem $FSTYPE in $DST" -echo "$DST $SIZE" +echo "$DST" diff --git a/src/datastore_mad/remotes/fs/stat b/src/datastore_mad/remotes/fs/stat new file mode 120000 index 0000000000..65583e827b --- /dev/null +++ b/src/datastore_mad/remotes/fs/stat @@ -0,0 +1 @@ +../common/stat \ No newline at end of file diff --git a/src/datastore_mad/remotes/iscsi/cp b/src/datastore_mad/remotes/iscsi/cp index 7eb8c4bd83..7399f0acc1 100755 --- a/src/datastore_mad/remotes/iscsi/cp +++ b/src/datastore_mad/remotes/iscsi/cp @@ -54,8 +54,8 @@ done < <($XPATH /DS_DRIVER_ACTION_DATA/DATASTORE/BASE_PATH \ /DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/VG_NAME \ /DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/BASE_IQN \ /DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/BASE_TID \ - /DS_DRIVER_ACTION_DATA/IMAGE/PATH) - + /DS_DRIVER_ACTION_DATA/IMAGE/PATH \ + /DS_DRIVER_ACTION_DATA/IMAGE/SIZE) BASE_PATH="${XPATH_ELEMENTS[0]}" RESTRICTED_DIRS="${XPATH_ELEMENTS[1]}" @@ -66,10 +66,10 @@ VG_NAME="${XPATH_ELEMENTS[5]:-$VG_NAME}" BASE_IQN="${XPATH_ELEMENTS[6]:-$BASE_IQN}" BASE_TID="${XPATH_ELEMENTS[7]:-$BASE_TID}" SRC="${XPATH_ELEMENTS[8]}" +SIZE="${XPATH_ELEMENTS[9]}" set_up_datastore "$BASE_PATH" "$RESTRICTED_DIRS" "$SAFE_DIRS" "$UMASK" -SIZE=`fs_du $SRC` LV_NAME="lv-one-${ID}" IQN="$BASE_IQN:$DST_HOST.$VG_NAME.$LV_NAME" DEV="/dev/$VG_NAME/$LV_NAME" @@ -110,4 +110,4 @@ ssh_exec_and_log "$DST_HOST" "$REGISTER_CMD" "Error registering $DST_HOST:$DEV" exec_and_log "eval $DUMP | $SSH $DST_HOST $SUDO $DD of=$DEV bs=64k" \ "Error dumping $SRC to $DST_HOST:$DEV" -echo "$IQN $SIZE" +echo "$IQN" diff --git a/src/datastore_mad/remotes/iscsi/mkfs b/src/datastore_mad/remotes/iscsi/mkfs index c06d64ce6b..8756d69cf7 100755 --- a/src/datastore_mad/remotes/iscsi/mkfs +++ b/src/datastore_mad/remotes/iscsi/mkfs @@ -90,7 +90,7 @@ EOF # ------------ Image to save_as disk, no need to create a FS ------------ if [ "$FSTYPE" = "save_as" ]; then - echo "$DST $SIZE" + echo "$DST" exit 0 fi @@ -99,4 +99,4 @@ fi ssh_exec_and_log "$DST_HOST" "$REGISTER_CMD" \ "Error registering $DST_HOST:$DEV" -echo "$IQN $SIZE" +echo "$IQN" diff --git a/src/datastore_mad/remotes/iscsi/rm b/src/datastore_mad/remotes/iscsi/rm index 3fb58c5710..a3ffee7651 100755 --- a/src/datastore_mad/remotes/iscsi/rm +++ b/src/datastore_mad/remotes/iscsi/rm @@ -62,6 +62,7 @@ let TID=ID+BASE_TID RM_COMMAND=$(cat </dev/null | grep Length | cut -d: -f` error=$? - else - SIZE=`stat -c %s "$1"` - error=$? - fi + ;; + *) + if [ -d "$1" ]; then + SIZE=`du -sb "$1" | cut -f1` + error=$? + else + SIZE=`stat -c %s "$1"` + error=$? + fi + ;; + esac if [ $error -ne 0 ]; then SIZE=0 @@ -106,22 +115,6 @@ function fs_du { echo "$SIZE" } -#------------------------------------------------------------------------------- -# Computes the size of an image -# @param $1 - Path to the image -# @return size of the image in Mb -#------------------------------------------------------------------------------- -function qemu_size { - DISK="$1" - - SIZE=`$QEMU_IMG info $DISK|grep "^virtual size:"|\ - sed 's/^.*(\([0-9]\+\) bytes.*$/\1/g'` - - SIZE=$((($SIZE+1048575)/1048576)) - - echo "$SIZE" -} - #------------------------------------------------------------------------------- # Checks if a path is safe for copying the image from # @param $1 - Path to the image diff --git a/src/datastore_mad/remotes/lvm/cp b/src/datastore_mad/remotes/lvm/cp index 6c95b0c814..66137931d0 100755 --- a/src/datastore_mad/remotes/lvm/cp +++ b/src/datastore_mad/remotes/lvm/cp @@ -52,7 +52,8 @@ done < <($XPATH /DS_DRIVER_ACTION_DATA/DATASTORE/BASE_PATH \ /DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/UMASK \ /DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/HOST \ /DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/VG_NAME \ - /DS_DRIVER_ACTION_DATA/IMAGE/PATH) + /DS_DRIVER_ACTION_DATA/IMAGE/PATH \ + /DS_DRIVER_ACTION_DATA/IMAGE/SIZE) BASE_PATH="${XPATH_ELEMENTS[0]}" RESTRICTED_DIRS="${XPATH_ELEMENTS[1]}" @@ -61,11 +62,10 @@ UMASK="${XPATH_ELEMENTS[3]}" DST_HOST="${XPATH_ELEMENTS[4]:-$HOST}" VG_NAME="${XPATH_ELEMENTS[5]:-$VG_NAME}" SRC="${XPATH_ELEMENTS[6]}" +SIZE="${XPATH_ELEMENTS[7]}" set_up_datastore "$BASE_PATH" "$RESTRICTED_DIRS" "$SAFE_DIRS" "$UMASK" -SIZE=`fs_du $SRC` - LV_NAME="lv-one-${ID}" LVM_SOURCE="$DST_HOST:$VG_NAME.$LV_NAME" DEV="/dev/$VG_NAME/$LV_NAME" @@ -101,4 +101,4 @@ ssh_exec_and_log "$DST_HOST" "$REGISTER_CMD" "Error registering $DST_HOST:$DEV" exec_and_log "eval $DUMP | $SSH $DST_HOST $SUDO $DD of=$DEV bs=64k" \ "Error dumping $SRC to $DST_HOST:$DEV" -echo "$LVM_SOURCE $SIZE" +echo "$LVM_SOURCE" diff --git a/src/datastore_mad/remotes/lvm/mkfs b/src/datastore_mad/remotes/lvm/mkfs index 71bb3f9638..5eb699d9ce 100755 --- a/src/datastore_mad/remotes/lvm/mkfs +++ b/src/datastore_mad/remotes/lvm/mkfs @@ -62,7 +62,7 @@ UMASK="${XPATH_ELEMENTS[3]}" DST_HOST="${XPATH_ELEMENTS[4]:-$HOST}" VG_NAME="${XPATH_ELEMENTS[5]:-$VG_NAME}" FSTYPE="${XPATH_ELEMENTS[6]}" -SIZE="${XPATH_ELEMENTS[7]:-0}" +SIZE="${XPATH_ELEMENTS[7]}" set_up_datastore "$BASE_PATH" "$RESTRICTED_DIRS" "$SAFE_DIRS" "$UMASK" @@ -80,7 +80,7 @@ EOF # ------------ Image to save_as disk, no need to create a FS ------------ if [ "$FSTYPE" = "save_as" ]; then - echo "$LVM_SOURCE $SIZE" + echo "$LVM_SOURCE" exit 0 fi @@ -89,4 +89,4 @@ fi ssh_exec_and_log "$DST_HOST" "$REGISTER_CMD" \ "Error registering $DST_HOST:$DEV" -echo "$LVM_SOURCE $SIZE" +echo "$LVM_SOURCE" diff --git a/src/datastore_mad/remotes/lvm/stat b/src/datastore_mad/remotes/lvm/stat new file mode 120000 index 0000000000..65583e827b --- /dev/null +++ b/src/datastore_mad/remotes/lvm/stat @@ -0,0 +1 @@ +../common/stat \ No newline at end of file diff --git a/src/datastore_mad/remotes/vmware/cp b/src/datastore_mad/remotes/vmware/cp index a0e892d153..0bfb247c50 100755 --- a/src/datastore_mad/remotes/vmware/cp +++ b/src/datastore_mad/remotes/vmware/cp @@ -87,8 +87,4 @@ case $SRC in ;; esac -# ---------------- Get the size of the image ------------ - -SIZE=`fs_du $DST` - -echo "$DST $SIZE" +echo "$DST" diff --git a/src/datastore_mad/remotes/vmware/mkfs b/src/datastore_mad/remotes/vmware/mkfs index a4d38bccea..13cd67afdf 100755 --- a/src/datastore_mad/remotes/vmware/mkfs +++ b/src/datastore_mad/remotes/vmware/mkfs @@ -67,7 +67,7 @@ DST=`generate_image_path` # ------------ Image to save_as disk, no need to create a FS ------------ if [ "$FSTYPE" = "save_as" ]; then - echo "$DST $SIZE" + echo "$DST" exit 0 fi @@ -91,8 +91,4 @@ exec_and_log "$QEMU_IMG convert -O $IMAGE_FORMAT $DISK_TMP $DISK" \ exec_and_log "rm -f $DISK_TMP" \ "Unable to remove temporary disk $DISK_TMP" -# ---------------- Get the size of the image ------------ - -SIZE=`qemu_size $DISK` - -echo "$DST $SIZE" +echo "$DST" diff --git a/src/datastore_mad/remotes/vmware/stat b/src/datastore_mad/remotes/vmware/stat new file mode 120000 index 0000000000..65583e827b --- /dev/null +++ b/src/datastore_mad/remotes/vmware/stat @@ -0,0 +1 @@ +../common/stat \ No newline at end of file diff --git a/src/dm/DispatchManagerActions.cc b/src/dm/DispatchManagerActions.cc index a245389409..df0505cc8e 100644 --- a/src/dm/DispatchManagerActions.cc +++ b/src/dm/DispatchManagerActions.cc @@ -683,7 +683,15 @@ int DispatchManager::finalize( int vid) { VirtualMachine * vm; - ostringstream oss; + ostringstream oss; + Template * tmpl; + + User * user; + Group * group; + + int uid; + int gid; + VirtualMachine::VmState state; vm = vmpool->get(vid,true); @@ -701,6 +709,8 @@ int DispatchManager::finalize( Nebula& nd = Nebula::instance(); TransferManager * tm = nd.get_tm(); LifeCycleManager * lcm = nd.get_lcm(); + UserPool * upool = nd.get_upool(); + GroupPool * gpool = nd.get_gpool(); switch (state) { @@ -722,17 +732,55 @@ int DispatchManager::finalize( vmpool->update(vm); vm->log("DiM", Log::INFO, "New VM state is DONE."); + + uid = vm->get_uid(); + gid = vm->get_gid(); + tmpl = vm->clone_template(); + + vm->unlock(); + + if ( uid != UserPool::ONEADMIN_ID ) + { + + user = upool->get(uid, true); + + if ( user != 0 ) + { + user->quota.vm_del(tmpl); + + upool->update(user); + + user->unlock(); + } + } + + if ( gid != GroupPool::ONEADMIN_ID ) + { + group = gpool->get(gid, true); + + if ( group != 0 ) + { + group->quota.vm_del(tmpl); + + gpool->update(group); + + group->unlock(); + } + } + + delete tmpl; break; case VirtualMachine::ACTIVE: lcm->trigger(LifeCycleManager::DELETE,vid); + vm->unlock(); break; + case VirtualMachine::DONE: + vm->unlock(); break; } - vm->unlock(); - return 0; } diff --git a/src/dm/DispatchManagerStates.cc b/src/dm/DispatchManagerStates.cc index a26a965bcf..b2305cb026 100644 --- a/src/dm/DispatchManagerStates.cc +++ b/src/dm/DispatchManagerStates.cc @@ -17,6 +17,8 @@ #include "DispatchManager.h" #include "NebulaLog.h" +#include "Nebula.h" + void DispatchManager::suspend_success_action(int vid) { VirtualMachine * vm; @@ -97,11 +99,22 @@ void DispatchManager::stop_success_action(int vid) void DispatchManager::done_action(int vid) { - VirtualMachine * vm; + VirtualMachine * vm; + Template * tmpl; + + int uid; + int gid; VirtualMachine::LcmState lcm_state; VirtualMachine::VmState dm_state; + Nebula& nd = Nebula::instance(); + UserPool * upool = nd.get_upool(); + GroupPool* gpool = nd.get_gpool(); + + User * user; + Group * group; + vm = vmpool->get(vid,true); if ( vm == 0 ) @@ -130,6 +143,44 @@ void DispatchManager::done_action(int vid) vm->release_network_leases(); vm->release_disk_images(); + + uid = vm->get_uid(); + gid = vm->get_gid(); + tmpl = vm->clone_template(); + + vm->unlock(); + + /* ---------------- Update Group & User quota counters -------------- */ + + if ( uid != UserPool::ONEADMIN_ID ) + { + user = upool->get(uid, true); + + if ( user != 0 ) + { + user->quota.vm_del(tmpl); + + upool->update(user); + + user->unlock(); + } + } + + if ( gid != GroupPool::ONEADMIN_ID ) + { + group = gpool->get(gid, true); + + if ( group != 0 ) + { + group->quota.vm_del(tmpl); + + gpool->update(group); + + group->unlock(); + } + } + + delete tmpl; } else { @@ -137,10 +188,10 @@ void DispatchManager::done_action(int vid) oss << "done action received but VM " << vid << " not in ACTIVE state"; NebulaLog::log("DiM",Log::ERROR,oss); + + vm->unlock(); } - - vm->unlock(); - + return; } diff --git a/src/group/Group.cc b/src/group/Group.cc index 28e1582af0..02588502b2 100644 --- a/src/group/Group.cc +++ b/src/group/Group.cc @@ -130,14 +130,18 @@ string& Group::to_xml(string& xml) const { ostringstream oss; string collection_xml; + string quota_xml; ObjectCollection::to_xml(collection_xml); + + quota.to_xml(quota_xml); oss << "" << "" << oid << "" << "" << name << "" << collection_xml << + quota_xml << ""; xml = oss.str(); @@ -179,6 +183,8 @@ int Group::from_xml(const string& xml) ObjectXML::free_nodes(content); + rc += quota.from_xml(this); + if (rc != 0) { return -1; diff --git a/src/host/Host.cc b/src/host/Host.cc index 92abb39f65..804b34a87f 100644 --- a/src/host/Host.cc +++ b/src/host/Host.cc @@ -69,6 +69,14 @@ const char * Host::db_bootstrap = "CREATE TABLE IF NOT EXISTS host_pool (" "last_mon_time INTEGER, uid INTEGER, gid INTEGER, owner_u INTEGER, " "group_u INTEGER, other_u INTEGER, UNIQUE(name))"; + +const char * Host::monit_table = "host_monitoring"; + +const char * Host::monit_db_names = "hid, last_mon_time, body"; + +const char * Host::monit_db_bootstrap = "CREATE TABLE IF NOT EXISTS " + "host_monitoring (hid INTEGER, last_mon_time INTEGER, body TEXT, " + "PRIMARY KEY(hid, last_mon_time))"; /* ------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------ */ @@ -153,7 +161,7 @@ error_hostname: goto error_generic; error_generic: - error_str = "Error inserting Group in DB."; + error_str = "Error inserting Host in DB."; error_common: return -1; } @@ -188,6 +196,60 @@ int Host::update_info(string &parse_str) return 0; } +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int Host::update_monitoring(SqlDB * db) +{ + ostringstream oss; + int rc; + + string xml_body; + string error_str; + char * sql_xml; + + sql_xml = db->escape_str(to_xml(xml_body).c_str()); + + if ( sql_xml == 0 ) + { + goto error_body; + } + + if ( validate_xml(sql_xml) != 0 ) + { + goto error_xml; + } + + oss << "INSERT INTO " << monit_table << " ("<< monit_db_names <<") VALUES (" + << oid << "," + << last_monitored << "," + << "'" << sql_xml << "')"; + + db->free_str(sql_xml); + + rc = db->exec(oss); + + return rc; + +error_xml: + db->free_str(sql_xml); + + error_str = "could not transform the Host to XML."; + + goto error_common; + +error_body: + error_str = "could not insert the Host in the DB."; + +error_common: + oss.str(""); + oss << "Error updating Host monitoring information, " << error_str; + + NebulaLog::log("ONE",Log::ERROR, oss); + + return -1; +} + /* ************************************************************************ */ /* Host :: Misc */ /* ************************************************************************ */ diff --git a/src/host/HostPool.cc b/src/host/HostPool.cc index 9bb138a12b..2bf113f4a0 100644 --- a/src/host/HostPool.cc +++ b/src/host/HostPool.cc @@ -29,12 +29,26 @@ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ +time_t HostPool::_monitor_expiration; + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + HostPool::HostPool(SqlDB* db, vector hook_mads, const string& hook_location, - const string& remotes_location) + const string& remotes_location, + time_t expire_time) : PoolSQL(db, Host::table, true) { + + _monitor_expiration = expire_time; + + if ( _monitor_expiration == 0 ) + { + clean_all_monitoring(); + } + // ------------------ Initialize Hooks for the pool ---------------------- const VectorAttribute * vattr; @@ -289,3 +303,65 @@ int HostPool::discover(map * discovered_hosts, int host_limit) return rc; } + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int HostPool::dump_monitoring( + ostringstream& oss, + const string& where) +{ + ostringstream cmd; + + cmd << "SELECT " << Host::monit_table << ".body FROM " << Host::monit_table + << " INNER JOIN " << Host::table + << " WHERE hid = oid"; + + if ( !where.empty() ) + { + cmd << " AND " << where; + } + + cmd << " ORDER BY hid, " << Host::monit_table << ".last_mon_time;"; + + return PoolSQL::dump(oss, "MONITORING_DATA", cmd); +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int HostPool::clean_expired_monitoring() +{ + if ( _monitor_expiration == 0 ) + { + return 0; + } + + int rc; + time_t max_mon_time; + ostringstream oss; + + max_mon_time = time(0) - _monitor_expiration; + + oss << "DELETE FROM " << Host::monit_table + << " WHERE last_mon_time < " << max_mon_time; + + rc = db->exec(oss); + + return rc; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int HostPool::clean_all_monitoring() +{ + ostringstream oss; + int rc; + + oss << "DELETE FROM " << Host::monit_table; + + rc = db->exec(oss); + + return rc; +} diff --git a/src/host/test/HostPoolTest.cc b/src/host/test/HostPoolTest.cc index 9f02041dfc..cf5714704c 100644 --- a/src/host/test/HostPoolTest.cc +++ b/src/host/test/HostPoolTest.cc @@ -155,7 +155,7 @@ protected: { vector hook; - return new HostPool(db,hook,"./", "./"); + return new HostPool(db,hook,"./", "./", 0); }; int allocate(int index) diff --git a/src/host/test/NebulaTestHost.h b/src/host/test/NebulaTestHost.h index 1248059f3d..fa9c5c839e 100644 --- a/src/host/test/NebulaTestHost.h +++ b/src/host/test/NebulaTestHost.h @@ -81,7 +81,7 @@ public: host_hooks.push_back(hook); - return new HostPool(db, host_hooks, hook_location, var_location); + return new HostPool(db, host_hooks, hook_location, var_location, 0); } }; diff --git a/src/im/InformationManager.cc b/src/im/InformationManager.cc index 699ff0f9c4..0b2ecc2aea 100644 --- a/src/im/InformationManager.cc +++ b/src/im/InformationManager.cc @@ -162,6 +162,9 @@ void InformationManager::timer_action() mark = 0; } + // Clear the expired monitoring records + hpool->clean_expired_monitoring(); + rc = hpool->discover(&discovered_hosts, host_limit); if ((rc != 0) || (discovered_hosts.empty() == true)) diff --git a/src/im/InformationManagerDriver.cc b/src/im/InformationManagerDriver.cc index 3af422e13c..990638f0f3 100644 --- a/src/im/InformationManagerDriver.cc +++ b/src/im/InformationManagerDriver.cc @@ -128,6 +128,7 @@ void InformationManagerDriver::protocol( host->touch(true); hpool->update(host); + hpool->update_monitoring(host); host->unlock(); } diff --git a/src/image/Image.cc b/src/image/Image.cc index f138cc53da..45a57e7177 100644 --- a/src/image/Image.cc +++ b/src/image/Image.cc @@ -50,7 +50,7 @@ Image::Image(int _uid, state(INIT), running_vms(0), cloning_ops(0), - source_img_id(-1), + cloning_id(-1), ds_id(-1), ds_name("") { @@ -99,7 +99,9 @@ int Image::insert(SqlDB *db, string& error_str) string dev_prefix; string source_attr; string saved_id; + string size_attr; + istringstream iss; ostringstream oss; // --------------------------------------------------------------------- @@ -143,6 +145,13 @@ int Image::insert(SqlDB *db, string& error_str) obj_template->set(dev_att); } + // ------------ SIZE -------------------- + + erase_template_attribute("SIZE", size_attr); + + iss.str(size_attr); + iss >> size_mb; + // ------------ PATH & SOURCE -------------------- erase_template_attribute("PATH", path); @@ -152,26 +161,13 @@ int Image::insert(SqlDB *db, string& error_str) { if ( source.empty() && path.empty() ) { - string size_attr; - istringstream iss; - - erase_template_attribute("SIZE", size_attr); erase_template_attribute("FSTYPE", fs_type); - // DATABLOCK image needs SIZE and FSTYPE - if (type != DATABLOCK || size_attr.empty() || fs_type.empty()) + // DATABLOCK image needs FSTYPE + if (type != DATABLOCK || fs_type.empty()) { goto error_no_path; } - - iss.str(size_attr); - - iss >> size_mb; - - if (iss.fail() == true) - { - goto error_size_format; - } } else if ( !source.empty() && !path.empty() ) { @@ -180,20 +176,7 @@ int Image::insert(SqlDB *db, string& error_str) } else { - string size_attr; - istringstream iss; - fs_type = "save_as"; - erase_template_attribute("SIZE", size_attr); - - iss.str(size_attr); - - iss >> size_mb; - - if (iss.fail() == true) - { - goto error_size_format; - } } state = LOCKED; //LOCKED till the ImageManager copies it to the Repository @@ -222,10 +205,6 @@ error_no_path: } goto error_common; -error_size_format: - error_str = "Wrong number in SIZE."; - goto error_common; - error_path_and_source: error_str = "Template malformed, PATH and SOURCE are mutually exclusive."; goto error_common; @@ -358,7 +337,7 @@ string& Image::to_xml(string& xml) const "" << state << "" << "" << running_vms << "" << "" << cloning_ops << "" << - "" << source_img_id << "" << + "" << cloning_id << "" << "" << ds_id << ""<< "" << ds_name << "" << obj_template->to_xml(template_xml) << @@ -404,7 +383,7 @@ int Image::from_xml(const string& xml) rc += xpath(int_state, "/IMAGE/STATE", 0); rc += xpath(running_vms, "/IMAGE/RUNNING_VMS", -1); rc += xpath(cloning_ops, "/IMAGE/CLONING_OPS", -1); - rc += xpath(source_img_id, "/IMAGE/SOURCE_IMG", -1); + rc += xpath(cloning_id, "/IMAGE/CLONING_ID", -1); rc += xpath(ds_id, "/IMAGE/DATASTORE_ID", -1); rc += xpath(ds_name, "/IMAGE/DATASTORE", "not_found"); @@ -470,7 +449,7 @@ int Image::disk_attribute( VectorAttribute * disk, get_template_attribute("DEV_PREFIX", dev_prefix); - if (dev_prefix.empty())//Removed from image template, get it again from defaults + if (dev_prefix.empty())//Removed from image template, get it again { dev_prefix = ImagePool::default_dev_prefix(); } @@ -568,52 +547,17 @@ int Image::set_type(string& _type) /* ------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------ */ -int Image::clone_template(string& new_name, - ImageTemplate * &tmpl, string& error_str) const +ImageTemplate * Image::clone_template(const string& new_name) const { - if ( get_state() != READY ) - { - // Persistent Images can have several simultaneous clone operations, - // but not if there is a VM using it. - if ( isPersistent() && (get_state() != USED || running_vms > 0) ) - { - ostringstream oss; - oss << "Image [" << oid << "] is in state " - << state_to_str( get_state() ) - << "; persistent Images can only be cloned in the " - << state_to_str( READY ) << " state."; - - error_str = oss.str(); - return -1; - } - else if ( get_state() != USED ) - { - ostringstream oss; - - oss << "Image [" << oid << "] is in state " - << state_to_str( get_state() ) - << "; non-persistent Images can only be cloned in the " - << state_to_str( READY ) << " or " - << state_to_str(USED) << " states."; - - error_str = oss.str(); - return -1; - } - } - - tmpl = new ImageTemplate( + ImageTemplate * tmpl = new ImageTemplate( *(static_cast(obj_template))); tmpl->replace("NAME", new_name); tmpl->replace("TYPE", type_to_str(type)); tmpl->replace("PATH", source); tmpl->replace("FSTYPE", fs_type); - - ostringstream oss; - oss << size_mb; - - tmpl->replace("SIZE", oss.str()); + tmpl->replace("SIZE", size_mb); if ( isPersistent() ) { @@ -629,3 +573,30 @@ int Image::clone_template(string& new_name, /* ------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------ */ + +Image::ImageType Image::str_to_type(string& str_type) +{ + Image::ImageType it = OS; + + if (str_type.empty()) + { + str_type = ImagePool::default_type(); + } + + TO_UPPER(str_type); + + if ( str_type == "OS" ) + { + it = OS; + } + else if ( str_type == "CDROM" ) + { + it = CDROM; + } + else if ( str_type == "DATABLOCK" ) + { + it = DATABLOCK; + } + + return it; +} diff --git a/src/image/ImageManager.cc b/src/image/ImageManager.cc index 52c3ab9df8..d3a9744cd2 100644 --- a/src/image/ImageManager.cc +++ b/src/image/ImageManager.cc @@ -126,4 +126,3 @@ void ImageManager::do_action(const string &action, void * arg) NebulaLog::log("ImM", Log::ERROR, oss); } } - diff --git a/src/image/ImageManagerActions.cc b/src/image/ImageManagerActions.cc index f370266cf4..84909e1775 100644 --- a/src/image/ImageManagerActions.cc +++ b/src/image/ImageManagerActions.cc @@ -18,6 +18,10 @@ #include "NebulaLog.h" #include "ImagePool.h" #include "SSLTools.h" +#include "SyncRequest.h" +#include "Template.h" +#include "Nebula.h" + /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ @@ -92,32 +96,27 @@ int ImageManager::acquire_image(Image *img, string& error) ipool->update(img); break; - case Image::USED: - if (img->isPersistent()) - { - error = "Cannot acquire persistent image, it is already in use"; - rc = -1; - } - else - { - img->inc_running(); - ipool->update(img); - } + case Image::USED_PERS: + error = "Cannot acquire persistent image, it is already in use"; + rc = -1; break; + case Image::USED: + img->inc_running(); + ipool->update(img); + break; + + case Image::INIT: case Image::DISABLED: - error = "Cannot acquire image, it is disabled"; - rc = -1; - break; case Image::LOCKED: - error = "Cannot acquire image, it is locked"; - rc = -1; - break; case Image::ERROR: - error = "Cannot acquire image, it is in an error state"; - rc = -1; - break; - default: + case Image::DELETE: + case Image::CLONE: + ostringstream oss; + oss << "Cannot acquire image in state: " + << Image::state_to_str(img->get_state()); + + error = oss.str(); rc = -1; break; } @@ -130,8 +129,6 @@ int ImageManager::acquire_image(Image *img, string& error) void ImageManager::release_image(int iid, bool failed) { - int rvms; - Image * img; ostringstream disk_file; @@ -145,21 +142,25 @@ void ImageManager::release_image(int iid, bool failed) switch (img->get_state()) { - case Image::USED: - rvms = img->dec_running(); + case Image::USED_PERS: + img->dec_running(); - if (img->isPersistent()) + if (failed == true) { - if (failed == true) - { - img->set_state(Image::ERROR); - } - else - { - img->set_state(Image::READY); - } + img->set_state(Image::ERROR); } - else if ( rvms == 0 && img->get_cloning() == 0 ) + else + { + img->set_state(Image::READY); + } + + ipool->update(img); + + img->unlock(); + break; + + case Image::USED: + if ( img->dec_running() == 0 && img->get_cloning() == 0 ) { img->set_state(Image::READY); } @@ -169,8 +170,8 @@ void ImageManager::release_image(int iid, bool failed) img->unlock(); break; - case Image::LOCKED: //SAVE_AS images are LOCKED till released - if ( img->isSaving() ) + case Image::LOCKED: + if ( img->isSaving() ) //SAVE_AS images are LOCKED till released { if (failed == true) { @@ -185,20 +186,84 @@ void ImageManager::release_image(int iid, bool failed) } else { - NebulaLog::log("ImM",Log::ERROR, - "Trying to release image in wrong state."); + stringstream oss; + oss << "Releasing image in wrong state: " + << Image::state_to_str(img->get_state()); + + NebulaLog::log("ImM", Log::ERROR, oss.str()); } img->unlock(); - break; + break; + case Image::CLONE: + case Image::DELETE: + case Image::INIT: + case Image::DISABLED: + case Image::READY: + case Image::ERROR: + ostringstream oss; + oss << "Releasing image in wrong state: " + << Image::state_to_str(img->get_state()); + + NebulaLog::log("ImM", Log::ERROR, oss.str()); + + img->unlock(); + break; + } +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void ImageManager::release_cloning_image(int iid) +{ + Image * img; + + ostringstream disk_file; + + img = ipool->get(iid,true); + + if ( img == 0 ) + { + return; + } + + switch (img->get_state()) + { + case Image::CLONE: + img->dec_cloning(); + img->set_state(Image::READY); + + ipool->update(img); + img->unlock(); + break; + + case Image::USED: + if ( img->dec_cloning() == 0 && img->get_running() == 0 ) + { + img->set_state(Image::READY); + } + + ipool->update(img); + img->unlock(); + break; + + case Image::DELETE: + case Image::INIT: case Image::DISABLED: case Image::READY: case Image::ERROR: - NebulaLog::log("ImM",Log::ERROR, - "Trying to release image in wrong state."); - default: - img->unlock(); + case Image::USED_PERS: + case Image::LOCKED: + + ostringstream oss; + oss << "Releasing image in wrong state: " + << Image::state_to_str(img->get_state()); + + NebulaLog::log("ImM", Log::ERROR, oss.str()); + + img->unlock(); break; } } @@ -259,11 +324,26 @@ int ImageManager::enable_image(int iid, bool to_enable) int ImageManager::delete_image(int iid, const string& ds_data) { - Image * img; - string source; - string img_tmpl; - string * drv_msg; - int source_id; + Image * img; + + string source; + string img_tmpl; + string * drv_msg; + + int size; + int ds_id; + + int uid; + int gid; + int cloning_id = -1; + + Group* group; + User * user; + + Nebula& nd = Nebula::instance(); + UserPool * upool = nd.get_upool(); + GroupPool* gpool = nd.get_gpool(); + img = ipool->get(iid,true); @@ -275,7 +355,7 @@ int ImageManager::delete_image(int iid, const string& ds_data) switch(img->get_state()) { case Image::READY: - if ( img->get_running() != 0 || img->get_cloning() > 0 ) + if ( img->get_running() != 0 ) { img->unlock(); return -1; //Cannot remove images in use @@ -283,55 +363,25 @@ int ImageManager::delete_image(int iid, const string& ds_data) break; case Image::USED: + case Image::USED_PERS: + case Image::CLONE: img->unlock(); return -1; //Cannot remove images in use break; case Image::INIT: case Image::DISABLED: - case Image::LOCKED: case Image::ERROR: + case Image::DELETE: break; + + case Image::LOCKED: + cloning_id = img->get_cloning_id(); + break; + } - source_id = img->get_source_img(); - - if ( source_id != -1 ) // An Image clone was in progress - { - Image * source_image; - - // Unlock to avoid death-locks with source_image - img->unlock(); - - source_image = ipool->get(source_id, true); - - if ( source_image != 0 ) - { - source_image->dec_cloning(); - - if ( source_image->get_state() == Image::USED && - source_image->get_running() == 0 && - source_image->get_cloning() == 0 ) - { - source_image->set_state(Image::READY); - } - - ipool->update(source_image); - source_image->unlock(); - } - - // Lock the image again - img = ipool->get(iid,true); - - if ( img == 0 ) - { - return -1; - } - - img->unset_source_img(); - - ipool->update(img); - } + /* ------------------- Send RM operation request to the DS -------------- */ const ImageManagerDriver* imd = get(); @@ -343,7 +393,11 @@ int ImageManager::delete_image(int iid, const string& ds_data) drv_msg = format_message(img->to_xml(img_tmpl), ds_data); source = img->get_source(); - + size = img->get_size(); + ds_id = img->get_ds_id(); + uid = img->get_uid(); + gid = img->get_gid(); + if (source.empty()) { string err_str; @@ -366,6 +420,47 @@ int ImageManager::delete_image(int iid, const string& ds_data) delete drv_msg; + /* -------------------- Update Group & User quota counters -------------- */ + + Template img_usage; + + img_usage.add("DATASTORE", ds_id); + img_usage.add("SIZE", size); + + if ( uid != UserPool::ONEADMIN_ID ) + { + user = upool->get(uid, true); + + if ( user != 0 ) + { + user->quota.ds_del(&img_usage); + + upool->update(user); + + user->unlock(); + } + } + + if ( gid != GroupPool::ONEADMIN_ID ) + { + group = gpool->get(gid, true); + + if ( group != 0 ) + { + group->quota.ds_del(&img_usage); + + gpool->update(group); + + group->unlock(); + } + } + + /* --------------- Update cloning image if needed ----------------------- */ + + if ( cloning_id != -1 ) // An Image clone was in progress + { + release_cloning_image(cloning_id); + } return 0; } @@ -435,6 +530,80 @@ int ImageManager::register_image(int iid, const string& ds_data) return 0; } +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int ImageManager::stat_image(Template* img_tmpl, + const string& ds_data, + string& res) +{ + const ImageManagerDriver* imd = get(); + + string* drv_msg; + string type_att; + + ostringstream img_data; + + SyncRequest sr; + + int rc = 0; + + img_tmpl->get("TYPE", type_att); + + switch (Image::str_to_type(type_att)) + { + case Image::OS: + case Image::CDROM: + img_tmpl->get("SOURCE", res); + + if (!res.empty()) + { + res = "0"; + return 0; + } + + img_tmpl->get("PATH", res); + + if (res.empty()) + { + res = "Either PATH or SOURCE are required for " + type_att; + return -1; + } + + img_data << "" << res << ""; + break; + + case Image::DATABLOCK: + img_tmpl->get("SIZE", res); + + if (res.empty()) + { + res = "SIZE attribute is mandatory for DATABLOCK."; + return -1; + } + + return 0; + } + + add_request(&sr); + + drv_msg = format_message(img_data.str(), ds_data); + + imd->stat(sr.id, *drv_msg); + + sr.wait(); + + delete drv_msg; + + res = sr.message; + + if ( sr.result != true ) + { + rc = -1; + } + + return rc; +} /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ diff --git a/src/image/ImageManagerDriver.cc b/src/image/ImageManagerDriver.cc index 7aaa002567..be1a53298b 100644 --- a/src/image/ImageManagerDriver.cc +++ b/src/image/ImageManagerDriver.cc @@ -38,13 +38,12 @@ void ImageManagerDriver::cp(int oid, /* -------------------------------------------------------------------------- */ -void ImageManagerDriver::mv(int oid, - const string& source, - const string& destination) const +void ImageManagerDriver::stat(int oid, + const string& drv_msg) const { ostringstream os; - os << "MV " << oid << " " << source << " " << destination << endl; + os << "STAT " << oid << " " << drv_msg << endl; write(os); } @@ -79,26 +78,342 @@ void ImageManagerDriver::rm(int oid, const string& drv_msg) const /* MAD Interface */ /* ************************************************************************** */ +static void stat_action(istringstream& is, int id, const string& result) +{ + string size_mb; + string info; + + Nebula& nd = Nebula::instance(); + ImageManager * im = nd.get_imagem(); + + if ( result == "SUCCESS" ) + { + if ( is.good() ) + { + is >> size_mb >> ws; + } + + if ( is.fail() ) + { + im->notify_request(id, false, "Cannot get size from STAT"); + } + + im->notify_request(id, true, size_mb); + } + else + { + getline(is,info); + + im->notify_request(id, false, info); + } +} + +/* -------------------------------------------------------------------------- */ + +static void cp_action(istringstream& is, + ImagePool* ipool, + int id, + const string& result) +{ + int cloning_id; + string source; + string info; + + Image * image; + + ostringstream oss; + + image = ipool->get(id,true); + + if ( image == 0 ) + { + return; + } + + if ( result == "FAILURE" ) + { + goto error; + } + + if ( is.good() ) + { + is >> source >> ws; + } + + if ( is.fail() ) + { + goto error; + } + + image->set_source(source); + + image->set_state(Image::READY); + + ipool->update(image); + + cloning_id = image->get_cloning_id(); + + image->clear_cloning_id(); + + image->unlock(); + + NebulaLog::log("ImM", Log::INFO, "Image copied and ready to use."); + + if ( cloning_id != -1 ) // An Image clone operation finished + { + Nebula& nd = Nebula::instance(); + ImageManager * im = nd.get_imagem(); + + im ->release_cloning_image(cloning_id); + } + + return; + +error: + oss << "Error copying image in the repository"; + + getline(is, info); + + if (!info.empty() && (info[0] != '-')) + { + oss << ": " << info; + } + + NebulaLog::log("ImM", Log::ERROR, oss); + + image->set_template_error_message(oss.str()); + image->set_state(Image::ERROR); + + ipool->update(image); + + image->unlock(); + + return; +} + +/* -------------------------------------------------------------------------- */ + +static void mkfs_action(istringstream& is, + ImagePool* ipool, + int id, + const string& result) +{ + string source; + Image * image; + bool is_saving; + + string disk_id; + string vm_id; + string info; + int rc; + + VirtualMachine * vm; + ostringstream oss; + + Nebula& nd = Nebula::instance(); + VirtualMachinePool * vmpool = nd.get_vmpool(); + + image = ipool->get(id, true); + + if ( image == 0 ) + { + return; + } + + if ( result == "FAILURE" ) + { + goto error_img; + } + + if ( is.good() ) + { + is >> source >> ws; + } + + if ( is.fail() ) + { + goto error_img; + } + + is_saving = image->isSaving(); + + image->set_source(source); + + if (is_saving) + { + image->get_template_attribute("SAVED_DISK_ID", disk_id); + image->get_template_attribute("SAVED_VM_ID", vm_id); + } + else + { + image->set_state(Image::READY); + + NebulaLog::log("ImM", Log::INFO, "Image created and ready to use"); + } + + ipool->update(image); + + image->unlock(); + + if ( ! is_saving ) + { + return; + } + + /* ---------------- Set up information for the Saved Image -------------- */ + + vm = vmpool->get(vm_id, true); + + if ( vm == 0 ) + { + goto error_save_get; + } + + rc = vm->save_disk(disk_id, source, id); + + if ( rc == -1 ) + { + goto error_save_state; + } + + vmpool->update(vm); + + vm->unlock(); + + return; + +error_img: + oss << "Error creating datablock"; + goto error; + +error_save_get: + oss << "Image created for SAVE_AS, but the associated VM does not exist."; + goto error_save; + +error_save_state: + vm->unlock(); + oss << "Image created for SAVE_AS, but VM is no longer running"; + +error_save: + image = ipool->get(id, true); + + if ( image == 0 ) + { + NebulaLog::log("ImM", Log::ERROR, oss); + return; + } + +error: + getline(is,info); + + if (!info.empty() && (info[0] != '-')) + { + oss << ": " << info; + } + + NebulaLog::log("ImM", Log::ERROR, oss); + + image->set_template_error_message(oss.str()); + image->set_state(Image::ERROR); + + ipool->update(image); + + image->unlock(); + + return ; +} + +/* -------------------------------------------------------------------------- */ + +static void rm_action(istringstream& is, + ImagePool* ipool, + int id, + const string& result) +{ + int rc; + string tmp_error; + string source; + string info; + Image * image; + + ostringstream oss; + + image = ipool->get(id, true); + + if ( image == 0 ) + { + return; + } + + source = image->get_source(); + + rc = ipool->drop(image, tmp_error); + + image->unlock(); + + if ( result == "FAILURE" ) + { + goto error; + } + else if ( rc < 0 ) + { + goto error_drop; + } + + NebulaLog::log("ImM", Log::INFO, "Image successfully removed."); + + return; + +error_drop: + oss << "Error removing image from DB: " << tmp_error + << ". Remove image source " << source << " to completely delete image."; + + NebulaLog::log("ImM", Log::ERROR, oss); + return; + +error: + oss << "Error removing image from datastore. Manually remove image source " + << source << " to completely delete the image"; + + getline(is,info); + + if (!info.empty() && (info[0] != '-')) + { + oss << ": " << info; + } + + NebulaLog::log("ImM", Log::ERROR, oss); + + image->set_template_error_message(oss.str()); + image->set_state(Image::ERROR); + + ipool->update(image); + + image->unlock(); + + return; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + void ImageManagerDriver::protocol( string& message) { istringstream is(message); - ostringstream os; + ostringstream oss; - string action; - string result; + string action; + string result; + string source; + string info; + int id; + + oss << "Message received: " << message; + NebulaLog::log("ImG", Log::DEBUG, oss); - int id; - Image * image; - string source; - unsigned int size_mb; + // --------------------- Parse the driver message -------------------------- - string info; - - os << "Message received: " << message; - NebulaLog::log("ImG", Log::DEBUG, os); - - // Parse the driver message if ( is.good() ) is >> action >> ws; else @@ -117,8 +432,6 @@ void ImageManagerDriver::protocol( { if ( action == "LOG" ) { - string info; - is.clear(); getline(is,info); @@ -131,182 +444,21 @@ void ImageManagerDriver::protocol( else return; - // Parse driver message for CP, MV and MKFS - // SUCESS IMAGE_ID SOURCE SIZE - if ( (result == "SUCCESS") && (action != "RM") ) + if ( action == "STAT" ) { - if ( is.good() ) - { - is >> source >> ws; - } - - if ( is.good() ) - { - is >> size_mb >> ws; - } - - if ( is.fail() ) - { - result = "FAILURE"; - } + stat_action(is, id, result); } - - - // Get the image from the pool - image = ipool->get(id,true); - - if ( image == 0 ) + else if ( action == "CP" ) { - return; - } - - // Driver Actions - if ( action == "CP" ) - { - int source_id = image->get_source_img(); - - if ( source_id != -1 ) // An Image clone operation finished - { - Image * source_image; - - // Unlock to avoid death-locks with source_image - image->unlock(); - - source_image = ipool->get(source_id, true); - - if ( source_image != 0 ) - { - source_image->dec_cloning(); - - if ( source_image->get_state() == Image::USED && - source_image->get_running() == 0 && - source_image->get_cloning() == 0 ) - { - source_image->set_state(Image::READY); - } - - ipool->update(source_image); - source_image->unlock(); - } - - // Lock the image again - image = ipool->get(id,true); - - if ( image == 0 ) - { - return; - } - - image->unset_source_img(); - } - - if ( result == "SUCCESS" ) - { - image->set_source(source); - image->set_size(size_mb); - - image->set_state(Image::READY); - - ipool->update(image); - - NebulaLog::log("ImM", Log::INFO, "Image copied and ready to use."); - } - else - { - goto error_cp; - } + cp_action(is, ipool, id, result); } else if ( action == "MKFS" ) { - if ( result == "SUCCESS" ) - { - bool is_saving = image->isSaving(); - - string disk_id; - string vm_id; - int rc; - - image->set_source(source); - - if (is_saving) - { - image->get_template_attribute("SAVED_DISK_ID",disk_id); - image->get_template_attribute("SAVED_VM_ID", vm_id); - } - else - { - image->set_size(size_mb); - - image->set_state(Image::READY); - - NebulaLog::log("ImM", Log::INFO, - "Image created and ready to use"); - } - - ipool->update(image); - - image->unlock(); - - if (is_saving) - { - Nebula& nd = Nebula::instance(); - - VirtualMachinePool * vmpool = nd.get_vmpool(); - - VirtualMachine * vm; - istringstream iss(vm_id); - - int vm_id_i; - - iss >> vm_id_i; - - vm = vmpool->get(vm_id_i, true); - - if ( vm == 0 ) - { - goto error_save_no_vm; - } - - rc = vm->save_disk(disk_id, source, id); - - if ( rc == -1 ) - { - vm->unlock(); - goto error_save_state_vm; - } - - vmpool->update(vm); - - vm->unlock(); - } - - return; - } - else - { - goto error_mkfs; - } + mkfs_action(is, ipool, id, result); } else if ( action == "RM" ) { - int rc; - string tmp_error; - - rc = ipool->drop(image, tmp_error); - - if ( rc < 0 ) - { - NebulaLog::log("ImM",Log::ERROR,"Image could not be removed from DB"); - } - - if ( result == "SUCCESS" ) - { - NebulaLog::log("ImM",Log::INFO,"Image successfully removed."); - } - else - { - goto error_rm; - } + rm_action(is, ipool, id, result); } else if (action == "LOG") { @@ -314,72 +466,6 @@ void ImageManagerDriver::protocol( NebulaLog::log("ImM", log_type(result[0]), info.c_str()); } - image->unlock(); - - return; - -error_cp: - os.str(""); - os << "Error copying image in the repository"; - goto error_common; - -error_mkfs: - os.str(""); - os << "Error creating datablock"; - goto error_common; - -error_rm: - os.str(""); - os << "Error removing image from repository. Remove file " << image->get_source() - << " to completely delete image."; - - image->unlock(); - - getline(is,info); - - if (!info.empty() && (info[0] != '-')) - { - os << ": " << info; - } - - NebulaLog::log("ImM", Log::ERROR, os); - return; - -error_save_no_vm: - os.str(""); - os << "Image created for SAVE_AS, but the associated VM does not exist."; - - goto error_save_common; - -error_save_state_vm: - os.str(""); - os << "Image created for SAVE_AS, but VM is no longer running"; - - goto error_save_common; - -error_save_common: - image = ipool->get(id, true); - - if (image == 0 ) - { - return; - } - -error_common: - getline(is,info); - - if (!info.empty() && (info[0] != '-')) - { - os << ": " << info; - image->set_template_error_message(os.str()); - } - - NebulaLog::log("ImM", Log::ERROR, os); - - image->set_state(Image::ERROR); - ipool->update(image); - - image->unlock(); return; } diff --git a/src/image/ImagePool.cc b/src/image/ImagePool.cc index 560c786e5b..7759308705 100644 --- a/src/image/ImagePool.cc +++ b/src/image/ImagePool.cc @@ -109,7 +109,7 @@ int ImagePool::allocate ( if ( source_img_id != -1 ) { - img->set_source_img(source_img_id); + img->set_cloning_id(source_img_id); } // --------------------------------------------------------------------- @@ -355,6 +355,11 @@ void ImagePool::authorize_disk(VectorAttribute * disk,int uid, AuthRequest * ar) } img = get(source , uiid, true); + + if ( img != 0 ) + { + disk->replace("IMAGE_ID", img->get_oid()); + } } else if (!(source = disk->vector_value("IMAGE_ID")).empty()) { diff --git a/src/lcm/LifeCycleActions.cc b/src/lcm/LifeCycleActions.cc index 17dbca1cba..22518cd56e 100644 --- a/src/lcm/LifeCycleActions.cc +++ b/src/lcm/LifeCycleActions.cc @@ -679,6 +679,7 @@ void LifeCycleManager::clean_up_vm(VirtualMachine * vm) break; case VirtualMachine::FAILURE: + vmpool->update_history(vm); tm->trigger(TransferManager::EPILOG_DELETE,vid); break; diff --git a/src/mad/MadManager.cc b/src/mad/MadManager.cc index 1a72a647f4..287b61c0ba 100644 --- a/src/mad/MadManager.cc +++ b/src/mad/MadManager.cc @@ -22,6 +22,7 @@ #include #include "MadManager.h" +#include "SyncRequest.h" /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ @@ -336,3 +337,110 @@ void MadManager::listener() } } } + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void MadManager::check_time_outs_action() +{ + map::iterator it; + + time_t the_time = time(0); + + lock(); + + it = sync_requests.begin(); + + while ( it != sync_requests.end()) + { + if ((it->second->time_out != 0) && (the_time > it->second->time_out)) + { + SyncRequest * ar = it->second; + sync_requests.erase(it++); + + ar->result = false; + ar->timeout = true; + ar->message = "Request timeout"; + + ar->notify(); + } + else + { + ++it; + } + } + + unlock(); + +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void MadManager::add_request(SyncRequest *ar) +{ + static int request_id = 0; + + lock(); + + ar->id = request_id++; + + sync_requests.insert(sync_requests.end(),make_pair(ar->id,ar)); + + unlock(); +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +SyncRequest * MadManager::get_request(int id) +{ + SyncRequest * ar = 0; + map::iterator it; + ostringstream oss; + + lock(); + + it = sync_requests.find(id); + + if ( it != sync_requests.end()) + { + ar = it->second; + + sync_requests.erase(it); + } + + unlock(); + + return ar; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void MadManager::notify_request(int id, bool result, const string& message) +{ + + SyncRequest * ar; + + ar = get_request(id); + + if ( ar == 0 ) + { + return; + } + + ar->result = result; + + if ( message != "-" ) + { + if ( !ar->message.empty() ) + { + ar->message.append("; "); + } + + ar->message.append(message); + } + + ar->notify(); +} diff --git a/src/mad/sh/scripts_common.sh b/src/mad/sh/scripts_common.sh index b2d190e549..f8cae6c5cd 100644 --- a/src/mad/sh/scripts_common.sh +++ b/src/mad/sh/scripts_common.sh @@ -40,6 +40,7 @@ SCP=scp SED=sed SSH=ssh SUDO=sudo +SYNC=sync TAR=tar TGTADM=tgtadm VMKFSTOOLS=/usr/sbin/vmkfstools diff --git a/src/nebula/Nebula.cc b/src/nebula/Nebula.cc index 7ccb90c74b..79195359fe 100644 --- a/src/nebula/Nebula.cc +++ b/src/nebula/Nebula.cc @@ -263,11 +263,15 @@ void Nebula::start() try { - string mac_prefix; int size; + + string mac_prefix; string default_image_type; string default_device_prefix; + time_t expiration_time; + time_t vm_expiration; + time_t host_expiration; vector vm_hooks; vector host_hooks; @@ -282,12 +286,20 @@ void Nebula::start() nebula_configuration->get("VM_RESTRICTED_ATTR", vm_restricted_attrs); nebula_configuration->get("IMAGE_RESTRICTED_ATTR", img_restricted_attrs); + nebula_configuration->get("VM_MONITORING_EXPIRATION_TIME",vm_expiration); + nebula_configuration->get("HOST_MONITORING_EXPIRATION_TIME",host_expiration); + vmpool = new VirtualMachinePool(db, vm_hooks, hook_location, remotes_location, - vm_restricted_attrs); - hpool = new HostPool(db, host_hooks, hook_location, remotes_location); + vm_restricted_attrs, + vm_expiration); + hpool = new HostPool( db, + host_hooks, + hook_location, + remotes_location, + host_expiration); nebula_configuration->get("MAC_PREFIX", mac_prefix); nebula_configuration->get("NETWORK_SIZE", size); @@ -500,8 +512,7 @@ void Nebula::start() if (!auth_mads.empty()) { - //Defaults 60s to timeout auth requests - authm = new AuthManager(timer_period,60,auth_mads); + authm = new AuthManager(timer_period, auth_mads); } else { diff --git a/src/nebula/NebulaTemplate.cc b/src/nebula/NebulaTemplate.cc index db998d2a17..7a86acdda2 100644 --- a/src/nebula/NebulaTemplate.cc +++ b/src/nebula/NebulaTemplate.cc @@ -90,8 +90,10 @@ void OpenNebulaTemplate::set_conf_default() #------------------------------------------------------------------------------- # HOST_MONITORING_INTERVAL # HOST_PER_INTERVAL +# HOST_MONITORING_EXPIRATION_TIME # VM_POLLING_INTERVAL -# VM_PER_INTERVAL +# VM_PER_INTERVAL +# VM_MONITORING_EXPIRATION_TIME # PORT # DB # VNC_BASE_PORT @@ -110,6 +112,12 @@ void OpenNebulaTemplate::set_conf_default() attribute = new SingleAttribute("HOST_PER_INTERVAL",value); conf_default.insert(make_pair(attribute->name(),attribute)); + // HOST_MONITORING_EXPIRATION_TIME + value = "86400"; + + attribute = new SingleAttribute("HOST_MONITORING_EXPIRATION_TIME",value); + conf_default.insert(make_pair(attribute->name(),attribute)); + // POLL_INTERVAL value = "600"; @@ -122,6 +130,12 @@ void OpenNebulaTemplate::set_conf_default() attribute = new SingleAttribute("VM_PER_INTERVAL",value); conf_default.insert(make_pair(attribute->name(),attribute)); + // VM_MONITORING_EXPIRATION_TIME + value = "86400"; + + attribute = new SingleAttribute("VM_MONITORING_EXPIRATION_TIME",value); + conf_default.insert(make_pair(attribute->name(),attribute)); + //XML-RPC Server PORT value = "2633"; diff --git a/src/oca/java/src/org/opennebula/client/host/Host.java b/src/oca/java/src/org/opennebula/client/host/Host.java index 5b3c890b3f..f8af74e012 100644 --- a/src/oca/java/src/org/opennebula/client/host/Host.java +++ b/src/oca/java/src/org/opennebula/client/host/Host.java @@ -33,6 +33,7 @@ public class Host extends PoolElement{ private static final String DELETE = METHOD_PREFIX + "delete"; private static final String ENABLE = METHOD_PREFIX + "enable"; private static final String UPDATE = METHOD_PREFIX + "update"; + private static final String MONITORING = METHOD_PREFIX + "monitoring"; private static final String[] HOST_STATES = {"INIT", "MONITORING_MONITORED", "MONITORED", "ERROR", "DISABLED", @@ -173,6 +174,19 @@ public class Host extends PoolElement{ return client.call(UPDATE, id, new_template); } + /** + * Retrieves the monitoring information of the given host, in XML + * + * @param client XML-RPC Client. + * @param id The host id (hid) of the target machine. + * @return If successful the message contains the string + * with the monitoring information returned by OpenNebula. + */ + public static OneResponse monitoring(Client client, int id) + { + return client.call(MONITORING, id); + } + // ================================= // Instanced object XML-RPC methods // ================================= @@ -241,6 +255,17 @@ public class Host extends PoolElement{ return update(client, id, new_template); } + /** + * Retrieves the monitoring information of the given host, in XML + * + * @return If successful the message contains the string + * with the monitoring information returned by OpenNebula. + */ + public OneResponse monitoring() + { + return monitoring(client, id); + } + // ================================= // Helpers // ================================= diff --git a/src/oca/java/src/org/opennebula/client/host/HostPool.java b/src/oca/java/src/org/opennebula/client/host/HostPool.java index d44fc847da..b6dd182136 100644 --- a/src/oca/java/src/org/opennebula/client/host/HostPool.java +++ b/src/oca/java/src/org/opennebula/client/host/HostPool.java @@ -33,6 +33,7 @@ public class HostPool extends Pool implements Iterable{ private static final String ELEMENT_NAME = "HOST"; private static final String INFO_METHOD = "hostpool.info"; + private static final String MONITORING = "hostpool.monitoring"; /** * Creates a new host pool @@ -61,6 +62,18 @@ public class HostPool extends Pool implements Iterable{ return Pool.info(client, INFO_METHOD); } + /** + * Retrieves the monitoring data for all the hosts in the pool. + * + * @param client XML-RPC Client. + * @return If successful the message contains the string + * with the information returned by OpenNebula. + */ + public static OneResponse monitoring(Client client) + { + return client.call(MONITORING); + } + /** * Loads the xml representation of the host pool. * @@ -71,6 +84,17 @@ public class HostPool extends Pool implements Iterable{ return super.info(); } + /** + * Retrieves the monitoring data for all the hosts in the pool. + * + * @return If successful the message contains the string + * with the information returned by OpenNebula. + */ + public OneResponse monitoring() + { + return monitoring(client); + } + public Iterator iterator() { AbstractList ab = new AbstractList() diff --git a/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java b/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java index cf8f4cc4f9..7b494548ad 100644 --- a/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java +++ b/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java @@ -36,6 +36,7 @@ public class VirtualMachine extends PoolElement{ private static final String SAVEDISK = METHOD_PREFIX + "savedisk"; private static final String CHOWN = METHOD_PREFIX + "chown"; private static final String CHMOD = METHOD_PREFIX + "chmod"; + private static final String MONITORING = METHOD_PREFIX + "monitoring"; private static final String[] VM_STATES = { @@ -216,6 +217,19 @@ public class VirtualMachine extends PoolElement{ return chmod(client, CHMOD, id, octet); } + /** + * Retrieves the monitoring information of the given VM, in XML + * + * @param client XML-RPC Client. + * @param id The virtual machine id (vid) of the target instance. + * @return If successful the message contains the string + * with the monitoring information returned by OpenNebula. + */ + public static OneResponse monitoring(Client client, int id) + { + return client.call(MONITORING, id); + } + // ================================= // Instanced object XML-RPC methods // ================================= @@ -395,6 +409,17 @@ public class VirtualMachine extends PoolElement{ return chmod(client, id, octet); } + /** + * Retrieves the monitoring information of the given VM, in XML + * + * @return If successful the message contains the string + * with the monitoring information returned by OpenNebula. + */ + public OneResponse monitoring() + { + return monitoring(client, id); + } + // ================================= // Helpers // ================================= diff --git a/src/oca/java/src/org/opennebula/client/vm/VirtualMachinePool.java b/src/oca/java/src/org/opennebula/client/vm/VirtualMachinePool.java index 9fc1de28fd..a15b379ebd 100644 --- a/src/oca/java/src/org/opennebula/client/vm/VirtualMachinePool.java +++ b/src/oca/java/src/org/opennebula/client/vm/VirtualMachinePool.java @@ -33,6 +33,7 @@ public class VirtualMachinePool extends Pool implements Iterable private static final String ELEMENT_NAME = "VM"; private static final String INFO_METHOD = "vmpool.info"; + private static final String MONITORING = "vmpool.monitoring"; /** * Flag for Virtual Machines in any state. @@ -173,6 +174,27 @@ public class VirtualMachinePool extends Pool implements Iterable return client.call(INFO_METHOD, filter, startId, endId, state); } + /** + * Retrieves the monitoring data for all or part of the Virtual + * Machines in the pool. + * + * @param client XML-RPC Client. + * @param filter Filter flag to use. Possible values: + *
    + *
  • {@link Pool#ALL}: All Virtual Machines
  • + *
  • {@link Pool#MINE}: Connected user's Virtual Machines
  • + *
  • {@link Pool#MINE_GROUP}: Connected user's Virtual Machines, and + * the ones in his group
  • + *
  • >= 0: UID User's Virtual Machines
  • + *
+ * @return If successful the message contains the string + * with the information returned by OpenNebula. + */ + public static OneResponse monitoring(Client client, int filter) + { + return client.call(MONITORING, filter); + } + /** * Loads the xml representation of all or part of the * Virtual Machines in the pool. The filter used is the one set in @@ -255,6 +277,26 @@ public class VirtualMachinePool extends Pool implements Iterable return response; } + /** + * Retrieves the monitoring data for all or part of the Virtual + * Machines in the pool. + * + * @param filter Filter flag to use. Possible values: + *
    + *
  • {@link Pool#ALL}: All Virtual Machines
  • + *
  • {@link Pool#MINE}: Connected user's Virtual Machines
  • + *
  • {@link Pool#MINE_GROUP}: Connected user's Virtual Machines, and + * the ones in his group
  • + *
  • >= 0: UID User's Virtual Machines
  • + *
+ * @return If successful the message contains the string + * with the information returned by OpenNebula. + */ + public OneResponse monitoring(int filter) + { + return monitoring(client, filter); + } + public Iterator iterator() { AbstractList ab = new AbstractList() diff --git a/src/oca/ruby/OpenNebula/Group.rb b/src/oca/ruby/OpenNebula/Group.rb index 3fa5a9a41c..fcfefe8e38 100644 --- a/src/oca/ruby/OpenNebula/Group.rb +++ b/src/oca/ruby/OpenNebula/Group.rb @@ -23,11 +23,11 @@ module OpenNebula # Constants and Class Methods ####################################################################### - GROUP_METHODS = { - :info => "group.info", - :allocate => "group.allocate", - :delete => "group.delete" + :info => "group.info", + :allocate => "group.allocate", + :delete => "group.delete", + :quota => "group.quota" } # Flag for requesting connected user's group info @@ -120,6 +120,20 @@ module OpenNebula super(GROUP_METHODS[:delete]) end + # Sets the group quota limits + # @param quota [String] a template (XML or txt) with the new quota limits + # + # @return [nil, OpenNebula::Error] nil in case of success, Error + # otherwise + def set_quota(quota) + return Error.new('ID not defined') if !@pe_id + + rc = @client.call(GROUP_METHODS[:quota],@pe_id, quota) + rc = nil if !OpenNebula.is_error?(rc) + + return rc + end + # --------------------------------------------------------------------- # Helpers to get information # --------------------------------------------------------------------- diff --git a/src/oca/ruby/OpenNebula/Host.rb b/src/oca/ruby/OpenNebula/Host.rb index 1029b2ea1e..e56cd64fc4 100644 --- a/src/oca/ruby/OpenNebula/Host.rb +++ b/src/oca/ruby/OpenNebula/Host.rb @@ -25,11 +25,12 @@ module OpenNebula HOST_METHODS = { - :info => "host.info", - :allocate => "host.allocate", - :delete => "host.delete", - :enable => "host.enable", - :update => "host.update" + :info => "host.info", + :allocate => "host.allocate", + :delete => "host.delete", + :enable => "host.enable", + :update => "host.update", + :monitoring => "host.monitoring" } HOST_STATES=%w{INIT MONITORING_MONITORED MONITORED ERROR DISABLED MONITORING_ERROR} @@ -113,6 +114,39 @@ module OpenNebula super(HOST_METHODS[:update], new_template) end + # Retrieves this Host's monitoring data from OpenNebula + # + # @param [Array] xpath_expressions Elements to retrieve. + # + # @return [Hash>>, OpenNebula::Error] Hash with + # the requested xpath expressions, and an Array of 'timestamp, value'. + # + # @example + # host.monitoring( ['HOST_SHARE/FREE_CPU', 'HOST_SHARE/RUNNING_VMS'] ) + # + # { "HOST_SHARE/RUNNING_VMS" => + # [["1337266000", "1"], + # ["1337266044", "1"], + # ["1337266088", "3"]], + # "HOST_SHARE/FREE_CPU" => + # [["1337266000", "800"], + # ["1337266044", "800"], + # ["1337266088", "800"]] + # } + def monitoring(xpath_expressions) + return super(HOST_METHODS[:monitoring], 'HOST', + 'LAST_MON_TIME', xpath_expressions) + end + + # Retrieves this Host's monitoring data from OpenNebula, in XML + # + # @return [String] Monitoring data, in XML + def monitoring_xml() + return Error.new('ID not defined') if !@pe_id + + return @client.call(HOST_METHODS[:monitoring], @pe_id) + end + ####################################################################### # Helpers to get Host information ####################################################################### diff --git a/src/oca/ruby/OpenNebula/HostPool.rb b/src/oca/ruby/OpenNebula/HostPool.rb index 4a87b54303..8d71712d5a 100644 --- a/src/oca/ruby/OpenNebula/HostPool.rb +++ b/src/oca/ruby/OpenNebula/HostPool.rb @@ -25,7 +25,8 @@ module OpenNebula HOST_POOL_METHODS = { - :info => "hostpool.info" + :info => "hostpool.info", + :monitoring => "hostpool.monitoring" } ####################################################################### @@ -51,5 +52,40 @@ module OpenNebula def info() super(HOST_POOL_METHODS[:info]) end + + # Retrieves the monitoring data for all the Hosts in the pool + # + # @param [Array] xpath_expressions Elements to retrieve. + # + # @return [Hash>>>>, + # OpenNebula::Error] The first level hash uses the Host ID as keys, + # and as value a Hash with the requested xpath expressions, + # and an Array of 'timestamp, value'. + # + # @example + # host_pool.monitoring( + # ['HOST_SHARE/FREE_CPU', + # 'HOST_SHARE/RUNNING_VMS', + # 'TEMPLATE/CUSTOM_PROBE'] ) + # + # {"1"=> + # {"TEMPLATE/CUSTOM_PROBE"=>[], + # "HOST_SHARE/FREE_CPU"=>[["1337609673", "800"]], + # "HOST_SHARE/RUNNING_VMS"=>[["1337609673", "3"]]}, + # "0"=> + # {"TEMPLATE/CUSTOM_PROBE"=>[], + # "HOST_SHARE/FREE_CPU"=>[["1337609673", "800"]], + # "HOST_SHARE/RUNNING_VMS"=>[["1337609673", "3"]]}} + def monitoring(xpath_expressions) + return super(HOST_POOL_METHODS[:monitoring], + 'HOST', 'LAST_MON_TIME', xpath_expressions) + end + + # Retrieves the monitoring data for all the Hosts in the pool, in XML + # + # @return [String] VM monitoring data, in XML + def monitoring_xml() + return @client.call(HOST_POOL_METHODS[:monitoring]) + end end end diff --git a/src/oca/ruby/OpenNebula/Pool.rb b/src/oca/ruby/OpenNebula/Pool.rb index 3aaa3bbada..e29cf7c7c7 100644 --- a/src/oca/ruby/OpenNebula/Pool.rb +++ b/src/oca/ruby/OpenNebula/Pool.rb @@ -70,6 +70,51 @@ module OpenNebula return xmlrpc_info(xml_method,who, start_id, end_id) end + # Retrieves the monitoring data for all the Objects in the pool + # + # @param [String] xml_method xml-rcp method + # @param [String] root_elem Root for each individual PoolElement + # @param [String] timestamp_elem Name of the XML element with the last + # monitorization timestamp + # @param [Array] xpath_expressions Elements to retrieve. + # @param args arguemnts for the xml_method call + # + # @return [Hash>>>>, + # OpenNebula::Error] The first level hash uses the Object ID as keys, + # and as value a Hash with the requested xpath expressions, + # and an Array of 'timestamp, value'. + def monitoring(xml_method, root_elem, timestamp_elem, xpath_expressions, + *args) + + rc = @client.call(xml_method, *args) + + if ( OpenNebula.is_error?(rc) ) + return rc + end + + xmldoc = XMLElement.new + xmldoc.initialize_xml(rc, 'MONITORING_DATA') + + hash = {} + + # Get all existing Object IDs + ids = xmldoc.retrieve_elements("#{root_elem}/ID") + + if ids.nil? + return hash + else + ids.uniq! + end + + ids.each { |id| + hash[id] = OpenNebula.process_monitoring( + xmldoc, root_elem, timestamp_elem, id, xpath_expressions) + + } + + return hash + end + private # Calls to the corresponding info method to retreive the pool # representation in XML format @@ -255,6 +300,35 @@ module OpenNebula return rc end + + # Retrieves this Element's monitoring data from OpenNebula + # + # @param [String] xml_method the name of the XML-RPC method + # @param [String] root_elem Root for each individual PoolElement + # @param [String] timestamp_elem Name of the XML element with the last + # monitorization timestamp + # @param xpath_expressions [Array] Xpath expressions for the + # elements to retrieve. + # + # @return [Hash>, OpenNebula::Error] Hash with + # the requested xpath expressions, and an Array of [timestamp, value]. + def monitoring(xml_method, root_elem, timestamp_elem, xpath_expressions) + return Error.new('ID not defined') if !@pe_id + + rc = @client.call(xml_method, @pe_id) + + if ( OpenNebula.is_error?(rc) ) + return rc + end + + xmldoc = XMLElement.new + xmldoc.initialize_xml(rc, 'MONITORING_DATA') + + + return OpenNebula.process_monitoring( + xmldoc, root_elem, timestamp_elem, @pe_id, xpath_expressions) + end + public # Creates new element specifying its id @@ -284,4 +358,34 @@ module OpenNebula return str end end + + # Processes the monitoring data in XML returned by OpenNebula + # + # @param [XMLElement] xmldoc monitoring data returned by OpenNebula + # @param [String] root_elem Root for each individual PoolElement + # @param [String] timestamp_elem Name of the XML element with the last + # monitorization timestamp + # @param [Integer] Id of the object to process + # @param [Array] xpath_expressions Elements to retrieve. + # @param args arguemnts for the xml_method call + # + # @return [Hash>, OpenNebula::Error] Hash with + # the requested xpath expressions, and an Array of [timestamp, value]. + def self.process_monitoring(xmldoc, root_elem, timestamp_elem, oid, xpath_expressions) + hash = {} + timestamps = xmldoc.retrieve_elements( + "#{root_elem}[ID=#{oid}]/#{timestamp_elem}") + + xpath_expressions.each { |xpath| + xpath_values = xmldoc.retrieve_elements("#{root_elem}[ID=#{oid}]/#{xpath}") + + if ( xpath_values.nil? ) + hash[xpath] = [] + else + hash[xpath] = timestamps.zip(xpath_values) + end + } + + return hash + end end diff --git a/src/oca/ruby/OpenNebula/User.rb b/src/oca/ruby/OpenNebula/User.rb index d32cbe5651..a4c381ccb6 100644 --- a/src/oca/ruby/OpenNebula/User.rb +++ b/src/oca/ruby/OpenNebula/User.rb @@ -30,7 +30,8 @@ module OpenNebula :passwd => "user.passwd", :chgrp => "user.chgrp", :update => "user.update", - :chauth => "user.chauth" + :chauth => "user.chauth", + :quota => "user.quota" } SELF = -1 @@ -144,6 +145,20 @@ module OpenNebula return rc end + # Sets the user quota limits + # @param quota [String] a template (XML or txt) with the new quota limits + # + # @return [nil, OpenNebula::Error] nil in case of success, Error + # otherwise + def set_quota(quota) + return Error.new('ID not defined') if !@pe_id + + rc = @client.call(USER_METHODS[:quota],@pe_id, quota) + rc = nil if !OpenNebula.is_error?(rc) + + return rc + end + ####################################################################### # Helpers to get User information ####################################################################### diff --git a/src/oca/ruby/OpenNebula/VirtualMachine.rb b/src/oca/ruby/OpenNebula/VirtualMachine.rb index 28d281d354..fd8f126366 100644 --- a/src/oca/ruby/OpenNebula/VirtualMachine.rb +++ b/src/oca/ruby/OpenNebula/VirtualMachine.rb @@ -25,14 +25,15 @@ module OpenNebula VM_METHODS = { - :info => "vm.info", - :allocate => "vm.allocate", - :action => "vm.action", - :migrate => "vm.migrate", - :deploy => "vm.deploy", - :savedisk => "vm.savedisk", - :chown => "vm.chown", - :chmod => "vm.chmod", + :info => "vm.info", + :allocate => "vm.allocate", + :action => "vm.action", + :migrate => "vm.migrate", + :deploy => "vm.deploy", + :savedisk => "vm.savedisk", + :chown => "vm.chown", + :chmod => "vm.chmod", + :monitoring => "vm.monitoring" } VM_STATE=%w{INIT PENDING HOLD ACTIVE STOPPED SUSPENDED DONE FAILED} @@ -280,6 +281,41 @@ module OpenNebula group_m, group_a, other_u, other_m, other_a) end + # Retrieves this VM's monitoring data from OpenNebula + # + # @param [Array] xpath_expressions Elements to retrieve. + # + # @return [Hash>>, OpenNebula::Error] Hash with + # the requested xpath expressions, and an Array of 'timestamp, value'. + # + # @example + # vm.monitoring( ['CPU', 'NET_TX', 'TEMPLATE/CUSTOM_PROBE'] ) + # + # { "NET_TX" => + # [["1337264510", "210"], + # ["1337264553", "220"], + # ["1337264584", "230"]], + # "TEMPLATE/CUSTOM_PROBE" => + # [], + # "CPU" => + # [["1337264510", "0"], + # ["1337264553", "0"], + # ["1337264584", "0"]] + # } + def monitoring(xpath_expressions) + return super(VM_METHODS[:monitoring], 'VM', + 'LAST_POLL', xpath_expressions) + end + + # Retrieves this VM's monitoring data from OpenNebula, in XML + # + # @return [String] VM monitoring data, in XML + def monitoring_xml() + return Error.new('ID not defined') if !@pe_id + + return @client.call(VM_METHODS[:monitoring], @pe_id) + end + ####################################################################### # Helpers to get VirtualMachine information ####################################################################### diff --git a/src/oca/ruby/OpenNebula/VirtualMachinePool.rb b/src/oca/ruby/OpenNebula/VirtualMachinePool.rb index aaf3a18546..01dc59fdcf 100644 --- a/src/oca/ruby/OpenNebula/VirtualMachinePool.rb +++ b/src/oca/ruby/OpenNebula/VirtualMachinePool.rb @@ -25,7 +25,8 @@ module OpenNebula VM_POOL_METHODS = { - :info => "vmpool.info" + :info => "vmpool.info", + :monitoring => "vmpool.monitoring" } # Constants for info queries (include/RequestManagerPoolInfoFilter.h) @@ -111,6 +112,50 @@ module OpenNebula INFO_NOT_DONE) end + # Retrieves the monitoring data for all the VMs in the pool + # + # @param [Array] xpath_expressions Elements to retrieve. + # @param [Integer] filter_flag Optional filter flag to retrieve all or + # part of the Pool. Possible values: INFO_ALL, INFO_GROUP, INFO_MINE. + # + # @return [Hash>>>>, + # OpenNebula::Error] The first level hash uses the VM ID as keys, and + # as value a Hash with the requested xpath expressions, + # and an Array of 'timestamp, value'. + # + # @example + # vm_pool.monitoring( ['CPU', 'NET_TX', 'TEMPLATE/CUSTOM_PROBE'] ) + # + # {"1"=> + # {"CPU"=> + # [["1337608271", "0"], ["1337608301", "0"], ["1337608331", "0"]], + # "NET_TX"=> + # [["1337608271", "510"], ["1337608301", "510"], ["1337608331", "520"]], + # "TEMPLATE/CUSTOM_PROBE"=> + # []}, + # + # "0"=> + # {"CPU"=> + # [["1337608271", "0"], ["1337608301", "0"], ["1337608331", "0"]], + # "NET_TX"=> + # [["1337608271", "510"], ["1337608301", "510"], ["1337608331", "520"]], + # "TEMPLATE/CUSTOM_PROBE"=> + # []}} + def monitoring(xpath_expressions, filter_flag=INFO_ALL) + return super(VM_POOL_METHODS[:monitoring], + 'VM', 'LAST_POLL', xpath_expressions, filter_flag) + end + + # Retrieves the monitoring data for all the VMs in the pool, in XML + # + # @param [Integer] filter_flag Optional filter flag to retrieve all or + # part of the Pool. Possible values: INFO_ALL, INFO_GROUP, INFO_MINE. + # + # @return [String] VM monitoring data, in XML + def monitoring_xml(filter_flag=INFO_ALL) + return @client.call(VM_POOL_METHODS[:monitoring], filter_flag) + end + private def info_filter(xml_method, who, start_id, end_id, state) diff --git a/src/onedb/3.4.1_to_3.5.80.rb b/src/onedb/3.4.1_to_3.5.80.rb index ad2786549c..80764f1b70 100644 --- a/src/onedb/3.4.1_to_3.5.80.rb +++ b/src/onedb/3.4.1_to_3.5.80.rb @@ -62,7 +62,7 @@ module Migrator } doc.root.add_element("DISK_TYPE").text = "0" - doc.root.add_element("SOURCE_IMG").text = "-1" + doc.root.add_element("CLONING_ID").text = "-1" doc.root.add_element("CLONING_OPS").text = "0" @db[:image_pool].insert( diff --git a/src/onedb/onezonedb/onezonedb b/src/onedb/onezonedb/onezonedb new file mode 100755 index 0000000000..bfa55ff7a4 --- /dev/null +++ b/src/onedb/onezonedb/onezonedb @@ -0,0 +1,95 @@ +#!/bin/bash + + +usage() +{ +cat << EOF +usage: $0 options + +This script upgrades oZones DB from 3.4 to 3.6 + +OPTIONS: + -h Show this message + -t DB type, can be "mysql" or "sqlite". Compulsory + -s Server address (for mysql only, "localhost" if not defined) + -u User name (for mysql only, compulsory) + -p User password (for mysql only, compulsory) + -l DB path (for sqlite only, compulsory) +EOF +} + + +while getopts “t:u:p:s:l:h” OPTION +do + case $OPTION in + h) + usage + exit 1 + ;; + t) + TYPE=$OPTARG + ;; + s) + SERVER=$OPTARG + ;; + u) + USERNAME=$OPTARG + ;; + p) + PASSWD=$OPTARG + ;; + l) + DB_PATH=$OPTARG + ;; + ?) + usage + exit + ;; + esac +done + +MIGRATE_CMDS=$(cat <'+'Dashboard', content: dashboard_tab_content } diff --git a/src/ozones/Server/public/js/plugins/vdcs-tab.js b/src/ozones/Server/public/js/plugins/vdcs-tab.js index 773417ab31..e4c5ea9780 100644 --- a/src/ozones/Server/public/js/plugins/vdcs-tab.js +++ b/src/ozones/Server/public/js/plugins/vdcs-tab.js @@ -276,7 +276,7 @@ var vdc_buttons = { }; var vdcs_tab = { - title: "VDCs", + title: ''+"VDCs", content: vdcs_tab_content, buttons: vdc_buttons } diff --git a/src/ozones/Server/public/js/plugins/zones-tab.js b/src/ozones/Server/public/js/plugins/zones-tab.js index 8402f2f5d4..c6011247f5 100644 --- a/src/ozones/Server/public/js/plugins/zones-tab.js +++ b/src/ozones/Server/public/js/plugins/zones-tab.js @@ -215,7 +215,7 @@ var zone_buttons = { }; var zones_tab = { - title: "Zones", + title: ''+"Zones", content: zones_tab_content, buttons: zone_buttons } diff --git a/src/ozones/Server/templates/index.html b/src/ozones/Server/templates/index.html index cf434eab15..3a5e018a1a 100644 --- a/src/ozones/Server/templates/index.html +++ b/src/ozones/Server/templates/index.html @@ -9,6 +9,7 @@ + diff --git a/src/pool/PoolObjectAuth.cc b/src/pool/PoolObjectAuth.cc index ec1ffe3d00..7c4ccbcedf 100644 --- a/src/pool/PoolObjectAuth.cc +++ b/src/pool/PoolObjectAuth.cc @@ -15,7 +15,7 @@ /* -------------------------------------------------------------------------- */ #include "PoolObjectAuth.h" -#include "AuthManager.h" +#include "AuthRequest.h" #include "AclRule.h" void PoolObjectAuth::get_acl_rules(AclRule& owner_rule, diff --git a/src/rm/Request.cc b/src/rm/Request.cc index bd5b9a9f82..c0e9af5284 100644 --- a/src/rm/Request.cc +++ b/src/rm/Request.cc @@ -61,11 +61,6 @@ bool Request::basic_authorization(int oid, PoolObjectSQL * object; PoolObjectAuth perms; - if ( att.uid == 0 ) - { - return true; - } - if ( oid >= 0 ) { object = pool->get(oid,true); @@ -78,12 +73,23 @@ bool Request::basic_authorization(int oid, return false; } + if ( att.uid == 0 ) + { + object->unlock(); + return true; + } + object->get_permissions(perms); object->unlock(); } else { + if ( att.uid == 0 ) + { + return true; + } + perms.obj_type = auth_object; } @@ -106,6 +112,246 @@ bool Request::basic_authorization(int oid, /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ +bool Request::user_quota_authorization (Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att, + string& error_str) +{ + Nebula& nd = Nebula::instance(); + UserPool * upool = nd.get_upool(); + User * user; + + bool rc = false; + + user = upool->get(att.uid, true); + + if ( user == 0 ) + { + error_str = "User not found"; + return false; + } + + switch (object) + { + case PoolObjectSQL::IMAGE: + rc = user->quota.ds_check(tmpl, error_str); + break; + + case PoolObjectSQL::VM: + case PoolObjectSQL::TEMPLATE: + rc = user->quota.vm_check(tmpl, error_str); + break; + + default: + break; + } + + if (rc == true) + { + upool->update(user); + } + + user->unlock(); + + return rc; +} + +/* -------------------------------------------------------------------------- */ + +bool Request::group_quota_authorization (Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att, + string& error_str) +{ + Nebula& nd = Nebula::instance(); + GroupPool * gpool = nd.get_gpool(); + Group * group; + + bool rc = false; + + group = gpool->get(att.gid, true); + + if ( group == 0 ) + { + error_str = "Group not found"; + return false; + } + + switch (object) + { + case PoolObjectSQL::IMAGE: + rc = group->quota.ds_check(tmpl, error_str); + break; + + case PoolObjectSQL::VM: + case PoolObjectSQL::TEMPLATE: + rc = group->quota.vm_check(tmpl, error_str); + break; + + default: + break; + } + + if (rc == true) + { + gpool->update(group); + } + + group->unlock(); + + return rc; +} + +/* -------------------------------------------------------------------------- */ + +void Request::user_quota_rollback(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att) +{ + Nebula& nd = Nebula::instance(); + UserPool * upool = nd.get_upool(); + + User * user; + + user = upool->get(att.uid, true); + + if ( user == 0 ) + { + return; + } + + switch (object) + { + case PoolObjectSQL::IMAGE: + user->quota.ds_del(tmpl); + break; + + case PoolObjectSQL::VM: + case PoolObjectSQL::TEMPLATE: + user->quota.vm_del(tmpl); + break; + + default: + break; + } + + upool->update(user); + + user->unlock(); +} + +/* -------------------------------------------------------------------------- */ + +void Request::group_quota_rollback(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att) +{ + Nebula& nd = Nebula::instance(); + GroupPool * gpool = nd.get_gpool(); + + Group * group; + + group = gpool->get(att.gid, true); + + if ( group == 0 ) + { + return; + } + + switch (object) + { + case PoolObjectSQL::IMAGE: + group->quota.ds_del(tmpl); + break; + + case PoolObjectSQL::VM: + case PoolObjectSQL::TEMPLATE: + group->quota.vm_del(tmpl); + break; + default: + break; + } + + gpool->update(group); + + group->unlock(); +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +bool Request::quota_authorization(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att) +{ + string error_str; + + if (object != PoolObjectSQL::IMAGE && + object != PoolObjectSQL::VM && + object != PoolObjectSQL::TEMPLATE) + { + return true; + } + + // uid/gid == -1 means do not update user/group + if ( att.uid != UserPool::ONEADMIN_ID && att.uid != -1) + { + if ( user_quota_authorization(tmpl, object, att, error_str) == false ) + { + failure_response(AUTHORIZATION, + authorization_error(error_str, att), + att); + + return false; + } + } + + if ( att.gid != GroupPool::ONEADMIN_ID && att.gid != -1) + { + if ( group_quota_authorization(tmpl, object, att, error_str) == false ) + { + user_quota_rollback(tmpl, object, att); + + failure_response(AUTHORIZATION, + authorization_error(error_str, att), + att); + + return false; + } + } + + return true; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void Request::quota_rollback(Template * tmpl, + PoolObjectSQL::ObjectType object, + RequestAttributes& att) +{ + if (object != PoolObjectSQL::IMAGE && + object != PoolObjectSQL::VM && + object != PoolObjectSQL::TEMPLATE) + { + return; + } + + // uid/gid == -1 means do not update user/group + if ( att.uid != UserPool::ONEADMIN_ID && att.uid != -1 ) + { + user_quota_rollback(tmpl, object, att); + } + + if ( att.gid != GroupPool::ONEADMIN_ID && att.gid != -1 ) + { + group_quota_rollback(tmpl, object, att);; + } +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + void Request::failure_response(ErrorCode ec, const string& str_val, RequestAttributes& att) { diff --git a/src/rm/RequestManager.cc b/src/rm/RequestManager.cc index f69edcc164..d6c0076824 100644 --- a/src/rm/RequestManager.cc +++ b/src/rm/RequestManager.cc @@ -34,6 +34,7 @@ #include "RequestManagerUser.h" #include "RequestManagerAcl.h" #include "RequestManagerCluster.h" +#include "RequestManagerGroup.h" #include #include @@ -233,6 +234,10 @@ void RequestManager::register_xml_methods() // User Methods xmlrpc_c::methodPtr user_change_password(new UserChangePassword()); xmlrpc_c::methodPtr user_change_auth(new UserChangeAuth()); + xmlrpc_c::methodPtr user_set_quota(new UserSetQuota()); + + // Group Methods + xmlrpc_c::methodPtr group_set_quota(new GroupSetQuota()); // VMTemplate Methods xmlrpc_c::methodPtr template_instantiate(new VMTemplateInstantiate()); @@ -243,7 +248,9 @@ void RequestManager::register_xml_methods() xmlrpc_c::methodPtr vm_migrate(new VirtualMachineMigrate()); xmlrpc_c::methodPtr vm_action(new VirtualMachineAction()); xmlrpc_c::methodPtr vm_savedisk(new VirtualMachineSaveDisk()); + xmlrpc_c::methodPtr vm_monitoring(new VirtualMachineMonitoring()); xmlrpc_c::methodPtr vm_pool_acct(new VirtualMachinePoolAccounting()); + xmlrpc_c::methodPtr vm_pool_monitoring(new VirtualMachinePoolMonitoring()); // VirtualNetwork Methods xmlrpc_c::methodPtr vn_addleases(new VirtualNetworkAddLeases()); @@ -304,6 +311,8 @@ void RequestManager::register_xml_methods() // Host Methods xmlrpc_c::methodPtr host_enable(new HostEnable()); + xmlrpc_c::methodPtr host_monitoring(new HostMonitoring()); + xmlrpc_c::methodPtr host_pool_monitoring(new HostPoolMonitoring()); // Image Methods xmlrpc_c::methodPtr image_persistent(new ImagePersistent()); @@ -348,9 +357,11 @@ void RequestManager::register_xml_methods() RequestManagerRegistry.addMethod("one.vm.info", vm_info); RequestManagerRegistry.addMethod("one.vm.chown", vm_chown); RequestManagerRegistry.addMethod("one.vm.chmod", vm_chmod); + RequestManagerRegistry.addMethod("one.vm.monitoring", vm_monitoring); RequestManagerRegistry.addMethod("one.vmpool.info", vm_pool_info); RequestManagerRegistry.addMethod("one.vmpool.accounting", vm_pool_acct); + RequestManagerRegistry.addMethod("one.vmpool.monitoring", vm_pool_monitoring); /* VM Template related methods*/ RequestManagerRegistry.addMethod("one.template.update", template_update); @@ -370,13 +381,16 @@ void RequestManager::register_xml_methods() RequestManagerRegistry.addMethod("one.host.allocate", host_allocate); RequestManagerRegistry.addMethod("one.host.delete", host_delete); RequestManagerRegistry.addMethod("one.host.info", host_info); + RequestManagerRegistry.addMethod("one.host.monitoring", host_monitoring); RequestManagerRegistry.addMethod("one.hostpool.info", hostpool_info); + RequestManagerRegistry.addMethod("one.hostpool.monitoring", host_pool_monitoring); /* Group related methods */ RequestManagerRegistry.addMethod("one.group.allocate", group_allocate); RequestManagerRegistry.addMethod("one.group.delete", group_delete); RequestManagerRegistry.addMethod("one.group.info", group_info); + RequestManagerRegistry.addMethod("one.group.quota", group_set_quota); RequestManagerRegistry.addMethod("one.grouppool.info", grouppool_info); @@ -402,6 +416,7 @@ void RequestManager::register_xml_methods() RequestManagerRegistry.addMethod("one.user.passwd", user_change_password); RequestManagerRegistry.addMethod("one.user.chgrp", user_chown); RequestManagerRegistry.addMethod("one.user.chauth", user_change_auth); + RequestManagerRegistry.addMethod("one.user.quota", user_set_quota); RequestManagerRegistry.addMethod("one.userpool.info", userpool_info); diff --git a/src/rm/RequestManagerAllocate.cc b/src/rm/RequestManagerAllocate.cc index 23faf9c0a7..4f2af4dff6 100644 --- a/src/rm/RequestManagerAllocate.cc +++ b/src/rm/RequestManagerAllocate.cc @@ -15,7 +15,6 @@ /* -------------------------------------------------------------------------- */ #include "RequestManagerAllocate.h" -#include "NebulaLog.h" #include "Nebula.h" #include "PoolObjectSQL.h" @@ -80,7 +79,7 @@ bool VirtualMachineAllocate::allocate_authorization( VirtualMachineTemplate * ttmpl = static_cast(tmpl); - // Check template for restricted attributes + // ------------ Check template for restricted attributes ------------------- if ( att.uid != 0 && att.gid != GroupPool::ONEADMIN_ID ) { @@ -98,6 +97,8 @@ bool VirtualMachineAllocate::allocate_authorization( } } + // ------------------ Authorize VM create operation ------------------------ + ar.add_create_auth(auth_object, tmpl->to_xml(t64)); VirtualMachine::set_auth_request(att.uid, ar, ttmpl); @@ -111,6 +112,13 @@ bool VirtualMachineAllocate::allocate_authorization( return false; } + // -------------------------- Check Quotas ---------------------------- + + if ( quota_authorization(tmpl, att) == false ) + { + return false; + } + return true; } @@ -266,8 +274,17 @@ int VirtualMachineAllocate::pool_allocate(xmlrpc_c::paramList const& paramList, VirtualMachineTemplate * ttmpl= static_cast(tmpl); VirtualMachinePool * vmpool = static_cast(pool); - return vmpool->allocate(att.uid, att.gid, att.uname, att.gname, ttmpl, &id, - error_str, false); + Template tmpl_back(*tmpl); + + int rc = vmpool->allocate(att.uid, att.gid, att.uname, att.gname, ttmpl, &id, + error_str, false); + + if ( rc < 0 ) + { + quota_rollback(&tmpl_back, att); + } + + return rc; } @@ -297,8 +314,14 @@ void ImageAllocate::request_execute(xmlrpc_c::paramList const& params, RequestAttributes& att) { string error_str; + string size_str; + + int size_mb; + istringstream iss; + string ds_name; string ds_data; + int rc, id; PoolObjectAuth ds_perms; @@ -306,9 +329,15 @@ void ImageAllocate::request_execute(xmlrpc_c::paramList const& params, string str_tmpl = xmlrpc_c::value_string(params.getString(1)); int ds_id = xmlrpc_c::value_int(params.getInt(2)); - ImagePool * ipool = static_cast(pool); + Nebula& nd = Nebula::instance(); + DatastorePool * dspool = nd.get_dspool(); + ImagePool * ipool = static_cast(pool); + ImageManager * imagem = nd.get_imagem(); + ImageTemplate * tmpl = new ImageTemplate; + Template img_usage; + Datastore * ds; Image::DiskType ds_disk_type; @@ -356,13 +385,45 @@ void ImageAllocate::request_execute(xmlrpc_c::paramList const& params, ds->unlock(); + // --------------- Get the SIZE for the Image, (DS driver) ----------------- + + rc = imagem->stat_image(tmpl, ds_data, size_str); + + if ( rc == -1 ) + { + failure_response(INTERNAL, + request_error("Cannot determine Image SIZE", size_str), + att); + delete tmpl; + return; + } + + iss.str(size_str); + iss >> size_mb; + + if ( iss.fail() ) + { + failure_response(INTERNAL, + request_error("Cannot parse SIZE", size_str), + att); + delete tmpl; + return; + } + + tmpl->erase("SIZE"); + tmpl->add("SIZE", size_str); + // ------------- Set authorization request for non-oneadmin's -------------- + + img_usage.add("DATASTORE", ds_id); + img_usage.add("SIZE", size_str); if ( att.uid != 0 ) { AuthRequest ar(att.uid, att.gid); - string tmpl_str = ""; + string tmpl_str; + // ------------------ Check permissions and ACLs ---------------------- tmpl->to_xml(tmpl_str); ar.add_create_auth(auth_object, tmpl_str); // CREATE IMAGE @@ -378,6 +439,14 @@ void ImageAllocate::request_execute(xmlrpc_c::paramList const& params, delete tmpl; return; } + + // -------------------------- Check Quotas ---------------------------- + + if ( quota_authorization(&img_usage, att) == false ) + { + delete tmpl; + return; + } } rc = ipool->allocate(att.uid, @@ -394,6 +463,8 @@ void ImageAllocate::request_execute(xmlrpc_c::paramList const& params, error_str); if ( rc < 0 ) { + quota_rollback(&img_usage, att); + failure_response(INTERNAL, allocate_error(error_str), att); return; } @@ -453,9 +524,6 @@ int HostAllocate::pool_allocate( } -/* -------------------------------------------------------------------------- */ - - /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ diff --git a/src/rm/RequestManagerChown.cc b/src/rm/RequestManagerChown.cc index 768a87c5e8..6651a3d9d7 100644 --- a/src/rm/RequestManagerChown.cc +++ b/src/rm/RequestManagerChown.cc @@ -23,6 +23,94 @@ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ +PoolObjectSQL * RequestManagerChown::get_and_quota( + int oid, + int new_uid, + int new_gid, + RequestAttributes& att) +{ + Template * tmpl; + + int old_uid; + int old_gid; + + PoolObjectSQL * object; + + object = pool->get(oid,true); + + if ( object == 0 ) + { + failure_response(NO_EXISTS, + get_error(object_name(auth_object), oid), + att); + return 0; + } + + if ( auth_object == PoolObjectSQL::VM ) + { + tmpl = (static_cast(object))->clone_template(); + } + else + { + Image * img = static_cast(object); + tmpl = new Template; + + tmpl->add("DATASTORE", img->get_ds_id()); + tmpl->add("SIZE", img->get_size()); + } + + if ( new_uid == -1 ) + { + old_uid = -1; + } + else + { + old_uid = object->get_uid(); + } + + if ( new_gid == -1 ) + { + old_gid = -1; + } + else + { + old_gid = object->get_gid(); + } + + object->unlock(); + + RequestAttributes att_new(new_uid, new_gid, att); + RequestAttributes att_old(old_uid, old_gid, att); + + if ( quota_authorization(tmpl, att_new) == false ) + { + delete tmpl; + return 0; + } + + quota_rollback(tmpl, att_old); + + object = pool->get(oid,true); + + if ( object == 0 ) + { + quota_rollback(tmpl, att_new); + + quota_authorization(tmpl, att_old); + + failure_response(NO_EXISTS, + get_error(object_name(auth_object), oid), + att); + } + + delete tmpl; + + return object; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + void RequestManagerChown::request_execute(xmlrpc_c::paramList const& paramList, RequestAttributes& att) { @@ -102,13 +190,27 @@ void RequestManagerChown::request_execute(xmlrpc_c::paramList const& paramList, } } - // ------------- Update the object --------------------- + // --------------- Update the object and check quotas ---------------------- - object = pool->get(oid,true); + if ( auth_object == PoolObjectSQL::VM || + auth_object == PoolObjectSQL::IMAGE ) + { + object = get_and_quota(oid, noid, ngid, att); + } + else + { + object = pool->get(oid,true); - if ( object == 0 ) - { - failure_response(NO_EXISTS,get_error(object_name(auth_object),oid),att); + if ( object == 0 ) + { + failure_response(NO_EXISTS, + get_error(object_name(auth_object), oid), + att); + } + } + + if ( object == 0 ) + { return; } @@ -118,7 +220,6 @@ void RequestManagerChown::request_execute(xmlrpc_c::paramList const& paramList, old_uid = object->get_uid(); object->set_user(noid,nuname); - } if ( ngid != -1 ) diff --git a/src/rm/RequestManagerGroup.cc b/src/rm/RequestManagerGroup.cc new file mode 100644 index 0000000000..84c62612ea --- /dev/null +++ b/src/rm/RequestManagerGroup.cc @@ -0,0 +1,83 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#include "RequestManagerGroup.h" + +using namespace std; + +void GroupSetQuota:: + request_execute(xmlrpc_c::paramList const& paramList, + RequestAttributes& att) +{ + int id = xmlrpc_c::value_int(paramList.getInt(1)); + string quota_str = xmlrpc_c::value_string(paramList.getString(2)); + + Group * group; + string error_str; + + Template quota_tmpl; + int rc; + + if ( id == GroupPool::ONEADMIN_ID ) + { + failure_response(ACTION, + request_error("Cannot set quotas for oneadmin group",""), + att); + return; + } + + if ( basic_authorization(id, att) == false ) + { + return; + } + + rc = quota_tmpl.parse_str_or_xml(quota_str, error_str); + + if ( rc != 0 ) + { + failure_response(ACTION, request_error(error_str,""), att); + return; + } + + group = static_cast(pool->get(id,true)); + + if ( group == 0 ) + { + failure_response(NO_EXISTS, + get_error(object_name(auth_object),id), + att); + + return; + } + + group->quota.set("a_tmpl, error_str); + + pool->update(group); + + group->unlock(); + + if ( rc != 0 ) + { + failure_response(ACTION, request_error(error_str,""), att); + } + else + { + success_response(id, att); + } +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ diff --git a/src/rm/RequestManagerHost.cc b/src/rm/RequestManagerHost.cc index f4f1b1fd9d..e59a6b3dcf 100644 --- a/src/rm/RequestManagerHost.cc +++ b/src/rm/RequestManagerHost.cc @@ -67,3 +67,33 @@ void HostEnable::request_execute(xmlrpc_c::paramList const& paramList, /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ +void HostMonitoring::request_execute( + xmlrpc_c::paramList const& paramList, + RequestAttributes& att) +{ + int id = xmlrpc_c::value_int(paramList.getInt(1)); + int rc; + + ostringstream oss; + + if ( basic_authorization(id, att) == false ) + { + return; + } + + rc = (static_cast(pool))->dump_monitoring(oss, id); + + if ( rc != 0 ) + { + failure_response(INTERNAL,request_error("Internal Error",""), att); + return; + } + + success_response(oss.str(), att); + + return; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + diff --git a/src/rm/RequestManagerImage.cc b/src/rm/RequestManagerImage.cc index bf25072254..ce62e173d1 100644 --- a/src/rm/RequestManagerImage.cc +++ b/src/rm/RequestManagerImage.cc @@ -180,7 +180,10 @@ void ImageClone::request_execute( Image * source_img; Datastore * ds; - ImagePool * ipool = static_cast(pool); + Nebula& nd = Nebula::instance(); + + DatastorePool * dspool = nd.get_dspool(); + ImagePool * ipool = static_cast(pool); // ------------------------- Get source Image info ------------------------- @@ -195,8 +198,8 @@ void ImageClone::request_execute( return; } - rc = source_img->clone_template(name, tmpl, error_str); - + //TODO: UPDATE THIS rc = source_img->clone_template(name, tmpl, error_str); + //TODO: ADD QUOTA AUTH if ( rc != 0 ) { source_img->unlock(); diff --git a/src/rm/RequestManagerPoolInfoFilter.cc b/src/rm/RequestManagerPoolInfoFilter.cc index e48e23d237..53b4f3c225 100644 --- a/src/rm/RequestManagerPoolInfoFilter.cc +++ b/src/rm/RequestManagerPoolInfoFilter.cc @@ -131,6 +131,42 @@ void VirtualMachinePoolAccounting::request_execute( /* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */ +void VirtualMachinePoolMonitoring::request_execute( + xmlrpc_c::paramList const& paramList, + RequestAttributes& att) +{ + int filter_flag = xmlrpc_c::value_int(paramList.getInt(1)); + + ostringstream oss; + string where; + int rc; + + if ( filter_flag < MINE ) + { + failure_response(XML_RPC_API, + request_error("Incorrect filter_flag",""), + att); + return; + } + + where_filter(att, filter_flag, -1, -1, "", "", where); + + rc = (static_cast(pool))->dump_monitoring(oss, where); + + if ( rc != 0 ) + { + failure_response(INTERNAL,request_error("Internal Error",""), att); + return; + } + + success_response(oss.str(), att); + + return; +} + +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ + void HostPoolInfo::request_execute( xmlrpc_c::paramList const& paramList, RequestAttributes& att) @@ -141,6 +177,32 @@ void HostPoolInfo::request_execute( /* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */ +void HostPoolMonitoring::request_execute( + xmlrpc_c::paramList const& paramList, + RequestAttributes& att) +{ + ostringstream oss; + string where; + int rc; + + where_filter(att, ALL, -1, -1, "", "", where); + + rc = (static_cast(pool))->dump_monitoring(oss, where); + + if ( rc != 0 ) + { + failure_response(INTERNAL,request_error("Internal Error",""), att); + return; + } + + success_response(oss.str(), att); + + return; +} + +/* ------------------------------------------------------------------------- */ +/* ------------------------------------------------------------------------- */ + void GroupPoolInfo::request_execute( xmlrpc_c::paramList const& paramList, RequestAttributes& att) diff --git a/src/rm/RequestManagerUser.cc b/src/rm/RequestManagerUser.cc index 00c2cb883a..2af6c7d61d 100644 --- a/src/rm/RequestManagerUser.cc +++ b/src/rm/RequestManagerUser.cc @@ -44,7 +44,7 @@ void RequestManagerUser:: if ( user_action(id,paramList,error_str) < 0 ) { - failure_response(INTERNAL, request_error(error_str,""), att); + failure_response(ACTION, request_error(error_str,""), att); return; } @@ -133,6 +133,45 @@ int UserChangeAuth::user_action(int user_id, return rc; } -/* ------------------------------------------------------------------------- */ -/* ------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ +int UserSetQuota::user_action(int user_id, + xmlrpc_c::paramList const& paramList, + string& error_str) +{ + + string quota_str = xmlrpc_c::value_string(paramList.getString(2)); + Template quota_tmpl; + + int rc; + User * user; + + if ( user_id == UserPool::ONEADMIN_ID ) + { + error_str = "Cannot set quotas for oneadmin user"; + return -1; + } + + rc = quota_tmpl.parse_str_or_xml(quota_str, error_str); + + if ( rc != 0 ) + { + return -1; + } + + user = static_cast(pool->get(user_id,true)); + + if ( user == 0 ) + { + return -1; + } + + rc = user->quota.set("a_tmpl, error_str); + + pool->update(user); + + user->unlock(); + + return rc; +} diff --git a/src/rm/RequestManagerVMTemplate.cc b/src/rm/RequestManagerVMTemplate.cc index 360ac80434..107defc82a 100644 --- a/src/rm/RequestManagerVMTemplate.cc +++ b/src/rm/RequestManagerVMTemplate.cc @@ -98,8 +98,16 @@ void VMTemplateInstantiate::request_execute(xmlrpc_c::paramList const& paramList delete tmpl; return; } + + if ( quota_authorization(tmpl, att) == false ) + { + delete tmpl; + return; + } } + Template tmpl_back(*tmpl); + rc = vmpool->allocate(att.uid, att.gid, att.uname, att.gname, tmpl, &vid, error_str, false); @@ -109,6 +117,8 @@ void VMTemplateInstantiate::request_execute(xmlrpc_c::paramList const& paramList allocate_error(PoolObjectSQL::VM,error_str), att); + quota_rollback(&tmpl_back, att); + return; } diff --git a/src/rm/RequestManagerVirtualMachine.cc b/src/rm/RequestManagerVirtualMachine.cc index 061ddb45c5..e12a476493 100644 --- a/src/rm/RequestManagerVirtualMachine.cc +++ b/src/rm/RequestManagerVirtualMachine.cc @@ -21,21 +21,17 @@ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ -bool RequestManagerVirtualMachine::vm_authorization(int oid, - ImageTemplate * tmpl, - RequestAttributes& att, - PoolObjectAuth * host_perm, - PoolObjectAuth * ds_perm, - AuthRequest::Operation op) +bool RequestManagerVirtualMachine::vm_authorization( + int oid, + ImageTemplate * tmpl, + RequestAttributes& att, + PoolObjectAuth * host_perm, + PoolObjectAuth * ds_perm, + AuthRequest::Operation op) { PoolObjectSQL * object; PoolObjectAuth vm_perms; - if ( att.uid == 0 ) - { - return true; - } - object = pool->get(oid,true); if ( object == 0 ) @@ -47,6 +43,12 @@ bool RequestManagerVirtualMachine::vm_authorization(int oid, return false; } + if ( att.uid == 0 ) + { + object->unlock(); + return true; + } + object->get_permissions(vm_perms); object->unlock(); @@ -139,6 +141,7 @@ VirtualMachine * RequestManagerVirtualMachine::get_vm(int id, return vm; } + /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ @@ -174,6 +177,7 @@ int RequestManagerVirtualMachine::add_history(VirtualMachine * vm, /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ + void VirtualMachineAction::request_execute(xmlrpc_c::paramList const& paramList, RequestAttributes& att) { @@ -514,33 +518,32 @@ void VirtualMachineSaveDisk::request_execute(xmlrpc_c::paramList const& paramLis // ------------------------------------------------------------------------- // Create a template for the new Image // ------------------------------------------------------------------------- - ImageTemplate * itemplate; - ostringstream oss; + ImageTemplate * itemplate = new ImageTemplate; + Template img_usage; - oss << "NAME = \"" << img_name << "\"" << endl; - oss << "SIZE = " << size << endl; + itemplate->add("NAME", img_name); + itemplate->add("SIZE", size); - oss << "SAVED_IMAGE_ID = " << iid_orig << endl; - oss << "SAVED_DISK_ID = " << disk_id << endl; - oss << "SAVED_VM_ID = " << id << endl; + itemplate->add("SAVED_IMAGE_ID",iid_orig); + itemplate->add("SAVED_DISK_ID",disk_id); + itemplate->add("SAVED_VM_ID", id); if ( img_type.empty() ) { - oss << "TYPE = " << Image::type_to_str(type) << endl; + itemplate->add("TYPE", Image::type_to_str(type)); } else { - oss << "TYPE = " << img_type << endl; + itemplate->add("TYPE", img_type); } - itemplate = new ImageTemplate; - - itemplate->parse_str_or_xml(oss.str(), error_str); - itemplate->set_saving(); + img_usage.add("SIZE", size); + img_usage.add("DATASTORE", ds_id); + // ------------------------------------------------------------------------- - // Authorize the operation + // Authorize the operation & check quotas // ------------------------------------------------------------------------- if ( vm_authorization(id, itemplate, att, 0, &ds_perms, auth_op) == false ) @@ -549,6 +552,12 @@ void VirtualMachineSaveDisk::request_execute(xmlrpc_c::paramList const& paramLis return; } + if ( quota_authorization(&img_usage, PoolObjectSQL::IMAGE, att) == false ) + { + delete itemplate; + return; + } + // ------------------------------------------------------------------------- // Create the image // ------------------------------------------------------------------------- @@ -567,6 +576,8 @@ void VirtualMachineSaveDisk::request_execute(xmlrpc_c::paramList const& paramLis error_str); if (rc < 0) { + quota_rollback(&img_usage, PoolObjectSQL::IMAGE, att); + failure_response(INTERNAL, allocate_error(PoolObjectSQL::IMAGE, error_str), att); return; @@ -578,3 +589,35 @@ void VirtualMachineSaveDisk::request_execute(xmlrpc_c::paramList const& paramLis /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ + +void VirtualMachineMonitoring::request_execute( + xmlrpc_c::paramList const& paramList, + RequestAttributes& att) +{ + int id = xmlrpc_c::value_int(paramList.getInt(1)); + int rc; + + ostringstream oss; + + bool auth = vm_authorization(id, 0, att, 0, 0, auth_op); + + if ( auth == false ) + { + return; + } + + rc = (static_cast(pool))->dump_monitoring(oss, id); + + if ( rc != 0 ) + { + failure_response(INTERNAL,request_error("Internal Error",""), att); + return; + } + + success_response(oss.str(), att); + + return; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ diff --git a/src/rm/SConstruct b/src/rm/SConstruct index 5c565c5b73..7f9b1b33e1 100644 --- a/src/rm/SConstruct +++ b/src/rm/SConstruct @@ -33,6 +33,7 @@ source_files=[ 'RequestManagerVMTemplate.cc', 'RequestManagerUpdateTemplate.cc', 'RequestManagerUser.cc', + 'RequestManagerGroup.cc', 'RequestManagerHost.cc', 'RequestManagerImage.cc', 'RequestManagerChown.cc', diff --git a/src/sunstone/locale/generate_messages_pot.sh b/src/sunstone/locale/generate_messages_pot.sh new file mode 100755 index 0000000000..f63f23878e --- /dev/null +++ b/src/sunstone/locale/generate_messages_pot.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# -------------------------------------------------------------------------- # +# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +find ../public/js -name \*.js > file_list.txt +xgettext --from-code=utf-8 --no-wrap --keyword=tr -L python -f file_list.txt -p . +mv messages.po messages.pot +rm file_list.txt \ No newline at end of file diff --git a/src/cloud/occi/lib/ui/public/locale/generate_translation_template.rb b/src/sunstone/locale/languages/SConstruct old mode 100755 new mode 100644 similarity index 73% rename from src/cloud/occi/lib/ui/public/locale/generate_translation_template.rb rename to src/sunstone/locale/languages/SConstruct index 960a419235..f89ccf8686 --- a/src/cloud/occi/lib/ui/public/locale/generate_translation_template.rb +++ b/src/sunstone/locale/languages/SConstruct @@ -1,5 +1,4 @@ -#!/usr/bin/env ruby -# -*- coding: utf-8 -*- +# SConstruct for share/man # -------------------------------------------------------------------------- # # Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # @@ -17,15 +16,16 @@ # limitations under the License. # #--------------------------------------------------------------------------- # -tr_strings = `grep -h -o -R -e 'tr("[[:print:]]*")' ../js/* ../customize/* ../../../../../../sunstone/public/js/sunstone.js ../../../../../../sunstone/public/js/sunstone-util.js | cut -d'"' -f 2 | sort -u` +Import('env') -puts "//Translated by" -puts 'lang="en_US"' -puts 'datatable_lang=""' -puts "locale={" +po_bld = Builder(action = 'share/scons/po2json.rb $SOURCE > $TARGET', + suffix = '.js', + src_suffix = '.po') -tr_strings.each_line do | line | - puts " \"#{line.chomp}\":\"\"," -end +env.Append(BUILDERS = {'Po' : po_bld}) -puts "};" +env.Po('en_US.po') +env.Po('fr_FR.po') +env.Po('it_IT.po') +env.Po('pt_PT.po') +env.Po('ru.po') diff --git a/src/sunstone/locale/languages/en_US.po b/src/sunstone/locale/languages/en_US.po new file mode 100644 index 0000000000..831fd3a52c --- /dev/null +++ b/src/sunstone/locale/languages/en_US.po @@ -0,0 +1,2843 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 14:12+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/sunstone.js:586 +msgid "Previous action" +msgstr "" + +#: ../public/js/sunstone.js:649 ../public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "" + +#: ../public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "" + +#: ../public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "" + +#: ../public/js/sunstone.js:660 ../public/js/sunstone.js:692 +#: ../public/js/plugins/vms-tab.js:997 +msgid "OK" +msgstr "" + +#: ../public/js/sunstone.js:661 ../public/js/sunstone.js:693 +#: ../public/js/plugins/vms-tab.js:578 ../public/js/plugins/vms-tab.js:998 +msgid "Cancel" +msgstr "" + +#: ../public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "" + +#: ../public/js/locale.js:35 +msgid "Changing language" +msgstr "" + +#: ../public/js/locale.js:36 +msgid "Loading new language... please wait" +msgstr "" + +#: ../public/js/locale.js:89 +msgid "Documentation" +msgstr "" + +#: ../public/js/locale.js:90 +msgid "Support" +msgstr "" + +#: ../public/js/locale.js:91 +msgid "Community" +msgstr "" + +#: ../public/js/locale.js:92 +msgid "Welcome" +msgstr "" + +#: ../public/js/locale.js:93 +msgid "Sign out" +msgstr "" + +#: ../public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "" + +#: ../public/js/sunstone-util.js:220 +msgid "Error" +msgstr "" + +#: ../public/js/sunstone-util.js:226 +msgid "Info" +msgstr "" + +#: ../public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "" + +#: ../public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "" + +#: ../public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "" + +#: ../public/js/sunstone-util.js:561 ../public/js/sunstone-util.js:772 +#: ../public/js/plugins/templates-tab.js:441 +#: ../public/js/plugins/images-tab.js:1068 +msgid "Please select" +msgstr "" + +#: ../public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "" + +#: ../public/js/sunstone-util.js:701 ../public/js/plugins/templates-tab.js:594 +msgid "Please, choose and modify the template you want to update" +msgstr "" + +#: ../public/js/sunstone-util.js:703 ../public/js/sunstone-util.js:706 +#: ../public/js/plugins/templates-tab.js:596 +msgid "Select a template" +msgstr "" + +#: ../public/js/sunstone-util.js:711 ../public/js/plugins/vnets-tab.js:207 +#: ../public/js/plugins/vms-tab.js:153 +#: ../public/js/plugins/datastores-tab.js:121 +#: ../public/js/plugins/templates-tab.js:633 +#: ../public/js/plugins/images-tab.js:249 +msgid "Update" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:22 +msgid "Access Control Lists" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:29 ../public/js/plugins/acls-tab.js:65 +#: ../public/js/plugins/acls-tab.js:186 ../public/js/plugins/acls-tab.js:204 +#: ../public/js/plugins/acls-tab.js:464 ../public/js/plugins/vnets-tab.js:27 +#: ../public/js/plugins/clusters-tab.js:28 ../public/js/plugins/vms-tab.js:58 +#: ../public/js/plugins/datastores-tab.js:28 +#: ../public/js/plugins/hosts-tab.js:44 +#: ../public/js/plugins/templates-tab.js:27 +#: ../public/js/plugins/users-tab.js:31 ../public/js/plugins/groups-tab.js:29 +#: ../public/js/plugins/images-tab.js:27 +msgid "All" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:30 ../public/js/plugins/acls-tab.js:207 +#: ../public/js/plugins/vnets-tab.js:28 ../public/js/plugins/vnets-tab.js:547 +#: ../public/js/plugins/clusters-tab.js:29 +#: ../public/js/plugins/clusters-tab.js:385 +#: ../public/js/plugins/clusters-tab.js:460 ../public/js/plugins/vms-tab.js:59 +#: ../public/js/plugins/vms-tab.js:805 +#: ../public/js/plugins/datastores-tab.js:29 +#: ../public/js/plugins/datastores-tab.js:425 +#: ../public/js/plugins/hosts-tab.js:45 +#: ../public/js/plugins/templates-tab.js:28 +#: ../public/js/plugins/templates-tab.js:921 +#: ../public/js/plugins/users-tab.js:32 ../public/js/plugins/groups-tab.js:30 +#: ../public/js/plugins/images-tab.js:28 +#: ../public/js/plugins/images-tab.js:601 +msgid "ID" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:31 +msgid "Applies to" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:32 ../public/js/plugins/acls-tab.js:53 +msgid "Affected resources" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:33 +msgid "Resource ID / Owned by" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:34 ../public/js/plugins/acls-tab.js:75 +msgid "Allowed operations" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:35 +msgid "ACL String" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:42 +msgid "This table shows the ACLs rules broken down to easier the reading and meaning of each one. You can show the ACL original string by clicking on Show/Hide columns." +msgstr "" + +#: ../public/js/plugins/acls-tab.js:50 +msgid "This rule applies to" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:54 ../public/js/plugins/acls-tab.js:239 +#: ../public/js/plugins/clusters-tab.js:401 +#: ../public/js/plugins/clusters-tab.js:476 +#: ../public/js/plugins/clusters-tab.js:578 +#: ../public/js/plugins/hosts-tab.js:37 ../public/js/plugins/hosts-tab.js:352 +#: ../public/js/plugins/infra-tab.js:34 +msgid "Hosts" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:55 ../public/js/plugins/acls-tab.js:260 +#: ../public/js/plugins/clusters-tab.js:21 +#: ../public/js/plugins/clusters-tab.js:214 +#: ../public/js/plugins/infra-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:62 +msgid "Clusters" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:56 ../public/js/plugins/acls-tab.js:263 +#: ../public/js/plugins/dashboard-users-tab.js:73 +#: ../public/js/plugins/clusters-tab.js:417 +#: ../public/js/plugins/clusters-tab.js:493 +#: ../public/js/plugins/clusters-tab.js:585 +#: ../public/js/plugins/datastores-tab.js:21 +#: ../public/js/plugins/datastores-tab.js:327 +#: ../public/js/plugins/infra-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:86 +msgid "Datastores" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:57 ../public/js/plugins/acls-tab.js:242 +#: ../public/js/plugins/vms-tab.js:51 ../public/js/plugins/vms-tab.js:611 +msgid "Virtual Machines" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:58 ../public/js/plugins/acls-tab.js:245 +#: ../public/js/plugins/dashboard-users-tab.js:69 +#: ../public/js/plugins/vnets-tab.js:20 ../public/js/plugins/vnets-tab.js:462 +#: ../public/js/plugins/clusters-tab.js:429 +#: ../public/js/plugins/clusters-tab.js:507 +#: ../public/js/plugins/clusters-tab.js:592 +#: ../public/js/plugins/infra-tab.js:42 +#: ../public/js/plugins/vresources-tab.js:43 +#: ../public/js/plugins/dashboard-tab.js:82 +msgid "Virtual Networks" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:59 ../public/js/plugins/acls-tab.js:248 +#: ../public/js/plugins/dashboard-users-tab.js:77 +#: ../public/js/plugins/datastores-tab.js:457 +#: ../public/js/plugins/vresources-tab.js:47 +#: ../public/js/plugins/images-tab.js:20 +#: ../public/js/plugins/images-tab.js:509 +#: ../public/js/plugins/dashboard-tab.js:90 +msgid "Images" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:60 +#: ../public/js/plugins/templates-tab.js:20 +#: ../public/js/plugins/templates-tab.js:825 +msgid "Templates" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:61 ../public/js/plugins/acls-tab.js:254 +#: ../public/js/plugins/acls-tab.js:456 ../public/js/plugins/users-tab.js:24 +#: ../public/js/plugins/users-tab.js:315 ../public/js/plugins/groups-tab.js:32 +#: ../public/js/plugins/system-tab.js:34 +#: ../public/js/plugins/dashboard-tab.js:94 +msgid "Users" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:62 ../public/js/plugins/acls-tab.js:257 +#: ../public/js/plugins/acls-tab.js:461 ../public/js/plugins/groups-tab.js:22 +#: ../public/js/plugins/groups-tab.js:147 +#: ../public/js/plugins/system-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:66 +msgid "Groups" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:64 +msgid "Resource subset" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:66 +msgid "Specific ID" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:67 +msgid "Owned by group" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:69 +msgid "Resource ID" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:72 ../public/js/plugins/acls-tab.js:211 +#: ../public/js/plugins/vnets-tab.js:30 ../public/js/plugins/vnets-tab.js:187 +#: ../public/js/plugins/vnets-tab.js:563 ../public/js/plugins/vnets-tab.js:588 +#: ../public/js/plugins/vms-tab.js:61 ../public/js/plugins/vms-tab.js:132 +#: ../public/js/plugins/vms-tab.js:817 ../public/js/plugins/vms-tab.js:846 +#: ../public/js/plugins/datastores-tab.js:31 +#: ../public/js/plugins/datastores-tab.js:101 +#: ../public/js/plugins/datastores-tab.js:437 +#: ../public/js/plugins/datastores-tab.js:466 +#: ../public/js/plugins/templates-tab.js:30 +#: ../public/js/plugins/templates-tab.js:613 +#: ../public/js/plugins/templates-tab.js:933 +#: ../public/js/plugins/templates-tab.js:946 +#: ../public/js/plugins/users-tab.js:34 ../public/js/plugins/users-tab.js:403 +#: ../public/js/plugins/images-tab.js:30 +#: ../public/js/plugins/images-tab.js:230 +#: ../public/js/plugins/images-tab.js:617 +#: ../public/js/plugins/images-tab.js:662 +#: ../public/js/plugins/dashboard-tab.js:121 +msgid "Group" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:76 ../public/js/plugins/vnets-tab.js:177 +#: ../public/js/plugins/vms-tab.js:122 +#: ../public/js/plugins/datastores-tab.js:91 +#: ../public/js/plugins/templates-tab.js:603 +#: ../public/js/plugins/images-tab.js:220 +msgid "Use" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:77 ../public/js/plugins/vnets-tab.js:178 +#: ../public/js/plugins/vms-tab.js:123 +#: ../public/js/plugins/datastores-tab.js:92 +#: ../public/js/plugins/templates-tab.js:604 +#: ../public/js/plugins/images-tab.js:221 +msgid "Manage" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:78 +msgid "Administrate" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:79 ../public/js/plugins/acls-tab.js:87 +#: ../public/js/plugins/vnets-tab.js:140 ../public/js/plugins/vnets-tab.js:157 +#: ../public/js/plugins/clusters-tab.js:45 ../public/js/plugins/vms-tab.js:105 +#: ../public/js/plugins/datastores-tab.js:74 +#: ../public/js/plugins/hosts-tab.js:132 +#: ../public/js/plugins/templates-tab.js:566 +#: ../public/js/plugins/templates-tab.js:583 +#: ../public/js/plugins/users-tab.js:73 ../public/js/plugins/groups-tab.js:53 +#: ../public/js/plugins/images-tab.js:178 +#: ../public/js/plugins/images-tab.js:196 +msgid "Create" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:81 +msgid "ACL String preview" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:88 ../public/js/plugins/vnets-tab.js:142 +#: ../public/js/plugins/vnets-tab.js:159 +#: ../public/js/plugins/clusters-tab.js:46 ../public/js/plugins/vms-tab.js:106 +#: ../public/js/plugins/datastores-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:133 +#: ../public/js/plugins/templates-tab.js:568 +#: ../public/js/plugins/templates-tab.js:585 +#: ../public/js/plugins/users-tab.js:74 ../public/js/plugins/users-tab.js:90 +#: ../public/js/plugins/groups-tab.js:54 +#: ../public/js/plugins/images-tab.js:179 +#: ../public/js/plugins/images-tab.js:198 +msgid "Reset" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:148 ../public/js/plugins/vnets-tab.js:407 +#: ../public/js/plugins/clusters-tab.js:181 +#: ../public/js/plugins/vms-tab.js:469 +#: ../public/js/plugins/datastores-tab.js:273 +#: ../public/js/plugins/hosts-tab.js:296 +#: ../public/js/plugins/templates-tab.js:780 +#: ../public/js/plugins/users-tab.js:254 +#: ../public/js/plugins/groups-tab.js:125 +#: ../public/js/plugins/images-tab.js:442 +msgid "Refresh list" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:153 ../public/js/plugins/vnets-tab.js:413 +#: ../public/js/plugins/clusters-tab.js:186 +#: ../public/js/plugins/vms-tab.js:475 +#: ../public/js/plugins/datastores-tab.js:278 +#: ../public/js/plugins/hosts-tab.js:301 +#: ../public/js/plugins/templates-tab.js:785 +#: ../public/js/plugins/users-tab.js:259 +#: ../public/js/plugins/images-tab.js:447 +msgid "+ New" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:157 ../public/js/plugins/vnets-tab.js:446 +#: ../public/js/plugins/clusters-tab.js:190 +#: ../public/js/plugins/vms-tab.js:586 +#: ../public/js/plugins/datastores-tab.js:310 +#: ../public/js/plugins/templates-tab.js:813 +#: ../public/js/plugins/users-tab.js:303 +#: ../public/js/plugins/groups-tab.js:142 +#: ../public/js/plugins/images-tab.js:491 +msgid "Delete" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:162 +msgid "ACLs" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:189 +#: ../public/js/plugins/dashboard-tab.js:120 +msgid "User" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:193 +msgid "Group " +msgstr "" + +#: ../public/js/plugins/acls-tab.js:251 +#: ../public/js/plugins/dashboard-users-tab.js:58 +#: ../public/js/plugins/vresources-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:70 +msgid "VM Templates" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:318 +msgid "Create ACL" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:406 +msgid "Please specify to who this ACL applies" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:412 +msgid "Please select at least one resource" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:421 +msgid "Please provide a resource ID for the resource(s) in this rule" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:53 +#: ../public/js/plugins/dashboard-tab.js:53 +msgid "Summary of resources" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:62 +#: ../public/js/plugins/vresources-tab.js:35 +#: ../public/js/plugins/dashboard-tab.js:75 +msgid "VM Instances" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:63 +#: ../public/js/plugins/vresources-tab.js:36 +#: ../public/js/plugins/dashboard-tab.js:76 +msgid "total" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:64 +#: ../public/js/plugins/vresources-tab.js:37 +#: ../public/js/plugins/dashboard-tab.js:77 +msgid "running" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:65 +#: ../public/js/plugins/vresources-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:78 +msgid "failed" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:89 +#: ../public/js/plugins/infra-tab.js:54 +#: ../public/js/plugins/vresources-tab.js:59 +#: ../public/js/plugins/system-tab.js:50 +#: ../public/js/plugins/dashboard-tab.js:110 +msgid "Quickstart" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:91 +#: ../public/js/plugins/dashboard-tab.js:112 +msgid "Create new" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:92 +#: ../public/js/plugins/dashboard-tab.js:115 +msgid "VM Instance" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:93 +#: ../public/js/plugins/vms-tab.js:885 +#: ../public/js/plugins/dashboard-tab.js:116 +msgid "VM Template" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:94 +#: ../public/js/plugins/vnets-tab.js:543 +#: ../public/js/plugins/dashboard-tab.js:117 +msgid "Virtual Network" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:95 +#: ../public/js/plugins/templates-tab.js:194 +#: ../public/js/plugins/templates-tab.js:199 +#: ../public/js/plugins/images-tab.js:597 +#: ../public/js/plugins/dashboard-tab.js:119 +msgid "Image" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:108 +#: ../public/js/plugins/dashboard-tab.js:135 +msgid "Historical monitoring information" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:111 +#: ../public/js/plugins/dashboard-tab.js:144 +msgid "Total VM count" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:114 +msgid "Total VM CPU" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:117 +msgid "Total VM Memory" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:120 +#: ../public/js/plugins/dashboard-tab.js:147 +msgid "VM Network stats" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:133 +#: ../public/js/plugins/dashboard-tab.js:160 +msgid "Dashboard" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:29 ../public/js/plugins/vnets-tab.js:181 +#: ../public/js/plugins/vnets-tab.js:559 ../public/js/plugins/vnets-tab.js:584 +#: ../public/js/plugins/vms-tab.js:60 ../public/js/plugins/vms-tab.js:126 +#: ../public/js/plugins/vms-tab.js:813 ../public/js/plugins/vms-tab.js:842 +#: ../public/js/plugins/datastores-tab.js:30 +#: ../public/js/plugins/datastores-tab.js:95 +#: ../public/js/plugins/datastores-tab.js:433 +#: ../public/js/plugins/datastores-tab.js:462 +#: ../public/js/plugins/templates-tab.js:29 +#: ../public/js/plugins/templates-tab.js:607 +#: ../public/js/plugins/templates-tab.js:929 +#: ../public/js/plugins/templates-tab.js:942 +#: ../public/js/plugins/images-tab.js:29 +#: ../public/js/plugins/images-tab.js:224 +#: ../public/js/plugins/images-tab.js:613 +#: ../public/js/plugins/images-tab.js:658 +msgid "Owner" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:31 ../public/js/plugins/vnets-tab.js:55 +#: ../public/js/plugins/vnets-tab.js:125 ../public/js/plugins/vnets-tab.js:551 +#: ../public/js/plugins/clusters-tab.js:30 +#: ../public/js/plugins/clusters-tab.js:41 +#: ../public/js/plugins/clusters-tab.js:389 +#: ../public/js/plugins/clusters-tab.js:464 +#: ../public/js/plugins/clusters-tab.js:672 ../public/js/plugins/vms-tab.js:62 +#: ../public/js/plugins/vms-tab.js:809 +#: ../public/js/plugins/datastores-tab.js:32 +#: ../public/js/plugins/datastores-tab.js:47 +#: ../public/js/plugins/datastores-tab.js:429 +#: ../public/js/plugins/hosts-tab.js:46 ../public/js/plugins/hosts-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:494 +#: ../public/js/plugins/templates-tab.js:31 +#: ../public/js/plugins/templates-tab.js:70 +#: ../public/js/plugins/templates-tab.js:478 +#: ../public/js/plugins/templates-tab.js:543 +#: ../public/js/plugins/templates-tab.js:925 +#: ../public/js/plugins/users-tab.js:33 ../public/js/plugins/groups-tab.js:31 +#: ../public/js/plugins/images-tab.js:31 ../public/js/plugins/images-tab.js:62 +#: ../public/js/plugins/images-tab.js:164 +#: ../public/js/plugins/images-tab.js:605 +msgid "Name" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:32 ../public/js/plugins/vnets-tab.js:555 +#: ../public/js/plugins/clusters-tab.js:676 +#: ../public/js/plugins/datastores-tab.js:33 +#: ../public/js/plugins/datastores-tab.js:49 +#: ../public/js/plugins/datastores-tab.js:441 +#: ../public/js/plugins/hosts-tab.js:47 ../public/js/plugins/hosts-tab.js:125 +#: ../public/js/plugins/hosts-tab.js:498 +#: ../public/js/plugins/dashboard-tab.js:114 +msgid "Cluster" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:33 ../public/js/plugins/vms-tab.js:1072 +#: ../public/js/plugins/templates-tab.js:222 +#: ../public/js/plugins/templates-tab.js:404 +#: ../public/js/plugins/images-tab.js:34 ../public/js/plugins/images-tab.js:80 +#: ../public/js/plugins/images-tab.js:621 +msgid "Type" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:34 ../public/js/plugins/vnets-tab.js:68 +#: ../public/js/plugins/vnets-tab.js:567 +#: ../public/js/plugins/templates-tab.js:319 +msgid "Bridge" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:35 +msgid "Total Leases" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:42 +msgid "Tip: edit the leases of a network by clicking on one and going to the lease management tab." +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:49 ../public/js/plugins/images-tab.js:52 +msgid "Wizard" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:50 +#: ../public/js/plugins/templates-tab.js:45 +#: ../public/js/plugins/images-tab.js:53 +msgid "Advanced mode" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:60 +msgid "Network mode" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:62 +#: ../public/js/plugins/templates-tab.js:162 +#: ../public/js/plugins/templates-tab.js:171 +msgid "Default" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:63 ../public/js/plugins/hosts-tab.js:113 +msgid "802.1Q" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:64 +msgid "Etables" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:65 ../public/js/plugins/hosts-tab.js:115 +msgid "Open vSwitch" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:66 +#: ../public/js/plugins/datastores-tab.js:55 +#: ../public/js/plugins/hosts-tab.js:84 ../public/js/plugins/hosts-tab.js:98 +#: ../public/js/plugins/hosts-tab.js:116 +msgid "VMware" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:70 ../public/js/plugins/vnets-tab.js:575 +msgid "Physical device" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:72 ../public/js/plugins/vnets-tab.js:571 +msgid "VLAN" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:74 +#: ../public/js/plugins/templates-tab.js:252 +#: ../public/js/plugins/templates-tab.js:261 +#: ../public/js/plugins/templates-tab.js:269 +msgid "Yes" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:75 +#: ../public/js/plugins/templates-tab.js:253 +#: ../public/js/plugins/templates-tab.js:260 +#: ../public/js/plugins/templates-tab.js:268 +msgid "No" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:77 ../public/js/plugins/vnets-tab.js:579 +msgid "VLAN ID" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:81 +msgid "Network type" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:82 +msgid "Fixed network" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:83 +msgid "Ranged network" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:89 +msgid "Lease IP" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:91 +msgid "Lease MAC (opt):" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:95 ../public/js/plugins/vnets-tab.js:129 +#: ../public/js/plugins/vnets-tab.js:649 +#: ../public/js/plugins/templates-tab.js:274 +#: ../public/js/plugins/templates-tab.js:386 +#: ../public/js/plugins/templates-tab.js:421 +#: ../public/js/plugins/templates-tab.js:488 +#: ../public/js/plugins/templates-tab.js:553 +#: ../public/js/plugins/images-tab.js:168 +msgid "Add" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:98 ../public/js/plugins/vnets-tab.js:130 +#: ../public/js/plugins/templates-tab.js:275 +#: ../public/js/plugins/templates-tab.js:387 +#: ../public/js/plugins/templates-tab.js:422 +#: ../public/js/plugins/templates-tab.js:489 +#: ../public/js/plugins/templates-tab.js:554 +#: ../public/js/plugins/images-tab.js:169 +msgid "Remove selected" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:100 +msgid "Current leases" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:108 +msgid "Network Address" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:110 +msgid "Network Mask" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:112 +msgid "Define a subnet by IP range" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:114 ../public/js/plugins/vnets-tab.js:631 +msgid "IP Start" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:116 ../public/js/plugins/vnets-tab.js:635 +msgid "IP End" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:127 +#: ../public/js/plugins/templates-tab.js:483 +#: ../public/js/plugins/templates-tab.js:548 +#: ../public/js/plugins/images-tab.js:166 +msgid "Value" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:132 +#: ../public/js/plugins/images-tab.js:171 +msgid "Custom attributes" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:149 +msgid "Write the Virtual Network template here" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:168 +msgid "Please, choose and modify the virtual network you want to update" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:170 +msgid "Select a network" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:176 ../public/js/plugins/vnets-tab.js:582 +#: ../public/js/plugins/vms-tab.js:121 +#: ../public/js/plugins/datastores-tab.js:90 +#: ../public/js/plugins/datastores-tab.js:460 +#: ../public/js/plugins/templates-tab.js:602 +#: ../public/js/plugins/templates-tab.js:940 +#: ../public/js/plugins/images-tab.js:219 +#: ../public/js/plugins/images-tab.js:656 +msgid "Permissions" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:179 ../public/js/plugins/vms-tab.js:124 +#: ../public/js/plugins/datastores-tab.js:93 +#: ../public/js/plugins/templates-tab.js:605 +#: ../public/js/plugins/images-tab.js:222 +msgid "Admin" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:193 ../public/js/plugins/vnets-tab.js:592 +#: ../public/js/plugins/vms-tab.js:138 ../public/js/plugins/vms-tab.js:850 +#: ../public/js/plugins/datastores-tab.js:107 +#: ../public/js/plugins/datastores-tab.js:470 +#: ../public/js/plugins/templates-tab.js:619 +#: ../public/js/plugins/templates-tab.js:950 +#: ../public/js/plugins/images-tab.js:236 +#: ../public/js/plugins/images-tab.js:666 +msgid "Other" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:200 ../public/js/plugins/vms-tab.js:145 +#: ../public/js/plugins/templates-tab.js:626 +#: ../public/js/plugins/templates-tab.js:917 +#: ../public/js/plugins/templates-tab.js:956 +#: ../public/js/plugins/templates-tab.js:958 +#: ../public/js/plugins/images-tab.js:243 +msgid "Template" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:418 ../public/js/plugins/vms-tab.js:481 +#: ../public/js/plugins/datastores-tab.js:283 +#: ../public/js/plugins/templates-tab.js:789 +#: ../public/js/plugins/users-tab.js:263 +#: ../public/js/plugins/images-tab.js:451 +msgid "Update properties" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:423 +#: ../public/js/plugins/datastores-tab.js:289 +#: ../public/js/plugins/hosts-tab.js:312 +msgid "Select cluster" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:425 +#: ../public/js/plugins/datastores-tab.js:291 +#: ../public/js/plugins/hosts-tab.js:314 +msgid "Select the destination cluster:" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:430 ../public/js/plugins/vms-tab.js:487 +#: ../public/js/plugins/datastores-tab.js:296 +#: ../public/js/plugins/templates-tab.js:798 +#: ../public/js/plugins/images-tab.js:456 +msgid "Change owner" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:432 ../public/js/plugins/vms-tab.js:489 +#: ../public/js/plugins/datastores-tab.js:298 +#: ../public/js/plugins/templates-tab.js:800 +#: ../public/js/plugins/images-tab.js:458 +msgid "Select the new owner" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:438 ../public/js/plugins/vms-tab.js:495 +#: ../public/js/plugins/datastores-tab.js:303 +#: ../public/js/plugins/templates-tab.js:805 +#: ../public/js/plugins/users-tab.js:272 +#: ../public/js/plugins/images-tab.js:463 +msgid "Change group" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:440 ../public/js/plugins/vms-tab.js:497 +#: ../public/js/plugins/datastores-tab.js:305 +#: ../public/js/plugins/templates-tab.js:807 +#: ../public/js/plugins/images-tab.js:465 +msgid "Select the new group" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:452 +msgid "Virtual network information" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:456 +msgid "Lease management" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:544 +#: ../public/js/plugins/templates-tab.js:918 +#: ../public/js/plugins/images-tab.js:598 +msgid "information" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:599 +msgid "Virtual Network template (attributes)" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:607 +msgid "Virtual Network information" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:626 +msgid "Leases information" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:639 +msgid "Network mask" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:643 +msgid "Hold lease" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:644 ../public/js/plugins/vms-tab.js:534 +msgid "Hold" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:648 +msgid "Add lease" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:658 +msgid "No leases to show" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:703 +msgid "hold" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:703 +msgid "delete" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:706 +msgid "Used by VM" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:709 +msgid "release" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:722 +msgid "Create Virtual Network" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:791 +msgid "Please provide a lease IP" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:857 +msgid "Virtual Network name missing!" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:941 +msgid "There are missing network parameters" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:993 +msgid "Update network properties" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:1018 ../public/js/plugins/vms-tab.js:1269 +#: ../public/js/plugins/datastores-tab.js:572 +#: ../public/js/plugins/templates-tab.js:2044 +#: ../public/js/plugins/images-tab.js:995 +msgid "Loading" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:197 +#: ../public/js/plugins/clusters-tab.js:660 +#: ../public/js/plugins/clusters-tab.js:664 +#: ../public/js/plugins/hosts-tab.js:336 ../public/js/plugins/hosts-tab.js:482 +#: ../public/js/plugins/hosts-tab.js:486 +msgid "Host information" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:202 +#: ../public/js/plugins/clusters-tab.js:736 +#: ../public/js/plugins/clusters-tab.js:739 +#: ../public/js/plugins/hosts-tab.js:341 ../public/js/plugins/hosts-tab.js:558 +#: ../public/js/plugins/hosts-tab.js:561 +msgid "Host template" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:206 +#: ../public/js/plugins/clusters-tab.js:745 +#: ../public/js/plugins/vms-tab.js:857 ../public/js/plugins/vms-tab.js:899 +#: ../public/js/plugins/hosts-tab.js:345 ../public/js/plugins/hosts-tab.js:567 +msgid "Monitoring information" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:339 +msgid "No datastores in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:349 +msgid "No hosts in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:359 +msgid "No virtual networks in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:380 +#: ../public/js/plugins/clusters-tab.js:455 +msgid "Cluster information" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:404 +#: ../public/js/plugins/clusters-tab.js:480 +msgid "Create new host" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:405 +msgid "Manage unclustered hosts" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:420 +#: ../public/js/plugins/clusters-tab.js:498 +msgid "Create new datastore" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:421 +msgid "Manage unclustered datastores" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:432 +#: ../public/js/plugins/clusters-tab.js:512 +msgid "Create new virtual network" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:433 +msgid "Manage unclustered virtual networks" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:479 +msgid "Current number of hosts in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:481 +msgid "Manage cluster hosts" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:496 +msgid "Current number of datastores in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:499 +msgid "Manage cluster datastores" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:510 +msgid "Current number of virtual networks in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:513 +msgid "Manage cluster virtual networks" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:668 +#: ../public/js/plugins/hosts-tab.js:490 ../public/js/plugins/users-tab.js:399 +msgid "id" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:680 +#: ../public/js/plugins/vms-tab.js:821 ../public/js/plugins/hosts-tab.js:502 +#: ../public/js/plugins/images-tab.js:649 +msgid "State" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:684 +#: ../public/js/plugins/hosts-tab.js:52 ../public/js/plugins/hosts-tab.js:506 +msgid "IM MAD" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:688 +#: ../public/js/plugins/hosts-tab.js:53 ../public/js/plugins/hosts-tab.js:510 +msgid "VM MAD" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:692 +#: ../public/js/plugins/hosts-tab.js:514 +msgid "VN MAD" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:696 +#: ../public/js/plugins/datastores-tab.js:35 +msgid "TM MAD" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:703 +#: ../public/js/plugins/hosts-tab.js:521 +msgid "Host shares" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:707 +#: ../public/js/plugins/hosts-tab.js:525 +msgid "Max Mem" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:711 +#: ../public/js/plugins/hosts-tab.js:529 +msgid "Used Mem (real)" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:715 +#: ../public/js/plugins/hosts-tab.js:533 +msgid "Used Mem (allocated)" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:719 +#: ../public/js/plugins/hosts-tab.js:541 +msgid "Used CPU (real)" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:723 +#: ../public/js/plugins/hosts-tab.js:545 +msgid "Used CPU (allocated)" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:727 +#: ../public/js/plugins/hosts-tab.js:48 ../public/js/plugins/hosts-tab.js:549 +msgid "Running VMs" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:767 +msgid "Create cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:783 +msgid "Cluster name missing!" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:28 ../public/js/plugins/vms-tab.js:64 +#: ../public/js/plugins/templates-tab.js:80 +msgid "CPU" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:33 ../public/js/plugins/vms-tab.js:65 +#: ../public/js/plugins/templates-tab.js:75 +msgid "Memory" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:38 +msgid "Network transmission" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:43 +msgid "Network reception" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:63 ../public/js/plugins/hosts-tab.js:51 +#: ../public/js/plugins/images-tab.js:37 +msgid "Status" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:66 ../public/js/plugins/vms-tab.js:724 +#: ../public/js/plugins/vms-tab.js:829 +msgid "Hostname" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:67 +msgid "IPs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:68 +msgid "Start Time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:69 +msgid "VNC Access" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:76 +msgid "CPU, Memory and Start time are hidden columns by default. You can get monitoring graphs by clicking on the desired VM and visiting the monitoring information tab (oneacctd needs to be running for this information to be up to date)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:79 +msgid "VNC console requires previous install of the noVNC addon. Check Sunstone documentation for more information." +msgstr "" + +#: ../public/js/plugins/vms-tab.js:87 +msgid "VM Name" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:89 +msgid "Defaults to template name when emtpy" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:92 +msgid "Select template" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:97 +msgid "Deploy # VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:99 +#, python-format +msgid "You can use the wildcard %. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:113 +msgid "Please, choose and modify the virtual machine you want to update" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:115 +msgid "Select a VM" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:503 +msgid "Shutdown" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:504 +msgid "This will initiate the shutdown process in the selected VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:512 +msgid "Deploy" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:513 +msgid "This will deploy the selected VMs on the chosen host" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:519 +msgid "Migrate" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:520 +msgid "This will migrate the selected VMs to the chosen host" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:527 +msgid "Live migrate" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:528 +msgid "This will live-migrate the selected VMs to the chosen host" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:535 +msgid "This will hold selected pending VMs from being deployed" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:539 +msgid "Release" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:540 +msgid "This will release held machines" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:544 +msgid "Suspend" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:545 +msgid "This will suspend selected machines" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:549 +msgid "Resume" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:550 +msgid "This will resume selected stopped or suspended VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:554 +msgid "Stop" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:559 +msgid "Restart" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:560 +msgid "This will redeploy selected VMs (in UNKNOWN or BOOT state)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:564 +msgid "Resubmit" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:565 +msgid "This will resubmits VMs to PENDING state" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:569 +msgid "Reboot" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:570 +msgid "This will send a reboot action to running VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:574 +msgid "Save as" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:579 +msgid "This will cancel selected VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:587 +msgid "This will delete the selected VMs from the database" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:593 ../public/js/plugins/vms-tab.js:801 +msgid "Virtual Machine information" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:597 ../public/js/plugins/vms-tab.js:888 +msgid "VM template" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:601 ../public/js/plugins/vms-tab.js:894 +msgid "VM log" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:605 ../public/js/plugins/vms-tab.js:904 +msgid "History information" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:665 +#: ../public/js/plugins/vms-tab.js:788 +msgid "ACTIVE" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:788 +msgid "SUSPENDED" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:723 +msgid "Sequence" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:725 +msgid "Reason" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:726 +msgid "State change time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:727 +msgid "Total time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:728 +msgid "Prolog time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:797 +msgid "VM information" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:825 +msgid "LCM State" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:833 +msgid "Start time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:837 +msgid "Deploy ID" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:861 +msgid "Net_TX" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:865 +msgid "Net_RX" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:869 +msgid "Used Memory" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:873 +msgid "Used CPU" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:877 +msgid "VNC Session" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:926 +msgid "Create Virtual Machine" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:949 +msgid "You have not selected a template" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:987 +msgid "VM Save As" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1021 +msgid "Skipping VM " +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1022 +msgid "No disk id or image name specified" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1059 +msgid "Saveas for VM with ID" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1062 +msgid "Select disk" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1064 +msgid "Retrieving" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1068 +msgid "Image name" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1074 +msgid "Default (current image type)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1075 ../public/js/plugins/images-tab.js:82 +#: ../public/js/plugins/images-tab.js:532 +msgid "OS" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1076 ../public/js/plugins/images-tab.js:84 +#: ../public/js/plugins/images-tab.js:534 +msgid "Datablock" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1077 +#: ../public/js/plugins/templates-tab.js:1060 +#: ../public/js/plugins/templates-tab.js:1106 +#: ../public/js/plugins/templates-tab.js:1139 +#: ../public/js/plugins/images-tab.js:83 +#: ../public/js/plugins/images-tab.js:533 +msgid "CD-ROM" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1097 ../public/js/plugins/vms-tab.js:1100 +msgid "disk id" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1105 +msgid "No disks defined" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1122 +msgid "Update VM properties" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1262 +msgid "VNC connection" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1277 +msgid "Canvas not supported." +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1338 +msgid "RUNNING" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1340 +msgid "Open VNC Session" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1343 +msgid "VNC Disabled" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:34 +msgid "Basepath" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:36 +msgid "DS MAD" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:52 +msgid "Datastore manager" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:54 +msgid "Filesystem" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:56 +#: ../public/js/plugins/datastores-tab.js:63 +msgid "iSCSI" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:57 +msgid "LVM" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:59 +msgid "Transfer manager" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:61 +msgid "Shared" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:62 +#: ../public/js/plugins/users-tab.js:60 ../public/js/plugins/users-tab.js:281 +msgid "SSH" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:64 +#: ../public/js/plugins/hosts-tab.js:86 ../public/js/plugins/hosts-tab.js:100 +msgid "Dummy" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:66 +#: ../public/js/plugins/templates-tab.js:225 +msgid "Disk type" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:68 +#: ../public/js/plugins/templates-tab.js:1138 +msgid "File" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:69 +#: ../public/js/plugins/templates-tab.js:1063 +#: ../public/js/plugins/templates-tab.js:1109 +#: ../public/js/plugins/templates-tab.js:1140 +msgid "Block" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:82 +msgid "Please, choose and modify the datastore you want to update" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:84 +msgid "Select a datastore" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:114 +#: ../public/js/plugins/images-tab.js:32 ../public/js/plugins/images-tab.js:72 +#: ../public/js/plugins/images-tab.js:188 +#: ../public/js/plugins/images-tab.js:609 +#: ../public/js/plugins/dashboard-tab.js:118 +msgid "Datastore" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:206 +msgid "Datastore updated correctly" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:317 +#: ../public/js/plugins/datastores-tab.js:417 +#: ../public/js/plugins/datastores-tab.js:421 +msgid "Datastore information" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:321 +#: ../public/js/plugins/datastores-tab.js:481 +msgid "Datastore template" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:445 +msgid "DS Mad" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:449 +msgid "TM Mad" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:453 +msgid "Base path" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:478 +msgid "Datastore Template" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:495 +msgid "Create Datastore" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:547 +msgid "Update Datastore properties" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:22 +msgid "CPU Monitoring information" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:28 +msgid "Memory monitoring information" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:49 +msgid "CPU Use" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:50 +msgid "Memory use" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:54 +msgid "Last monitored on" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:61 +msgid "CPU Use is calculated as the maximum between (total CPU - real CPU usage) and (allocated CPU). Real CPU usage is provided by the hosts monitoring driver. Available CPU is calculated using the information from the CPU setting of the VMs running on that host (allocated CPU)" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:64 +msgid "Memory use is calculated according to the information provided by the host monitoring driver." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:67 +msgid "You can get monitoring graphs by clicking in the desired host and visiting the monitoring information tab. Note that oneacctd must be running for this information to be updated/available." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:74 +msgid "Host parameters" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:77 +msgid "Drivers" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:80 +msgid "Virtualization Manager" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:82 ../public/js/plugins/hosts-tab.js:96 +msgid "KVM" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:83 ../public/js/plugins/hosts-tab.js:97 +#: ../public/js/plugins/templates-tab.js:416 +msgid "XEN" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:85 ../public/js/plugins/hosts-tab.js:99 +msgid "EC2" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:87 ../public/js/plugins/hosts-tab.js:101 +#: ../public/js/plugins/hosts-tab.js:117 ../public/js/plugins/users-tab.js:63 +msgid "Custom" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:90 +msgid "Custom VMM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:94 +msgid "Information Manager" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:104 +msgid "Custom IM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:111 +msgid "Default (dummy)" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:112 +msgid "Firewall" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:114 +msgid "Ebtables" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:120 +msgid "Custom VNM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:274 +#: ../public/js/plugins/templates-tab.js:702 +#: ../public/js/plugins/users-tab.js:244 +msgid "Template updated correctly" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:306 +msgid "Update a template" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:319 +#: ../public/js/plugins/templates-tab.js:163 +#: ../public/js/plugins/templates-tab.js:172 +#: ../public/js/plugins/images-tab.js:473 +msgid "Enable" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:324 +#: ../public/js/plugins/templates-tab.js:164 +#: ../public/js/plugins/templates-tab.js:173 +#: ../public/js/plugins/images-tab.js:477 +msgid "Disable" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:329 +msgid "Delete host" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:434 +#: ../public/js/plugins/templates-tab.js:2002 +msgid "ERROR" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:434 +msgid "OFF" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:537 +msgid "Max CPU" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:587 +msgid "Create host" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:629 +msgid "Host name missing!" +msgstr "" + +#: ../public/js/plugins/config-tab.js:23 +msgid "Sunstone UI Configuration" +msgstr "" + +#: ../public/js/plugins/config-tab.js:28 +msgid "Language" +msgstr "" + +#: ../public/js/plugins/config-tab.js:31 +msgid "English" +msgstr "" + +#: ../public/js/plugins/config-tab.js:32 +msgid "French" +msgstr "" + +#: ../public/js/plugins/config-tab.js:33 +msgid "Italian" +msgstr "" + +#: ../public/js/plugins/config-tab.js:34 +msgid "Portuguese" +msgstr "" + +#: ../public/js/plugins/config-tab.js:35 +msgid "Russian" +msgstr "" + +#: ../public/js/plugins/config-tab.js:40 +msgid "Secure websockets connection" +msgstr "" + +#: ../public/js/plugins/config-tab.js:50 +msgid "These options are stored in your OpenNebula user template." +msgstr "" + +#: ../public/js/plugins/config-tab.js:67 +msgid "Configuration" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:32 +#: ../public/js/plugins/images-tab.js:35 +msgid "Registration time" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:42 +msgid "Wizard KVM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:43 +msgid "Wizard XEN" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:44 +msgid "Wizard VMware" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:58 +#: ../public/js/plugins/images-tab.js:58 +msgid "Fields marked with" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:59 +#: ../public/js/plugins/images-tab.js:59 +msgid "are mandatory" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:60 +msgid "Fold / Unfold all sections" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:66 +msgid "Capacity options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:68 +msgid "Capacity" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:72 +msgid "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:77 +msgid "Amount of RAM required for the VM, in Megabytes." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:82 +msgid "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:85 +msgid "VCPU" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:87 +msgid "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:96 +msgid "Boot/OS options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:98 +msgid "OS and Boot options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:100 +msgid "Architecture" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:105 +msgid "CPU architecture to virtualization" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:110 +msgid "Boot method" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:113 +#: ../public/js/plugins/templates-tab.js:119 +msgid "Kernel" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:114 +#: ../public/js/plugins/templates-tab.js:139 +msgid "Bootloader" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:116 +msgid "Select boot method" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:121 +msgid "Path to the OS kernel to boot the image" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:124 +msgid "Initrd" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:126 +msgid "Path to the initrd image" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:129 +msgid "Root" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:131 +msgid "Device to be mounted as root" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:134 +msgid "Kernel commands" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:136 +msgid "Arguments for the booting kernel" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:141 +msgid "Path to the bootloader executable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:144 +msgid "Boot" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:147 +msgid "Boot device type" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:156 +#: ../public/js/plugins/templates-tab.js:158 +msgid "Features" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:160 +msgid "PAE" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:166 +msgid "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:169 +msgid "ACPI" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:175 +msgid "Useful for power management, for example, normally required for graceful shutdown to work" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:187 +msgid "Add disks/images" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:189 +msgid "Disks" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:191 +msgid "Add disk/image" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:192 +#: ../public/js/plugins/templates-tab.js:1058 +#: ../public/js/plugins/templates-tab.js:1104 +msgid "Disk" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:202 +msgid "Name of the image to use" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:206 +#: ../public/js/plugins/templates-tab.js:412 +#: ../public/js/plugins/images-tab.js:99 +msgid "Bus" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:209 +msgid "Type of disk device to emulate: ide, scsi" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:212 +#: ../public/js/plugins/templates-tab.js:324 +#: ../public/js/plugins/images-tab.js:39 +#: ../public/js/plugins/images-tab.js:113 +msgid "Target" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:214 +msgid "Device to map image disk. If set, it will overwrite the default device mapping" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:217 +#: ../public/js/plugins/images-tab.js:108 +msgid "Driver" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:219 +msgid "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:228 +#: ../public/js/plugins/images-tab.js:142 +#: ../public/js/plugins/images-tab.js:633 +msgid "Source" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:230 +msgid "Disk file location path or URL" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:233 +msgid "Transfer Manager" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:235 +msgid "shared,ssh,iscsi,dummy" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:239 +#: ../public/js/plugins/images-tab.js:33 +#: ../public/js/plugins/images-tab.js:147 +msgid "Size" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:241 +msgid "Size in MB" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:245 +msgid "Format" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:247 +msgid "Filesystem type for the fs images" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:250 +msgid "Clone" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:255 +msgid "Clone this image" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:258 +msgid "Save" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:263 +msgid "Save this image after shutting down the VM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:266 +msgid "Read only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:271 +msgid "Mount image as read-only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:277 +msgid "Current disks" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:289 +msgid "Setup Networks" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:291 +#: ../public/js/plugins/templates-tab.js:302 +msgid "Network" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:293 +msgid "Add network" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:294 +msgid "Predefined" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:296 +msgid "Manual" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:305 +msgid "Name of the network to attach this device" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:309 +msgid "IP" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:311 +msgid "Request an specific IP from the Network" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:314 +msgid "MAC" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:316 +msgid "HW address associated with the network interface" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:321 +msgid "Name of the bridge the network device is going to be attached to" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:326 +msgid "Name for the tun device created for the VM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:329 +msgid "Script" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:331 +msgid "Name of a shell script to be executed after creating the tun device for the VM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:334 +msgid "Model" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:336 +msgid "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:339 +msgid "Tcp firewall mode" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:341 +#: ../public/js/plugins/templates-tab.js:360 +msgid "Optional, please select" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:342 +#: ../public/js/plugins/templates-tab.js:361 +msgid "Port whitelist" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:343 +#: ../public/js/plugins/templates-tab.js:362 +msgid "Port blacklist" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:348 +msgid "Tcp white ports" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:350 +msgid "Permits access to the VM only through the specified ports in the TCP protocol" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:353 +msgid "Tcp black ports" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:355 +msgid "Disallow access to the VM through the specified ports in the TCP protocol" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:358 +msgid "Udp firewall mode" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:367 +msgid "Udp white ports" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:369 +msgid "Permits access to the VM only through the specified ports in the UDP protocol" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:372 +msgid "Udp black ports" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:374 +msgid "Disallow access to the VM through the specified ports in the UDP protocol" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:377 +msgid "Icmp" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:379 +msgid "Accept (default)" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:380 +msgid "Drop" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:382 +msgid "ICMP policy" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:389 +msgid "Current NICs" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:400 +msgid "Add inputs" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:402 +msgid "Inputs" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:406 +msgid "Mouse" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:407 +msgid "Tablet" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:414 +msgid "USB" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:415 +msgid "PS2" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:424 +msgid "Current inputs" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:435 +msgid "Add Graphics" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:437 +msgid "Graphics" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:439 +msgid "Graphics type" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:442 +msgid "VNC" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:443 +msgid "SDL" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:445 +msgid "VMware supports VNC only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:448 +msgid "Listen IP" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:450 +msgid "IP to listen on" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:453 +msgid "Port" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:455 +msgid "Port for the VNC server" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:458 +#: ../public/js/plugins/users-tab.js:55 +msgid "Password" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:460 +msgid "Password for the VNC server" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:463 +msgid "Keymap" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:465 +msgid "Keyboard configuration locale to use in the VNC display" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:474 +msgid "Add context variables" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:476 +msgid "Context" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:480 +msgid "Name for the context variable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:485 +msgid "Value of the context variable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:491 +#: ../public/js/plugins/templates-tab.js:556 +msgid "Current variables" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:502 +msgid "Add placement options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:504 +msgid "Placement" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:506 +msgid "Requirements" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:508 +msgid "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:511 +msgid "Rank" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:513 +msgid "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:522 +msgid "Add Hypervisor raw options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:524 +msgid "Raw" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:527 +msgid "Data" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:530 +msgid "Raw data to be passed directly to the hypervisor" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:539 +msgid "Add custom variables" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:541 +msgid "Custom variables" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:545 +msgid "Name for the custom variable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:550 +msgid "Value of the custom variable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:575 +msgid "Write the Virtual Machine template here" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:794 +msgid "Instantiate" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:819 +msgid "Template information" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:913 +msgid "Information" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:937 +#: ../public/js/plugins/images-tab.js:625 +msgid "Register time" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1057 +msgid "None" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1059 +#: ../public/js/plugins/templates-tab.js:1105 +msgid "Floppy" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1061 +#: ../public/js/plugins/templates-tab.js:1107 +msgid "Swap" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1062 +#: ../public/js/plugins/templates-tab.js:1108 +msgid "FS" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1068 +msgid "hd" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1069 +msgid "fd" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1070 +msgid "cdrom" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1071 +msgid "network" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1075 +msgid "Driver default" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1078 +#: ../public/js/plugins/templates-tab.js:1116 +#: ../public/js/plugins/templates-tab.js:1147 +#: ../public/js/plugins/images-tab.js:101 +msgid "IDE" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1079 +#: ../public/js/plugins/templates-tab.js:1117 +#: ../public/js/plugins/templates-tab.js:1148 +#: ../public/js/plugins/images-tab.js:102 +msgid "SCSI" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1080 +msgid "Virtio" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1113 +msgid "Please choose" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1187 +msgid "There are mandatory parameters missing in this section" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1727 +msgid "Context variable name and value must be filled in" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1778 +msgid "Custom variable name and value must be filled in" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1797 +msgid "Create VM Template" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1885 +msgid "There are mandatory fields missing in the capacity section" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1896 +msgid "Xen templates must specify a boot method" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1901 +msgid "There are mandatory fields missing in the OS Boot options section" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "DISABLED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "LOCKED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2019 +msgid "Update template properties" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:25 +msgid "Summary of infrastructure resources" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:57 +msgid "Create new Cluster" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:58 +msgid "Create new Host" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:59 +msgid "Create new Datastore" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:60 +msgid "Create new Virtual Network" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:73 +msgid "Infrastructure resources" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:75 +msgid "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well." +msgstr "" + +#: ../public/js/plugins/infra-tab.js:76 +#: ../public/js/plugins/vresources-tab.js:81 +#: ../public/js/plugins/system-tab.js:71 +msgid "You can find further information on the following links:" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:92 +msgid "Infrastructure" +msgstr "" + +#: ../public/js/plugins/users-tab.js:35 ../public/js/plugins/users-tab.js:407 +msgid "Authentication driver" +msgstr "" + +#: ../public/js/plugins/users-tab.js:36 +msgid "Group ID" +msgstr "" + +#: ../public/js/plugins/users-tab.js:44 +msgid "Tip: select Core authentication for new Sunstone/Self-Service regular users." +msgstr "" + +#: ../public/js/plugins/users-tab.js:53 +msgid "Username" +msgstr "" + +#: ../public/js/plugins/users-tab.js:57 +msgid "Authentication" +msgstr "" + +#: ../public/js/plugins/users-tab.js:59 ../public/js/plugins/users-tab.js:280 +msgid "Core" +msgstr "" + +#: ../public/js/plugins/users-tab.js:61 ../public/js/plugins/users-tab.js:282 +msgid "x509" +msgstr "" + +#: ../public/js/plugins/users-tab.js:62 ../public/js/plugins/users-tab.js:283 +msgid "Public" +msgstr "" + +#: ../public/js/plugins/users-tab.js:66 +msgid "Custom auth driver" +msgstr "" + +#: ../public/js/plugins/users-tab.js:82 +msgid "This will change the password for the selected users" +msgstr "" + +#: ../public/js/plugins/users-tab.js:83 +msgid "New password" +msgstr "" + +#: ../public/js/plugins/users-tab.js:89 +msgid "Change" +msgstr "" + +#: ../public/js/plugins/users-tab.js:145 +msgid "Change password successful" +msgstr "" + +#: ../public/js/plugins/users-tab.js:268 ../public/js/plugins/users-tab.js:471 +msgid "Change password" +msgstr "" + +#: ../public/js/plugins/users-tab.js:274 +msgid "This will change the main group of the selected users. Select the new group" +msgstr "" + +#: ../public/js/plugins/users-tab.js:278 +msgid "Change authentication" +msgstr "" + +#: ../public/js/plugins/users-tab.js:285 +msgid "Please choose the new type of authentication for the selected users" +msgstr "" + +#: ../public/js/plugins/users-tab.js:309 ../public/js/plugins/users-tab.js:391 +#: ../public/js/plugins/users-tab.js:395 +msgid "User information" +msgstr "" + +#: ../public/js/plugins/users-tab.js:413 +msgid "User template" +msgstr "" + +#: ../public/js/plugins/users-tab.js:424 +msgid "Create user" +msgstr "" + +#: ../public/js/plugins/users-tab.js:454 +msgid "User name and password must be filled in" +msgstr "" + +#: ../public/js/plugins/users-tab.js:489 +msgid "Fill in a new password" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:25 +msgid "Summary of virtual resources" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:62 +msgid "Create new Virtual Machine" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:63 +msgid "Create new VM Template" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:64 +msgid "Create new Image" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:77 +#: ../public/js/plugins/vresources-tab.js:96 +msgid "Virtual Resources" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:79 +msgid "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and storage (Images)." +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:80 +msgid "Virtual Machine templates can be instantiated as many times as you want. You can do it from the Templates tab or by creating a new VM in the VM tab. The second method allows you to customize the name and the number of VMs you want to launch." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:39 +msgid "Tip: Refresh the list if it only shows user ids in the user column." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:47 +msgid "Group name" +msgstr "" + +#: ../public/js/plugins/groups-tab.js:130 +msgid "+ New Group" +msgstr "" + +#: ../public/js/plugins/groups-tab.js:227 +msgid "Create group" +msgstr "" + +#: ../public/js/plugins/images-tab.js:36 ../public/js/plugins/images-tab.js:89 +#: ../public/js/plugins/images-tab.js:213 +#: ../public/js/plugins/images-tab.js:629 +msgid "Persistent" +msgstr "" + +#: ../public/js/plugins/images-tab.js:38 +msgid "#VMS" +msgstr "" + +#: ../public/js/plugins/images-tab.js:46 +msgid "Size and registration time are hidden colums. Note that persistent images can only be used by 1 VM. To change image datastore, please re-register the image." +msgstr "" + +#: ../public/js/plugins/images-tab.js:64 +msgid "Name that the Image will get. Every image must have a unique name." +msgstr "" + +#: ../public/js/plugins/images-tab.js:67 +msgid "Description" +msgstr "" + +#: ../public/js/plugins/images-tab.js:69 +msgid "Human readable description of the image for other users." +msgstr "" + +#: ../public/js/plugins/images-tab.js:75 +msgid "Select the datastore for this image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:86 +msgid "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS)." +msgstr "" + +#: ../public/js/plugins/images-tab.js:91 +msgid "Persistence of the image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:94 +msgid "Device prefix" +msgstr "" + +#: ../public/js/plugins/images-tab.js:96 +msgid "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”)." +msgstr "" + +#: ../public/js/plugins/images-tab.js:103 +msgid "Virtio (KVM)" +msgstr "" + +#: ../public/js/plugins/images-tab.js:105 +msgid "Type of disk device to emulate." +msgstr "" + +#: ../public/js/plugins/images-tab.js:110 +msgid "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:" +msgstr "" + +#: ../public/js/plugins/images-tab.js:115 +msgid "Target on which the image will be mounted at. For example: hda, sdb..." +msgstr "" + +#: ../public/js/plugins/images-tab.js:120 +msgid "Image location" +msgstr "" + +#: ../public/js/plugins/images-tab.js:123 +msgid "Provide a path" +msgstr "" + +#: ../public/js/plugins/images-tab.js:126 +msgid "Provide a source" +msgstr "" + +#: ../public/js/plugins/images-tab.js:129 +msgid "Upload" +msgstr "" + +#: ../public/js/plugins/images-tab.js:132 +msgid "Create an empty datablock" +msgstr "" + +#: ../public/js/plugins/images-tab.js:133 +msgid "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk." +msgstr "" + +#: ../public/js/plugins/images-tab.js:137 +#: ../public/js/plugins/images-tab.js:637 +msgid "Path" +msgstr "" + +#: ../public/js/plugins/images-tab.js:139 +msgid "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created." +msgstr "" + +#: ../public/js/plugins/images-tab.js:144 +msgid "Source to be used in the DISK attribute. Useful for not file-based images." +msgstr "" + +#: ../public/js/plugins/images-tab.js:149 +msgid "Size of the datablock in MB." +msgstr "" + +#: ../public/js/plugins/images-tab.js:152 +msgid "FS type" +msgstr "" + +#: ../public/js/plugins/images-tab.js:154 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "" + +#: ../public/js/plugins/images-tab.js:157 +msgid "Upload file" +msgstr "" + +#: ../public/js/plugins/images-tab.js:187 +msgid "Write the image template here" +msgstr "" + +#: ../public/js/plugins/images-tab.js:207 +msgid "Please, choose and modify the image you want to update" +msgstr "" + +#: ../public/js/plugins/images-tab.js:209 +msgid "Select an image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:338 +msgid "Image updated correctly" +msgstr "" + +#: ../public/js/plugins/images-tab.js:481 +msgid "Make persistent" +msgstr "" + +#: ../public/js/plugins/images-tab.js:485 +msgid "Make non persistent" +msgstr "" + +#: ../public/js/plugins/images-tab.js:497 +#: ../public/js/plugins/images-tab.js:593 +msgid "Image information" +msgstr "" + +#: ../public/js/plugins/images-tab.js:502 +#: ../public/js/plugins/images-tab.js:673 +#: ../public/js/plugins/images-tab.js:675 +msgid "Image template" +msgstr "" + +#: ../public/js/plugins/images-tab.js:630 +msgid "yes" +msgstr "" + +#: ../public/js/plugins/images-tab.js:630 +msgid "no" +msgstr "" + +#: ../public/js/plugins/images-tab.js:641 +msgid "Filesystem type" +msgstr "" + +#: ../public/js/plugins/images-tab.js:645 +msgid "Size (Mb)" +msgstr "" + +#: ../public/js/plugins/images-tab.js:653 +msgid "Running #VMS" +msgstr "" + +#: ../public/js/plugins/images-tab.js:689 +msgid "Create Image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:766 +msgid "Custom attribute name and value must be filled in" +msgstr "" + +#: ../public/js/plugins/images-tab.js:814 +msgid "Uploading..." +msgstr "" + +#: ../public/js/plugins/images-tab.js:851 +msgid "There are mandatory parameters missing" +msgstr "" + +#: ../public/js/plugins/images-tab.js:860 +#: ../public/js/plugins/images-tab.js:940 +msgid "Please select a datastore for this image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:971 +msgid "Update image properties" +msgstr "" + +#: ../public/js/plugins/system-tab.js:25 +msgid "Summary of system resources" +msgstr "" + +#: ../public/js/plugins/system-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:98 +msgid "ACL Rules" +msgstr "" + +#: ../public/js/plugins/system-tab.js:53 +msgid "Create new Group" +msgstr "" + +#: ../public/js/plugins/system-tab.js:54 +msgid "Create new User" +msgstr "" + +#: ../public/js/plugins/system-tab.js:55 +msgid "Create new ACL" +msgstr "" + +#: ../public/js/plugins/system-tab.js:68 +msgid "System Resources" +msgstr "" + +#: ../public/js/plugins/system-tab.js:70 +msgid "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs." +msgstr "" + +#: ../public/js/plugins/system-tab.js:87 +msgid "System" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:58 +msgid "Hosts (total/active)" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:113 +msgid "Host" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:122 +msgid "ACL" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:138 +msgid "Hosts CPU" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:141 +msgid "Hosts memory" +msgstr "" diff --git a/src/sunstone/public/locale/en_US/en_datatable.txt b/src/sunstone/locale/languages/en_datatable.txt similarity index 100% rename from src/sunstone/public/locale/en_US/en_datatable.txt rename to src/sunstone/locale/languages/en_datatable.txt diff --git a/src/sunstone/locale/languages/fr_FR.po b/src/sunstone/locale/languages/fr_FR.po new file mode 100644 index 0000000000..d16bb5d2cf --- /dev/null +++ b/src/sunstone/locale/languages/fr_FR.po @@ -0,0 +1,2881 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 14:12+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/sunstone.js:586 +msgid "Previous action" +msgstr "Action précédante" + +#: ../public/js/sunstone.js:649 ../public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "Confirmation d'action" + +#: ../public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "Il vous faut confirmer cette action" + +#: ../public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "Voulez-vous continuer?" + +#: ../public/js/sunstone.js:660 ../public/js/sunstone.js:692 +#: ../public/js/plugins/vms-tab.js:997 +msgid "OK" +msgstr "OK" + +#: ../public/js/sunstone.js:661 ../public/js/sunstone.js:693 +#: ../public/js/plugins/vms-tab.js:578 ../public/js/plugins/vms-tab.js:998 +msgid "Cancel" +msgstr "Annuler" + +#: ../public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "Vous devez choisir une option" + +#: ../public/js/locale.js:35 +msgid "Changing language" +msgstr "Changement de la langue" + +#: ../public/js/locale.js:36 +msgid "Loading new language... please wait" +msgstr "Chargement de la nouvelle image... patientez svp" + +#: ../public/js/locale.js:89 +msgid "Documentation" +msgstr "Documentation" + +#: ../public/js/locale.js:90 +msgid "Support" +msgstr "Support" + +#: ../public/js/locale.js:91 +msgid "Community" +msgstr "Communauté" + +#: ../public/js/locale.js:92 +msgid "Welcome" +msgstr "Bienvenu" + +#: ../public/js/locale.js:93 +msgid "Sign out" +msgstr "Déconnection" + +#: ../public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "Soumis" + +#: ../public/js/sunstone-util.js:220 +msgid "Error" +msgstr "Erreur" + +#: ../public/js/sunstone-util.js:226 +msgid "Info" +msgstr "Info" + +#: ../public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "Impossible de contacter le serveur. Vérifier qu'il fonctionne et qu'il est joignable." + +#: ../public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "Réseau injoignable: est-ce qu'OpenNebula est en marche?" + +#: ../public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "Non autorisé" + +#: ../public/js/sunstone-util.js:561 ../public/js/sunstone-util.js:772 +#: ../public/js/plugins/templates-tab.js:441 +#: ../public/js/plugins/images-tab.js:1068 +msgid "Please select" +msgstr "Sélectionner" + +#: ../public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "Mettre à jour le modèle" + +#: ../public/js/sunstone-util.js:701 ../public/js/plugins/templates-tab.js:594 +msgid "Please, choose and modify the template you want to update" +msgstr "Choisir et modifier le modèle à mettre à jour" + +#: ../public/js/sunstone-util.js:703 ../public/js/sunstone-util.js:706 +#: ../public/js/plugins/templates-tab.js:596 +msgid "Select a template" +msgstr "Choisir un modèle" + +#: ../public/js/sunstone-util.js:711 ../public/js/plugins/vnets-tab.js:207 +#: ../public/js/plugins/vms-tab.js:153 +#: ../public/js/plugins/datastores-tab.js:121 +#: ../public/js/plugins/templates-tab.js:633 +#: ../public/js/plugins/images-tab.js:249 +msgid "Update" +msgstr "Mettre à jour" + +#: ../public/js/plugins/acls-tab.js:22 +msgid "Access Control Lists" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:29 ../public/js/plugins/acls-tab.js:65 +#: ../public/js/plugins/acls-tab.js:186 ../public/js/plugins/acls-tab.js:204 +#: ../public/js/plugins/acls-tab.js:464 ../public/js/plugins/vnets-tab.js:27 +#: ../public/js/plugins/clusters-tab.js:28 ../public/js/plugins/vms-tab.js:58 +#: ../public/js/plugins/datastores-tab.js:28 +#: ../public/js/plugins/hosts-tab.js:44 +#: ../public/js/plugins/templates-tab.js:27 +#: ../public/js/plugins/users-tab.js:31 ../public/js/plugins/groups-tab.js:29 +#: ../public/js/plugins/images-tab.js:27 +msgid "All" +msgstr "Tous" + +#: ../public/js/plugins/acls-tab.js:30 ../public/js/plugins/acls-tab.js:207 +#: ../public/js/plugins/vnets-tab.js:28 ../public/js/plugins/vnets-tab.js:547 +#: ../public/js/plugins/clusters-tab.js:29 +#: ../public/js/plugins/clusters-tab.js:385 +#: ../public/js/plugins/clusters-tab.js:460 ../public/js/plugins/vms-tab.js:59 +#: ../public/js/plugins/vms-tab.js:805 +#: ../public/js/plugins/datastores-tab.js:29 +#: ../public/js/plugins/datastores-tab.js:425 +#: ../public/js/plugins/hosts-tab.js:45 +#: ../public/js/plugins/templates-tab.js:28 +#: ../public/js/plugins/templates-tab.js:921 +#: ../public/js/plugins/users-tab.js:32 ../public/js/plugins/groups-tab.js:30 +#: ../public/js/plugins/images-tab.js:28 +#: ../public/js/plugins/images-tab.js:601 +msgid "ID" +msgstr "ID" + +#: ../public/js/plugins/acls-tab.js:31 +msgid "Applies to" +msgstr "S'applique à" + +#: ../public/js/plugins/acls-tab.js:32 ../public/js/plugins/acls-tab.js:53 +msgid "Affected resources" +msgstr "Ressources affectées" + +#: ../public/js/plugins/acls-tab.js:33 +msgid "Resource ID / Owned by" +msgstr "ID Ressource / Propriétaire" + +#: ../public/js/plugins/acls-tab.js:34 ../public/js/plugins/acls-tab.js:75 +msgid "Allowed operations" +msgstr "Opérations permises" + +#: ../public/js/plugins/acls-tab.js:35 +#, fuzzy +msgid "ACL String" +msgstr "Prévisualisation (ACL strring)" + +#: ../public/js/plugins/acls-tab.js:42 +msgid "This table shows the ACLs rules broken down to easier the reading and meaning of each one. You can show the ACL original string by clicking on Show/Hide columns." +msgstr "" + +#: ../public/js/plugins/acls-tab.js:50 +msgid "This rule applies to" +msgstr "Règle s'appliquant à" + +#: ../public/js/plugins/acls-tab.js:54 ../public/js/plugins/acls-tab.js:239 +#: ../public/js/plugins/clusters-tab.js:401 +#: ../public/js/plugins/clusters-tab.js:476 +#: ../public/js/plugins/clusters-tab.js:578 +#: ../public/js/plugins/hosts-tab.js:37 ../public/js/plugins/hosts-tab.js:352 +#: ../public/js/plugins/infra-tab.js:34 +msgid "Hosts" +msgstr "Hôtes" + +#: ../public/js/plugins/acls-tab.js:55 ../public/js/plugins/acls-tab.js:260 +#: ../public/js/plugins/clusters-tab.js:21 +#: ../public/js/plugins/clusters-tab.js:214 +#: ../public/js/plugins/infra-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:62 +msgid "Clusters" +msgstr "Clusters" + +#: ../public/js/plugins/acls-tab.js:56 ../public/js/plugins/acls-tab.js:263 +#: ../public/js/plugins/dashboard-users-tab.js:73 +#: ../public/js/plugins/clusters-tab.js:417 +#: ../public/js/plugins/clusters-tab.js:493 +#: ../public/js/plugins/clusters-tab.js:585 +#: ../public/js/plugins/datastores-tab.js:21 +#: ../public/js/plugins/datastores-tab.js:327 +#: ../public/js/plugins/infra-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:86 +msgid "Datastores" +msgstr "Espaces de stockage" + +#: ../public/js/plugins/acls-tab.js:57 ../public/js/plugins/acls-tab.js:242 +#: ../public/js/plugins/vms-tab.js:51 ../public/js/plugins/vms-tab.js:611 +msgid "Virtual Machines" +msgstr "Machines virtuelles" + +#: ../public/js/plugins/acls-tab.js:58 ../public/js/plugins/acls-tab.js:245 +#: ../public/js/plugins/dashboard-users-tab.js:69 +#: ../public/js/plugins/vnets-tab.js:20 ../public/js/plugins/vnets-tab.js:462 +#: ../public/js/plugins/clusters-tab.js:429 +#: ../public/js/plugins/clusters-tab.js:507 +#: ../public/js/plugins/clusters-tab.js:592 +#: ../public/js/plugins/infra-tab.js:42 +#: ../public/js/plugins/vresources-tab.js:43 +#: ../public/js/plugins/dashboard-tab.js:82 +msgid "Virtual Networks" +msgstr "Réseaux virtuels" + +#: ../public/js/plugins/acls-tab.js:59 ../public/js/plugins/acls-tab.js:248 +#: ../public/js/plugins/dashboard-users-tab.js:77 +#: ../public/js/plugins/datastores-tab.js:457 +#: ../public/js/plugins/vresources-tab.js:47 +#: ../public/js/plugins/images-tab.js:20 +#: ../public/js/plugins/images-tab.js:509 +#: ../public/js/plugins/dashboard-tab.js:90 +msgid "Images" +msgstr "Images" + +#: ../public/js/plugins/acls-tab.js:60 +#: ../public/js/plugins/templates-tab.js:20 +#: ../public/js/plugins/templates-tab.js:825 +msgid "Templates" +msgstr "Modèles de VM" + +#: ../public/js/plugins/acls-tab.js:61 ../public/js/plugins/acls-tab.js:254 +#: ../public/js/plugins/acls-tab.js:456 ../public/js/plugins/users-tab.js:24 +#: ../public/js/plugins/users-tab.js:315 ../public/js/plugins/groups-tab.js:32 +#: ../public/js/plugins/system-tab.js:34 +#: ../public/js/plugins/dashboard-tab.js:94 +msgid "Users" +msgstr "Utilisateurs" + +#: ../public/js/plugins/acls-tab.js:62 ../public/js/plugins/acls-tab.js:257 +#: ../public/js/plugins/acls-tab.js:461 ../public/js/plugins/groups-tab.js:22 +#: ../public/js/plugins/groups-tab.js:147 +#: ../public/js/plugins/system-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:66 +msgid "Groups" +msgstr "Groupes" + +#: ../public/js/plugins/acls-tab.js:64 +msgid "Resource subset" +msgstr "Sous-réseau cible" + +#: ../public/js/plugins/acls-tab.js:66 +msgid "Specific ID" +msgstr "Identifiant spécifique" + +#: ../public/js/plugins/acls-tab.js:67 +msgid "Owned by group" +msgstr "Appartenant à un groupe" + +#: ../public/js/plugins/acls-tab.js:69 +msgid "Resource ID" +msgstr "ID Ressource" + +#: ../public/js/plugins/acls-tab.js:72 ../public/js/plugins/acls-tab.js:211 +#: ../public/js/plugins/vnets-tab.js:30 ../public/js/plugins/vnets-tab.js:187 +#: ../public/js/plugins/vnets-tab.js:563 ../public/js/plugins/vnets-tab.js:588 +#: ../public/js/plugins/vms-tab.js:61 ../public/js/plugins/vms-tab.js:132 +#: ../public/js/plugins/vms-tab.js:817 ../public/js/plugins/vms-tab.js:846 +#: ../public/js/plugins/datastores-tab.js:31 +#: ../public/js/plugins/datastores-tab.js:101 +#: ../public/js/plugins/datastores-tab.js:437 +#: ../public/js/plugins/datastores-tab.js:466 +#: ../public/js/plugins/templates-tab.js:30 +#: ../public/js/plugins/templates-tab.js:613 +#: ../public/js/plugins/templates-tab.js:933 +#: ../public/js/plugins/templates-tab.js:946 +#: ../public/js/plugins/users-tab.js:34 ../public/js/plugins/users-tab.js:403 +#: ../public/js/plugins/images-tab.js:30 +#: ../public/js/plugins/images-tab.js:230 +#: ../public/js/plugins/images-tab.js:617 +#: ../public/js/plugins/images-tab.js:662 +#: ../public/js/plugins/dashboard-tab.js:121 +msgid "Group" +msgstr "Groupe" + +#: ../public/js/plugins/acls-tab.js:76 ../public/js/plugins/vnets-tab.js:177 +#: ../public/js/plugins/vms-tab.js:122 +#: ../public/js/plugins/datastores-tab.js:91 +#: ../public/js/plugins/templates-tab.js:603 +#: ../public/js/plugins/images-tab.js:220 +msgid "Use" +msgstr "Utiliser" + +#: ../public/js/plugins/acls-tab.js:77 ../public/js/plugins/vnets-tab.js:178 +#: ../public/js/plugins/vms-tab.js:123 +#: ../public/js/plugins/datastores-tab.js:92 +#: ../public/js/plugins/templates-tab.js:604 +#: ../public/js/plugins/images-tab.js:221 +msgid "Manage" +msgstr "Gérer" + +#: ../public/js/plugins/acls-tab.js:78 +msgid "Administrate" +msgstr "Administrer" + +#: ../public/js/plugins/acls-tab.js:79 ../public/js/plugins/acls-tab.js:87 +#: ../public/js/plugins/vnets-tab.js:140 ../public/js/plugins/vnets-tab.js:157 +#: ../public/js/plugins/clusters-tab.js:45 ../public/js/plugins/vms-tab.js:105 +#: ../public/js/plugins/datastores-tab.js:74 +#: ../public/js/plugins/hosts-tab.js:132 +#: ../public/js/plugins/templates-tab.js:566 +#: ../public/js/plugins/templates-tab.js:583 +#: ../public/js/plugins/users-tab.js:73 ../public/js/plugins/groups-tab.js:53 +#: ../public/js/plugins/images-tab.js:178 +#: ../public/js/plugins/images-tab.js:196 +msgid "Create" +msgstr "Créer" + +#: ../public/js/plugins/acls-tab.js:81 +msgid "ACL String preview" +msgstr "Prévisualisation (ACL strring)" + +#: ../public/js/plugins/acls-tab.js:88 ../public/js/plugins/vnets-tab.js:142 +#: ../public/js/plugins/vnets-tab.js:159 +#: ../public/js/plugins/clusters-tab.js:46 ../public/js/plugins/vms-tab.js:106 +#: ../public/js/plugins/datastores-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:133 +#: ../public/js/plugins/templates-tab.js:568 +#: ../public/js/plugins/templates-tab.js:585 +#: ../public/js/plugins/users-tab.js:74 ../public/js/plugins/users-tab.js:90 +#: ../public/js/plugins/groups-tab.js:54 +#: ../public/js/plugins/images-tab.js:179 +#: ../public/js/plugins/images-tab.js:198 +msgid "Reset" +msgstr "Réinitialiser" + +#: ../public/js/plugins/acls-tab.js:148 ../public/js/plugins/vnets-tab.js:407 +#: ../public/js/plugins/clusters-tab.js:181 +#: ../public/js/plugins/vms-tab.js:469 +#: ../public/js/plugins/datastores-tab.js:273 +#: ../public/js/plugins/hosts-tab.js:296 +#: ../public/js/plugins/templates-tab.js:780 +#: ../public/js/plugins/users-tab.js:254 +#: ../public/js/plugins/groups-tab.js:125 +#: ../public/js/plugins/images-tab.js:442 +msgid "Refresh list" +msgstr "Actualiser la liste" + +#: ../public/js/plugins/acls-tab.js:153 ../public/js/plugins/vnets-tab.js:413 +#: ../public/js/plugins/clusters-tab.js:186 +#: ../public/js/plugins/vms-tab.js:475 +#: ../public/js/plugins/datastores-tab.js:278 +#: ../public/js/plugins/hosts-tab.js:301 +#: ../public/js/plugins/templates-tab.js:785 +#: ../public/js/plugins/users-tab.js:259 +#: ../public/js/plugins/images-tab.js:447 +msgid "+ New" +msgstr "+ Nouveau" + +#: ../public/js/plugins/acls-tab.js:157 ../public/js/plugins/vnets-tab.js:446 +#: ../public/js/plugins/clusters-tab.js:190 +#: ../public/js/plugins/vms-tab.js:586 +#: ../public/js/plugins/datastores-tab.js:310 +#: ../public/js/plugins/templates-tab.js:813 +#: ../public/js/plugins/users-tab.js:303 +#: ../public/js/plugins/groups-tab.js:142 +#: ../public/js/plugins/images-tab.js:491 +msgid "Delete" +msgstr "Supprimer" + +#: ../public/js/plugins/acls-tab.js:162 +msgid "ACLs" +msgstr "Permissions" + +#: ../public/js/plugins/acls-tab.js:189 +#: ../public/js/plugins/dashboard-tab.js:120 +msgid "User" +msgstr "Utilisateur" + +#: ../public/js/plugins/acls-tab.js:193 +msgid "Group " +msgstr "Groupe " + +#: ../public/js/plugins/acls-tab.js:251 +#: ../public/js/plugins/dashboard-users-tab.js:58 +#: ../public/js/plugins/vresources-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:70 +msgid "VM Templates" +msgstr "Modèles de VM" + +#: ../public/js/plugins/acls-tab.js:318 +msgid "Create ACL" +msgstr "Créer une permission" + +#: ../public/js/plugins/acls-tab.js:406 +msgid "Please specify to who this ACL applies" +msgstr "Spécifier à qui appliquer cette ACL" + +#: ../public/js/plugins/acls-tab.js:412 +msgid "Please select at least one resource" +msgstr "Sélectionner au moins une ressource" + +#: ../public/js/plugins/acls-tab.js:421 +msgid "Please provide a resource ID for the resource(s) in this rule" +msgstr "Saisir l'ID de ressource de cette r`gle" + +#: ../public/js/plugins/dashboard-users-tab.js:53 +#: ../public/js/plugins/dashboard-tab.js:53 +msgid "Summary of resources" +msgstr "Synthèse des ressources" + +#: ../public/js/plugins/dashboard-users-tab.js:62 +#: ../public/js/plugins/vresources-tab.js:35 +#: ../public/js/plugins/dashboard-tab.js:75 +msgid "VM Instances" +msgstr "Instances de VM" + +#: ../public/js/plugins/dashboard-users-tab.js:63 +#: ../public/js/plugins/vresources-tab.js:36 +#: ../public/js/plugins/dashboard-tab.js:76 +msgid "total" +msgstr "total" + +#: ../public/js/plugins/dashboard-users-tab.js:64 +#: ../public/js/plugins/vresources-tab.js:37 +#: ../public/js/plugins/dashboard-tab.js:77 +msgid "running" +msgstr "en fonctionnement" + +#: ../public/js/plugins/dashboard-users-tab.js:65 +#: ../public/js/plugins/vresources-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:78 +msgid "failed" +msgstr "échec" + +#: ../public/js/plugins/dashboard-users-tab.js:89 +#: ../public/js/plugins/infra-tab.js:54 +#: ../public/js/plugins/vresources-tab.js:59 +#: ../public/js/plugins/system-tab.js:50 +#: ../public/js/plugins/dashboard-tab.js:110 +msgid "Quickstart" +msgstr "Démarage rapide" + +#: ../public/js/plugins/dashboard-users-tab.js:91 +#: ../public/js/plugins/dashboard-tab.js:112 +msgid "Create new" +msgstr "Créer un nouveau" + +#: ../public/js/plugins/dashboard-users-tab.js:92 +#: ../public/js/plugins/dashboard-tab.js:115 +msgid "VM Instance" +msgstr "Instance de VM" + +#: ../public/js/plugins/dashboard-users-tab.js:93 +#: ../public/js/plugins/vms-tab.js:885 +#: ../public/js/plugins/dashboard-tab.js:116 +msgid "VM Template" +msgstr "Modèle de VM" + +#: ../public/js/plugins/dashboard-users-tab.js:94 +#: ../public/js/plugins/vnets-tab.js:543 +#: ../public/js/plugins/dashboard-tab.js:117 +msgid "Virtual Network" +msgstr "Réseau virtuel" + +#: ../public/js/plugins/dashboard-users-tab.js:95 +#: ../public/js/plugins/templates-tab.js:194 +#: ../public/js/plugins/templates-tab.js:199 +#: ../public/js/plugins/images-tab.js:597 +#: ../public/js/plugins/dashboard-tab.js:119 +msgid "Image" +msgstr "Image" + +#: ../public/js/plugins/dashboard-users-tab.js:108 +#: ../public/js/plugins/dashboard-tab.js:135 +msgid "Historical monitoring information" +msgstr "Historique de consommation de ressources" + +#: ../public/js/plugins/dashboard-users-tab.js:111 +#: ../public/js/plugins/dashboard-tab.js:144 +msgid "Total VM count" +msgstr "VM - Nombre total" + +#: ../public/js/plugins/dashboard-users-tab.js:114 +msgid "Total VM CPU" +msgstr "Total VM CPU" + +#: ../public/js/plugins/dashboard-users-tab.js:117 +msgid "Total VM Memory" +msgstr "Total VM Memory" + +#: ../public/js/plugins/dashboard-users-tab.js:120 +#: ../public/js/plugins/dashboard-tab.js:147 +msgid "VM Network stats" +msgstr "VM - Statistiques réseau" + +#: ../public/js/plugins/dashboard-users-tab.js:133 +#: ../public/js/plugins/dashboard-tab.js:160 +msgid "Dashboard" +msgstr "Tableau de bord" + +#: ../public/js/plugins/vnets-tab.js:29 ../public/js/plugins/vnets-tab.js:181 +#: ../public/js/plugins/vnets-tab.js:559 ../public/js/plugins/vnets-tab.js:584 +#: ../public/js/plugins/vms-tab.js:60 ../public/js/plugins/vms-tab.js:126 +#: ../public/js/plugins/vms-tab.js:813 ../public/js/plugins/vms-tab.js:842 +#: ../public/js/plugins/datastores-tab.js:30 +#: ../public/js/plugins/datastores-tab.js:95 +#: ../public/js/plugins/datastores-tab.js:433 +#: ../public/js/plugins/datastores-tab.js:462 +#: ../public/js/plugins/templates-tab.js:29 +#: ../public/js/plugins/templates-tab.js:607 +#: ../public/js/plugins/templates-tab.js:929 +#: ../public/js/plugins/templates-tab.js:942 +#: ../public/js/plugins/images-tab.js:29 +#: ../public/js/plugins/images-tab.js:224 +#: ../public/js/plugins/images-tab.js:613 +#: ../public/js/plugins/images-tab.js:658 +msgid "Owner" +msgstr "Propriétaire" + +#: ../public/js/plugins/vnets-tab.js:31 ../public/js/plugins/vnets-tab.js:55 +#: ../public/js/plugins/vnets-tab.js:125 ../public/js/plugins/vnets-tab.js:551 +#: ../public/js/plugins/clusters-tab.js:30 +#: ../public/js/plugins/clusters-tab.js:41 +#: ../public/js/plugins/clusters-tab.js:389 +#: ../public/js/plugins/clusters-tab.js:464 +#: ../public/js/plugins/clusters-tab.js:672 ../public/js/plugins/vms-tab.js:62 +#: ../public/js/plugins/vms-tab.js:809 +#: ../public/js/plugins/datastores-tab.js:32 +#: ../public/js/plugins/datastores-tab.js:47 +#: ../public/js/plugins/datastores-tab.js:429 +#: ../public/js/plugins/hosts-tab.js:46 ../public/js/plugins/hosts-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:494 +#: ../public/js/plugins/templates-tab.js:31 +#: ../public/js/plugins/templates-tab.js:70 +#: ../public/js/plugins/templates-tab.js:478 +#: ../public/js/plugins/templates-tab.js:543 +#: ../public/js/plugins/templates-tab.js:925 +#: ../public/js/plugins/users-tab.js:33 ../public/js/plugins/groups-tab.js:31 +#: ../public/js/plugins/images-tab.js:31 ../public/js/plugins/images-tab.js:62 +#: ../public/js/plugins/images-tab.js:164 +#: ../public/js/plugins/images-tab.js:605 +msgid "Name" +msgstr "Nom" + +#: ../public/js/plugins/vnets-tab.js:32 ../public/js/plugins/vnets-tab.js:555 +#: ../public/js/plugins/clusters-tab.js:676 +#: ../public/js/plugins/datastores-tab.js:33 +#: ../public/js/plugins/datastores-tab.js:49 +#: ../public/js/plugins/datastores-tab.js:441 +#: ../public/js/plugins/hosts-tab.js:47 ../public/js/plugins/hosts-tab.js:125 +#: ../public/js/plugins/hosts-tab.js:498 +#: ../public/js/plugins/dashboard-tab.js:114 +msgid "Cluster" +msgstr "Cluster" + +#: ../public/js/plugins/vnets-tab.js:33 ../public/js/plugins/vms-tab.js:1072 +#: ../public/js/plugins/templates-tab.js:222 +#: ../public/js/plugins/templates-tab.js:404 +#: ../public/js/plugins/images-tab.js:34 ../public/js/plugins/images-tab.js:80 +#: ../public/js/plugins/images-tab.js:621 +msgid "Type" +msgstr "Type" + +#: ../public/js/plugins/vnets-tab.js:34 ../public/js/plugins/vnets-tab.js:68 +#: ../public/js/plugins/vnets-tab.js:567 +#: ../public/js/plugins/templates-tab.js:319 +msgid "Bridge" +msgstr "Pont" + +#: ../public/js/plugins/vnets-tab.js:35 +msgid "Total Leases" +msgstr "Baux totaux" + +#: ../public/js/plugins/vnets-tab.js:42 +msgid "Tip: edit the leases of a network by clicking on one and going to the lease management tab." +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:49 ../public/js/plugins/images-tab.js:52 +msgid "Wizard" +msgstr "Assistant" + +#: ../public/js/plugins/vnets-tab.js:50 +#: ../public/js/plugins/templates-tab.js:45 +#: ../public/js/plugins/images-tab.js:53 +msgid "Advanced mode" +msgstr "Mode avancé" + +#: ../public/js/plugins/vnets-tab.js:60 +msgid "Network mode" +msgstr "Gestion de réseau" + +#: ../public/js/plugins/vnets-tab.js:62 +#: ../public/js/plugins/templates-tab.js:162 +#: ../public/js/plugins/templates-tab.js:171 +msgid "Default" +msgstr "Défaut" + +#: ../public/js/plugins/vnets-tab.js:63 ../public/js/plugins/hosts-tab.js:113 +msgid "802.1Q" +msgstr "802.1Q" + +#: ../public/js/plugins/vnets-tab.js:64 +msgid "Etables" +msgstr "Etables" + +#: ../public/js/plugins/vnets-tab.js:65 ../public/js/plugins/hosts-tab.js:115 +msgid "Open vSwitch" +msgstr "Open vSwitch" + +#: ../public/js/plugins/vnets-tab.js:66 +#: ../public/js/plugins/datastores-tab.js:55 +#: ../public/js/plugins/hosts-tab.js:84 ../public/js/plugins/hosts-tab.js:98 +#: ../public/js/plugins/hosts-tab.js:116 +msgid "VMware" +msgstr "VMware" + +#: ../public/js/plugins/vnets-tab.js:70 ../public/js/plugins/vnets-tab.js:575 +msgid "Physical device" +msgstr "Périphérique" + +#: ../public/js/plugins/vnets-tab.js:72 ../public/js/plugins/vnets-tab.js:571 +msgid "VLAN" +msgstr "VLAN" + +#: ../public/js/plugins/vnets-tab.js:74 +#: ../public/js/plugins/templates-tab.js:252 +#: ../public/js/plugins/templates-tab.js:261 +#: ../public/js/plugins/templates-tab.js:269 +msgid "Yes" +msgstr "Oui" + +#: ../public/js/plugins/vnets-tab.js:75 +#: ../public/js/plugins/templates-tab.js:253 +#: ../public/js/plugins/templates-tab.js:260 +#: ../public/js/plugins/templates-tab.js:268 +msgid "No" +msgstr "Non" + +#: ../public/js/plugins/vnets-tab.js:77 ../public/js/plugins/vnets-tab.js:579 +msgid "VLAN ID" +msgstr "VLAN ID" + +#: ../public/js/plugins/vnets-tab.js:81 +msgid "Network type" +msgstr "Type de réseau" + +#: ../public/js/plugins/vnets-tab.js:82 +msgid "Fixed network" +msgstr "Réseau fixe" + +#: ../public/js/plugins/vnets-tab.js:83 +msgid "Ranged network" +msgstr "Plage réseau" + +#: ../public/js/plugins/vnets-tab.js:89 +msgid "Lease IP" +msgstr "Bail (IP)" + +#: ../public/js/plugins/vnets-tab.js:91 +msgid "Lease MAC (opt):" +msgstr "Bail (MAC - opt.)" + +#: ../public/js/plugins/vnets-tab.js:95 ../public/js/plugins/vnets-tab.js:129 +#: ../public/js/plugins/vnets-tab.js:649 +#: ../public/js/plugins/templates-tab.js:274 +#: ../public/js/plugins/templates-tab.js:386 +#: ../public/js/plugins/templates-tab.js:421 +#: ../public/js/plugins/templates-tab.js:488 +#: ../public/js/plugins/templates-tab.js:553 +#: ../public/js/plugins/images-tab.js:168 +msgid "Add" +msgstr "Ajouter" + +#: ../public/js/plugins/vnets-tab.js:98 ../public/js/plugins/vnets-tab.js:130 +#: ../public/js/plugins/templates-tab.js:275 +#: ../public/js/plugins/templates-tab.js:387 +#: ../public/js/plugins/templates-tab.js:422 +#: ../public/js/plugins/templates-tab.js:489 +#: ../public/js/plugins/templates-tab.js:554 +#: ../public/js/plugins/images-tab.js:169 +msgid "Remove selected" +msgstr "Supprimer..." + +#: ../public/js/plugins/vnets-tab.js:100 +msgid "Current leases" +msgstr "Baux actuels" + +#: ../public/js/plugins/vnets-tab.js:108 +msgid "Network Address" +msgstr "Adresse réseau" + +#: ../public/js/plugins/vnets-tab.js:110 +msgid "Network Mask" +msgstr "Masque de réseau" + +#: ../public/js/plugins/vnets-tab.js:112 +msgid "Define a subnet by IP range" +msgstr "Définir une plage de sous-réseau IP" + +#: ../public/js/plugins/vnets-tab.js:114 ../public/js/plugins/vnets-tab.js:631 +msgid "IP Start" +msgstr "IP début" + +#: ../public/js/plugins/vnets-tab.js:116 ../public/js/plugins/vnets-tab.js:635 +msgid "IP End" +msgstr "IP fin" + +#: ../public/js/plugins/vnets-tab.js:127 +#: ../public/js/plugins/templates-tab.js:483 +#: ../public/js/plugins/templates-tab.js:548 +#: ../public/js/plugins/images-tab.js:166 +msgid "Value" +msgstr "Valeur" + +#: ../public/js/plugins/vnets-tab.js:132 +#: ../public/js/plugins/images-tab.js:171 +msgid "Custom attributes" +msgstr "Attributs spécifiques" + +#: ../public/js/plugins/vnets-tab.js:149 +msgid "Write the Virtual Network template here" +msgstr "Saisir les caractéristiques du modèle de réseau dans la case ci-dessous" + +#: ../public/js/plugins/vnets-tab.js:168 +msgid "Please, choose and modify the virtual network you want to update" +msgstr "Choisir et modifier le réseau virtuel à mettre à jour" + +#: ../public/js/plugins/vnets-tab.js:170 +msgid "Select a network" +msgstr "Choisir un réseau" + +#: ../public/js/plugins/vnets-tab.js:176 ../public/js/plugins/vnets-tab.js:582 +#: ../public/js/plugins/vms-tab.js:121 +#: ../public/js/plugins/datastores-tab.js:90 +#: ../public/js/plugins/datastores-tab.js:460 +#: ../public/js/plugins/templates-tab.js:602 +#: ../public/js/plugins/templates-tab.js:940 +#: ../public/js/plugins/images-tab.js:219 +#: ../public/js/plugins/images-tab.js:656 +msgid "Permissions" +msgstr "Permissions" + +#: ../public/js/plugins/vnets-tab.js:179 ../public/js/plugins/vms-tab.js:124 +#: ../public/js/plugins/datastores-tab.js:93 +#: ../public/js/plugins/templates-tab.js:605 +#: ../public/js/plugins/images-tab.js:222 +msgid "Admin" +msgstr "Admin" + +#: ../public/js/plugins/vnets-tab.js:193 ../public/js/plugins/vnets-tab.js:592 +#: ../public/js/plugins/vms-tab.js:138 ../public/js/plugins/vms-tab.js:850 +#: ../public/js/plugins/datastores-tab.js:107 +#: ../public/js/plugins/datastores-tab.js:470 +#: ../public/js/plugins/templates-tab.js:619 +#: ../public/js/plugins/templates-tab.js:950 +#: ../public/js/plugins/images-tab.js:236 +#: ../public/js/plugins/images-tab.js:666 +msgid "Other" +msgstr "Autres" + +#: ../public/js/plugins/vnets-tab.js:200 ../public/js/plugins/vms-tab.js:145 +#: ../public/js/plugins/templates-tab.js:626 +#: ../public/js/plugins/templates-tab.js:917 +#: ../public/js/plugins/templates-tab.js:956 +#: ../public/js/plugins/templates-tab.js:958 +#: ../public/js/plugins/images-tab.js:243 +msgid "Template" +msgstr "Modèle" + +#: ../public/js/plugins/vnets-tab.js:418 ../public/js/plugins/vms-tab.js:481 +#: ../public/js/plugins/datastores-tab.js:283 +#: ../public/js/plugins/templates-tab.js:789 +#: ../public/js/plugins/users-tab.js:263 +#: ../public/js/plugins/images-tab.js:451 +msgid "Update properties" +msgstr "Mettre à jour les propriétés" + +#: ../public/js/plugins/vnets-tab.js:423 +#: ../public/js/plugins/datastores-tab.js:289 +#: ../public/js/plugins/hosts-tab.js:312 +msgid "Select cluster" +msgstr "Définir le cluster" + +#: ../public/js/plugins/vnets-tab.js:425 +#: ../public/js/plugins/datastores-tab.js:291 +#: ../public/js/plugins/hosts-tab.js:314 +msgid "Select the destination cluster:" +msgstr "Choisir le cluster de destination:" + +#: ../public/js/plugins/vnets-tab.js:430 ../public/js/plugins/vms-tab.js:487 +#: ../public/js/plugins/datastores-tab.js:296 +#: ../public/js/plugins/templates-tab.js:798 +#: ../public/js/plugins/images-tab.js:456 +msgid "Change owner" +msgstr "Changer de propriétaire" + +#: ../public/js/plugins/vnets-tab.js:432 ../public/js/plugins/vms-tab.js:489 +#: ../public/js/plugins/datastores-tab.js:298 +#: ../public/js/plugins/templates-tab.js:800 +#: ../public/js/plugins/images-tab.js:458 +msgid "Select the new owner" +msgstr "Choisir un nouveau propriétaire" + +#: ../public/js/plugins/vnets-tab.js:438 ../public/js/plugins/vms-tab.js:495 +#: ../public/js/plugins/datastores-tab.js:303 +#: ../public/js/plugins/templates-tab.js:805 +#: ../public/js/plugins/users-tab.js:272 +#: ../public/js/plugins/images-tab.js:463 +msgid "Change group" +msgstr "Changer le groupe" + +#: ../public/js/plugins/vnets-tab.js:440 ../public/js/plugins/vms-tab.js:497 +#: ../public/js/plugins/datastores-tab.js:305 +#: ../public/js/plugins/templates-tab.js:807 +#: ../public/js/plugins/images-tab.js:465 +msgid "Select the new group" +msgstr "Choisir un nouveau groupe" + +#: ../public/js/plugins/vnets-tab.js:452 +msgid "Virtual network information" +msgstr "Informations sur le réseau virtuel" + +#: ../public/js/plugins/vnets-tab.js:456 +msgid "Lease management" +msgstr "Gestion des baux" + +#: ../public/js/plugins/vnets-tab.js:544 +#: ../public/js/plugins/templates-tab.js:918 +#: ../public/js/plugins/images-tab.js:598 +msgid "information" +msgstr "Information" + +#: ../public/js/plugins/vnets-tab.js:599 +msgid "Virtual Network template (attributes)" +msgstr "Modèle de réseau virtuel (attributs)" + +#: ../public/js/plugins/vnets-tab.js:607 +msgid "Virtual Network information" +msgstr "Informations sur le réseau virtuel" + +#: ../public/js/plugins/vnets-tab.js:626 +msgid "Leases information" +msgstr "Informations sur les baux" + +#: ../public/js/plugins/vnets-tab.js:639 +msgid "Network mask" +msgstr "Masque réseau" + +#: ../public/js/plugins/vnets-tab.js:643 +msgid "Hold lease" +msgstr "Maintenir le bail" + +#: ../public/js/plugins/vnets-tab.js:644 ../public/js/plugins/vms-tab.js:534 +msgid "Hold" +msgstr "Attendre" + +#: ../public/js/plugins/vnets-tab.js:648 +msgid "Add lease" +msgstr "Ajouter un bail" + +#: ../public/js/plugins/vnets-tab.js:658 +msgid "No leases to show" +msgstr "Aucun bail à afficher" + +#: ../public/js/plugins/vnets-tab.js:703 +msgid "hold" +msgstr "attendre" + +#: ../public/js/plugins/vnets-tab.js:703 +#, fuzzy +msgid "delete" +msgstr "Supprimer" + +#: ../public/js/plugins/vnets-tab.js:706 +msgid "Used by VM" +msgstr "Utilisé par VM" + +#: ../public/js/plugins/vnets-tab.js:709 +msgid "release" +msgstr "libérer" + +#: ../public/js/plugins/vnets-tab.js:722 +msgid "Create Virtual Network" +msgstr "Créer un réseau virtuel" + +#: ../public/js/plugins/vnets-tab.js:791 +msgid "Please provide a lease IP" +msgstr "Saisir l'IP pour le bail" + +#: ../public/js/plugins/vnets-tab.js:857 +msgid "Virtual Network name missing!" +msgstr "Nom du réseau virtuel manquant" + +#: ../public/js/plugins/vnets-tab.js:941 +msgid "There are missing network parameters" +msgstr "Des paramètres réseaux sont manquants" + +#: ../public/js/plugins/vnets-tab.js:993 +msgid "Update network properties" +msgstr "Mettre à jour les propriétés réseau" + +#: ../public/js/plugins/vnets-tab.js:1018 ../public/js/plugins/vms-tab.js:1269 +#: ../public/js/plugins/datastores-tab.js:572 +#: ../public/js/plugins/templates-tab.js:2044 +#: ../public/js/plugins/images-tab.js:995 +msgid "Loading" +msgstr "Chargement" + +#: ../public/js/plugins/clusters-tab.js:197 +#: ../public/js/plugins/clusters-tab.js:660 +#: ../public/js/plugins/clusters-tab.js:664 +#: ../public/js/plugins/hosts-tab.js:336 ../public/js/plugins/hosts-tab.js:482 +#: ../public/js/plugins/hosts-tab.js:486 +msgid "Host information" +msgstr "Information d'hôte" + +#: ../public/js/plugins/clusters-tab.js:202 +#: ../public/js/plugins/clusters-tab.js:736 +#: ../public/js/plugins/clusters-tab.js:739 +#: ../public/js/plugins/hosts-tab.js:341 ../public/js/plugins/hosts-tab.js:558 +#: ../public/js/plugins/hosts-tab.js:561 +msgid "Host template" +msgstr "Modèle d'hôte" + +#: ../public/js/plugins/clusters-tab.js:206 +#: ../public/js/plugins/clusters-tab.js:745 +#: ../public/js/plugins/vms-tab.js:857 ../public/js/plugins/vms-tab.js:899 +#: ../public/js/plugins/hosts-tab.js:345 ../public/js/plugins/hosts-tab.js:567 +msgid "Monitoring information" +msgstr "Métrologie" + +#: ../public/js/plugins/clusters-tab.js:339 +msgid "No datastores in this cluster" +msgstr "Pas d'espace de stockage dans le cluster" + +#: ../public/js/plugins/clusters-tab.js:349 +msgid "No hosts in this cluster" +msgstr "Aucun hôte dans ce cluster" + +#: ../public/js/plugins/clusters-tab.js:359 +msgid "No virtual networks in this cluster" +msgstr "Aucun réseau virtuel dans ce cluster" + +#: ../public/js/plugins/clusters-tab.js:380 +#: ../public/js/plugins/clusters-tab.js:455 +msgid "Cluster information" +msgstr "Information cluster" + +#: ../public/js/plugins/clusters-tab.js:404 +#: ../public/js/plugins/clusters-tab.js:480 +msgid "Create new host" +msgstr "Créer un nouvel hôte" + +#: ../public/js/plugins/clusters-tab.js:405 +msgid "Manage unclustered hosts" +msgstr "Gérer les hôtes non clusterisés" + +#: ../public/js/plugins/clusters-tab.js:420 +#: ../public/js/plugins/clusters-tab.js:498 +msgid "Create new datastore" +msgstr "Créer un nouvel espace de stockage" + +#: ../public/js/plugins/clusters-tab.js:421 +msgid "Manage unclustered datastores" +msgstr "Gérer les espaces de stockage non clusterisés" + +#: ../public/js/plugins/clusters-tab.js:432 +#: ../public/js/plugins/clusters-tab.js:512 +msgid "Create new virtual network" +msgstr "Créer un nouveau réseau virtuel" + +#: ../public/js/plugins/clusters-tab.js:433 +msgid "Manage unclustered virtual networks" +msgstr "Gérer les espaces de stockage non clusterisés" + +#: ../public/js/plugins/clusters-tab.js:479 +msgid "Current number of hosts in this cluster" +msgstr "Nombre de serveurs membres dans le cluster" + +#: ../public/js/plugins/clusters-tab.js:481 +msgid "Manage cluster hosts" +msgstr "Gérer les hôtes du cluster" + +#: ../public/js/plugins/clusters-tab.js:496 +msgid "Current number of datastores in this cluster" +msgstr "Nombre d'espaces de stockage définis dans ce cluster" + +#: ../public/js/plugins/clusters-tab.js:499 +msgid "Manage cluster datastores" +msgstr "Gérer les espaces de stockage du cluster" + +#: ../public/js/plugins/clusters-tab.js:510 +msgid "Current number of virtual networks in this cluster" +msgstr "Nombre de réseaux virtuels dans ce cluster" + +#: ../public/js/plugins/clusters-tab.js:513 +msgid "Manage cluster virtual networks" +msgstr "Gérer les réseaux virtuels du cluster" + +#: ../public/js/plugins/clusters-tab.js:668 +#: ../public/js/plugins/hosts-tab.js:490 ../public/js/plugins/users-tab.js:399 +msgid "id" +msgstr "id" + +#: ../public/js/plugins/clusters-tab.js:680 +#: ../public/js/plugins/vms-tab.js:821 ../public/js/plugins/hosts-tab.js:502 +#: ../public/js/plugins/images-tab.js:649 +msgid "State" +msgstr "État" + +#: ../public/js/plugins/clusters-tab.js:684 +#: ../public/js/plugins/hosts-tab.js:52 ../public/js/plugins/hosts-tab.js:506 +msgid "IM MAD" +msgstr "IM MAD" + +#: ../public/js/plugins/clusters-tab.js:688 +#: ../public/js/plugins/hosts-tab.js:53 ../public/js/plugins/hosts-tab.js:510 +msgid "VM MAD" +msgstr "VM MAD" + +#: ../public/js/plugins/clusters-tab.js:692 +#: ../public/js/plugins/hosts-tab.js:514 +msgid "VN MAD" +msgstr "VN MAD" + +#: ../public/js/plugins/clusters-tab.js:696 +#: ../public/js/plugins/datastores-tab.js:35 +msgid "TM MAD" +msgstr "TM MAD" + +#: ../public/js/plugins/clusters-tab.js:703 +#: ../public/js/plugins/hosts-tab.js:521 +msgid "Host shares" +msgstr "Ressources du serveur hôte" + +#: ../public/js/plugins/clusters-tab.js:707 +#: ../public/js/plugins/hosts-tab.js:525 +msgid "Max Mem" +msgstr "Mémoire max" + +#: ../public/js/plugins/clusters-tab.js:711 +#: ../public/js/plugins/hosts-tab.js:529 +msgid "Used Mem (real)" +msgstr "Mémoire utilisée (réelle)" + +#: ../public/js/plugins/clusters-tab.js:715 +#: ../public/js/plugins/hosts-tab.js:533 +msgid "Used Mem (allocated)" +msgstr "Mémoire utilisée (allouée)" + +#: ../public/js/plugins/clusters-tab.js:719 +#: ../public/js/plugins/hosts-tab.js:541 +msgid "Used CPU (real)" +msgstr "CPU utilisé (réel)" + +#: ../public/js/plugins/clusters-tab.js:723 +#: ../public/js/plugins/hosts-tab.js:545 +msgid "Used CPU (allocated)" +msgstr "CPU utilisé (alloué)" + +#: ../public/js/plugins/clusters-tab.js:727 +#: ../public/js/plugins/hosts-tab.js:48 ../public/js/plugins/hosts-tab.js:549 +msgid "Running VMs" +msgstr "#VM démarrées" + +#: ../public/js/plugins/clusters-tab.js:767 +msgid "Create cluster" +msgstr "Créer un cluster" + +#: ../public/js/plugins/clusters-tab.js:783 +msgid "Cluster name missing!" +msgstr "Nom de cluster manquant" + +#: ../public/js/plugins/vms-tab.js:28 ../public/js/plugins/vms-tab.js:64 +#: ../public/js/plugins/templates-tab.js:80 +msgid "CPU" +msgstr "CPU" + +#: ../public/js/plugins/vms-tab.js:33 ../public/js/plugins/vms-tab.js:65 +#: ../public/js/plugins/templates-tab.js:75 +msgid "Memory" +msgstr "Mémoire" + +#: ../public/js/plugins/vms-tab.js:38 +msgid "Network transmission" +msgstr "Réseau - transmission" + +#: ../public/js/plugins/vms-tab.js:43 +msgid "Network reception" +msgstr "Réseau - réception" + +#: ../public/js/plugins/vms-tab.js:63 ../public/js/plugins/hosts-tab.js:51 +#: ../public/js/plugins/images-tab.js:37 +msgid "Status" +msgstr "Statut" + +#: ../public/js/plugins/vms-tab.js:66 ../public/js/plugins/vms-tab.js:724 +#: ../public/js/plugins/vms-tab.js:829 +msgid "Hostname" +msgstr "Nom d'hôte" + +#: ../public/js/plugins/vms-tab.js:67 +msgid "IPs" +msgstr "IPs" + +#: ../public/js/plugins/vms-tab.js:68 +msgid "Start Time" +msgstr "Démarrage" + +#: ../public/js/plugins/vms-tab.js:69 +msgid "VNC Access" +msgstr "Console VNC" + +#: ../public/js/plugins/vms-tab.js:76 +msgid "CPU, Memory and Start time are hidden columns by default. You can get monitoring graphs by clicking on the desired VM and visiting the monitoring information tab (oneacctd needs to be running for this information to be up to date)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:79 +msgid "VNC console requires previous install of the noVNC addon. Check Sunstone documentation for more information." +msgstr "" + +#: ../public/js/plugins/vms-tab.js:87 +msgid "VM Name" +msgstr "Nom de la VM" + +#: ../public/js/plugins/vms-tab.js:89 +msgid "Defaults to template name when emtpy" +msgstr "Utilise par défaut le nom du modèle lorsque la case est laissée vide" + +#: ../public/js/plugins/vms-tab.js:92 +msgid "Select template" +msgstr "Choisir du modèle" + +#: ../public/js/plugins/vms-tab.js:97 +msgid "Deploy # VMs" +msgstr "Déployer # VMs" + +#: ../public/js/plugins/vms-tab.js:99 +#, fuzzy, python-format +msgid "You can use the wildcard %. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them" +msgstr "Le paramètre générique '%i' peut être utilisé dans le nom de la VM. Celui-ci sera remplacé par un chiffre de 0 à N" + +#: ../public/js/plugins/vms-tab.js:113 +msgid "Please, choose and modify the virtual machine you want to update" +msgstr "Choisir et modifier la machine virtuelle à mettre à jour" + +#: ../public/js/plugins/vms-tab.js:115 +msgid "Select a VM" +msgstr "Choisir une VM" + +#: ../public/js/plugins/vms-tab.js:503 +msgid "Shutdown" +msgstr "Arrêter" + +#: ../public/js/plugins/vms-tab.js:504 +msgid "This will initiate the shutdown process in the selected VMs" +msgstr "Ceci initiera le processus de mise hors tension des VM sélectionnées" + +#: ../public/js/plugins/vms-tab.js:512 +msgid "Deploy" +msgstr "Déployer" + +#: ../public/js/plugins/vms-tab.js:513 +msgid "This will deploy the selected VMs on the chosen host" +msgstr "Ceci déploiera les VMs sélectionnées sur les hôtes choisis" + +#: ../public/js/plugins/vms-tab.js:519 +msgid "Migrate" +msgstr "Migrer" + +#: ../public/js/plugins/vms-tab.js:520 +msgid "This will migrate the selected VMs to the chosen host" +msgstr "Ceci déplacera les VM sélectionnées vers l'hôte choisi (à froid)" + +#: ../public/js/plugins/vms-tab.js:527 +msgid "Live migrate" +msgstr "'Live migrate'" + +#: ../public/js/plugins/vms-tab.js:528 +msgid "This will live-migrate the selected VMs to the chosen host" +msgstr "Ceci déplacera les VM sélectionnées vers l'hôte choisi ('live-migrate')" + +#: ../public/js/plugins/vms-tab.js:535 +msgid "This will hold selected pending VMs from being deployed" +msgstr "Ceci retardera les VM en attente de déploiement" + +#: ../public/js/plugins/vms-tab.js:539 +msgid "Release" +msgstr "Libérer" + +#: ../public/js/plugins/vms-tab.js:540 +msgid "This will release held machines" +msgstr "Ceci libérera les VM en attente" + +#: ../public/js/plugins/vms-tab.js:544 +msgid "Suspend" +msgstr "Mise en veille" + +#: ../public/js/plugins/vms-tab.js:545 +msgid "This will suspend selected machines" +msgstr "Ceci susprendra les VM sélectionnées" + +#: ../public/js/plugins/vms-tab.js:549 +msgid "Resume" +msgstr "Reprendre" + +#: ../public/js/plugins/vms-tab.js:550 +msgid "This will resume selected stopped or suspended VMs" +msgstr "Ceci reprendra les VM sélectionnées (en état STOPPED ou SUSPENDED" + +#: ../public/js/plugins/vms-tab.js:554 +msgid "Stop" +msgstr "Arrêt" + +#: ../public/js/plugins/vms-tab.js:559 +msgid "Restart" +msgstr "Redémarrer" + +#: ../public/js/plugins/vms-tab.js:560 +msgid "This will redeploy selected VMs (in UNKNOWN or BOOT state)" +msgstr "Ceci redéploiera les VM sélectionnées (en état UNKNOWN ou BOOT)" + +#: ../public/js/plugins/vms-tab.js:564 +msgid "Resubmit" +msgstr "Resoumettre" + +#: ../public/js/plugins/vms-tab.js:565 +msgid "This will resubmits VMs to PENDING state" +msgstr "Ceci resoumettra les VM en état PENDING" + +#: ../public/js/plugins/vms-tab.js:569 +msgid "Reboot" +msgstr "Reboot" + +#: ../public/js/plugins/vms-tab.js:570 +msgid "This will send a reboot action to running VMs" +msgstr "Ceci transmettra un signal de redémarrage aux VM démarrées" + +#: ../public/js/plugins/vms-tab.js:574 +msgid "Save as" +msgstr "Enregistrer sous" + +#: ../public/js/plugins/vms-tab.js:579 +msgid "This will cancel selected VMs" +msgstr "Ceci cancellera les VM sélectionnées" + +#: ../public/js/plugins/vms-tab.js:587 +msgid "This will delete the selected VMs from the database" +msgstr "Ceci effacera les VM sélectionnées de la base de données" + +#: ../public/js/plugins/vms-tab.js:593 ../public/js/plugins/vms-tab.js:801 +msgid "Virtual Machine information" +msgstr "Informations sur la machine virtuelle" + +#: ../public/js/plugins/vms-tab.js:597 ../public/js/plugins/vms-tab.js:888 +msgid "VM template" +msgstr "Modèle de VM utilisé" + +#: ../public/js/plugins/vms-tab.js:601 ../public/js/plugins/vms-tab.js:894 +msgid "VM log" +msgstr "Journal" + +#: ../public/js/plugins/vms-tab.js:605 ../public/js/plugins/vms-tab.js:904 +msgid "History information" +msgstr "Historique" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:665 +#: ../public/js/plugins/vms-tab.js:788 +msgid "ACTIVE" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:788 +msgid "SUSPENDED" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:723 +msgid "Sequence" +msgstr "Séquence" + +#: ../public/js/plugins/vms-tab.js:725 +msgid "Reason" +msgstr "Raison" + +#: ../public/js/plugins/vms-tab.js:726 +msgid "State change time" +msgstr "Heure de changement de statut" + +#: ../public/js/plugins/vms-tab.js:727 +msgid "Total time" +msgstr "Temps total" + +#: ../public/js/plugins/vms-tab.js:728 +msgid "Prolog time" +msgstr "Prolog time" + +#: ../public/js/plugins/vms-tab.js:797 +msgid "VM information" +msgstr "Informations générales" + +#: ../public/js/plugins/vms-tab.js:825 +msgid "LCM State" +msgstr "État LCM" + +#: ../public/js/plugins/vms-tab.js:833 +msgid "Start time" +msgstr "Démarrage" + +#: ../public/js/plugins/vms-tab.js:837 +msgid "Deploy ID" +msgstr "ID déploiement" + +#: ../public/js/plugins/vms-tab.js:861 +msgid "Net_TX" +msgstr "Net_TX" + +#: ../public/js/plugins/vms-tab.js:865 +msgid "Net_RX" +msgstr "Net_RX" + +#: ../public/js/plugins/vms-tab.js:869 +msgid "Used Memory" +msgstr "Mémoire utilisée" + +#: ../public/js/plugins/vms-tab.js:873 +msgid "Used CPU" +msgstr "CPU utilisé" + +#: ../public/js/plugins/vms-tab.js:877 +msgid "VNC Session" +msgstr "Session VNC" + +#: ../public/js/plugins/vms-tab.js:926 +msgid "Create Virtual Machine" +msgstr "Créer une machine virtuelle" + +#: ../public/js/plugins/vms-tab.js:949 +msgid "You have not selected a template" +msgstr "Vous n'avez pas sélectionné de modèle" + +#: ../public/js/plugins/vms-tab.js:987 +msgid "VM Save As" +msgstr "Enregistrer la VM sous" + +#: ../public/js/plugins/vms-tab.js:1021 +msgid "Skipping VM " +msgstr "VM ignorée" + +#: ../public/js/plugins/vms-tab.js:1022 +msgid "No disk id or image name specified" +msgstr "Pas d'identifiant d'image spécifié (id ou nom)" + +#: ../public/js/plugins/vms-tab.js:1059 +msgid "Saveas for VM with ID" +msgstr "Enregistrer la VM ayant l'ID sous" + +#: ../public/js/plugins/vms-tab.js:1062 +msgid "Select disk" +msgstr "Choisir un disque" + +#: ../public/js/plugins/vms-tab.js:1064 +msgid "Retrieving" +msgstr "Récupération" + +#: ../public/js/plugins/vms-tab.js:1068 +msgid "Image name" +msgstr "Nom de l'image" + +#: ../public/js/plugins/vms-tab.js:1074 +msgid "Default (current image type)" +msgstr "Défaut (type de l'image)" + +#: ../public/js/plugins/vms-tab.js:1075 ../public/js/plugins/images-tab.js:82 +#: ../public/js/plugins/images-tab.js:532 +msgid "OS" +msgstr "OS" + +#: ../public/js/plugins/vms-tab.js:1076 ../public/js/plugins/images-tab.js:84 +#: ../public/js/plugins/images-tab.js:534 +msgid "Datablock" +msgstr "Datablock" + +#: ../public/js/plugins/vms-tab.js:1077 +#: ../public/js/plugins/templates-tab.js:1060 +#: ../public/js/plugins/templates-tab.js:1106 +#: ../public/js/plugins/templates-tab.js:1139 +#: ../public/js/plugins/images-tab.js:83 +#: ../public/js/plugins/images-tab.js:533 +msgid "CD-ROM" +msgstr "CD-ROM" + +#: ../public/js/plugins/vms-tab.js:1097 ../public/js/plugins/vms-tab.js:1100 +msgid "disk id" +msgstr "id disque" + +#: ../public/js/plugins/vms-tab.js:1105 +msgid "No disks defined" +msgstr "Aucun disque défini" + +#: ../public/js/plugins/vms-tab.js:1122 +msgid "Update VM properties" +msgstr "Mettre à jour les propriétés de la VM" + +#: ../public/js/plugins/vms-tab.js:1262 +msgid "VNC connection" +msgstr "Connexion VNC" + +#: ../public/js/plugins/vms-tab.js:1277 +msgid "Canvas not supported." +msgstr "Canvas non supporté" + +#: ../public/js/plugins/vms-tab.js:1338 +msgid "RUNNING" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1340 +msgid "Open VNC Session" +msgstr "Ouvrir une session VNC" + +#: ../public/js/plugins/vms-tab.js:1343 +msgid "VNC Disabled" +msgstr "VNC désactivé" + +#: ../public/js/plugins/datastores-tab.js:34 +#, fuzzy +msgid "Basepath" +msgstr "Racine" + +#: ../public/js/plugins/datastores-tab.js:36 +#, fuzzy +msgid "DS MAD" +msgstr "TM MAD" + +#: ../public/js/plugins/datastores-tab.js:52 +msgid "Datastore manager" +msgstr "Gestion d'espace" + +#: ../public/js/plugins/datastores-tab.js:54 +msgid "Filesystem" +msgstr "Système de fichiers" + +#: ../public/js/plugins/datastores-tab.js:56 +#: ../public/js/plugins/datastores-tab.js:63 +msgid "iSCSI" +msgstr "iSCSI" + +#: ../public/js/plugins/datastores-tab.js:57 +#, fuzzy +msgid "LVM" +msgstr "KVM" + +#: ../public/js/plugins/datastores-tab.js:59 +msgid "Transfer manager" +msgstr "Gestion de tranferts" + +#: ../public/js/plugins/datastores-tab.js:61 +msgid "Shared" +msgstr "Partagé" + +#: ../public/js/plugins/datastores-tab.js:62 +#: ../public/js/plugins/users-tab.js:60 ../public/js/plugins/users-tab.js:281 +msgid "SSH" +msgstr "SSH" + +#: ../public/js/plugins/datastores-tab.js:64 +#: ../public/js/plugins/hosts-tab.js:86 ../public/js/plugins/hosts-tab.js:100 +msgid "Dummy" +msgstr "Bidon" + +#: ../public/js/plugins/datastores-tab.js:66 +#: ../public/js/plugins/templates-tab.js:225 +msgid "Disk type" +msgstr "Type de disque" + +#: ../public/js/plugins/datastores-tab.js:68 +#: ../public/js/plugins/templates-tab.js:1138 +msgid "File" +msgstr "Fichier" + +#: ../public/js/plugins/datastores-tab.js:69 +#: ../public/js/plugins/templates-tab.js:1063 +#: ../public/js/plugins/templates-tab.js:1109 +#: ../public/js/plugins/templates-tab.js:1140 +msgid "Block" +msgstr "Bloc" + +#: ../public/js/plugins/datastores-tab.js:82 +msgid "Please, choose and modify the datastore you want to update" +msgstr "Choisir et modifier l'espace de stockage à mettre à jour" + +#: ../public/js/plugins/datastores-tab.js:84 +msgid "Select a datastore" +msgstr "Choisir un espace de stockage" + +#: ../public/js/plugins/datastores-tab.js:114 +#: ../public/js/plugins/images-tab.js:32 ../public/js/plugins/images-tab.js:72 +#: ../public/js/plugins/images-tab.js:188 +#: ../public/js/plugins/images-tab.js:609 +#: ../public/js/plugins/dashboard-tab.js:118 +msgid "Datastore" +msgstr "Espace de stockage" + +#: ../public/js/plugins/datastores-tab.js:206 +msgid "Datastore updated correctly" +msgstr "Mise à jour de l'espace de stockage réussie" + +#: ../public/js/plugins/datastores-tab.js:317 +#: ../public/js/plugins/datastores-tab.js:417 +#: ../public/js/plugins/datastores-tab.js:421 +msgid "Datastore information" +msgstr "Informations sur l'espace de stockage" + +#: ../public/js/plugins/datastores-tab.js:321 +#: ../public/js/plugins/datastores-tab.js:481 +msgid "Datastore template" +msgstr "Modèle d'espace de stockage" + +#: ../public/js/plugins/datastores-tab.js:445 +msgid "DS Mad" +msgstr "DS Mad" + +#: ../public/js/plugins/datastores-tab.js:449 +msgid "TM Mad" +msgstr "TM Mad" + +#: ../public/js/plugins/datastores-tab.js:453 +msgid "Base path" +msgstr "Racine" + +#: ../public/js/plugins/datastores-tab.js:478 +msgid "Datastore Template" +msgstr "Modèle d'Espace de Stockage" + +#: ../public/js/plugins/datastores-tab.js:495 +msgid "Create Datastore" +msgstr "Créer un espace de stockage" + +#: ../public/js/plugins/datastores-tab.js:547 +msgid "Update Datastore properties" +msgstr "Mettre à jour l'espace de stockage" + +#: ../public/js/plugins/hosts-tab.js:22 +msgid "CPU Monitoring information" +msgstr "Métriques CPU" + +#: ../public/js/plugins/hosts-tab.js:28 +msgid "Memory monitoring information" +msgstr "Métriques mémoire" + +#: ../public/js/plugins/hosts-tab.js:49 +msgid "CPU Use" +msgstr "Utilisation CPU" + +#: ../public/js/plugins/hosts-tab.js:50 +msgid "Memory use" +msgstr "Mémoire utilisée" + +#: ../public/js/plugins/hosts-tab.js:54 +msgid "Last monitored on" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:61 +msgid "CPU Use is calculated as the maximum between (total CPU - real CPU usage) and (allocated CPU). Real CPU usage is provided by the hosts monitoring driver. Available CPU is calculated using the information from the CPU setting of the VMs running on that host (allocated CPU)" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:64 +msgid "Memory use is calculated according to the information provided by the host monitoring driver." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:67 +msgid "You can get monitoring graphs by clicking in the desired host and visiting the monitoring information tab. Note that oneacctd must be running for this information to be updated/available." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:74 +msgid "Host parameters" +msgstr "Paramè,tres d'hôte" + +#: ../public/js/plugins/hosts-tab.js:77 +msgid "Drivers" +msgstr "Pilotes" + +#: ../public/js/plugins/hosts-tab.js:80 +msgid "Virtualization Manager" +msgstr "Gestionnaire de virtualisation" + +#: ../public/js/plugins/hosts-tab.js:82 ../public/js/plugins/hosts-tab.js:96 +msgid "KVM" +msgstr "KVM" + +#: ../public/js/plugins/hosts-tab.js:83 ../public/js/plugins/hosts-tab.js:97 +#: ../public/js/plugins/templates-tab.js:416 +msgid "XEN" +msgstr "XEN" + +#: ../public/js/plugins/hosts-tab.js:85 ../public/js/plugins/hosts-tab.js:99 +msgid "EC2" +msgstr "EC2" + +#: ../public/js/plugins/hosts-tab.js:87 ../public/js/plugins/hosts-tab.js:101 +#: ../public/js/plugins/hosts-tab.js:117 ../public/js/plugins/users-tab.js:63 +msgid "Custom" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:90 +msgid "Custom VMM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:94 +msgid "Information Manager" +msgstr "Gestionnaire d'informations" + +#: ../public/js/plugins/hosts-tab.js:104 +msgid "Custom IM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:111 +msgid "Default (dummy)" +msgstr "Défaut (dummy)" + +#: ../public/js/plugins/hosts-tab.js:112 +msgid "Firewall" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:114 +#, fuzzy +msgid "Ebtables" +msgstr "Etables" + +#: ../public/js/plugins/hosts-tab.js:120 +msgid "Custom VNM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:274 +#: ../public/js/plugins/templates-tab.js:702 +#: ../public/js/plugins/users-tab.js:244 +msgid "Template updated correctly" +msgstr "Mise à du modèle réussie" + +#: ../public/js/plugins/hosts-tab.js:306 +msgid "Update a template" +msgstr "Mettre à jour le modèle" + +#: ../public/js/plugins/hosts-tab.js:319 +#: ../public/js/plugins/templates-tab.js:163 +#: ../public/js/plugins/templates-tab.js:172 +#: ../public/js/plugins/images-tab.js:473 +msgid "Enable" +msgstr "Activer" + +#: ../public/js/plugins/hosts-tab.js:324 +#: ../public/js/plugins/templates-tab.js:164 +#: ../public/js/plugins/templates-tab.js:173 +#: ../public/js/plugins/images-tab.js:477 +msgid "Disable" +msgstr "Désactiver" + +#: ../public/js/plugins/hosts-tab.js:329 +msgid "Delete host" +msgstr "Supprimer l'hôte" + +#: ../public/js/plugins/hosts-tab.js:434 +#: ../public/js/plugins/templates-tab.js:2002 +msgid "ERROR" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:434 +msgid "OFF" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:537 +msgid "Max CPU" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:587 +msgid "Create host" +msgstr "Créer un hôte" + +#: ../public/js/plugins/hosts-tab.js:629 +msgid "Host name missing!" +msgstr "Nom manquant" + +#: ../public/js/plugins/config-tab.js:23 +msgid "Sunstone UI Configuration" +msgstr "Configuration de l'interface utilisateur Sunstone" + +#: ../public/js/plugins/config-tab.js:28 +msgid "Language" +msgstr "Langue" + +#: ../public/js/plugins/config-tab.js:31 +msgid "English" +msgstr "Anglais" + +#: ../public/js/plugins/config-tab.js:32 +msgid "French" +msgstr "Français" + +#: ../public/js/plugins/config-tab.js:33 +msgid "Italian" +msgstr "Italien" + +#: ../public/js/plugins/config-tab.js:34 +msgid "Portuguese" +msgstr "Portugais" + +#: ../public/js/plugins/config-tab.js:35 +msgid "Russian" +msgstr "Russe" + +#: ../public/js/plugins/config-tab.js:40 +msgid "Secure websockets connection" +msgstr "Utilisation des websockets sécurisées" + +#: ../public/js/plugins/config-tab.js:50 +msgid "These options are stored in your OpenNebula user template." +msgstr "" + +#: ../public/js/plugins/config-tab.js:67 +msgid "Configuration" +msgstr "Configuration" + +#: ../public/js/plugins/templates-tab.js:32 +#: ../public/js/plugins/images-tab.js:35 +msgid "Registration time" +msgstr "Heure d'enregistrement" + +#: ../public/js/plugins/templates-tab.js:42 +msgid "Wizard KVM" +msgstr "Assistant KVM" + +#: ../public/js/plugins/templates-tab.js:43 +msgid "Wizard XEN" +msgstr "Assistant XEN" + +#: ../public/js/plugins/templates-tab.js:44 +msgid "Wizard VMware" +msgstr "Assistant VMware" + +#: ../public/js/plugins/templates-tab.js:58 +#: ../public/js/plugins/images-tab.js:58 +msgid "Fields marked with" +msgstr "Les champs marqués avec" + +#: ../public/js/plugins/templates-tab.js:59 +#: ../public/js/plugins/images-tab.js:59 +msgid "are mandatory" +msgstr "sont obligatoires" + +#: ../public/js/plugins/templates-tab.js:60 +msgid "Fold / Unfold all sections" +msgstr "Rouler / Dérouler toutes les sections" + +#: ../public/js/plugins/templates-tab.js:66 +msgid "Capacity options" +msgstr "Caractéristiques de base" + +#: ../public/js/plugins/templates-tab.js:68 +msgid "Capacity" +msgstr "Capacité" + +#: ../public/js/plugins/templates-tab.js:72 +msgid "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>." +msgstr "Nom de la VM en guise de description. Si le nom n'est pas fourni, un nom sera automatiquement généré par 'one' sous la forme one-<VID>." + +#: ../public/js/plugins/templates-tab.js:77 +msgid "Amount of RAM required for the VM, in Megabytes." +msgstr "Mémoire requise pour la VM, en méga-octets" + +#: ../public/js/plugins/templates-tab.js:82 +msgid "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5." +msgstr "Pourcentage CPU divisé par 100 demandé pour la Machine Virtuelle. Pour la moitié d'un core, inscrire 0.5." + +#: ../public/js/plugins/templates-tab.js:85 +msgid "VCPU" +msgstr "VCPU" + +#: ../public/js/plugins/templates-tab.js:87 +msgid "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU." +msgstr "Nombre de processeurs virtuels. Valeur optionnelle. Lorsque non spécifiée, la valeur par défaut de l'hyperviseur est utilisée (généralement 1)" + +#: ../public/js/plugins/templates-tab.js:96 +msgid "Boot/OS options" +msgstr "Options système et d"amorçage" + +#: ../public/js/plugins/templates-tab.js:98 +msgid "OS and Boot options" +msgstr "OS et option d'amorce" + +#: ../public/js/plugins/templates-tab.js:100 +msgid "Architecture" +msgstr "Architecture" + +#: ../public/js/plugins/templates-tab.js:105 +msgid "CPU architecture to virtualization" +msgstr "Architecture CPU souhaitée" + +#: ../public/js/plugins/templates-tab.js:110 +msgid "Boot method" +msgstr "Méthode d'amorce" + +#: ../public/js/plugins/templates-tab.js:113 +#: ../public/js/plugins/templates-tab.js:119 +msgid "Kernel" +msgstr "Noyau" + +#: ../public/js/plugins/templates-tab.js:114 +#: ../public/js/plugins/templates-tab.js:139 +msgid "Bootloader" +msgstr "Lanceur" + +#: ../public/js/plugins/templates-tab.js:116 +msgid "Select boot method" +msgstr "Choisir le mode d'amorçage" + +#: ../public/js/plugins/templates-tab.js:121 +msgid "Path to the OS kernel to boot the image" +msgstr "Chemin d'accès à l'image du noyau" + +#: ../public/js/plugins/templates-tab.js:124 +msgid "Initrd" +msgstr "Initrd" + +#: ../public/js/plugins/templates-tab.js:126 +msgid "Path to the initrd image" +msgstr "Chemin d'accès à l'image initrd" + +#: ../public/js/plugins/templates-tab.js:129 +msgid "Root" +msgstr "Root" + +#: ../public/js/plugins/templates-tab.js:131 +msgid "Device to be mounted as root" +msgstr "Périphérique racine" + +#: ../public/js/plugins/templates-tab.js:134 +msgid "Kernel commands" +msgstr "Commandes noyau" + +#: ../public/js/plugins/templates-tab.js:136 +msgid "Arguments for the booting kernel" +msgstr "Directives pour le noyau" + +#: ../public/js/plugins/templates-tab.js:141 +msgid "Path to the bootloader executable" +msgstr "Chemin d'accès du lanceur" + +#: ../public/js/plugins/templates-tab.js:144 +msgid "Boot" +msgstr "Amorçage" + +#: ../public/js/plugins/templates-tab.js:147 +msgid "Boot device type" +msgstr "Type de périphérique d'amorçage" + +#: ../public/js/plugins/templates-tab.js:156 +#: ../public/js/plugins/templates-tab.js:158 +msgid "Features" +msgstr "Fonctionnalités" + +#: ../public/js/plugins/templates-tab.js:160 +msgid "PAE" +msgstr "PAE" + +#: ../public/js/plugins/templates-tab.js:166 +msgid "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory" +msgstr "Mode d'extension physique, permet aux VM 32-bit d'accéder à plus de 4 Go de mémoire" + +#: ../public/js/plugins/templates-tab.js:169 +msgid "ACPI" +msgstr "ACPI" + +#: ../public/js/plugins/templates-tab.js:175 +msgid "Useful for power management, for example, normally required for graceful shutdown to work" +msgstr "Utile pour la gestion de l'alimentation électrique. Généralement requis pour la gestion de l'arrêt 'propre' de l'OS" + +#: ../public/js/plugins/templates-tab.js:187 +msgid "Add disks/images" +msgstr "Ajouter des disques/images" + +#: ../public/js/plugins/templates-tab.js:189 +msgid "Disks" +msgstr "Disques" + +#: ../public/js/plugins/templates-tab.js:191 +msgid "Add disk/image" +msgstr "Ajouter des disque/image" + +#: ../public/js/plugins/templates-tab.js:192 +#: ../public/js/plugins/templates-tab.js:1058 +#: ../public/js/plugins/templates-tab.js:1104 +msgid "Disk" +msgstr "Disque" + +#: ../public/js/plugins/templates-tab.js:202 +msgid "Name of the image to use" +msgstr "Nom de l'image à utiliser" + +#: ../public/js/plugins/templates-tab.js:206 +#: ../public/js/plugins/templates-tab.js:412 +#: ../public/js/plugins/images-tab.js:99 +msgid "Bus" +msgstr "Bus" + +#: ../public/js/plugins/templates-tab.js:209 +msgid "Type of disk device to emulate: ide, scsi" +msgstr "Type de disque à émuler: ide, scsi" + +#: ../public/js/plugins/templates-tab.js:212 +#: ../public/js/plugins/templates-tab.js:324 +#: ../public/js/plugins/images-tab.js:39 +#: ../public/js/plugins/images-tab.js:113 +msgid "Target" +msgstr "Cible" + +#: ../public/js/plugins/templates-tab.js:214 +msgid "Device to map image disk. If set, it will overwrite the default device mapping" +msgstr "Périphérique auquel relier l'image. Surcharge la valeur par défaut lorsque définie" + +#: ../public/js/plugins/templates-tab.js:217 +#: ../public/js/plugins/images-tab.js:108 +msgid "Driver" +msgstr "Pilote" + +#: ../public/js/plugins/templates-tab.js:219 +msgid "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported" +msgstr "Pilote de périphérique spécifique à utiliser. KVM: raw, qcow2. XEN:tap:aio:, file:. VMware non supporté" + +#: ../public/js/plugins/templates-tab.js:228 +#: ../public/js/plugins/images-tab.js:142 +#: ../public/js/plugins/images-tab.js:633 +msgid "Source" +msgstr "Source" + +#: ../public/js/plugins/templates-tab.js:230 +msgid "Disk file location path or URL" +msgstr "Chemin ou URL d'accès au disque" + +#: ../public/js/plugins/templates-tab.js:233 +msgid "Transfer Manager" +msgstr "Gestion de Tranferts" + +#: ../public/js/plugins/templates-tab.js:235 +msgid "shared,ssh,iscsi,dummy" +msgstr "shared,ssh,iscsi,dummy" + +#: ../public/js/plugins/templates-tab.js:239 +#: ../public/js/plugins/images-tab.js:33 +#: ../public/js/plugins/images-tab.js:147 +msgid "Size" +msgstr "Taille" + +#: ../public/js/plugins/templates-tab.js:241 +msgid "Size in MB" +msgstr "Taille en Mo" + +#: ../public/js/plugins/templates-tab.js:245 +msgid "Format" +msgstr "Format" + +#: ../public/js/plugins/templates-tab.js:247 +msgid "Filesystem type for the fs images" +msgstr "Type de FS pour le FS images" + +#: ../public/js/plugins/templates-tab.js:250 +msgid "Clone" +msgstr "Clone" + +#: ../public/js/plugins/templates-tab.js:255 +msgid "Clone this image" +msgstr "Cloner cette image" + +#: ../public/js/plugins/templates-tab.js:258 +msgid "Save" +msgstr "Enregistrer" + +#: ../public/js/plugins/templates-tab.js:263 +msgid "Save this image after shutting down the VM" +msgstr "Sauvegarder l'image de la VM après extinction" + +#: ../public/js/plugins/templates-tab.js:266 +msgid "Read only" +msgstr "Lecture seule" + +#: ../public/js/plugins/templates-tab.js:271 +msgid "Mount image as read-only" +msgstr "Monter l'image en lecture seule" + +#: ../public/js/plugins/templates-tab.js:277 +msgid "Current disks" +msgstr "Disque existant" + +#: ../public/js/plugins/templates-tab.js:289 +msgid "Setup Networks" +msgstr "Configurer les connexions réseaux" + +#: ../public/js/plugins/templates-tab.js:291 +#: ../public/js/plugins/templates-tab.js:302 +msgid "Network" +msgstr "Réseau" + +#: ../public/js/plugins/templates-tab.js:293 +msgid "Add network" +msgstr "Ajouter un réseau" + +#: ../public/js/plugins/templates-tab.js:294 +msgid "Predefined" +msgstr "Prédéfini" + +#: ../public/js/plugins/templates-tab.js:296 +msgid "Manual" +msgstr "Manuel" + +#: ../public/js/plugins/templates-tab.js:305 +msgid "Name of the network to attach this device" +msgstr "Nom du réseau auquel connecter le périphérique" + +#: ../public/js/plugins/templates-tab.js:309 +msgid "IP" +msgstr "IP" + +#: ../public/js/plugins/templates-tab.js:311 +msgid "Request an specific IP from the Network" +msgstr "Utiliser une adresse IP prédéterminée" + +#: ../public/js/plugins/templates-tab.js:314 +msgid "MAC" +msgstr "MAC" + +#: ../public/js/plugins/templates-tab.js:316 +msgid "HW address associated with the network interface" +msgstr "Adresse matérielle associée avec l'interface réseau" + +#: ../public/js/plugins/templates-tab.js:321 +msgid "Name of the bridge the network device is going to be attached to" +msgstr "Nom du pont réseau auquel le périphérique réseau sera connecté" + +#: ../public/js/plugins/templates-tab.js:326 +msgid "Name for the tun device created for the VM" +msgstr "Nom du périphérique 'tun' à créer pour la VM" + +#: ../public/js/plugins/templates-tab.js:329 +msgid "Script" +msgstr "Script" + +#: ../public/js/plugins/templates-tab.js:331 +msgid "Name of a shell script to be executed after creating the tun device for the VM" +msgstr "Nom du script shell à exécuter suite à la création du périphérique 'tun' de la VM" + +#: ../public/js/plugins/templates-tab.js:334 +msgid "Model" +msgstr "Modèle" + +#: ../public/js/plugins/templates-tab.js:336 +msgid "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif." +msgstr "Matériel émulé par l'interface. Correspond à l'attribut type de la 'vif'" + +#: ../public/js/plugins/templates-tab.js:339 +msgid "Tcp firewall mode" +msgstr "Mode firecall TCP" + +#: ../public/js/plugins/templates-tab.js:341 +#: ../public/js/plugins/templates-tab.js:360 +msgid "Optional, please select" +msgstr "Optionnel, choisir..." + +#: ../public/js/plugins/templates-tab.js:342 +#: ../public/js/plugins/templates-tab.js:361 +msgid "Port whitelist" +msgstr "Port - liste blanche" + +#: ../public/js/plugins/templates-tab.js:343 +#: ../public/js/plugins/templates-tab.js:362 +msgid "Port blacklist" +msgstr "Port - liste noire" + +#: ../public/js/plugins/templates-tab.js:348 +msgid "Tcp white ports" +msgstr "Port TCP - liste blanche" + +#: ../public/js/plugins/templates-tab.js:350 +msgid "Permits access to the VM only through the specified ports in the TCP protocol" +msgstr "Permets l'accès à la VM seulement pour les ports spéficiés - Protocole TCP" + +#: ../public/js/plugins/templates-tab.js:353 +msgid "Tcp black ports" +msgstr "Port TCP - liste noire" + +#: ../public/js/plugins/templates-tab.js:355 +msgid "Disallow access to the VM through the specified ports in the TCP protocol" +msgstr "Désactiver l'accès à la VM par les ports TCP spécifiés" + +#: ../public/js/plugins/templates-tab.js:358 +msgid "Udp firewall mode" +msgstr "Mode firewall UDP" + +#: ../public/js/plugins/templates-tab.js:367 +msgid "Udp white ports" +msgstr "Ports UDP - Liste blanche" + +#: ../public/js/plugins/templates-tab.js:369 +msgid "Permits access to the VM only through the specified ports in the UDP protocol" +msgstr "Permets l'accès à la VM seulement pour les ports spéficiés - Protocole UDP" + +#: ../public/js/plugins/templates-tab.js:372 +msgid "Udp black ports" +msgstr "Ports UDP - Liste noire" + +#: ../public/js/plugins/templates-tab.js:374 +msgid "Disallow access to the VM through the specified ports in the UDP protocol" +msgstr "Désactiver l'accès à la VM par les ports UDP spécifiés" + +#: ../public/js/plugins/templates-tab.js:377 +msgid "Icmp" +msgstr "ICMP" + +#: ../public/js/plugins/templates-tab.js:379 +msgid "Accept (default)" +msgstr "Accepté (défaut)" + +#: ../public/js/plugins/templates-tab.js:380 +msgid "Drop" +msgstr "Rejeté" + +#: ../public/js/plugins/templates-tab.js:382 +msgid "ICMP policy" +msgstr "Politique ICMP" + +#: ../public/js/plugins/templates-tab.js:389 +msgid "Current NICs" +msgstr "Interfaces actuelles" + +#: ../public/js/plugins/templates-tab.js:400 +msgid "Add inputs" +msgstr "Ajouter des périphériques de saisie" + +#: ../public/js/plugins/templates-tab.js:402 +msgid "Inputs" +msgstr "Entrants" + +#: ../public/js/plugins/templates-tab.js:406 +msgid "Mouse" +msgstr "Souris" + +#: ../public/js/plugins/templates-tab.js:407 +msgid "Tablet" +msgstr "Tablette" + +#: ../public/js/plugins/templates-tab.js:414 +msgid "USB" +msgstr "USB" + +#: ../public/js/plugins/templates-tab.js:415 +msgid "PS2" +msgstr "PS2" + +#: ../public/js/plugins/templates-tab.js:424 +msgid "Current inputs" +msgstr "Périphériques actuels" + +#: ../public/js/plugins/templates-tab.js:435 +msgid "Add Graphics" +msgstr "Configurer l'interface graphique" + +#: ../public/js/plugins/templates-tab.js:437 +msgid "Graphics" +msgstr "Graphics" + +#: ../public/js/plugins/templates-tab.js:439 +msgid "Graphics type" +msgstr "Type de console" + +#: ../public/js/plugins/templates-tab.js:442 +msgid "VNC" +msgstr "VNC" + +#: ../public/js/plugins/templates-tab.js:443 +msgid "SDL" +msgstr "SDL" + +#: ../public/js/plugins/templates-tab.js:445 +msgid "VMware supports VNC only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:448 +msgid "Listen IP" +msgstr "IP d'écoute" + +#: ../public/js/plugins/templates-tab.js:450 +msgid "IP to listen on" +msgstr "IP à écouter" + +#: ../public/js/plugins/templates-tab.js:453 +msgid "Port" +msgstr "Port" + +#: ../public/js/plugins/templates-tab.js:455 +msgid "Port for the VNC server" +msgstr "Port pour le serveur VNC" + +#: ../public/js/plugins/templates-tab.js:458 +#: ../public/js/plugins/users-tab.js:55 +msgid "Password" +msgstr "Mot de passe" + +#: ../public/js/plugins/templates-tab.js:460 +msgid "Password for the VNC server" +msgstr "Mot de passe pour le serveur VNC" + +#: ../public/js/plugins/templates-tab.js:463 +msgid "Keymap" +msgstr "Code clavier" + +#: ../public/js/plugins/templates-tab.js:465 +msgid "Keyboard configuration locale to use in the VNC display" +msgstr "Paramètres régionaux clavier pour l'affichage VNC" + +#: ../public/js/plugins/templates-tab.js:474 +msgid "Add context variables" +msgstr "Ajouter des variables de contexte" + +#: ../public/js/plugins/templates-tab.js:476 +msgid "Context" +msgstr "Contexte" + +#: ../public/js/plugins/templates-tab.js:480 +msgid "Name for the context variable" +msgstr "Nom de la variable de contexte" + +#: ../public/js/plugins/templates-tab.js:485 +msgid "Value of the context variable" +msgstr "Valeur de la variable de contexte" + +#: ../public/js/plugins/templates-tab.js:491 +#: ../public/js/plugins/templates-tab.js:556 +msgid "Current variables" +msgstr "Variables actuelles" + +#: ../public/js/plugins/templates-tab.js:502 +msgid "Add placement options" +msgstr "Ajouter des options de localisation" + +#: ../public/js/plugins/templates-tab.js:504 +msgid "Placement" +msgstr "Placement" + +#: ../public/js/plugins/templates-tab.js:506 +msgid "Requirements" +msgstr "Exigences" + +#: ../public/js/plugins/templates-tab.js:508 +msgid "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM" +msgstr "Expression booléenne régissant le choix des serveurs hôtes à utiliser pour l'exécution de la VM" + +#: ../public/js/plugins/templates-tab.js:511 +msgid "Rank" +msgstr "Rang" + +#: ../public/js/plugins/templates-tab.js:513 +msgid "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others" +msgstr "Attribut permettant à l'ordonnanceur de choisir le serveur hôte le plus approprié" + +#: ../public/js/plugins/templates-tab.js:522 +msgid "Add Hypervisor raw options" +msgstr "Ajouter des options spécifiques à l'hyperviseur" + +#: ../public/js/plugins/templates-tab.js:524 +msgid "Raw" +msgstr "Raw" + +#: ../public/js/plugins/templates-tab.js:527 +msgid "Data" +msgstr "Données" + +#: ../public/js/plugins/templates-tab.js:530 +msgid "Raw data to be passed directly to the hypervisor" +msgstr "Directives à passer directement à l'hyperviseur" + +#: ../public/js/plugins/templates-tab.js:539 +msgid "Add custom variables" +msgstr "Ajouter des variables personnalisées" + +#: ../public/js/plugins/templates-tab.js:541 +msgid "Custom variables" +msgstr "Variable spécifique" + +#: ../public/js/plugins/templates-tab.js:545 +msgid "Name for the custom variable" +msgstr "Nom de la variable de personnalisée" + +#: ../public/js/plugins/templates-tab.js:550 +msgid "Value of the custom variable" +msgstr "Valeur de la variable personnalisée" + +#: ../public/js/plugins/templates-tab.js:575 +msgid "Write the Virtual Machine template here" +msgstr "Saisir les caractéristiques du modèle de VM dans la case ci-dessous" + +#: ../public/js/plugins/templates-tab.js:794 +msgid "Instantiate" +msgstr "Instancier" + +#: ../public/js/plugins/templates-tab.js:819 +msgid "Template information" +msgstr "Information sur le modèle" + +#: ../public/js/plugins/templates-tab.js:913 +#, fuzzy +msgid "Information" +msgstr "Information" + +#: ../public/js/plugins/templates-tab.js:937 +#: ../public/js/plugins/images-tab.js:625 +msgid "Register time" +msgstr "Heure d'enregistrement" + +#: ../public/js/plugins/templates-tab.js:1057 +msgid "None" +msgstr "Aucun" + +#: ../public/js/plugins/templates-tab.js:1059 +#: ../public/js/plugins/templates-tab.js:1105 +msgid "Floppy" +msgstr "Diskette" + +#: ../public/js/plugins/templates-tab.js:1061 +#: ../public/js/plugins/templates-tab.js:1107 +msgid "Swap" +msgstr "Swap" + +#: ../public/js/plugins/templates-tab.js:1062 +#: ../public/js/plugins/templates-tab.js:1108 +msgid "FS" +msgstr "FS" + +#: ../public/js/plugins/templates-tab.js:1068 +msgid "hd" +msgstr "hd" + +#: ../public/js/plugins/templates-tab.js:1069 +msgid "fd" +msgstr "fd" + +#: ../public/js/plugins/templates-tab.js:1070 +msgid "cdrom" +msgstr "cdrom" + +#: ../public/js/plugins/templates-tab.js:1071 +msgid "network" +msgstr "réseau" + +#: ../public/js/plugins/templates-tab.js:1075 +msgid "Driver default" +msgstr "Défaut (pilote)" + +#: ../public/js/plugins/templates-tab.js:1078 +#: ../public/js/plugins/templates-tab.js:1116 +#: ../public/js/plugins/templates-tab.js:1147 +#: ../public/js/plugins/images-tab.js:101 +msgid "IDE" +msgstr "IDE" + +#: ../public/js/plugins/templates-tab.js:1079 +#: ../public/js/plugins/templates-tab.js:1117 +#: ../public/js/plugins/templates-tab.js:1148 +#: ../public/js/plugins/images-tab.js:102 +msgid "SCSI" +msgstr "SCSI" + +#: ../public/js/plugins/templates-tab.js:1080 +msgid "Virtio" +msgstr "Virtio" + +#: ../public/js/plugins/templates-tab.js:1113 +msgid "Please choose" +msgstr "Sélectionner" + +#: ../public/js/plugins/templates-tab.js:1187 +msgid "There are mandatory parameters missing in this section" +msgstr "Des champs obligatoires ne sont pas remplis dans cette section" + +#: ../public/js/plugins/templates-tab.js:1727 +msgid "Context variable name and value must be filled in" +msgstr "Les nom et valeur de la variable de contexte doivent être renseignés" + +#: ../public/js/plugins/templates-tab.js:1778 +msgid "Custom variable name and value must be filled in" +msgstr "Les nom et valeur de la variable spécifique doivent être renseignés" + +#: ../public/js/plugins/templates-tab.js:1797 +msgid "Create VM Template" +msgstr "Créer un modèle de VM" + +#: ../public/js/plugins/templates-tab.js:1885 +msgid "There are mandatory fields missing in the capacity section" +msgstr "Des champs obligatoires ne sont pas remplis dans la section capacité" + +#: ../public/js/plugins/templates-tab.js:1896 +msgid "Xen templates must specify a boot method" +msgstr "Les modèles XEN doivent spécifier la méthode d'amorçage." + +#: ../public/js/plugins/templates-tab.js:1901 +msgid "There are mandatory fields missing in the OS Boot options section" +msgstr "Des champs obligatoires ne sont pas remplis dans la section d'amorce;" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "DISABLED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "LOCKED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2019 +msgid "Update template properties" +msgstr "Mettre à jour les propriétés du modèle" + +#: ../public/js/plugins/infra-tab.js:25 +msgid "Summary of infrastructure resources" +msgstr "Synthèse des ressources d'infrastructure" + +#: ../public/js/plugins/infra-tab.js:57 +msgid "Create new Cluster" +msgstr "Créer un nouveau Cluster" + +#: ../public/js/plugins/infra-tab.js:58 +msgid "Create new Host" +msgstr "Créer un nouvel Hôte" + +#: ../public/js/plugins/infra-tab.js:59 +msgid "Create new Datastore" +msgstr "Créer un nouvel Espace de Stockage" + +#: ../public/js/plugins/infra-tab.js:60 +msgid "Create new Virtual Network" +msgstr "Créer un nouveau Réseau Virtuel" + +#: ../public/js/plugins/infra-tab.js:73 +msgid "Infrastructure resources" +msgstr "Ressources d'infrastructure" + +#: ../public/js/plugins/infra-tab.js:75 +msgid "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well." +msgstr "Le menu Infrastructure permet la gestion des serveurs Hôtes, des Espaces de Stockage et des Réseaux Virtuels. Les utilisateurs membres du groupe oneadmin peuvent de plus gérer les clusters." + +#: ../public/js/plugins/infra-tab.js:76 +#: ../public/js/plugins/vresources-tab.js:81 +#: ../public/js/plugins/system-tab.js:71 +msgid "You can find further information on the following links:" +msgstr "Veuillez vous référer aux pages suivantes pour plus d'informations :" + +#: ../public/js/plugins/infra-tab.js:92 +msgid "Infrastructure" +msgstr "Infrastructure" + +#: ../public/js/plugins/users-tab.js:35 ../public/js/plugins/users-tab.js:407 +msgid "Authentication driver" +msgstr "Pilote d'authentification" + +#: ../public/js/plugins/users-tab.js:36 +#, fuzzy +msgid "Group ID" +msgstr "Groupe " + +#: ../public/js/plugins/users-tab.js:44 +msgid "Tip: select Core authentication for new Sunstone/Self-Service regular users." +msgstr "" + +#: ../public/js/plugins/users-tab.js:53 +msgid "Username" +msgstr "Nom d'utilisateur" + +#: ../public/js/plugins/users-tab.js:57 +msgid "Authentication" +msgstr "Authentification" + +#: ../public/js/plugins/users-tab.js:59 ../public/js/plugins/users-tab.js:280 +msgid "Core" +msgstr "Core" + +#: ../public/js/plugins/users-tab.js:61 ../public/js/plugins/users-tab.js:282 +msgid "x509" +msgstr "x509" + +#: ../public/js/plugins/users-tab.js:62 ../public/js/plugins/users-tab.js:283 +msgid "Public" +msgstr "Publique" + +#: ../public/js/plugins/users-tab.js:66 +#, fuzzy +msgid "Custom auth driver" +msgstr "Attributs spécifiques" + +#: ../public/js/plugins/users-tab.js:82 +msgid "This will change the password for the selected users" +msgstr "Ceci changera le mot de passe des utilisateurs sélectionnés" + +#: ../public/js/plugins/users-tab.js:83 +msgid "New password" +msgstr "Nouveau mot de passe" + +#: ../public/js/plugins/users-tab.js:89 +msgid "Change" +msgstr "Changer" + +#: ../public/js/plugins/users-tab.js:145 +msgid "Change password successful" +msgstr "Nouveau mot de passe défini avec succès" + +#: ../public/js/plugins/users-tab.js:268 ../public/js/plugins/users-tab.js:471 +msgid "Change password" +msgstr "Changer le mot de passe" + +#: ../public/js/plugins/users-tab.js:274 +msgid "This will change the main group of the selected users. Select the new group" +msgstr "Ceci changera le groupe principal des utilisateurs sélectionnés. Choisir le nouveau groupe" + +#: ../public/js/plugins/users-tab.js:278 +msgid "Change authentication" +msgstr "Changer le mode d'authentification" + +#: ../public/js/plugins/users-tab.js:285 +msgid "Please choose the new type of authentication for the selected users" +msgstr "Choisir le nouveau mode d'authentification pour les utilisateurs sélectionnés" + +#: ../public/js/plugins/users-tab.js:309 ../public/js/plugins/users-tab.js:391 +#: ../public/js/plugins/users-tab.js:395 +msgid "User information" +msgstr "Informations utilisateur" + +#: ../public/js/plugins/users-tab.js:413 +msgid "User template" +msgstr "Modè utilisateur" + +#: ../public/js/plugins/users-tab.js:424 +msgid "Create user" +msgstr "Créer un utilisateur" + +#: ../public/js/plugins/users-tab.js:454 +msgid "User name and password must be filled in" +msgstr "Le nom d'utilisateur et le mot de passe doivent être fournis" + +#: ../public/js/plugins/users-tab.js:489 +msgid "Fill in a new password" +msgstr "Saisir un nouveau mot de passe" + +#: ../public/js/plugins/vresources-tab.js:25 +msgid "Summary of virtual resources" +msgstr "Synthèse des ressources virtuelles" + +#: ../public/js/plugins/vresources-tab.js:62 +msgid "Create new Virtual Machine" +msgstr "Créer une nouvelle VM" + +#: ../public/js/plugins/vresources-tab.js:63 +msgid "Create new VM Template" +msgstr "Créer un nouveau Modèle de VM" + +#: ../public/js/plugins/vresources-tab.js:64 +msgid "Create new Image" +msgstr "Créer une nouvelle Image" + +#: ../public/js/plugins/vresources-tab.js:77 +#: ../public/js/plugins/vresources-tab.js:96 +msgid "Virtual Resources" +msgstr "Ressources virtuelles" + +#: ../public/js/plugins/vresources-tab.js:79 +#, fuzzy +msgid "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and storage (Images)." +msgstr "Le menu Ressources Virtuelles permet la gestion des Modèles, des Instances et des Images de machines virtuelles." + +#: ../public/js/plugins/vresources-tab.js:80 +msgid "Virtual Machine templates can be instantiated as many times as you want. You can do it from the Templates tab or by creating a new VM in the VM tab. The second method allows you to customize the name and the number of VMs you want to launch." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:39 +msgid "Tip: Refresh the list if it only shows user ids in the user column." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:47 +msgid "Group name" +msgstr "Nom de groupe" + +#: ../public/js/plugins/groups-tab.js:130 +msgid "+ New Group" +msgstr "+ Nouveau" + +#: ../public/js/plugins/groups-tab.js:227 +msgid "Create group" +msgstr "Créer un groupe" + +#: ../public/js/plugins/images-tab.js:36 ../public/js/plugins/images-tab.js:89 +#: ../public/js/plugins/images-tab.js:213 +#: ../public/js/plugins/images-tab.js:629 +msgid "Persistent" +msgstr "Persistante" + +#: ../public/js/plugins/images-tab.js:38 +msgid "#VMS" +msgstr "#VMS" + +#: ../public/js/plugins/images-tab.js:46 +msgid "Size and registration time are hidden colums. Note that persistent images can only be used by 1 VM. To change image datastore, please re-register the image." +msgstr "" + +#: ../public/js/plugins/images-tab.js:64 +msgid "Name that the Image will get. Every image must have a unique name." +msgstr "Nom de l'image. Chaque nom d'image doit être unique." + +#: ../public/js/plugins/images-tab.js:67 +msgid "Description" +msgstr "Description" + +#: ../public/js/plugins/images-tab.js:69 +msgid "Human readable description of the image for other users." +msgstr "Description du contenu de l'image, à destination des autres utilisateurs." + +#: ../public/js/plugins/images-tab.js:75 +msgid "Select the datastore for this image" +msgstr "Choisir l'espace de stockage pour cette image:" + +#: ../public/js/plugins/images-tab.js:86 +msgid "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS)." +msgstr "Type d'image tel que décrit dans la section suivante. Si laissée vide, la valeur sera celle définie dans le fichier oned.conf (défaut: OS)." + +#: ../public/js/plugins/images-tab.js:91 +msgid "Persistence of the image" +msgstr "L'image est-elle persistante ou non?" + +#: ../public/js/plugins/images-tab.js:94 +msgid "Device prefix" +msgstr "Préfix du périphérique" + +#: ../public/js/plugins/images-tab.js:96 +msgid "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”)." +msgstr "Pr&eacufixte; utilisé pour monter l'image.Par exemple 'hd' ou 'sd'. La valeur par défaut est 'hd'." + +#: ../public/js/plugins/images-tab.js:103 +msgid "Virtio (KVM)" +msgstr "Virtio (KVM)" + +#: ../public/js/plugins/images-tab.js:105 +msgid "Type of disk device to emulate." +msgstr "Type de disque à émuler" + +#: ../public/js/plugins/images-tab.js:110 +msgid "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:" +msgstr "Pilote de périphérique spécifique à utiliser. KVM: raw, qcow2. XEN:tap:aio:, file:." + +#: ../public/js/plugins/images-tab.js:115 +msgid "Target on which the image will be mounted at. For example: hda, sdb..." +msgstr "" + +#: ../public/js/plugins/images-tab.js:120 +msgid "Image location" +msgstr "Chemin d'accès" + +#: ../public/js/plugins/images-tab.js:123 +msgid "Provide a path" +msgstr "Indiquer un chemin d'accès" + +#: ../public/js/plugins/images-tab.js:126 +msgid "Provide a source" +msgstr "Indiquer un fichier source" + +#: ../public/js/plugins/images-tab.js:129 +msgid "Upload" +msgstr "Téléverser" + +#: ../public/js/plugins/images-tab.js:132 +msgid "Create an empty datablock" +msgstr "Créer un datablock vide" + +#: ../public/js/plugins/images-tab.js:133 +msgid "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk." +msgstr "Choisir le chemin d'accès pour une image basée sur un fichier. Choisir la source ou encore créer un 'datablock' vide." + +#: ../public/js/plugins/images-tab.js:137 +#: ../public/js/plugins/images-tab.js:637 +msgid "Path" +msgstr "Chemin d'accès" + +#: ../public/js/plugins/images-tab.js:139 +msgid "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created." +msgstr "Chemin d'accès au fichier d'origine à copier vers la librairie d'images. Un fichier vide sera créé si aucun chemin n'est spécifié pour une image de type DATABLOCK." + +#: ../public/js/plugins/images-tab.js:144 +msgid "Source to be used in the DISK attribute. Useful for not file-based images." +msgstr "Fichier source à utiliser pour l'attribut DISK." + +#: ../public/js/plugins/images-tab.js:149 +msgid "Size of the datablock in MB." +msgstr "Taille du datablock en Mo" + +#: ../public/js/plugins/images-tab.js:152 +msgid "FS type" +msgstr "Type de FS" + +#: ../public/js/plugins/images-tab.js:154 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "Type de système de fichiers à créer. Toutes options reconnues par la commande unix 'mkfs'." + +#: ../public/js/plugins/images-tab.js:157 +msgid "Upload file" +msgstr "Fichier à téléverser" + +#: ../public/js/plugins/images-tab.js:187 +msgid "Write the image template here" +msgstr "Saisir les caractéristiques de l'image dans la case ci-dessous" + +#: ../public/js/plugins/images-tab.js:207 +msgid "Please, choose and modify the image you want to update" +msgstr "Choisir et modifier l'image à mettre à jour" + +#: ../public/js/plugins/images-tab.js:209 +msgid "Select an image" +msgstr "Choisir une image" + +#: ../public/js/plugins/images-tab.js:338 +msgid "Image updated correctly" +msgstr "Image téléversée avec succès" + +#: ../public/js/plugins/images-tab.js:481 +msgid "Make persistent" +msgstr "Rendre persistant" + +#: ../public/js/plugins/images-tab.js:485 +msgid "Make non persistent" +msgstr "Rendre non persistant" + +#: ../public/js/plugins/images-tab.js:497 +#: ../public/js/plugins/images-tab.js:593 +msgid "Image information" +msgstr "Information sur l'image" + +#: ../public/js/plugins/images-tab.js:502 +#: ../public/js/plugins/images-tab.js:673 +#: ../public/js/plugins/images-tab.js:675 +msgid "Image template" +msgstr "Modèle d'image" + +#: ../public/js/plugins/images-tab.js:630 +msgid "yes" +msgstr "Oui" + +#: ../public/js/plugins/images-tab.js:630 +#, fuzzy +msgid "no" +msgstr "Info" + +#: ../public/js/plugins/images-tab.js:641 +msgid "Filesystem type" +msgstr "Type de FS" + +#: ../public/js/plugins/images-tab.js:645 +msgid "Size (Mb)" +msgstr "Taille (Mb)" + +#: ../public/js/plugins/images-tab.js:653 +msgid "Running #VMS" +msgstr "#VM démarrées" + +#: ../public/js/plugins/images-tab.js:689 +msgid "Create Image" +msgstr "Créer une image" + +#: ../public/js/plugins/images-tab.js:766 +msgid "Custom attribute name and value must be filled in" +msgstr "Les nom et valeur de l'attribut spécifique doivent être renseignés" + +#: ../public/js/plugins/images-tab.js:814 +msgid "Uploading..." +msgstr "Téléversement..." + +#: ../public/js/plugins/images-tab.js:851 +msgid "There are mandatory parameters missing" +msgstr "Des champs obligatoires ne sont pas remplis" + +#: ../public/js/plugins/images-tab.js:860 +#: ../public/js/plugins/images-tab.js:940 +msgid "Please select a datastore for this image" +msgstr "Choisir l'espace de stockage pour cette image" + +#: ../public/js/plugins/images-tab.js:971 +msgid "Update image properties" +msgstr "Mettre à jour les propriétés de l'image" + +#: ../public/js/plugins/system-tab.js:25 +msgid "Summary of system resources" +msgstr "Synthèse des ressources systèmes" + +#: ../public/js/plugins/system-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:98 +msgid "ACL Rules" +msgstr "Permissions" + +#: ../public/js/plugins/system-tab.js:53 +msgid "Create new Group" +msgstr "Créer un nouveau Groupe" + +#: ../public/js/plugins/system-tab.js:54 +msgid "Create new User" +msgstr "Créer un nouvel Utilisateur" + +#: ../public/js/plugins/system-tab.js:55 +msgid "Create new ACL" +msgstr "Créer une nouvelle Permission" + +#: ../public/js/plugins/system-tab.js:68 +msgid "System Resources" +msgstr "Ressources système" + +#: ../public/js/plugins/system-tab.js:70 +msgid "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs." +msgstr "La gestion des ressources système est accessible uniquement aux utilisateurs membres du groupe oneadmin et permet la gestion des utilisateurs, groupes et permissions OpenNebula." + +#: ../public/js/plugins/system-tab.js:87 +msgid "System" +msgstr "Système" + +#: ../public/js/plugins/dashboard-tab.js:58 +msgid "Hosts (total/active)" +msgstr "Hôtes (total/actifs)" + +#: ../public/js/plugins/dashboard-tab.js:113 +msgid "Host" +msgstr "Hôte" + +#: ../public/js/plugins/dashboard-tab.js:122 +msgid "ACL" +msgstr "Permission" + +#: ../public/js/plugins/dashboard-tab.js:138 +msgid "Hosts CPU" +msgstr "Serveurs hôtes - CPU" + +#: ../public/js/plugins/dashboard-tab.js:141 +msgid "Hosts memory" +msgstr "Serveurs hôtes - Mémoire" + +#~ msgid "Server (x509)" +#~ msgstr "Serveur (x509)" + +#~ msgid "Show" +#~ msgstr "Afficher" + +#~ msgid "Users & Groups subsystem" +#~ msgstr "Sous-système Utilisateurs & Groupes" + +#~ msgid "Server (Cipher)" +#~ msgstr "Serveur (Cipher)" + +#~ msgid "Default (none)" +#~ msgstr "Défaut (aucun)" + +#~ msgid "Virtual Network Manager" +#~ msgstr "Gestionnaire de réseaux virtuels" + +#~ msgid "Search" +#~ msgstr "Chercher" + +#~ msgid "disabled" +#~ msgstr "désactivé" + +#~ msgid "style" +#~ msgstr "style" diff --git a/src/cloud/occi/lib/ui/public/locale/fr_FR/fr_datatable.txt b/src/sunstone/locale/languages/fr_datatable.txt similarity index 100% rename from src/cloud/occi/lib/ui/public/locale/fr_FR/fr_datatable.txt rename to src/sunstone/locale/languages/fr_datatable.txt diff --git a/src/sunstone/locale/languages/it_IT.po b/src/sunstone/locale/languages/it_IT.po new file mode 100644 index 0000000000..c8f5ff5fae --- /dev/null +++ b/src/sunstone/locale/languages/it_IT.po @@ -0,0 +1,2865 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 14:12+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: it_IT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/sunstone.js:586 +msgid "Previous action" +msgstr "Azione precedente" + +#: ../public/js/sunstone.js:649 ../public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "Conferma azione" + +#: ../public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "Devi confermare questa azione." + +#: ../public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "Vuoi proseguire?" + +#: ../public/js/sunstone.js:660 ../public/js/sunstone.js:692 +#: ../public/js/plugins/vms-tab.js:997 +msgid "OK" +msgstr "OK" + +#: ../public/js/sunstone.js:661 ../public/js/sunstone.js:693 +#: ../public/js/plugins/vms-tab.js:578 ../public/js/plugins/vms-tab.js:998 +msgid "Cancel" +msgstr "Cancella" + +#: ../public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "Devi selezionare qualcosa." + +#: ../public/js/locale.js:35 +msgid "Changing language" +msgstr "Cambiamento linguaggio" + +#: ../public/js/locale.js:36 +msgid "Loading new language... please wait" +msgstr "Caricamento nuovo linguaggio... attendere" + +#: ../public/js/locale.js:89 +msgid "Documentation" +msgstr "Documentazione" + +#: ../public/js/locale.js:90 +msgid "Support" +msgstr "Supporto" + +#: ../public/js/locale.js:91 +msgid "Community" +msgstr "Comunità" + +#: ../public/js/locale.js:92 +msgid "Welcome" +msgstr "Benvenuto" + +#: ../public/js/locale.js:93 +msgid "Sign out" +msgstr "Logout" + +#: ../public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "Inviato" + +#: ../public/js/sunstone-util.js:220 +msgid "Error" +msgstr "Errore" + +#: ../public/js/sunstone-util.js:226 +msgid "Info" +msgstr "Info" + +#: ../public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "Non posso contattare il server, è in esecuzione e raggiungibile?" + +#: ../public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "Rete non raggiungibile. Opennebula attivo?" + +#: ../public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "Non autorizzato" + +#: ../public/js/sunstone-util.js:561 ../public/js/sunstone-util.js:772 +#: ../public/js/plugins/templates-tab.js:441 +#: ../public/js/plugins/images-tab.js:1068 +msgid "Please select" +msgstr "Selezionare" + +#: ../public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "Modifica template" + +#: ../public/js/sunstone-util.js:701 ../public/js/plugins/templates-tab.js:594 +msgid "Please, choose and modify the template you want to update" +msgstr "Scegliere quale template modificare" + +#: ../public/js/sunstone-util.js:703 ../public/js/sunstone-util.js:706 +#: ../public/js/plugins/templates-tab.js:596 +msgid "Select a template" +msgstr "Seleziona un template" + +#: ../public/js/sunstone-util.js:711 ../public/js/plugins/vnets-tab.js:207 +#: ../public/js/plugins/vms-tab.js:153 +#: ../public/js/plugins/datastores-tab.js:121 +#: ../public/js/plugins/templates-tab.js:633 +#: ../public/js/plugins/images-tab.js:249 +msgid "Update" +msgstr "Modifica" + +#: ../public/js/plugins/acls-tab.js:22 +msgid "Access Control Lists" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:29 ../public/js/plugins/acls-tab.js:65 +#: ../public/js/plugins/acls-tab.js:186 ../public/js/plugins/acls-tab.js:204 +#: ../public/js/plugins/acls-tab.js:464 ../public/js/plugins/vnets-tab.js:27 +#: ../public/js/plugins/clusters-tab.js:28 ../public/js/plugins/vms-tab.js:58 +#: ../public/js/plugins/datastores-tab.js:28 +#: ../public/js/plugins/hosts-tab.js:44 +#: ../public/js/plugins/templates-tab.js:27 +#: ../public/js/plugins/users-tab.js:31 ../public/js/plugins/groups-tab.js:29 +#: ../public/js/plugins/images-tab.js:27 +msgid "All" +msgstr "Tutto" + +#: ../public/js/plugins/acls-tab.js:30 ../public/js/plugins/acls-tab.js:207 +#: ../public/js/plugins/vnets-tab.js:28 ../public/js/plugins/vnets-tab.js:547 +#: ../public/js/plugins/clusters-tab.js:29 +#: ../public/js/plugins/clusters-tab.js:385 +#: ../public/js/plugins/clusters-tab.js:460 ../public/js/plugins/vms-tab.js:59 +#: ../public/js/plugins/vms-tab.js:805 +#: ../public/js/plugins/datastores-tab.js:29 +#: ../public/js/plugins/datastores-tab.js:425 +#: ../public/js/plugins/hosts-tab.js:45 +#: ../public/js/plugins/templates-tab.js:28 +#: ../public/js/plugins/templates-tab.js:921 +#: ../public/js/plugins/users-tab.js:32 ../public/js/plugins/groups-tab.js:30 +#: ../public/js/plugins/images-tab.js:28 +#: ../public/js/plugins/images-tab.js:601 +msgid "ID" +msgstr "ID" + +#: ../public/js/plugins/acls-tab.js:31 +msgid "Applies to" +msgstr "Si applica a" + +#: ../public/js/plugins/acls-tab.js:32 ../public/js/plugins/acls-tab.js:53 +msgid "Affected resources" +msgstr "Risorse interessate" + +#: ../public/js/plugins/acls-tab.js:33 +msgid "Resource ID / Owned by" +msgstr "ID risorsa/proprietà di" + +#: ../public/js/plugins/acls-tab.js:34 ../public/js/plugins/acls-tab.js:75 +msgid "Allowed operations" +msgstr "Operazioni consentite" + +#: ../public/js/plugins/acls-tab.js:35 +#, fuzzy +msgid "ACL String" +msgstr "Anteprima stringa ACL" + +#: ../public/js/plugins/acls-tab.js:42 +msgid "This table shows the ACLs rules broken down to easier the reading and meaning of each one. You can show the ACL original string by clicking on Show/Hide columns." +msgstr "" + +#: ../public/js/plugins/acls-tab.js:50 +msgid "This rule applies to" +msgstr "Questa regola si applica a" + +#: ../public/js/plugins/acls-tab.js:54 ../public/js/plugins/acls-tab.js:239 +#: ../public/js/plugins/clusters-tab.js:401 +#: ../public/js/plugins/clusters-tab.js:476 +#: ../public/js/plugins/clusters-tab.js:578 +#: ../public/js/plugins/hosts-tab.js:37 ../public/js/plugins/hosts-tab.js:352 +#: ../public/js/plugins/infra-tab.js:34 +msgid "Hosts" +msgstr "Nodi" + +#: ../public/js/plugins/acls-tab.js:55 ../public/js/plugins/acls-tab.js:260 +#: ../public/js/plugins/clusters-tab.js:21 +#: ../public/js/plugins/clusters-tab.js:214 +#: ../public/js/plugins/infra-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:62 +msgid "Clusters" +msgstr "Clusters" + +#: ../public/js/plugins/acls-tab.js:56 ../public/js/plugins/acls-tab.js:263 +#: ../public/js/plugins/dashboard-users-tab.js:73 +#: ../public/js/plugins/clusters-tab.js:417 +#: ../public/js/plugins/clusters-tab.js:493 +#: ../public/js/plugins/clusters-tab.js:585 +#: ../public/js/plugins/datastores-tab.js:21 +#: ../public/js/plugins/datastores-tab.js:327 +#: ../public/js/plugins/infra-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:86 +msgid "Datastores" +msgstr "Datastores" + +#: ../public/js/plugins/acls-tab.js:57 ../public/js/plugins/acls-tab.js:242 +#: ../public/js/plugins/vms-tab.js:51 ../public/js/plugins/vms-tab.js:611 +msgid "Virtual Machines" +msgstr "Macchine virtuali" + +#: ../public/js/plugins/acls-tab.js:58 ../public/js/plugins/acls-tab.js:245 +#: ../public/js/plugins/dashboard-users-tab.js:69 +#: ../public/js/plugins/vnets-tab.js:20 ../public/js/plugins/vnets-tab.js:462 +#: ../public/js/plugins/clusters-tab.js:429 +#: ../public/js/plugins/clusters-tab.js:507 +#: ../public/js/plugins/clusters-tab.js:592 +#: ../public/js/plugins/infra-tab.js:42 +#: ../public/js/plugins/vresources-tab.js:43 +#: ../public/js/plugins/dashboard-tab.js:82 +msgid "Virtual Networks" +msgstr "Reti Virtuali" + +#: ../public/js/plugins/acls-tab.js:59 ../public/js/plugins/acls-tab.js:248 +#: ../public/js/plugins/dashboard-users-tab.js:77 +#: ../public/js/plugins/datastores-tab.js:457 +#: ../public/js/plugins/vresources-tab.js:47 +#: ../public/js/plugins/images-tab.js:20 +#: ../public/js/plugins/images-tab.js:509 +#: ../public/js/plugins/dashboard-tab.js:90 +msgid "Images" +msgstr "Immagini" + +#: ../public/js/plugins/acls-tab.js:60 +#: ../public/js/plugins/templates-tab.js:20 +#: ../public/js/plugins/templates-tab.js:825 +msgid "Templates" +msgstr "Template" + +#: ../public/js/plugins/acls-tab.js:61 ../public/js/plugins/acls-tab.js:254 +#: ../public/js/plugins/acls-tab.js:456 ../public/js/plugins/users-tab.js:24 +#: ../public/js/plugins/users-tab.js:315 ../public/js/plugins/groups-tab.js:32 +#: ../public/js/plugins/system-tab.js:34 +#: ../public/js/plugins/dashboard-tab.js:94 +msgid "Users" +msgstr "Utenti" + +#: ../public/js/plugins/acls-tab.js:62 ../public/js/plugins/acls-tab.js:257 +#: ../public/js/plugins/acls-tab.js:461 ../public/js/plugins/groups-tab.js:22 +#: ../public/js/plugins/groups-tab.js:147 +#: ../public/js/plugins/system-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:66 +msgid "Groups" +msgstr "Gruppi" + +#: ../public/js/plugins/acls-tab.js:64 +msgid "Resource subset" +msgstr "Sottoinsieme risorsa" + +#: ../public/js/plugins/acls-tab.js:66 +msgid "Specific ID" +msgstr "ID specifico" + +#: ../public/js/plugins/acls-tab.js:67 +msgid "Owned by group" +msgstr "Posseduto dal gruppo" + +#: ../public/js/plugins/acls-tab.js:69 +msgid "Resource ID" +msgstr "ID risorsa" + +#: ../public/js/plugins/acls-tab.js:72 ../public/js/plugins/acls-tab.js:211 +#: ../public/js/plugins/vnets-tab.js:30 ../public/js/plugins/vnets-tab.js:187 +#: ../public/js/plugins/vnets-tab.js:563 ../public/js/plugins/vnets-tab.js:588 +#: ../public/js/plugins/vms-tab.js:61 ../public/js/plugins/vms-tab.js:132 +#: ../public/js/plugins/vms-tab.js:817 ../public/js/plugins/vms-tab.js:846 +#: ../public/js/plugins/datastores-tab.js:31 +#: ../public/js/plugins/datastores-tab.js:101 +#: ../public/js/plugins/datastores-tab.js:437 +#: ../public/js/plugins/datastores-tab.js:466 +#: ../public/js/plugins/templates-tab.js:30 +#: ../public/js/plugins/templates-tab.js:613 +#: ../public/js/plugins/templates-tab.js:933 +#: ../public/js/plugins/templates-tab.js:946 +#: ../public/js/plugins/users-tab.js:34 ../public/js/plugins/users-tab.js:403 +#: ../public/js/plugins/images-tab.js:30 +#: ../public/js/plugins/images-tab.js:230 +#: ../public/js/plugins/images-tab.js:617 +#: ../public/js/plugins/images-tab.js:662 +#: ../public/js/plugins/dashboard-tab.js:121 +msgid "Group" +msgstr "Gruppo" + +#: ../public/js/plugins/acls-tab.js:76 ../public/js/plugins/vnets-tab.js:177 +#: ../public/js/plugins/vms-tab.js:122 +#: ../public/js/plugins/datastores-tab.js:91 +#: ../public/js/plugins/templates-tab.js:603 +#: ../public/js/plugins/images-tab.js:220 +msgid "Use" +msgstr "Usa" + +#: ../public/js/plugins/acls-tab.js:77 ../public/js/plugins/vnets-tab.js:178 +#: ../public/js/plugins/vms-tab.js:123 +#: ../public/js/plugins/datastores-tab.js:92 +#: ../public/js/plugins/templates-tab.js:604 +#: ../public/js/plugins/images-tab.js:221 +msgid "Manage" +msgstr "Gestisci" + +#: ../public/js/plugins/acls-tab.js:78 +msgid "Administrate" +msgstr "Amministra" + +#: ../public/js/plugins/acls-tab.js:79 ../public/js/plugins/acls-tab.js:87 +#: ../public/js/plugins/vnets-tab.js:140 ../public/js/plugins/vnets-tab.js:157 +#: ../public/js/plugins/clusters-tab.js:45 ../public/js/plugins/vms-tab.js:105 +#: ../public/js/plugins/datastores-tab.js:74 +#: ../public/js/plugins/hosts-tab.js:132 +#: ../public/js/plugins/templates-tab.js:566 +#: ../public/js/plugins/templates-tab.js:583 +#: ../public/js/plugins/users-tab.js:73 ../public/js/plugins/groups-tab.js:53 +#: ../public/js/plugins/images-tab.js:178 +#: ../public/js/plugins/images-tab.js:196 +msgid "Create" +msgstr "Crea" + +#: ../public/js/plugins/acls-tab.js:81 +msgid "ACL String preview" +msgstr "Anteprima stringa ACL" + +#: ../public/js/plugins/acls-tab.js:88 ../public/js/plugins/vnets-tab.js:142 +#: ../public/js/plugins/vnets-tab.js:159 +#: ../public/js/plugins/clusters-tab.js:46 ../public/js/plugins/vms-tab.js:106 +#: ../public/js/plugins/datastores-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:133 +#: ../public/js/plugins/templates-tab.js:568 +#: ../public/js/plugins/templates-tab.js:585 +#: ../public/js/plugins/users-tab.js:74 ../public/js/plugins/users-tab.js:90 +#: ../public/js/plugins/groups-tab.js:54 +#: ../public/js/plugins/images-tab.js:179 +#: ../public/js/plugins/images-tab.js:198 +msgid "Reset" +msgstr "Reset" + +#: ../public/js/plugins/acls-tab.js:148 ../public/js/plugins/vnets-tab.js:407 +#: ../public/js/plugins/clusters-tab.js:181 +#: ../public/js/plugins/vms-tab.js:469 +#: ../public/js/plugins/datastores-tab.js:273 +#: ../public/js/plugins/hosts-tab.js:296 +#: ../public/js/plugins/templates-tab.js:780 +#: ../public/js/plugins/users-tab.js:254 +#: ../public/js/plugins/groups-tab.js:125 +#: ../public/js/plugins/images-tab.js:442 +msgid "Refresh list" +msgstr "Aggiorna lista" + +#: ../public/js/plugins/acls-tab.js:153 ../public/js/plugins/vnets-tab.js:413 +#: ../public/js/plugins/clusters-tab.js:186 +#: ../public/js/plugins/vms-tab.js:475 +#: ../public/js/plugins/datastores-tab.js:278 +#: ../public/js/plugins/hosts-tab.js:301 +#: ../public/js/plugins/templates-tab.js:785 +#: ../public/js/plugins/users-tab.js:259 +#: ../public/js/plugins/images-tab.js:447 +msgid "+ New" +msgstr "+ Nuovo" + +#: ../public/js/plugins/acls-tab.js:157 ../public/js/plugins/vnets-tab.js:446 +#: ../public/js/plugins/clusters-tab.js:190 +#: ../public/js/plugins/vms-tab.js:586 +#: ../public/js/plugins/datastores-tab.js:310 +#: ../public/js/plugins/templates-tab.js:813 +#: ../public/js/plugins/users-tab.js:303 +#: ../public/js/plugins/groups-tab.js:142 +#: ../public/js/plugins/images-tab.js:491 +msgid "Delete" +msgstr "Cancella" + +#: ../public/js/plugins/acls-tab.js:162 +msgid "ACLs" +msgstr "ACL" + +#: ../public/js/plugins/acls-tab.js:189 +#: ../public/js/plugins/dashboard-tab.js:120 +msgid "User" +msgstr "Utente" + +#: ../public/js/plugins/acls-tab.js:193 +msgid "Group " +msgstr "Grupoi" + +#: ../public/js/plugins/acls-tab.js:251 +#: ../public/js/plugins/dashboard-users-tab.js:58 +#: ../public/js/plugins/vresources-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:70 +msgid "VM Templates" +msgstr "Templates VM" + +#: ../public/js/plugins/acls-tab.js:318 +msgid "Create ACL" +msgstr "Crea ACL" + +#: ../public/js/plugins/acls-tab.js:406 +msgid "Please specify to who this ACL applies" +msgstr "Indicare a chi si appplica questa ACL" + +#: ../public/js/plugins/acls-tab.js:412 +msgid "Please select at least one resource" +msgstr "Selezionare almeno una risorsa" + +#: ../public/js/plugins/acls-tab.js:421 +msgid "Please provide a resource ID for the resource(s) in this rule" +msgstr "Indicate un resource ID per le risorse in questa regola" + +#: ../public/js/plugins/dashboard-users-tab.js:53 +#: ../public/js/plugins/dashboard-tab.js:53 +msgid "Summary of resources" +msgstr "Sommario risorse" + +#: ../public/js/plugins/dashboard-users-tab.js:62 +#: ../public/js/plugins/vresources-tab.js:35 +#: ../public/js/plugins/dashboard-tab.js:75 +msgid "VM Instances" +msgstr "Istanze VM" + +#: ../public/js/plugins/dashboard-users-tab.js:63 +#: ../public/js/plugins/vresources-tab.js:36 +#: ../public/js/plugins/dashboard-tab.js:76 +msgid "total" +msgstr "totale" + +#: ../public/js/plugins/dashboard-users-tab.js:64 +#: ../public/js/plugins/vresources-tab.js:37 +#: ../public/js/plugins/dashboard-tab.js:77 +msgid "running" +msgstr "in esecuzione" + +#: ../public/js/plugins/dashboard-users-tab.js:65 +#: ../public/js/plugins/vresources-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:78 +msgid "failed" +msgstr "fallito" + +#: ../public/js/plugins/dashboard-users-tab.js:89 +#: ../public/js/plugins/infra-tab.js:54 +#: ../public/js/plugins/vresources-tab.js:59 +#: ../public/js/plugins/system-tab.js:50 +#: ../public/js/plugins/dashboard-tab.js:110 +msgid "Quickstart" +msgstr "Quickstart" + +#: ../public/js/plugins/dashboard-users-tab.js:91 +#: ../public/js/plugins/dashboard-tab.js:112 +msgid "Create new" +msgstr "Crea nuovo" + +#: ../public/js/plugins/dashboard-users-tab.js:92 +#: ../public/js/plugins/dashboard-tab.js:115 +msgid "VM Instance" +msgstr "Istanza VM" + +#: ../public/js/plugins/dashboard-users-tab.js:93 +#: ../public/js/plugins/vms-tab.js:885 +#: ../public/js/plugins/dashboard-tab.js:116 +msgid "VM Template" +msgstr "Template VM" + +#: ../public/js/plugins/dashboard-users-tab.js:94 +#: ../public/js/plugins/vnets-tab.js:543 +#: ../public/js/plugins/dashboard-tab.js:117 +msgid "Virtual Network" +msgstr "Rete virtuale" + +#: ../public/js/plugins/dashboard-users-tab.js:95 +#: ../public/js/plugins/templates-tab.js:194 +#: ../public/js/plugins/templates-tab.js:199 +#: ../public/js/plugins/images-tab.js:597 +#: ../public/js/plugins/dashboard-tab.js:119 +msgid "Image" +msgstr "Immagine" + +#: ../public/js/plugins/dashboard-users-tab.js:108 +#: ../public/js/plugins/dashboard-tab.js:135 +msgid "Historical monitoring information" +msgstr "Storico delle informazioni di monitoraggio" + +#: ../public/js/plugins/dashboard-users-tab.js:111 +#: ../public/js/plugins/dashboard-tab.js:144 +msgid "Total VM count" +msgstr "Numero VM totale" + +#: ../public/js/plugins/dashboard-users-tab.js:114 +msgid "Total VM CPU" +msgstr "VM CPU totali" + +#: ../public/js/plugins/dashboard-users-tab.js:117 +msgid "Total VM Memory" +msgstr "Memoria VM totale" + +#: ../public/js/plugins/dashboard-users-tab.js:120 +#: ../public/js/plugins/dashboard-tab.js:147 +msgid "VM Network stats" +msgstr "Statistiche di rete VM" + +#: ../public/js/plugins/dashboard-users-tab.js:133 +#: ../public/js/plugins/dashboard-tab.js:160 +msgid "Dashboard" +msgstr "Dashboard" + +#: ../public/js/plugins/vnets-tab.js:29 ../public/js/plugins/vnets-tab.js:181 +#: ../public/js/plugins/vnets-tab.js:559 ../public/js/plugins/vnets-tab.js:584 +#: ../public/js/plugins/vms-tab.js:60 ../public/js/plugins/vms-tab.js:126 +#: ../public/js/plugins/vms-tab.js:813 ../public/js/plugins/vms-tab.js:842 +#: ../public/js/plugins/datastores-tab.js:30 +#: ../public/js/plugins/datastores-tab.js:95 +#: ../public/js/plugins/datastores-tab.js:433 +#: ../public/js/plugins/datastores-tab.js:462 +#: ../public/js/plugins/templates-tab.js:29 +#: ../public/js/plugins/templates-tab.js:607 +#: ../public/js/plugins/templates-tab.js:929 +#: ../public/js/plugins/templates-tab.js:942 +#: ../public/js/plugins/images-tab.js:29 +#: ../public/js/plugins/images-tab.js:224 +#: ../public/js/plugins/images-tab.js:613 +#: ../public/js/plugins/images-tab.js:658 +msgid "Owner" +msgstr "Proprietario" + +#: ../public/js/plugins/vnets-tab.js:31 ../public/js/plugins/vnets-tab.js:55 +#: ../public/js/plugins/vnets-tab.js:125 ../public/js/plugins/vnets-tab.js:551 +#: ../public/js/plugins/clusters-tab.js:30 +#: ../public/js/plugins/clusters-tab.js:41 +#: ../public/js/plugins/clusters-tab.js:389 +#: ../public/js/plugins/clusters-tab.js:464 +#: ../public/js/plugins/clusters-tab.js:672 ../public/js/plugins/vms-tab.js:62 +#: ../public/js/plugins/vms-tab.js:809 +#: ../public/js/plugins/datastores-tab.js:32 +#: ../public/js/plugins/datastores-tab.js:47 +#: ../public/js/plugins/datastores-tab.js:429 +#: ../public/js/plugins/hosts-tab.js:46 ../public/js/plugins/hosts-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:494 +#: ../public/js/plugins/templates-tab.js:31 +#: ../public/js/plugins/templates-tab.js:70 +#: ../public/js/plugins/templates-tab.js:478 +#: ../public/js/plugins/templates-tab.js:543 +#: ../public/js/plugins/templates-tab.js:925 +#: ../public/js/plugins/users-tab.js:33 ../public/js/plugins/groups-tab.js:31 +#: ../public/js/plugins/images-tab.js:31 ../public/js/plugins/images-tab.js:62 +#: ../public/js/plugins/images-tab.js:164 +#: ../public/js/plugins/images-tab.js:605 +msgid "Name" +msgstr "Nome" + +#: ../public/js/plugins/vnets-tab.js:32 ../public/js/plugins/vnets-tab.js:555 +#: ../public/js/plugins/clusters-tab.js:676 +#: ../public/js/plugins/datastores-tab.js:33 +#: ../public/js/plugins/datastores-tab.js:49 +#: ../public/js/plugins/datastores-tab.js:441 +#: ../public/js/plugins/hosts-tab.js:47 ../public/js/plugins/hosts-tab.js:125 +#: ../public/js/plugins/hosts-tab.js:498 +#: ../public/js/plugins/dashboard-tab.js:114 +msgid "Cluster" +msgstr "Cluster" + +#: ../public/js/plugins/vnets-tab.js:33 ../public/js/plugins/vms-tab.js:1072 +#: ../public/js/plugins/templates-tab.js:222 +#: ../public/js/plugins/templates-tab.js:404 +#: ../public/js/plugins/images-tab.js:34 ../public/js/plugins/images-tab.js:80 +#: ../public/js/plugins/images-tab.js:621 +msgid "Type" +msgstr "Tipo" + +#: ../public/js/plugins/vnets-tab.js:34 ../public/js/plugins/vnets-tab.js:68 +#: ../public/js/plugins/vnets-tab.js:567 +#: ../public/js/plugins/templates-tab.js:319 +msgid "Bridge" +msgstr "Bridge" + +#: ../public/js/plugins/vnets-tab.js:35 +msgid "Total Leases" +msgstr "Totale lease" + +#: ../public/js/plugins/vnets-tab.js:42 +msgid "Tip: edit the leases of a network by clicking on one and going to the lease management tab." +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:49 ../public/js/plugins/images-tab.js:52 +msgid "Wizard" +msgstr "Wizard" + +#: ../public/js/plugins/vnets-tab.js:50 +#: ../public/js/plugins/templates-tab.js:45 +#: ../public/js/plugins/images-tab.js:53 +msgid "Advanced mode" +msgstr "Modalità avanzata" + +#: ../public/js/plugins/vnets-tab.js:60 +msgid "Network mode" +msgstr "Modo di rete" + +#: ../public/js/plugins/vnets-tab.js:62 +#: ../public/js/plugins/templates-tab.js:162 +#: ../public/js/plugins/templates-tab.js:171 +msgid "Default" +msgstr "Default" + +#: ../public/js/plugins/vnets-tab.js:63 ../public/js/plugins/hosts-tab.js:113 +msgid "802.1Q" +msgstr "802.1Q" + +#: ../public/js/plugins/vnets-tab.js:64 +msgid "Etables" +msgstr "Etables" + +#: ../public/js/plugins/vnets-tab.js:65 ../public/js/plugins/hosts-tab.js:115 +msgid "Open vSwitch" +msgstr "Open vSwitch" + +#: ../public/js/plugins/vnets-tab.js:66 +#: ../public/js/plugins/datastores-tab.js:55 +#: ../public/js/plugins/hosts-tab.js:84 ../public/js/plugins/hosts-tab.js:98 +#: ../public/js/plugins/hosts-tab.js:116 +msgid "VMware" +msgstr "VMware" + +#: ../public/js/plugins/vnets-tab.js:70 ../public/js/plugins/vnets-tab.js:575 +msgid "Physical device" +msgstr "Device fisico" + +#: ../public/js/plugins/vnets-tab.js:72 ../public/js/plugins/vnets-tab.js:571 +msgid "VLAN" +msgstr "VLAN" + +#: ../public/js/plugins/vnets-tab.js:74 +#: ../public/js/plugins/templates-tab.js:252 +#: ../public/js/plugins/templates-tab.js:261 +#: ../public/js/plugins/templates-tab.js:269 +msgid "Yes" +msgstr "Si" + +#: ../public/js/plugins/vnets-tab.js:75 +#: ../public/js/plugins/templates-tab.js:253 +#: ../public/js/plugins/templates-tab.js:260 +#: ../public/js/plugins/templates-tab.js:268 +msgid "No" +msgstr "No" + +#: ../public/js/plugins/vnets-tab.js:77 ../public/js/plugins/vnets-tab.js:579 +msgid "VLAN ID" +msgstr "ID VLAN" + +#: ../public/js/plugins/vnets-tab.js:81 +msgid "Network type" +msgstr "Tipo di rete" + +#: ../public/js/plugins/vnets-tab.js:82 +msgid "Fixed network" +msgstr "Rete fissa" + +#: ../public/js/plugins/vnets-tab.js:83 +msgid "Ranged network" +msgstr "Ranged network" + +#: ../public/js/plugins/vnets-tab.js:89 +msgid "Lease IP" +msgstr "Lease IP" + +#: ../public/js/plugins/vnets-tab.js:91 +msgid "Lease MAC (opt):" +msgstr "Lease MAC (opzionale)" + +#: ../public/js/plugins/vnets-tab.js:95 ../public/js/plugins/vnets-tab.js:129 +#: ../public/js/plugins/vnets-tab.js:649 +#: ../public/js/plugins/templates-tab.js:274 +#: ../public/js/plugins/templates-tab.js:386 +#: ../public/js/plugins/templates-tab.js:421 +#: ../public/js/plugins/templates-tab.js:488 +#: ../public/js/plugins/templates-tab.js:553 +#: ../public/js/plugins/images-tab.js:168 +msgid "Add" +msgstr "Aggiungi" + +#: ../public/js/plugins/vnets-tab.js:98 ../public/js/plugins/vnets-tab.js:130 +#: ../public/js/plugins/templates-tab.js:275 +#: ../public/js/plugins/templates-tab.js:387 +#: ../public/js/plugins/templates-tab.js:422 +#: ../public/js/plugins/templates-tab.js:489 +#: ../public/js/plugins/templates-tab.js:554 +#: ../public/js/plugins/images-tab.js:169 +msgid "Remove selected" +msgstr "Rimuovi il selezionato" + +#: ../public/js/plugins/vnets-tab.js:100 +msgid "Current leases" +msgstr "Lease attuali" + +#: ../public/js/plugins/vnets-tab.js:108 +msgid "Network Address" +msgstr "Indirizzo di rete" + +#: ../public/js/plugins/vnets-tab.js:110 +msgid "Network Mask" +msgstr "Maschera di rete" + +#: ../public/js/plugins/vnets-tab.js:112 +msgid "Define a subnet by IP range" +msgstr "Definisci una subnet tramite un range IP" + +#: ../public/js/plugins/vnets-tab.js:114 ../public/js/plugins/vnets-tab.js:631 +msgid "IP Start" +msgstr "IP inizio" + +#: ../public/js/plugins/vnets-tab.js:116 ../public/js/plugins/vnets-tab.js:635 +msgid "IP End" +msgstr "IP fine" + +#: ../public/js/plugins/vnets-tab.js:127 +#: ../public/js/plugins/templates-tab.js:483 +#: ../public/js/plugins/templates-tab.js:548 +#: ../public/js/plugins/images-tab.js:166 +msgid "Value" +msgstr "Valore" + +#: ../public/js/plugins/vnets-tab.js:132 +#: ../public/js/plugins/images-tab.js:171 +msgid "Custom attributes" +msgstr "Attributi custom" + +#: ../public/js/plugins/vnets-tab.js:149 +msgid "Write the Virtual Network template here" +msgstr "Scrivi il template della rete virtuale qui" + +#: ../public/js/plugins/vnets-tab.js:168 +msgid "Please, choose and modify the virtual network you want to update" +msgstr "Scegliere quale rete virtuale modificare" + +#: ../public/js/plugins/vnets-tab.js:170 +msgid "Select a network" +msgstr "Seleziona una rete" + +#: ../public/js/plugins/vnets-tab.js:176 ../public/js/plugins/vnets-tab.js:582 +#: ../public/js/plugins/vms-tab.js:121 +#: ../public/js/plugins/datastores-tab.js:90 +#: ../public/js/plugins/datastores-tab.js:460 +#: ../public/js/plugins/templates-tab.js:602 +#: ../public/js/plugins/templates-tab.js:940 +#: ../public/js/plugins/images-tab.js:219 +#: ../public/js/plugins/images-tab.js:656 +msgid "Permissions" +msgstr "Permessi" + +#: ../public/js/plugins/vnets-tab.js:179 ../public/js/plugins/vms-tab.js:124 +#: ../public/js/plugins/datastores-tab.js:93 +#: ../public/js/plugins/templates-tab.js:605 +#: ../public/js/plugins/images-tab.js:222 +msgid "Admin" +msgstr "Admin" + +#: ../public/js/plugins/vnets-tab.js:193 ../public/js/plugins/vnets-tab.js:592 +#: ../public/js/plugins/vms-tab.js:138 ../public/js/plugins/vms-tab.js:850 +#: ../public/js/plugins/datastores-tab.js:107 +#: ../public/js/plugins/datastores-tab.js:470 +#: ../public/js/plugins/templates-tab.js:619 +#: ../public/js/plugins/templates-tab.js:950 +#: ../public/js/plugins/images-tab.js:236 +#: ../public/js/plugins/images-tab.js:666 +msgid "Other" +msgstr "Altro" + +#: ../public/js/plugins/vnets-tab.js:200 ../public/js/plugins/vms-tab.js:145 +#: ../public/js/plugins/templates-tab.js:626 +#: ../public/js/plugins/templates-tab.js:917 +#: ../public/js/plugins/templates-tab.js:956 +#: ../public/js/plugins/templates-tab.js:958 +#: ../public/js/plugins/images-tab.js:243 +msgid "Template" +msgstr "Template" + +#: ../public/js/plugins/vnets-tab.js:418 ../public/js/plugins/vms-tab.js:481 +#: ../public/js/plugins/datastores-tab.js:283 +#: ../public/js/plugins/templates-tab.js:789 +#: ../public/js/plugins/users-tab.js:263 +#: ../public/js/plugins/images-tab.js:451 +msgid "Update properties" +msgstr "Modifica proprietà" + +#: ../public/js/plugins/vnets-tab.js:423 +#: ../public/js/plugins/datastores-tab.js:289 +#: ../public/js/plugins/hosts-tab.js:312 +msgid "Select cluster" +msgstr "Selezionare un cluster" + +#: ../public/js/plugins/vnets-tab.js:425 +#: ../public/js/plugins/datastores-tab.js:291 +#: ../public/js/plugins/hosts-tab.js:314 +msgid "Select the destination cluster:" +msgstr "Selezionare il cluster di destinazione" + +#: ../public/js/plugins/vnets-tab.js:430 ../public/js/plugins/vms-tab.js:487 +#: ../public/js/plugins/datastores-tab.js:296 +#: ../public/js/plugins/templates-tab.js:798 +#: ../public/js/plugins/images-tab.js:456 +msgid "Change owner" +msgstr "Cambia proprietario" + +#: ../public/js/plugins/vnets-tab.js:432 ../public/js/plugins/vms-tab.js:489 +#: ../public/js/plugins/datastores-tab.js:298 +#: ../public/js/plugins/templates-tab.js:800 +#: ../public/js/plugins/images-tab.js:458 +msgid "Select the new owner" +msgstr "Seleziona il nuovo proprietario" + +#: ../public/js/plugins/vnets-tab.js:438 ../public/js/plugins/vms-tab.js:495 +#: ../public/js/plugins/datastores-tab.js:303 +#: ../public/js/plugins/templates-tab.js:805 +#: ../public/js/plugins/users-tab.js:272 +#: ../public/js/plugins/images-tab.js:463 +msgid "Change group" +msgstr "Cambia gruppo" + +#: ../public/js/plugins/vnets-tab.js:440 ../public/js/plugins/vms-tab.js:497 +#: ../public/js/plugins/datastores-tab.js:305 +#: ../public/js/plugins/templates-tab.js:807 +#: ../public/js/plugins/images-tab.js:465 +msgid "Select the new group" +msgstr "Seleziona il nuovo gruppo" + +#: ../public/js/plugins/vnets-tab.js:452 +msgid "Virtual network information" +msgstr "Informazioni sulla rete virtuale" + +#: ../public/js/plugins/vnets-tab.js:456 +msgid "Lease management" +msgstr "Gestione Lease" + +#: ../public/js/plugins/vnets-tab.js:544 +#: ../public/js/plugins/templates-tab.js:918 +#: ../public/js/plugins/images-tab.js:598 +msgid "information" +msgstr "Informazioni" + +#: ../public/js/plugins/vnets-tab.js:599 +msgid "Virtual Network template (attributes)" +msgstr "Template rete virtuale (attributi)" + +#: ../public/js/plugins/vnets-tab.js:607 +msgid "Virtual Network information" +msgstr "Informazioni sulla rete virtuale" + +#: ../public/js/plugins/vnets-tab.js:626 +msgid "Leases information" +msgstr "Informazioni Lease" + +#: ../public/js/plugins/vnets-tab.js:639 +msgid "Network mask" +msgstr "maschera di rete" + +#: ../public/js/plugins/vnets-tab.js:643 +msgid "Hold lease" +msgstr "Trattieni lease" + +#: ../public/js/plugins/vnets-tab.js:644 ../public/js/plugins/vms-tab.js:534 +msgid "Hold" +msgstr "Trattieni" + +#: ../public/js/plugins/vnets-tab.js:648 +msgid "Add lease" +msgstr "Aggiungi lease" + +#: ../public/js/plugins/vnets-tab.js:658 +msgid "No leases to show" +msgstr "Nessun lease da mostrare" + +#: ../public/js/plugins/vnets-tab.js:703 +msgid "hold" +msgstr "trattieni" + +#: ../public/js/plugins/vnets-tab.js:703 +#, fuzzy +msgid "delete" +msgstr "Cancella" + +#: ../public/js/plugins/vnets-tab.js:706 +msgid "Used by VM" +msgstr "Usato dalla VM" + +#: ../public/js/plugins/vnets-tab.js:709 +msgid "release" +msgstr "rilascia" + +#: ../public/js/plugins/vnets-tab.js:722 +msgid "Create Virtual Network" +msgstr "Crea rete virtuale" + +#: ../public/js/plugins/vnets-tab.js:791 +msgid "Please provide a lease IP" +msgstr "Indicate un IP lease" + +#: ../public/js/plugins/vnets-tab.js:857 +msgid "Virtual Network name missing!" +msgstr "Nome della rete virtuale mancante!" + +#: ../public/js/plugins/vnets-tab.js:941 +msgid "There are missing network parameters" +msgstr "Ci sono parametri di rete mancanti" + +#: ../public/js/plugins/vnets-tab.js:993 +msgid "Update network properties" +msgstr "Modifica proprietà di rete" + +#: ../public/js/plugins/vnets-tab.js:1018 ../public/js/plugins/vms-tab.js:1269 +#: ../public/js/plugins/datastores-tab.js:572 +#: ../public/js/plugins/templates-tab.js:2044 +#: ../public/js/plugins/images-tab.js:995 +msgid "Loading" +msgstr "Caricamento" + +#: ../public/js/plugins/clusters-tab.js:197 +#: ../public/js/plugins/clusters-tab.js:660 +#: ../public/js/plugins/clusters-tab.js:664 +#: ../public/js/plugins/hosts-tab.js:336 ../public/js/plugins/hosts-tab.js:482 +#: ../public/js/plugins/hosts-tab.js:486 +msgid "Host information" +msgstr "Informazioni nodo" + +#: ../public/js/plugins/clusters-tab.js:202 +#: ../public/js/plugins/clusters-tab.js:736 +#: ../public/js/plugins/clusters-tab.js:739 +#: ../public/js/plugins/hosts-tab.js:341 ../public/js/plugins/hosts-tab.js:558 +#: ../public/js/plugins/hosts-tab.js:561 +msgid "Host template" +msgstr "Template nodo" + +#: ../public/js/plugins/clusters-tab.js:206 +#: ../public/js/plugins/clusters-tab.js:745 +#: ../public/js/plugins/vms-tab.js:857 ../public/js/plugins/vms-tab.js:899 +#: ../public/js/plugins/hosts-tab.js:345 ../public/js/plugins/hosts-tab.js:567 +msgid "Monitoring information" +msgstr "Informazioni di monitoraggio" + +#: ../public/js/plugins/clusters-tab.js:339 +msgid "No datastores in this cluster" +msgstr "Non ci sono datastore in questo cluster" + +#: ../public/js/plugins/clusters-tab.js:349 +msgid "No hosts in this cluster" +msgstr "Non ci sono nodi in questo cluster" + +#: ../public/js/plugins/clusters-tab.js:359 +msgid "No virtual networks in this cluster" +msgstr "Non ci sono reti virtuali in questo cluster" + +#: ../public/js/plugins/clusters-tab.js:380 +#: ../public/js/plugins/clusters-tab.js:455 +msgid "Cluster information" +msgstr "Informazioni sul cluster" + +#: ../public/js/plugins/clusters-tab.js:404 +#: ../public/js/plugins/clusters-tab.js:480 +msgid "Create new host" +msgstr "Crea nuovo nodo" + +#: ../public/js/plugins/clusters-tab.js:405 +msgid "Manage unclustered hosts" +msgstr "Gestisci nodi non appartenenti a un cluster" + +#: ../public/js/plugins/clusters-tab.js:420 +#: ../public/js/plugins/clusters-tab.js:498 +msgid "Create new datastore" +msgstr "Crea nuovo datastore" + +#: ../public/js/plugins/clusters-tab.js:421 +msgid "Manage unclustered datastores" +msgstr "Gestisci datastore non appartenenti a un cluster" + +#: ../public/js/plugins/clusters-tab.js:432 +#: ../public/js/plugins/clusters-tab.js:512 +msgid "Create new virtual network" +msgstr "Crea una nuova rete virtuale" + +#: ../public/js/plugins/clusters-tab.js:433 +msgid "Manage unclustered virtual networks" +msgstr "Gestisci reti virtuali non appartenenti a un cluster" + +#: ../public/js/plugins/clusters-tab.js:479 +msgid "Current number of hosts in this cluster" +msgstr "Numero attuale di nodi in questo cluster" + +#: ../public/js/plugins/clusters-tab.js:481 +msgid "Manage cluster hosts" +msgstr "Gestisci nodi del cluster" + +#: ../public/js/plugins/clusters-tab.js:496 +msgid "Current number of datastores in this cluster" +msgstr "Numero attuale di datastore in questo cluster" + +#: ../public/js/plugins/clusters-tab.js:499 +msgid "Manage cluster datastores" +msgstr "Gestisci datastore del cluster" + +#: ../public/js/plugins/clusters-tab.js:510 +msgid "Current number of virtual networks in this cluster" +msgstr "Numero attuale di reti virtuali in questo cluster" + +#: ../public/js/plugins/clusters-tab.js:513 +msgid "Manage cluster virtual networks" +msgstr "Gestisci reti virtuali del cluster" + +#: ../public/js/plugins/clusters-tab.js:668 +#: ../public/js/plugins/hosts-tab.js:490 ../public/js/plugins/users-tab.js:399 +msgid "id" +msgstr "id" + +#: ../public/js/plugins/clusters-tab.js:680 +#: ../public/js/plugins/vms-tab.js:821 ../public/js/plugins/hosts-tab.js:502 +#: ../public/js/plugins/images-tab.js:649 +msgid "State" +msgstr "Stato" + +#: ../public/js/plugins/clusters-tab.js:684 +#: ../public/js/plugins/hosts-tab.js:52 ../public/js/plugins/hosts-tab.js:506 +msgid "IM MAD" +msgstr "IM MAD" + +#: ../public/js/plugins/clusters-tab.js:688 +#: ../public/js/plugins/hosts-tab.js:53 ../public/js/plugins/hosts-tab.js:510 +msgid "VM MAD" +msgstr "VM MAD" + +#: ../public/js/plugins/clusters-tab.js:692 +#: ../public/js/plugins/hosts-tab.js:514 +msgid "VN MAD" +msgstr "VM MAD" + +#: ../public/js/plugins/clusters-tab.js:696 +#: ../public/js/plugins/datastores-tab.js:35 +msgid "TM MAD" +msgstr "TM MAD" + +#: ../public/js/plugins/clusters-tab.js:703 +#: ../public/js/plugins/hosts-tab.js:521 +msgid "Host shares" +msgstr "Share nodi" + +#: ../public/js/plugins/clusters-tab.js:707 +#: ../public/js/plugins/hosts-tab.js:525 +msgid "Max Mem" +msgstr "Max Mem" + +#: ../public/js/plugins/clusters-tab.js:711 +#: ../public/js/plugins/hosts-tab.js:529 +msgid "Used Mem (real)" +msgstr "Memoria utilizzata (reale)" + +#: ../public/js/plugins/clusters-tab.js:715 +#: ../public/js/plugins/hosts-tab.js:533 +msgid "Used Mem (allocated)" +msgstr "Memoria utilizzata (allocata)" + +#: ../public/js/plugins/clusters-tab.js:719 +#: ../public/js/plugins/hosts-tab.js:541 +msgid "Used CPU (real)" +msgstr "CPU utilizzata (reale)" + +#: ../public/js/plugins/clusters-tab.js:723 +#: ../public/js/plugins/hosts-tab.js:545 +msgid "Used CPU (allocated)" +msgstr "CPU utilizzata (allocata)" + +#: ../public/js/plugins/clusters-tab.js:727 +#: ../public/js/plugins/hosts-tab.js:48 ../public/js/plugins/hosts-tab.js:549 +msgid "Running VMs" +msgstr "VM in esecuzione" + +#: ../public/js/plugins/clusters-tab.js:767 +msgid "Create cluster" +msgstr "Crea cluster" + +#: ../public/js/plugins/clusters-tab.js:783 +msgid "Cluster name missing!" +msgstr "Nome del cluster mancante!" + +#: ../public/js/plugins/vms-tab.js:28 ../public/js/plugins/vms-tab.js:64 +#: ../public/js/plugins/templates-tab.js:80 +msgid "CPU" +msgstr "CPU" + +#: ../public/js/plugins/vms-tab.js:33 ../public/js/plugins/vms-tab.js:65 +#: ../public/js/plugins/templates-tab.js:75 +msgid "Memory" +msgstr "Memoria" + +#: ../public/js/plugins/vms-tab.js:38 +msgid "Network transmission" +msgstr "Trasmissione rete" + +#: ../public/js/plugins/vms-tab.js:43 +msgid "Network reception" +msgstr "Ricezione rete" + +#: ../public/js/plugins/vms-tab.js:63 ../public/js/plugins/hosts-tab.js:51 +#: ../public/js/plugins/images-tab.js:37 +msgid "Status" +msgstr "Status" + +#: ../public/js/plugins/vms-tab.js:66 ../public/js/plugins/vms-tab.js:724 +#: ../public/js/plugins/vms-tab.js:829 +msgid "Hostname" +msgstr "Hostname" + +#: ../public/js/plugins/vms-tab.js:67 +msgid "IPs" +msgstr "IPs" + +#: ../public/js/plugins/vms-tab.js:68 +msgid "Start Time" +msgstr "Istante di avvio" + +#: ../public/js/plugins/vms-tab.js:69 +msgid "VNC Access" +msgstr "Accesso VNC" + +#: ../public/js/plugins/vms-tab.js:76 +msgid "CPU, Memory and Start time are hidden columns by default. You can get monitoring graphs by clicking on the desired VM and visiting the monitoring information tab (oneacctd needs to be running for this information to be up to date)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:79 +msgid "VNC console requires previous install of the noVNC addon. Check Sunstone documentation for more information." +msgstr "" + +#: ../public/js/plugins/vms-tab.js:87 +msgid "VM Name" +msgstr "Nome VM" + +#: ../public/js/plugins/vms-tab.js:89 +msgid "Defaults to template name when emtpy" +msgstr "Nome di template di default se vuoto" + +#: ../public/js/plugins/vms-tab.js:92 +msgid "Select template" +msgstr "Seleziona template" + +#: ../public/js/plugins/vms-tab.js:97 +msgid "Deploy # VMs" +msgstr "Deploy # VMs" + +#: ../public/js/plugins/vms-tab.js:99 +#, fuzzy, python-format +msgid "You can use the wildcard %. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them" +msgstr "Puoi usare la wildcard %i. Quando crei più VM, %i sarà sostituito con un numero differente partendo da 0 in ognuna di esse" + +#: ../public/js/plugins/vms-tab.js:113 +msgid "Please, choose and modify the virtual machine you want to update" +msgstr "Scegliere quale VM modificare" + +#: ../public/js/plugins/vms-tab.js:115 +msgid "Select a VM" +msgstr "Seleziona una VM" + +#: ../public/js/plugins/vms-tab.js:503 +msgid "Shutdown" +msgstr "Shutdown" + +#: ../public/js/plugins/vms-tab.js:504 +msgid "This will initiate the shutdown process in the selected VMs" +msgstr "Questo inizierà lo shutdown dei processi nelle VM selezionate" + +#: ../public/js/plugins/vms-tab.js:512 +msgid "Deploy" +msgstr "Deploy" + +#: ../public/js/plugins/vms-tab.js:513 +msgid "This will deploy the selected VMs on the chosen host" +msgstr "Questo effettuerà il deploy delle VM sul nodo selezionato" + +#: ../public/js/plugins/vms-tab.js:519 +msgid "Migrate" +msgstr "Migra" + +#: ../public/js/plugins/vms-tab.js:520 +msgid "This will migrate the selected VMs to the chosen host" +msgstr "Questo effettuerà la migrazione delle VM selezionate nel nodo scelto" + +#: ../public/js/plugins/vms-tab.js:527 +msgid "Live migrate" +msgstr "Live migrate" + +#: ../public/js/plugins/vms-tab.js:528 +msgid "This will live-migrate the selected VMs to the chosen host" +msgstr "Questo effettuerà la live migration delle VM selezionate nel nodo scelto" + +#: ../public/js/plugins/vms-tab.js:535 +msgid "This will hold selected pending VMs from being deployed" +msgstr "Questo tratterrà le VM impedendo il deploy" + +#: ../public/js/plugins/vms-tab.js:539 +msgid "Release" +msgstr "Rilascia" + +#: ../public/js/plugins/vms-tab.js:540 +msgid "This will release held machines" +msgstr "Questo rilascerà le macchine trattenute" + +#: ../public/js/plugins/vms-tab.js:544 +msgid "Suspend" +msgstr "Suspend" + +#: ../public/js/plugins/vms-tab.js:545 +msgid "This will suspend selected machines" +msgstr "Questo effettuerà il suspend delle macchine selezionate" + +#: ../public/js/plugins/vms-tab.js:549 +msgid "Resume" +msgstr "Resume" + +#: ../public/js/plugins/vms-tab.js:550 +msgid "This will resume selected stopped or suspended VMs" +msgstr "Questo effettuerà il resume delle VM ferme o in sospensione" + +#: ../public/js/plugins/vms-tab.js:554 +msgid "Stop" +msgstr "Stop" + +#: ../public/js/plugins/vms-tab.js:559 +msgid "Restart" +msgstr "Restart" + +#: ../public/js/plugins/vms-tab.js:560 +msgid "This will redeploy selected VMs (in UNKNOWN or BOOT state)" +msgstr "Questo effettuerà il redeploy delle VM selezionate in stato UNKNOWN o BOOT" + +#: ../public/js/plugins/vms-tab.js:564 +msgid "Resubmit" +msgstr "Resubmit" + +#: ../public/js/plugins/vms-tab.js:565 +msgid "This will resubmits VMs to PENDING state" +msgstr "Questo effettuerà il resubmit delle VM in stato PENDING" + +#: ../public/js/plugins/vms-tab.js:569 +msgid "Reboot" +msgstr "Reboot" + +#: ../public/js/plugins/vms-tab.js:570 +msgid "This will send a reboot action to running VMs" +msgstr "Questo effettuerà il reboot delle VM in esecuzione" + +#: ../public/js/plugins/vms-tab.js:574 +msgid "Save as" +msgstr "Salva come" + +#: ../public/js/plugins/vms-tab.js:579 +msgid "This will cancel selected VMs" +msgstr "Questo cancellerà le VM selezionate" + +#: ../public/js/plugins/vms-tab.js:587 +msgid "This will delete the selected VMs from the database" +msgstr "Questo cancellerà le VM selezionate dal database" + +#: ../public/js/plugins/vms-tab.js:593 ../public/js/plugins/vms-tab.js:801 +msgid "Virtual Machine information" +msgstr "Informazioni sulla macchina virtuale" + +#: ../public/js/plugins/vms-tab.js:597 ../public/js/plugins/vms-tab.js:888 +msgid "VM template" +msgstr "template VM" + +#: ../public/js/plugins/vms-tab.js:601 ../public/js/plugins/vms-tab.js:894 +msgid "VM log" +msgstr "log VM" + +#: ../public/js/plugins/vms-tab.js:605 ../public/js/plugins/vms-tab.js:904 +msgid "History information" +msgstr "Storico informazioni" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:665 +#: ../public/js/plugins/vms-tab.js:788 +msgid "ACTIVE" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:788 +msgid "SUSPENDED" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:723 +msgid "Sequence" +msgstr "Sequenza" + +#: ../public/js/plugins/vms-tab.js:725 +msgid "Reason" +msgstr "Ragione" + +#: ../public/js/plugins/vms-tab.js:726 +msgid "State change time" +msgstr "Tempo di cambio stato" + +#: ../public/js/plugins/vms-tab.js:727 +msgid "Total time" +msgstr "Tempo totale" + +#: ../public/js/plugins/vms-tab.js:728 +msgid "Prolog time" +msgstr "Tempo di Prolog" + +#: ../public/js/plugins/vms-tab.js:797 +msgid "VM information" +msgstr "Informazioni VM" + +#: ../public/js/plugins/vms-tab.js:825 +msgid "LCM State" +msgstr "Stato LCM" + +#: ../public/js/plugins/vms-tab.js:833 +msgid "Start time" +msgstr "Istante di avvio" + +#: ../public/js/plugins/vms-tab.js:837 +msgid "Deploy ID" +msgstr "Deploy ID" + +#: ../public/js/plugins/vms-tab.js:861 +msgid "Net_TX" +msgstr "Net_TX" + +#: ../public/js/plugins/vms-tab.js:865 +msgid "Net_RX" +msgstr "Net_RX" + +#: ../public/js/plugins/vms-tab.js:869 +msgid "Used Memory" +msgstr "Memoria utilizzata" + +#: ../public/js/plugins/vms-tab.js:873 +msgid "Used CPU" +msgstr "CPU utilizzata" + +#: ../public/js/plugins/vms-tab.js:877 +msgid "VNC Session" +msgstr "Sessione VNC" + +#: ../public/js/plugins/vms-tab.js:926 +msgid "Create Virtual Machine" +msgstr "Crea macchina virtuale (VM)" + +#: ../public/js/plugins/vms-tab.js:949 +msgid "You have not selected a template" +msgstr "Non hai selezionato un template." + +#: ../public/js/plugins/vms-tab.js:987 +msgid "VM Save As" +msgstr "Salva la VM come" + +#: ../public/js/plugins/vms-tab.js:1021 +msgid "Skipping VM " +msgstr "Skipping VM" + +#: ../public/js/plugins/vms-tab.js:1022 +msgid "No disk id or image name specified" +msgstr "ID disco o nome immagine non specificato" + +#: ../public/js/plugins/vms-tab.js:1059 +msgid "Saveas for VM with ID" +msgstr "Salva come per VM con ID" + +#: ../public/js/plugins/vms-tab.js:1062 +msgid "Select disk" +msgstr "Seleziona disco" + +#: ../public/js/plugins/vms-tab.js:1064 +msgid "Retrieving" +msgstr "Retrieving" + +#: ../public/js/plugins/vms-tab.js:1068 +msgid "Image name" +msgstr "Nome immagine" + +#: ../public/js/plugins/vms-tab.js:1074 +msgid "Default (current image type)" +msgstr "Default (tipo di immagine attuale)" + +#: ../public/js/plugins/vms-tab.js:1075 ../public/js/plugins/images-tab.js:82 +#: ../public/js/plugins/images-tab.js:532 +msgid "OS" +msgstr "OS" + +#: ../public/js/plugins/vms-tab.js:1076 ../public/js/plugins/images-tab.js:84 +#: ../public/js/plugins/images-tab.js:534 +msgid "Datablock" +msgstr "Datablock" + +#: ../public/js/plugins/vms-tab.js:1077 +#: ../public/js/plugins/templates-tab.js:1060 +#: ../public/js/plugins/templates-tab.js:1106 +#: ../public/js/plugins/templates-tab.js:1139 +#: ../public/js/plugins/images-tab.js:83 +#: ../public/js/plugins/images-tab.js:533 +msgid "CD-ROM" +msgstr "CD-ROM" + +#: ../public/js/plugins/vms-tab.js:1097 ../public/js/plugins/vms-tab.js:1100 +msgid "disk id" +msgstr "ID disco" + +#: ../public/js/plugins/vms-tab.js:1105 +msgid "No disks defined" +msgstr "Disco non definito" + +#: ../public/js/plugins/vms-tab.js:1122 +msgid "Update VM properties" +msgstr "Modifica proprietà VM" + +#: ../public/js/plugins/vms-tab.js:1262 +msgid "VNC connection" +msgstr "Connessione VNC" + +#: ../public/js/plugins/vms-tab.js:1277 +msgid "Canvas not supported." +msgstr "Canvas non supportato" + +#: ../public/js/plugins/vms-tab.js:1338 +msgid "RUNNING" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1340 +msgid "Open VNC Session" +msgstr "Sessione VNC aperta" + +#: ../public/js/plugins/vms-tab.js:1343 +msgid "VNC Disabled" +msgstr "VNC disabilitato" + +#: ../public/js/plugins/datastores-tab.js:34 +#, fuzzy +msgid "Basepath" +msgstr "Percorso base" + +#: ../public/js/plugins/datastores-tab.js:36 +#, fuzzy +msgid "DS MAD" +msgstr "IM MAD" + +#: ../public/js/plugins/datastores-tab.js:52 +msgid "Datastore manager" +msgstr "Gestione Datastore" + +#: ../public/js/plugins/datastores-tab.js:54 +msgid "Filesystem" +msgstr "Filesystem" + +#: ../public/js/plugins/datastores-tab.js:56 +#: ../public/js/plugins/datastores-tab.js:63 +msgid "iSCSI" +msgstr "iSCSI" + +#: ../public/js/plugins/datastores-tab.js:57 +#, fuzzy +msgid "LVM" +msgstr "KVM" + +#: ../public/js/plugins/datastores-tab.js:59 +msgid "Transfer manager" +msgstr "Transfer manager" + +#: ../public/js/plugins/datastores-tab.js:61 +msgid "Shared" +msgstr "Condiviso" + +#: ../public/js/plugins/datastores-tab.js:62 +#: ../public/js/plugins/users-tab.js:60 ../public/js/plugins/users-tab.js:281 +msgid "SSH" +msgstr "SSH" + +#: ../public/js/plugins/datastores-tab.js:64 +#: ../public/js/plugins/hosts-tab.js:86 ../public/js/plugins/hosts-tab.js:100 +msgid "Dummy" +msgstr "Dummy" + +#: ../public/js/plugins/datastores-tab.js:66 +#: ../public/js/plugins/templates-tab.js:225 +msgid "Disk type" +msgstr "Tipo disco" + +#: ../public/js/plugins/datastores-tab.js:68 +#: ../public/js/plugins/templates-tab.js:1138 +msgid "File" +msgstr "File" + +#: ../public/js/plugins/datastores-tab.js:69 +#: ../public/js/plugins/templates-tab.js:1063 +#: ../public/js/plugins/templates-tab.js:1109 +#: ../public/js/plugins/templates-tab.js:1140 +msgid "Block" +msgstr "Blocco" + +#: ../public/js/plugins/datastores-tab.js:82 +msgid "Please, choose and modify the datastore you want to update" +msgstr "Scegliere quale datastore modificare" + +#: ../public/js/plugins/datastores-tab.js:84 +msgid "Select a datastore" +msgstr "Selezionare un datastore" + +#: ../public/js/plugins/datastores-tab.js:114 +#: ../public/js/plugins/images-tab.js:32 ../public/js/plugins/images-tab.js:72 +#: ../public/js/plugins/images-tab.js:188 +#: ../public/js/plugins/images-tab.js:609 +#: ../public/js/plugins/dashboard-tab.js:118 +msgid "Datastore" +msgstr "Datastore" + +#: ../public/js/plugins/datastores-tab.js:206 +msgid "Datastore updated correctly" +msgstr "Datastore aggiornato correttamente" + +#: ../public/js/plugins/datastores-tab.js:317 +#: ../public/js/plugins/datastores-tab.js:417 +#: ../public/js/plugins/datastores-tab.js:421 +msgid "Datastore information" +msgstr "Informazioni sul Datastore" + +#: ../public/js/plugins/datastores-tab.js:321 +#: ../public/js/plugins/datastores-tab.js:481 +msgid "Datastore template" +msgstr "template Datastore" + +#: ../public/js/plugins/datastores-tab.js:445 +msgid "DS Mad" +msgstr "DS Mad" + +#: ../public/js/plugins/datastores-tab.js:449 +msgid "TM Mad" +msgstr "TM Mad" + +#: ../public/js/plugins/datastores-tab.js:453 +msgid "Base path" +msgstr "Percorso base" + +#: ../public/js/plugins/datastores-tab.js:478 +msgid "Datastore Template" +msgstr "Template Datastore" + +#: ../public/js/plugins/datastores-tab.js:495 +msgid "Create Datastore" +msgstr "Crea Datastore" + +#: ../public/js/plugins/datastores-tab.js:547 +msgid "Update Datastore properties" +msgstr "Modifica proprietà Datastore" + +#: ../public/js/plugins/hosts-tab.js:22 +msgid "CPU Monitoring information" +msgstr "Informazioni monitoraggio CPU" + +#: ../public/js/plugins/hosts-tab.js:28 +msgid "Memory monitoring information" +msgstr "Informazioni monitoraggio memoria" + +#: ../public/js/plugins/hosts-tab.js:49 +msgid "CPU Use" +msgstr "Utilizzo CPU" + +#: ../public/js/plugins/hosts-tab.js:50 +msgid "Memory use" +msgstr "Utilizzo memoria" + +#: ../public/js/plugins/hosts-tab.js:54 +msgid "Last monitored on" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:61 +msgid "CPU Use is calculated as the maximum between (total CPU - real CPU usage) and (allocated CPU). Real CPU usage is provided by the hosts monitoring driver. Available CPU is calculated using the information from the CPU setting of the VMs running on that host (allocated CPU)" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:64 +msgid "Memory use is calculated according to the information provided by the host monitoring driver." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:67 +msgid "You can get monitoring graphs by clicking in the desired host and visiting the monitoring information tab. Note that oneacctd must be running for this information to be updated/available." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:74 +msgid "Host parameters" +msgstr "Parametri nodo" + +#: ../public/js/plugins/hosts-tab.js:77 +msgid "Drivers" +msgstr "Drivers" + +#: ../public/js/plugins/hosts-tab.js:80 +msgid "Virtualization Manager" +msgstr "Virtualization Manager" + +#: ../public/js/plugins/hosts-tab.js:82 ../public/js/plugins/hosts-tab.js:96 +msgid "KVM" +msgstr "KVM" + +#: ../public/js/plugins/hosts-tab.js:83 ../public/js/plugins/hosts-tab.js:97 +#: ../public/js/plugins/templates-tab.js:416 +msgid "XEN" +msgstr "XEN" + +#: ../public/js/plugins/hosts-tab.js:85 ../public/js/plugins/hosts-tab.js:99 +msgid "EC2" +msgstr "EC2" + +#: ../public/js/plugins/hosts-tab.js:87 ../public/js/plugins/hosts-tab.js:101 +#: ../public/js/plugins/hosts-tab.js:117 ../public/js/plugins/users-tab.js:63 +msgid "Custom" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:90 +msgid "Custom VMM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:94 +msgid "Information Manager" +msgstr "Information manager" + +#: ../public/js/plugins/hosts-tab.js:104 +msgid "Custom IM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:111 +msgid "Default (dummy)" +msgstr "Default (dummy)" + +#: ../public/js/plugins/hosts-tab.js:112 +msgid "Firewall" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:114 +#, fuzzy +msgid "Ebtables" +msgstr "Etables" + +#: ../public/js/plugins/hosts-tab.js:120 +msgid "Custom VNM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:274 +#: ../public/js/plugins/templates-tab.js:702 +#: ../public/js/plugins/users-tab.js:244 +msgid "Template updated correctly" +msgstr "Template modificato correttamente." + +#: ../public/js/plugins/hosts-tab.js:306 +msgid "Update a template" +msgstr "Modifica un template" + +#: ../public/js/plugins/hosts-tab.js:319 +#: ../public/js/plugins/templates-tab.js:163 +#: ../public/js/plugins/templates-tab.js:172 +#: ../public/js/plugins/images-tab.js:473 +msgid "Enable" +msgstr "Abilita" + +#: ../public/js/plugins/hosts-tab.js:324 +#: ../public/js/plugins/templates-tab.js:164 +#: ../public/js/plugins/templates-tab.js:173 +#: ../public/js/plugins/images-tab.js:477 +msgid "Disable" +msgstr "Disabilita" + +#: ../public/js/plugins/hosts-tab.js:329 +msgid "Delete host" +msgstr "Cancella nodo" + +#: ../public/js/plugins/hosts-tab.js:434 +#: ../public/js/plugins/templates-tab.js:2002 +msgid "ERROR" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:434 +msgid "OFF" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:537 +msgid "Max CPU" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:587 +msgid "Create host" +msgstr "Crea nodo" + +#: ../public/js/plugins/hosts-tab.js:629 +msgid "Host name missing!" +msgstr "Nome del nodo mancante!" + +#: ../public/js/plugins/config-tab.js:23 +msgid "Sunstone UI Configuration" +msgstr "Configurazione UI Sunstone" + +#: ../public/js/plugins/config-tab.js:28 +msgid "Language" +msgstr "Linguaggio" + +#: ../public/js/plugins/config-tab.js:31 +msgid "English" +msgstr "Inglese" + +#: ../public/js/plugins/config-tab.js:32 +msgid "French" +msgstr "" + +#: ../public/js/plugins/config-tab.js:33 +msgid "Italian" +msgstr "Italiano" + +#: ../public/js/plugins/config-tab.js:34 +msgid "Portuguese" +msgstr "" + +#: ../public/js/plugins/config-tab.js:35 +msgid "Russian" +msgstr "Russo" + +#: ../public/js/plugins/config-tab.js:40 +msgid "Secure websockets connection" +msgstr "Connessione websocket sicura" + +#: ../public/js/plugins/config-tab.js:50 +msgid "These options are stored in your OpenNebula user template." +msgstr "" + +#: ../public/js/plugins/config-tab.js:67 +msgid "Configuration" +msgstr "Configurazione" + +#: ../public/js/plugins/templates-tab.js:32 +#: ../public/js/plugins/images-tab.js:35 +msgid "Registration time" +msgstr "Registration time" + +#: ../public/js/plugins/templates-tab.js:42 +msgid "Wizard KVM" +msgstr "Wizard KVM" + +#: ../public/js/plugins/templates-tab.js:43 +msgid "Wizard XEN" +msgstr "Wizard XEN" + +#: ../public/js/plugins/templates-tab.js:44 +msgid "Wizard VMware" +msgstr "Wizard VMware" + +#: ../public/js/plugins/templates-tab.js:58 +#: ../public/js/plugins/images-tab.js:58 +msgid "Fields marked with" +msgstr "Campi marcati con" + +#: ../public/js/plugins/templates-tab.js:59 +#: ../public/js/plugins/images-tab.js:59 +msgid "are mandatory" +msgstr "sono obbligatori" + +#: ../public/js/plugins/templates-tab.js:60 +msgid "Fold / Unfold all sections" +msgstr "Espandi/contrai tutte le sezioni" + +#: ../public/js/plugins/templates-tab.js:66 +msgid "Capacity options" +msgstr "Opzioni di capacità" + +#: ../public/js/plugins/templates-tab.js:68 +msgid "Capacity" +msgstr "Capacità" + +#: ../public/js/plugins/templates-tab.js:72 +msgid "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>." +msgstr "Nome ottenuto dalla descrizione della VM. Se il nome non viene assegnato, viene generato un nome nella forma one-<VID>." + +#: ../public/js/plugins/templates-tab.js:77 +msgid "Amount of RAM required for the VM, in Megabytes." +msgstr "Memoria richiesta per la VM, in Megabyte." + +#: ../public/js/plugins/templates-tab.js:82 +msgid "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5." +msgstr "Percentuale CPU diviso 100 richiesta per la VM. Mezzo processore viene ad esempio indicato con 0.5." + +#: ../public/js/plugins/templates-tab.js:85 +msgid "VCPU" +msgstr "VCPU" + +#: ../public/js/plugins/templates-tab.js:87 +msgid "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU." +msgstr "Numero delle CPU virtuali (opzionale). Questo valore è opzionale, se non configurato verrà usato la configurazione predefinita dell'hypervisor, di norma una CPU virtuale." + +#: ../public/js/plugins/templates-tab.js:96 +msgid "Boot/OS options" +msgstr "Opzioni Boot/OS" + +#: ../public/js/plugins/templates-tab.js:98 +msgid "OS and Boot options" +msgstr "Opzioni OS e boot" + +#: ../public/js/plugins/templates-tab.js:100 +msgid "Architecture" +msgstr "Architettura" + +#: ../public/js/plugins/templates-tab.js:105 +msgid "CPU architecture to virtualization" +msgstr "Architettura CPU da virtualizzare" + +#: ../public/js/plugins/templates-tab.js:110 +msgid "Boot method" +msgstr "Metodo di boot" + +#: ../public/js/plugins/templates-tab.js:113 +#: ../public/js/plugins/templates-tab.js:119 +msgid "Kernel" +msgstr "Kernel" + +#: ../public/js/plugins/templates-tab.js:114 +#: ../public/js/plugins/templates-tab.js:139 +msgid "Bootloader" +msgstr "Bootloader" + +#: ../public/js/plugins/templates-tab.js:116 +msgid "Select boot method" +msgstr "Seleziona il metodo di boot" + +#: ../public/js/plugins/templates-tab.js:121 +msgid "Path to the OS kernel to boot the image" +msgstr "Percorso per il kernel dell'OS per avviare immagine" + +#: ../public/js/plugins/templates-tab.js:124 +msgid "Initrd" +msgstr "Initrd" + +#: ../public/js/plugins/templates-tab.js:126 +msgid "Path to the initrd image" +msgstr "Percorso immagine initrd" + +#: ../public/js/plugins/templates-tab.js:129 +msgid "Root" +msgstr "Root" + +#: ../public/js/plugins/templates-tab.js:131 +msgid "Device to be mounted as root" +msgstr "Dispositivo da montare come root" + +#: ../public/js/plugins/templates-tab.js:134 +msgid "Kernel commands" +msgstr "Comandi kernel" + +#: ../public/js/plugins/templates-tab.js:136 +msgid "Arguments for the booting kernel" +msgstr "Argomenti per l'avvio del kernel" + +#: ../public/js/plugins/templates-tab.js:141 +msgid "Path to the bootloader executable" +msgstr "Percorso per eseguibile bootloader" + +#: ../public/js/plugins/templates-tab.js:144 +msgid "Boot" +msgstr "Boot" + +#: ../public/js/plugins/templates-tab.js:147 +msgid "Boot device type" +msgstr "Tipo di device di boot" + +#: ../public/js/plugins/templates-tab.js:156 +#: ../public/js/plugins/templates-tab.js:158 +msgid "Features" +msgstr "Funzionalità" + +#: ../public/js/plugins/templates-tab.js:160 +msgid "PAE" +msgstr "PAE" + +#: ../public/js/plugins/templates-tab.js:166 +msgid "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory" +msgstr "Il modo PAE consente ai guest 32-bit di utilizzare più di 4GB di memoria" + +#: ../public/js/plugins/templates-tab.js:169 +msgid "ACPI" +msgstr "ACPI" + +#: ../public/js/plugins/templates-tab.js:175 +msgid "Useful for power management, for example, normally required for graceful shutdown to work" +msgstr "Utile per il power management - ad esempio necessario per lo shutdown" + +#: ../public/js/plugins/templates-tab.js:187 +msgid "Add disks/images" +msgstr "Aggiungi dischi/immagini" + +#: ../public/js/plugins/templates-tab.js:189 +msgid "Disks" +msgstr "Dischi" + +#: ../public/js/plugins/templates-tab.js:191 +msgid "Add disk/image" +msgstr "Aggiungi disco/immagine" + +#: ../public/js/plugins/templates-tab.js:192 +#: ../public/js/plugins/templates-tab.js:1058 +#: ../public/js/plugins/templates-tab.js:1104 +msgid "Disk" +msgstr "Disco" + +#: ../public/js/plugins/templates-tab.js:202 +msgid "Name of the image to use" +msgstr "Nome immagine da usare" + +#: ../public/js/plugins/templates-tab.js:206 +#: ../public/js/plugins/templates-tab.js:412 +#: ../public/js/plugins/images-tab.js:99 +msgid "Bus" +msgstr "Bus" + +#: ../public/js/plugins/templates-tab.js:209 +msgid "Type of disk device to emulate: ide, scsi" +msgstr "Tipo del dispositivo disco da emulare: ide, scsi" + +#: ../public/js/plugins/templates-tab.js:212 +#: ../public/js/plugins/templates-tab.js:324 +#: ../public/js/plugins/images-tab.js:39 +#: ../public/js/plugins/images-tab.js:113 +msgid "Target" +msgstr "Target" + +#: ../public/js/plugins/templates-tab.js:214 +msgid "Device to map image disk. If set, it will overwrite the default device mapping" +msgstr "Dispositivo da mappare per l'immagine del disco. Se configurato, sovrascrive la configurazione di default della mappatura dei dispositivi" + +#: ../public/js/plugins/templates-tab.js:217 +#: ../public/js/plugins/images-tab.js:108 +msgid "Driver" +msgstr "Driver" + +#: ../public/js/plugins/templates-tab.js:219 +msgid "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported" +msgstr "Image mapping driver specifico. KVM:raw, qcow2. XEN: tap:aio, file:. VMware non supportato." + +#: ../public/js/plugins/templates-tab.js:228 +#: ../public/js/plugins/images-tab.js:142 +#: ../public/js/plugins/images-tab.js:633 +msgid "Source" +msgstr "Sorgente" + +#: ../public/js/plugins/templates-tab.js:230 +msgid "Disk file location path or URL" +msgstr "Percorso o URL del file del disco" + +#: ../public/js/plugins/templates-tab.js:233 +msgid "Transfer Manager" +msgstr "Transfer manager" + +#: ../public/js/plugins/templates-tab.js:235 +msgid "shared,ssh,iscsi,dummy" +msgstr "condiviso,ssh,iscsi,dummy" + +#: ../public/js/plugins/templates-tab.js:239 +#: ../public/js/plugins/images-tab.js:33 +#: ../public/js/plugins/images-tab.js:147 +msgid "Size" +msgstr "Dimensione" + +#: ../public/js/plugins/templates-tab.js:241 +msgid "Size in MB" +msgstr "Dimensione in MB" + +#: ../public/js/plugins/templates-tab.js:245 +msgid "Format" +msgstr "Format" + +#: ../public/js/plugins/templates-tab.js:247 +msgid "Filesystem type for the fs images" +msgstr "Tipo di filesystem per queste immagini fs" + +#: ../public/js/plugins/templates-tab.js:250 +msgid "Clone" +msgstr "Clona" + +#: ../public/js/plugins/templates-tab.js:255 +msgid "Clone this image" +msgstr "Clona questa immagine" + +#: ../public/js/plugins/templates-tab.js:258 +msgid "Save" +msgstr "Salva" + +#: ../public/js/plugins/templates-tab.js:263 +msgid "Save this image after shutting down the VM" +msgstr "Salva questa immagine dopo aver spento la VM" + +#: ../public/js/plugins/templates-tab.js:266 +msgid "Read only" +msgstr "Sola lettura" + +#: ../public/js/plugins/templates-tab.js:271 +msgid "Mount image as read-only" +msgstr "Monta immagine in sola lettura" + +#: ../public/js/plugins/templates-tab.js:277 +msgid "Current disks" +msgstr "Disco attuale" + +#: ../public/js/plugins/templates-tab.js:289 +msgid "Setup Networks" +msgstr "Configurazione reti" + +#: ../public/js/plugins/templates-tab.js:291 +#: ../public/js/plugins/templates-tab.js:302 +msgid "Network" +msgstr "Rete" + +#: ../public/js/plugins/templates-tab.js:293 +msgid "Add network" +msgstr "Aggiungi rete" + +#: ../public/js/plugins/templates-tab.js:294 +msgid "Predefined" +msgstr "Predefinito" + +#: ../public/js/plugins/templates-tab.js:296 +msgid "Manual" +msgstr "Manuale" + +#: ../public/js/plugins/templates-tab.js:305 +msgid "Name of the network to attach this device" +msgstr "Nome della rete a cui collegare questo dispositivo" + +#: ../public/js/plugins/templates-tab.js:309 +msgid "IP" +msgstr "IP" + +#: ../public/js/plugins/templates-tab.js:311 +msgid "Request an specific IP from the Network" +msgstr "Richiedi un IP specifico dalla Rete" + +#: ../public/js/plugins/templates-tab.js:314 +msgid "MAC" +msgstr "MAC" + +#: ../public/js/plugins/templates-tab.js:316 +msgid "HW address associated with the network interface" +msgstr "Indirizzo hardware associato alla interfaccia di rete" + +#: ../public/js/plugins/templates-tab.js:321 +msgid "Name of the bridge the network device is going to be attached to" +msgstr "Nome del bridge a cui si sta collegando l'interfaccia di rete" + +#: ../public/js/plugins/templates-tab.js:326 +msgid "Name for the tun device created for the VM" +msgstr "Nome per il dispositivo tun creato per la VM" + +#: ../public/js/plugins/templates-tab.js:329 +msgid "Script" +msgstr "Script" + +#: ../public/js/plugins/templates-tab.js:331 +msgid "Name of a shell script to be executed after creating the tun device for the VM" +msgstr "Nome dello script da eseguire dopo la creazione del dispositivo tun per la VM" + +#: ../public/js/plugins/templates-tab.js:334 +msgid "Model" +msgstr "Modello" + +#: ../public/js/plugins/templates-tab.js:336 +msgid "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif." +msgstr "Hardware per l'emulazione dell'interfaccia di rete. In Xen type attribute del vif." + +#: ../public/js/plugins/templates-tab.js:339 +msgid "Tcp firewall mode" +msgstr "Modo firewall TCP" + +#: ../public/js/plugins/templates-tab.js:341 +#: ../public/js/plugins/templates-tab.js:360 +msgid "Optional, please select" +msgstr "Opzionale, selezionate" + +#: ../public/js/plugins/templates-tab.js:342 +#: ../public/js/plugins/templates-tab.js:361 +msgid "Port whitelist" +msgstr "Port whitelist" + +#: ../public/js/plugins/templates-tab.js:343 +#: ../public/js/plugins/templates-tab.js:362 +msgid "Port blacklist" +msgstr "Port blacklist" + +#: ../public/js/plugins/templates-tab.js:348 +msgid "Tcp white ports" +msgstr "Porte TCP in whitelist" + +#: ../public/js/plugins/templates-tab.js:350 +msgid "Permits access to the VM only through the specified ports in the TCP protocol" +msgstr "Permette accesso alla VM solo tramite le porte TCP specificate" + +#: ../public/js/plugins/templates-tab.js:353 +msgid "Tcp black ports" +msgstr "Porte TCP in blacklist" + +#: ../public/js/plugins/templates-tab.js:355 +msgid "Disallow access to the VM through the specified ports in the TCP protocol" +msgstr "Nega accesso alla VM attraverso la porta TCP specificata" + +#: ../public/js/plugins/templates-tab.js:358 +msgid "Udp firewall mode" +msgstr "Modo firewall UDP" + +#: ../public/js/plugins/templates-tab.js:367 +msgid "Udp white ports" +msgstr "Porte UDP in whitelist" + +#: ../public/js/plugins/templates-tab.js:369 +msgid "Permits access to the VM only through the specified ports in the UDP protocol" +msgstr "Permette accesso alla VM solo tramite le porte UDP specificate" + +#: ../public/js/plugins/templates-tab.js:372 +msgid "Udp black ports" +msgstr "Porte UDP in blacklist" + +#: ../public/js/plugins/templates-tab.js:374 +msgid "Disallow access to the VM through the specified ports in the UDP protocol" +msgstr "Nega accesso alla VM attraverso la porta UDP speciicata" + +#: ../public/js/plugins/templates-tab.js:377 +msgid "Icmp" +msgstr "ICMP" + +#: ../public/js/plugins/templates-tab.js:379 +msgid "Accept (default)" +msgstr "Accetta (default)" + +#: ../public/js/plugins/templates-tab.js:380 +msgid "Drop" +msgstr "Drop" + +#: ../public/js/plugins/templates-tab.js:382 +msgid "ICMP policy" +msgstr "Policy ICMP" + +#: ../public/js/plugins/templates-tab.js:389 +msgid "Current NICs" +msgstr "Schede di rete attuali" + +#: ../public/js/plugins/templates-tab.js:400 +msgid "Add inputs" +msgstr "Aggiungi periferica input" + +#: ../public/js/plugins/templates-tab.js:402 +msgid "Inputs" +msgstr "Ingressi" + +#: ../public/js/plugins/templates-tab.js:406 +msgid "Mouse" +msgstr "Mouse" + +#: ../public/js/plugins/templates-tab.js:407 +msgid "Tablet" +msgstr "Tablet" + +#: ../public/js/plugins/templates-tab.js:414 +msgid "USB" +msgstr "USB" + +#: ../public/js/plugins/templates-tab.js:415 +msgid "PS2" +msgstr "PS2" + +#: ../public/js/plugins/templates-tab.js:424 +msgid "Current inputs" +msgstr "Input attuali" + +#: ../public/js/plugins/templates-tab.js:435 +msgid "Add Graphics" +msgstr "Aggiungi grafica" + +#: ../public/js/plugins/templates-tab.js:437 +msgid "Graphics" +msgstr "Grafica" + +#: ../public/js/plugins/templates-tab.js:439 +msgid "Graphics type" +msgstr "Tipo grafica" + +#: ../public/js/plugins/templates-tab.js:442 +msgid "VNC" +msgstr "VNC" + +#: ../public/js/plugins/templates-tab.js:443 +msgid "SDL" +msgstr "SDL" + +#: ../public/js/plugins/templates-tab.js:445 +msgid "VMware supports VNC only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:448 +msgid "Listen IP" +msgstr "IP di ascolto" + +#: ../public/js/plugins/templates-tab.js:450 +msgid "IP to listen on" +msgstr "IP su cui restare in ascolto" + +#: ../public/js/plugins/templates-tab.js:453 +msgid "Port" +msgstr "Port" + +#: ../public/js/plugins/templates-tab.js:455 +msgid "Port for the VNC server" +msgstr "Port per il server VNC" + +#: ../public/js/plugins/templates-tab.js:458 +#: ../public/js/plugins/users-tab.js:55 +msgid "Password" +msgstr "Password" + +#: ../public/js/plugins/templates-tab.js:460 +msgid "Password for the VNC server" +msgstr "Password per il server VNC" + +#: ../public/js/plugins/templates-tab.js:463 +msgid "Keymap" +msgstr "Keymap" + +#: ../public/js/plugins/templates-tab.js:465 +msgid "Keyboard configuration locale to use in the VNC display" +msgstr "Configurazione del layout della tastiera per il display VNC" + +#: ../public/js/plugins/templates-tab.js:474 +msgid "Add context variables" +msgstr "Aggiungi variabili di contesto" + +#: ../public/js/plugins/templates-tab.js:476 +msgid "Context" +msgstr "Contesto" + +#: ../public/js/plugins/templates-tab.js:480 +msgid "Name for the context variable" +msgstr "Nome per la variabile di contesto" + +#: ../public/js/plugins/templates-tab.js:485 +msgid "Value of the context variable" +msgstr "Valore della variabile di contesto" + +#: ../public/js/plugins/templates-tab.js:491 +#: ../public/js/plugins/templates-tab.js:556 +msgid "Current variables" +msgstr "Variabili attuali" + +#: ../public/js/plugins/templates-tab.js:502 +msgid "Add placement options" +msgstr "Aggiungi opzioni di posizionamento" + +#: ../public/js/plugins/templates-tab.js:504 +msgid "Placement" +msgstr "Posizionamento" + +#: ../public/js/plugins/templates-tab.js:506 +msgid "Requirements" +msgstr "Requisiti" + +#: ../public/js/plugins/templates-tab.js:508 +msgid "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM" +msgstr "Espressione booleana che esclude il provisioning degli host dalla lista di macchine adatte a eseguire questa VM" + +#: ../public/js/plugins/templates-tab.js:511 +msgid "Rank" +msgstr "Rank" + +#: ../public/js/plugins/templates-tab.js:513 +msgid "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others" +msgstr "Questo campo indica quale attributo utilizzare per il posizionamento delle VM" + +#: ../public/js/plugins/templates-tab.js:522 +msgid "Add Hypervisor raw options" +msgstr "Aggiungi configurazioni dirette hypervisor" + +#: ../public/js/plugins/templates-tab.js:524 +msgid "Raw" +msgstr "Raw" + +#: ../public/js/plugins/templates-tab.js:527 +msgid "Data" +msgstr "Data" + +#: ../public/js/plugins/templates-tab.js:530 +msgid "Raw data to be passed directly to the hypervisor" +msgstr "Dati raw passati direttamente all'hypervisor" + +#: ../public/js/plugins/templates-tab.js:539 +msgid "Add custom variables" +msgstr "Aggiungi variabili custom" + +#: ../public/js/plugins/templates-tab.js:541 +msgid "Custom variables" +msgstr "Variabili custom" + +#: ../public/js/plugins/templates-tab.js:545 +msgid "Name for the custom variable" +msgstr "Nome per la variabile custom" + +#: ../public/js/plugins/templates-tab.js:550 +msgid "Value of the custom variable" +msgstr "Valore della variabile custom" + +#: ../public/js/plugins/templates-tab.js:575 +msgid "Write the Virtual Machine template here" +msgstr "Scrivi il template della macchina virtuale qui" + +#: ../public/js/plugins/templates-tab.js:794 +msgid "Instantiate" +msgstr "Istanza" + +#: ../public/js/plugins/templates-tab.js:819 +msgid "Template information" +msgstr "Informazioni template" + +#: ../public/js/plugins/templates-tab.js:913 +msgid "Information" +msgstr "Informazioni" + +#: ../public/js/plugins/templates-tab.js:937 +#: ../public/js/plugins/images-tab.js:625 +msgid "Register time" +msgstr "Register time" + +#: ../public/js/plugins/templates-tab.js:1057 +msgid "None" +msgstr "Nessuno" + +#: ../public/js/plugins/templates-tab.js:1059 +#: ../public/js/plugins/templates-tab.js:1105 +msgid "Floppy" +msgstr "Floppy" + +#: ../public/js/plugins/templates-tab.js:1061 +#: ../public/js/plugins/templates-tab.js:1107 +msgid "Swap" +msgstr "Swap" + +#: ../public/js/plugins/templates-tab.js:1062 +#: ../public/js/plugins/templates-tab.js:1108 +msgid "FS" +msgstr "FS" + +#: ../public/js/plugins/templates-tab.js:1068 +msgid "hd" +msgstr "hd" + +#: ../public/js/plugins/templates-tab.js:1069 +msgid "fd" +msgstr "fd" + +#: ../public/js/plugins/templates-tab.js:1070 +msgid "cdrom" +msgstr "cdrom" + +#: ../public/js/plugins/templates-tab.js:1071 +msgid "network" +msgstr "rete" + +#: ../public/js/plugins/templates-tab.js:1075 +msgid "Driver default" +msgstr "Driver default" + +#: ../public/js/plugins/templates-tab.js:1078 +#: ../public/js/plugins/templates-tab.js:1116 +#: ../public/js/plugins/templates-tab.js:1147 +#: ../public/js/plugins/images-tab.js:101 +msgid "IDE" +msgstr "IDE" + +#: ../public/js/plugins/templates-tab.js:1079 +#: ../public/js/plugins/templates-tab.js:1117 +#: ../public/js/plugins/templates-tab.js:1148 +#: ../public/js/plugins/images-tab.js:102 +msgid "SCSI" +msgstr "SCSI" + +#: ../public/js/plugins/templates-tab.js:1080 +msgid "Virtio" +msgstr "Virtio" + +#: ../public/js/plugins/templates-tab.js:1113 +msgid "Please choose" +msgstr "Selezionare" + +#: ../public/js/plugins/templates-tab.js:1187 +msgid "There are mandatory parameters missing in this section" +msgstr "Ci sono dei campi obbligatori non compilati in questa sezione" + +#: ../public/js/plugins/templates-tab.js:1727 +msgid "Context variable name and value must be filled in" +msgstr "Nome variabile di contesto e valure da inserire" + +#: ../public/js/plugins/templates-tab.js:1778 +msgid "Custom variable name and value must be filled in" +msgstr "Nome variabile custom e valore da inserire" + +#: ../public/js/plugins/templates-tab.js:1797 +msgid "Create VM Template" +msgstr "Crea template VM" + +#: ../public/js/plugins/templates-tab.js:1885 +msgid "There are mandatory fields missing in the capacity section" +msgstr "Ci sono dei campi mancanti nella sezione capacità" + +#: ../public/js/plugins/templates-tab.js:1896 +msgid "Xen templates must specify a boot method" +msgstr "I template Xen devono specificare un metodo di boot" + +#: ../public/js/plugins/templates-tab.js:1901 +msgid "There are mandatory fields missing in the OS Boot options section" +msgstr "Ci sono dei campi mancanti nella sezione boot OS" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "DISABLED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "LOCKED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2019 +msgid "Update template properties" +msgstr "Modifica proprietà template" + +#: ../public/js/plugins/infra-tab.js:25 +msgid "Summary of infrastructure resources" +msgstr "Sommario delle risorse di infrastruttura" + +#: ../public/js/plugins/infra-tab.js:57 +msgid "Create new Cluster" +msgstr "Crea nuovo cluster" + +#: ../public/js/plugins/infra-tab.js:58 +msgid "Create new Host" +msgstr "Crea nuovo Nodo" + +#: ../public/js/plugins/infra-tab.js:59 +msgid "Create new Datastore" +msgstr "Crea nuovo Datastore" + +#: ../public/js/plugins/infra-tab.js:60 +msgid "Create new Virtual Network" +msgstr "Crea una nuova Rete Virtuale" + +#: ../public/js/plugins/infra-tab.js:73 +msgid "Infrastructure resources" +msgstr "Risorse Infrastruttura" + +#: ../public/js/plugins/infra-tab.js:75 +msgid "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well." +msgstr "Il menu infrastruttura consente la gestione dei nodi, datastore e reti virtuali. Gli utenti del gruppo oneadmin possono inoltre gestire i cluster." + +#: ../public/js/plugins/infra-tab.js:76 +#: ../public/js/plugins/vresources-tab.js:81 +#: ../public/js/plugins/system-tab.js:71 +msgid "You can find further information on the following links:" +msgstr "Puoi trovare ulteriori informazioni ai seguenti collegamenti:" + +#: ../public/js/plugins/infra-tab.js:92 +msgid "Infrastructure" +msgstr "Infrastruttura" + +#: ../public/js/plugins/users-tab.js:35 ../public/js/plugins/users-tab.js:407 +msgid "Authentication driver" +msgstr "Driver di Autenticazione" + +#: ../public/js/plugins/users-tab.js:36 +#, fuzzy +msgid "Group ID" +msgstr "Grupoi" + +#: ../public/js/plugins/users-tab.js:44 +msgid "Tip: select Core authentication for new Sunstone/Self-Service regular users." +msgstr "" + +#: ../public/js/plugins/users-tab.js:53 +msgid "Username" +msgstr "Nome utente" + +#: ../public/js/plugins/users-tab.js:57 +msgid "Authentication" +msgstr "Autenticazione" + +#: ../public/js/plugins/users-tab.js:59 ../public/js/plugins/users-tab.js:280 +msgid "Core" +msgstr "Core" + +#: ../public/js/plugins/users-tab.js:61 ../public/js/plugins/users-tab.js:282 +msgid "x509" +msgstr "x509" + +#: ../public/js/plugins/users-tab.js:62 ../public/js/plugins/users-tab.js:283 +msgid "Public" +msgstr "Pubblico" + +#: ../public/js/plugins/users-tab.js:66 +#, fuzzy +msgid "Custom auth driver" +msgstr "Attributi custom" + +#: ../public/js/plugins/users-tab.js:82 +msgid "This will change the password for the selected users" +msgstr "Questo cambierà la password degli utenti selezionati" + +#: ../public/js/plugins/users-tab.js:83 +msgid "New password" +msgstr "Nuova password" + +#: ../public/js/plugins/users-tab.js:89 +msgid "Change" +msgstr "Cambia" + +#: ../public/js/plugins/users-tab.js:145 +msgid "Change password successful" +msgstr "Cambio password avvenuto con successo" + +#: ../public/js/plugins/users-tab.js:268 ../public/js/plugins/users-tab.js:471 +msgid "Change password" +msgstr "Cambia password" + +#: ../public/js/plugins/users-tab.js:274 +msgid "This will change the main group of the selected users. Select the new group" +msgstr "Questo cambierà il gruppo principale degli utenti selezionati. Scegli il nuovo gruppo" + +#: ../public/js/plugins/users-tab.js:278 +msgid "Change authentication" +msgstr "Cambia autenticazione" + +#: ../public/js/plugins/users-tab.js:285 +msgid "Please choose the new type of authentication for the selected users" +msgstr "Scegli il tipo di autenticazione da usare per gli utenti selezionati" + +#: ../public/js/plugins/users-tab.js:309 ../public/js/plugins/users-tab.js:391 +#: ../public/js/plugins/users-tab.js:395 +msgid "User information" +msgstr "Informazioni utente" + +#: ../public/js/plugins/users-tab.js:413 +msgid "User template" +msgstr "Template utente" + +#: ../public/js/plugins/users-tab.js:424 +msgid "Create user" +msgstr "Crea utente" + +#: ../public/js/plugins/users-tab.js:454 +msgid "User name and password must be filled in" +msgstr "Nome utente e password devono essere indicate" + +#: ../public/js/plugins/users-tab.js:489 +msgid "Fill in a new password" +msgstr "Indica una nuova password" + +#: ../public/js/plugins/vresources-tab.js:25 +msgid "Summary of virtual resources" +msgstr "Sommario delle risorse virtuali" + +#: ../public/js/plugins/vresources-tab.js:62 +msgid "Create new Virtual Machine" +msgstr "Crea una nuova Macchina Virtuale" + +#: ../public/js/plugins/vresources-tab.js:63 +msgid "Create new VM Template" +msgstr "Crea un nuovo template per la macchina virtuale" + +#: ../public/js/plugins/vresources-tab.js:64 +msgid "Create new Image" +msgstr "Crea nuova Immagine" + +#: ../public/js/plugins/vresources-tab.js:77 +#: ../public/js/plugins/vresources-tab.js:96 +msgid "Virtual Resources" +msgstr "Risorse virtuali" + +#: ../public/js/plugins/vresources-tab.js:79 +#, fuzzy +msgid "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and storage (Images)." +msgstr "Il menu Risorse Virtuali consente la gestione dei template delle macchine virtuali, delle istanze e delle immagini." + +#: ../public/js/plugins/vresources-tab.js:80 +msgid "Virtual Machine templates can be instantiated as many times as you want. You can do it from the Templates tab or by creating a new VM in the VM tab. The second method allows you to customize the name and the number of VMs you want to launch." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:39 +msgid "Tip: Refresh the list if it only shows user ids in the user column." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:47 +msgid "Group name" +msgstr "Nome del gruppo" + +#: ../public/js/plugins/groups-tab.js:130 +msgid "+ New Group" +msgstr "+ Nuovo gruppo" + +#: ../public/js/plugins/groups-tab.js:227 +msgid "Create group" +msgstr "Crea gruppo" + +#: ../public/js/plugins/images-tab.js:36 ../public/js/plugins/images-tab.js:89 +#: ../public/js/plugins/images-tab.js:213 +#: ../public/js/plugins/images-tab.js:629 +msgid "Persistent" +msgstr "Persistente" + +#: ../public/js/plugins/images-tab.js:38 +msgid "#VMS" +msgstr "#VMS" + +#: ../public/js/plugins/images-tab.js:46 +msgid "Size and registration time are hidden colums. Note that persistent images can only be used by 1 VM. To change image datastore, please re-register the image." +msgstr "" + +#: ../public/js/plugins/images-tab.js:64 +msgid "Name that the Image will get. Every image must have a unique name." +msgstr "Nome assegnato a immagine. Ogni immagine deve avere un nome univoco." + +#: ../public/js/plugins/images-tab.js:67 +msgid "Description" +msgstr "Descrizione" + +#: ../public/js/plugins/images-tab.js:69 +msgid "Human readable description of the image for other users." +msgstr "Descrizione immagine per altri utenti" + +#: ../public/js/plugins/images-tab.js:75 +msgid "Select the datastore for this image" +msgstr "Selezionare un datastore per questa immagine" + +#: ../public/js/plugins/images-tab.js:86 +msgid "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS)." +msgstr "Tipo di immagine, indicato in dettaglio nella sezione sottostante. Default: OS" + +#: ../public/js/plugins/images-tab.js:91 +msgid "Persistence of the image" +msgstr "Persistenza immagine" + +#: ../public/js/plugins/images-tab.js:94 +msgid "Device prefix" +msgstr "Prefisso dispositivo" + +#: ../public/js/plugins/images-tab.js:96 +msgid "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”)." +msgstr "Prefisso del dispositivo emulato da montare. Ad esempio, “hd“ o “sd“. Se omesso, viene utilizzato il valore di default." + +#: ../public/js/plugins/images-tab.js:103 +msgid "Virtio (KVM)" +msgstr "Virtio (KVM)" + +#: ../public/js/plugins/images-tab.js:105 +msgid "Type of disk device to emulate." +msgstr "Tipo del dispositivo disco da emulare" + +#: ../public/js/plugins/images-tab.js:110 +msgid "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:" +msgstr "Image mapping driver specifico. KVM:raw, qcow2. XEN: tap:aio, file:" + +#: ../public/js/plugins/images-tab.js:115 +msgid "Target on which the image will be mounted at. For example: hda, sdb..." +msgstr "" + +#: ../public/js/plugins/images-tab.js:120 +msgid "Image location" +msgstr "Posizione immagine" + +#: ../public/js/plugins/images-tab.js:123 +msgid "Provide a path" +msgstr "Indicare un percorso" + +#: ../public/js/plugins/images-tab.js:126 +msgid "Provide a source" +msgstr "Indicare una sorgente" + +#: ../public/js/plugins/images-tab.js:129 +msgid "Upload" +msgstr "Carica" + +#: ../public/js/plugins/images-tab.js:132 +msgid "Create an empty datablock" +msgstr "Crea un datablock vuoto" + +#: ../public/js/plugins/images-tab.js:133 +msgid "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk." +msgstr "Scegliere il percorso del file se disponete di una immagine/file. Altrimenti scegliere Sorgente o creare un datablock vuoto." + +#: ../public/js/plugins/images-tab.js:137 +#: ../public/js/plugins/images-tab.js:637 +msgid "Path" +msgstr "Percorso" + +#: ../public/js/plugins/images-tab.js:139 +msgid "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created." +msgstr "Percorso del file originale da copiare nel repository immagini. Se non specificato per il tipo DATABLOCK, crea una immagine vuota." + +#: ../public/js/plugins/images-tab.js:144 +msgid "Source to be used in the DISK attribute. Useful for not file-based images." +msgstr "Sorgente per attributo DISK. Utilizzato per immagini non basate su file." + +#: ../public/js/plugins/images-tab.js:149 +msgid "Size of the datablock in MB." +msgstr "Dimensione del datablock in MB" + +#: ../public/js/plugins/images-tab.js:152 +msgid "FS type" +msgstr "Tipo FS" + +#: ../public/js/plugins/images-tab.js:154 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "Tipo di filesystem da creare. Può essere qualsiasi valore riconosciuto dal comando unix mkfs." + +#: ../public/js/plugins/images-tab.js:157 +msgid "Upload file" +msgstr "Carica file" + +#: ../public/js/plugins/images-tab.js:187 +msgid "Write the image template here" +msgstr "Scrivi il template immagine qui" + +#: ../public/js/plugins/images-tab.js:207 +msgid "Please, choose and modify the image you want to update" +msgstr "Scegliere quale immagine modificare" + +#: ../public/js/plugins/images-tab.js:209 +msgid "Select an image" +msgstr "Seleziona una immagine" + +#: ../public/js/plugins/images-tab.js:338 +msgid "Image updated correctly" +msgstr "Immagine caricata correttamente" + +#: ../public/js/plugins/images-tab.js:481 +msgid "Make persistent" +msgstr "Rendi persistente" + +#: ../public/js/plugins/images-tab.js:485 +msgid "Make non persistent" +msgstr "Rendi non persistente" + +#: ../public/js/plugins/images-tab.js:497 +#: ../public/js/plugins/images-tab.js:593 +msgid "Image information" +msgstr "Informazioni immagine" + +#: ../public/js/plugins/images-tab.js:502 +#: ../public/js/plugins/images-tab.js:673 +#: ../public/js/plugins/images-tab.js:675 +msgid "Image template" +msgstr "Template immagine" + +#: ../public/js/plugins/images-tab.js:630 +msgid "yes" +msgstr "si" + +#: ../public/js/plugins/images-tab.js:630 +#, fuzzy +msgid "no" +msgstr "Info" + +#: ../public/js/plugins/images-tab.js:641 +msgid "Filesystem type" +msgstr "Tipo di filesystem" + +#: ../public/js/plugins/images-tab.js:645 +msgid "Size (Mb)" +msgstr "Dimensione (MB)" + +#: ../public/js/plugins/images-tab.js:653 +msgid "Running #VMS" +msgstr "#VM in esecuzione" + +#: ../public/js/plugins/images-tab.js:689 +msgid "Create Image" +msgstr "Crea immagine" + +#: ../public/js/plugins/images-tab.js:766 +msgid "Custom attribute name and value must be filled in" +msgstr "Nome attributo custom e valure da inserire" + +#: ../public/js/plugins/images-tab.js:814 +msgid "Uploading..." +msgstr "Caricamento..." + +#: ../public/js/plugins/images-tab.js:851 +msgid "There are mandatory parameters missing" +msgstr "Ci sono dei campi obbligatori non compilati" + +#: ../public/js/plugins/images-tab.js:860 +#: ../public/js/plugins/images-tab.js:940 +msgid "Please select a datastore for this image" +msgstr "Selezionare un datastore per questa immagine" + +#: ../public/js/plugins/images-tab.js:971 +msgid "Update image properties" +msgstr "Modifica proprietà immagine" + +#: ../public/js/plugins/system-tab.js:25 +msgid "Summary of system resources" +msgstr "Sommario delle risorse di sistema" + +#: ../public/js/plugins/system-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:98 +msgid "ACL Rules" +msgstr "Regole ACL" + +#: ../public/js/plugins/system-tab.js:53 +msgid "Create new Group" +msgstr "Crea nuovo Gruppo" + +#: ../public/js/plugins/system-tab.js:54 +msgid "Create new User" +msgstr "Crea nuovo Utente" + +#: ../public/js/plugins/system-tab.js:55 +msgid "Create new ACL" +msgstr "Crea nuova ACL" + +#: ../public/js/plugins/system-tab.js:68 +msgid "System Resources" +msgstr "Risorse di sistema" + +#: ../public/js/plugins/system-tab.js:70 +msgid "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs." +msgstr "La gestione risorse di sistema risulta accessibile solo agli utenti del gruppo oneadmin. Include le funzioni su utenti, gruppi e ACL." + +#: ../public/js/plugins/system-tab.js:87 +msgid "System" +msgstr "Sistema" + +#: ../public/js/plugins/dashboard-tab.js:58 +msgid "Hosts (total/active)" +msgstr "Nodi (totali/attivi)" + +#: ../public/js/plugins/dashboard-tab.js:113 +msgid "Host" +msgstr "Nodo" + +#: ../public/js/plugins/dashboard-tab.js:122 +msgid "ACL" +msgstr "ACL" + +#: ../public/js/plugins/dashboard-tab.js:138 +msgid "Hosts CPU" +msgstr "CPU nodi" + +#: ../public/js/plugins/dashboard-tab.js:141 +msgid "Hosts memory" +msgstr "Memoria nodi" + +#~ msgid "style" +#~ msgstr "stile" + +#~ msgid "Server (x509)" +#~ msgstr "Server (x509)" + +#~ msgid "disabled" +#~ msgstr "disabilitato" + +#~ msgid "Server (Cipher)" +#~ msgstr "Server (cifratura)" diff --git a/src/sunstone/public/locale/it_IT/it_datatable.txt b/src/sunstone/locale/languages/it_datatable.txt similarity index 100% rename from src/sunstone/public/locale/it_IT/it_datatable.txt rename to src/sunstone/locale/languages/it_datatable.txt diff --git a/src/sunstone/locale/languages/pt_PT.po b/src/sunstone/locale/languages/pt_PT.po new file mode 100644 index 0000000000..c1def8e8d6 --- /dev/null +++ b/src/sunstone/locale/languages/pt_PT.po @@ -0,0 +1,2865 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 14:12+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: pt_PT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/sunstone.js:586 +msgid "Previous action" +msgstr "Acção anterior" + +#: ../public/js/sunstone.js:649 ../public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "Confirmação da acção" + +#: ../public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "É necessário confirmar esta acção." + +#: ../public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "Deseja continuar?" + +#: ../public/js/sunstone.js:660 ../public/js/sunstone.js:692 +#: ../public/js/plugins/vms-tab.js:997 +msgid "OK" +msgstr "OK" + +#: ../public/js/sunstone.js:661 ../public/js/sunstone.js:693 +#: ../public/js/plugins/vms-tab.js:578 ../public/js/plugins/vms-tab.js:998 +msgid "Cancel" +msgstr "Cancelar" + +#: ../public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "É necessário seleccionar alguma opção" + +#: ../public/js/locale.js:35 +msgid "Changing language" +msgstr "A alterar língua" + +#: ../public/js/locale.js:36 +msgid "Loading new language... please wait" +msgstr "A carregar nova língua... por favor aguarde" + +#: ../public/js/locale.js:89 +msgid "Documentation" +msgstr "Documentação" + +#: ../public/js/locale.js:90 +msgid "Support" +msgstr "Suporte" + +#: ../public/js/locale.js:91 +msgid "Community" +msgstr "Comunidade" + +#: ../public/js/locale.js:92 +msgid "Welcome" +msgstr "Bem-vindo" + +#: ../public/js/locale.js:93 +msgid "Sign out" +msgstr "Terminar sessão" + +#: ../public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "Submetido" + +#: ../public/js/sunstone-util.js:220 +msgid "Error" +msgstr "Erro" + +#: ../public/js/sunstone-util.js:226 +msgid "Info" +msgstr "Info" + +#: ../public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "Não é possível contactar o servidor está a correr ou comunicável?" + +#: ../public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "A rede está inalcançável: o OpenNebula está a correr?" + +#: ../public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "Não autorizado" + +#: ../public/js/sunstone-util.js:561 ../public/js/sunstone-util.js:772 +#: ../public/js/plugins/templates-tab.js:441 +#: ../public/js/plugins/images-tab.js:1068 +msgid "Please select" +msgstr "Por favor seleccione" + +#: ../public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "Actualizar modelo" + +#: ../public/js/sunstone-util.js:701 ../public/js/plugins/templates-tab.js:594 +msgid "Please, choose and modify the template you want to update" +msgstr "Por favor, seleccione e modifique o modelo que quer actualizar" + +#: ../public/js/sunstone-util.js:703 ../public/js/sunstone-util.js:706 +#: ../public/js/plugins/templates-tab.js:596 +msgid "Select a template" +msgstr "Seleccionar o modelo" + +#: ../public/js/sunstone-util.js:711 ../public/js/plugins/vnets-tab.js:207 +#: ../public/js/plugins/vms-tab.js:153 +#: ../public/js/plugins/datastores-tab.js:121 +#: ../public/js/plugins/templates-tab.js:633 +#: ../public/js/plugins/images-tab.js:249 +msgid "Update" +msgstr "Actualizar" + +#: ../public/js/plugins/acls-tab.js:22 +msgid "Access Control Lists" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:29 ../public/js/plugins/acls-tab.js:65 +#: ../public/js/plugins/acls-tab.js:186 ../public/js/plugins/acls-tab.js:204 +#: ../public/js/plugins/acls-tab.js:464 ../public/js/plugins/vnets-tab.js:27 +#: ../public/js/plugins/clusters-tab.js:28 ../public/js/plugins/vms-tab.js:58 +#: ../public/js/plugins/datastores-tab.js:28 +#: ../public/js/plugins/hosts-tab.js:44 +#: ../public/js/plugins/templates-tab.js:27 +#: ../public/js/plugins/users-tab.js:31 ../public/js/plugins/groups-tab.js:29 +#: ../public/js/plugins/images-tab.js:27 +msgid "All" +msgstr "Tudo" + +#: ../public/js/plugins/acls-tab.js:30 ../public/js/plugins/acls-tab.js:207 +#: ../public/js/plugins/vnets-tab.js:28 ../public/js/plugins/vnets-tab.js:547 +#: ../public/js/plugins/clusters-tab.js:29 +#: ../public/js/plugins/clusters-tab.js:385 +#: ../public/js/plugins/clusters-tab.js:460 ../public/js/plugins/vms-tab.js:59 +#: ../public/js/plugins/vms-tab.js:805 +#: ../public/js/plugins/datastores-tab.js:29 +#: ../public/js/plugins/datastores-tab.js:425 +#: ../public/js/plugins/hosts-tab.js:45 +#: ../public/js/plugins/templates-tab.js:28 +#: ../public/js/plugins/templates-tab.js:921 +#: ../public/js/plugins/users-tab.js:32 ../public/js/plugins/groups-tab.js:30 +#: ../public/js/plugins/images-tab.js:28 +#: ../public/js/plugins/images-tab.js:601 +msgid "ID" +msgstr "ID" + +#: ../public/js/plugins/acls-tab.js:31 +msgid "Applies to" +msgstr "Aplica-se a" + +#: ../public/js/plugins/acls-tab.js:32 ../public/js/plugins/acls-tab.js:53 +msgid "Affected resources" +msgstr "Recursos afectados" + +#: ../public/js/plugins/acls-tab.js:33 +msgid "Resource ID / Owned by" +msgstr "ID do recurso / Pertencente a" + +#: ../public/js/plugins/acls-tab.js:34 ../public/js/plugins/acls-tab.js:75 +msgid "Allowed operations" +msgstr "Operações permitidas" + +#: ../public/js/plugins/acls-tab.js:35 +#, fuzzy +msgid "ACL String" +msgstr "Pré-visualização do texto ACL" + +#: ../public/js/plugins/acls-tab.js:42 +msgid "This table shows the ACLs rules broken down to easier the reading and meaning of each one. You can show the ACL original string by clicking on Show/Hide columns." +msgstr "" + +#: ../public/js/plugins/acls-tab.js:50 +msgid "This rule applies to" +msgstr "Esta regra aplica-se a" + +#: ../public/js/plugins/acls-tab.js:54 ../public/js/plugins/acls-tab.js:239 +#: ../public/js/plugins/clusters-tab.js:401 +#: ../public/js/plugins/clusters-tab.js:476 +#: ../public/js/plugins/clusters-tab.js:578 +#: ../public/js/plugins/hosts-tab.js:37 ../public/js/plugins/hosts-tab.js:352 +#: ../public/js/plugins/infra-tab.js:34 +msgid "Hosts" +msgstr "Hosts" + +#: ../public/js/plugins/acls-tab.js:55 ../public/js/plugins/acls-tab.js:260 +#: ../public/js/plugins/clusters-tab.js:21 +#: ../public/js/plugins/clusters-tab.js:214 +#: ../public/js/plugins/infra-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:62 +msgid "Clusters" +msgstr "Clusters" + +#: ../public/js/plugins/acls-tab.js:56 ../public/js/plugins/acls-tab.js:263 +#: ../public/js/plugins/dashboard-users-tab.js:73 +#: ../public/js/plugins/clusters-tab.js:417 +#: ../public/js/plugins/clusters-tab.js:493 +#: ../public/js/plugins/clusters-tab.js:585 +#: ../public/js/plugins/datastores-tab.js:21 +#: ../public/js/plugins/datastores-tab.js:327 +#: ../public/js/plugins/infra-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:86 +msgid "Datastores" +msgstr "Datastores" + +#: ../public/js/plugins/acls-tab.js:57 ../public/js/plugins/acls-tab.js:242 +#: ../public/js/plugins/vms-tab.js:51 ../public/js/plugins/vms-tab.js:611 +msgid "Virtual Machines" +msgstr "Máquinas Virtuais" + +#: ../public/js/plugins/acls-tab.js:58 ../public/js/plugins/acls-tab.js:245 +#: ../public/js/plugins/dashboard-users-tab.js:69 +#: ../public/js/plugins/vnets-tab.js:20 ../public/js/plugins/vnets-tab.js:462 +#: ../public/js/plugins/clusters-tab.js:429 +#: ../public/js/plugins/clusters-tab.js:507 +#: ../public/js/plugins/clusters-tab.js:592 +#: ../public/js/plugins/infra-tab.js:42 +#: ../public/js/plugins/vresources-tab.js:43 +#: ../public/js/plugins/dashboard-tab.js:82 +msgid "Virtual Networks" +msgstr "Redes virtuais" + +#: ../public/js/plugins/acls-tab.js:59 ../public/js/plugins/acls-tab.js:248 +#: ../public/js/plugins/dashboard-users-tab.js:77 +#: ../public/js/plugins/datastores-tab.js:457 +#: ../public/js/plugins/vresources-tab.js:47 +#: ../public/js/plugins/images-tab.js:20 +#: ../public/js/plugins/images-tab.js:509 +#: ../public/js/plugins/dashboard-tab.js:90 +msgid "Images" +msgstr "imagens" + +#: ../public/js/plugins/acls-tab.js:60 +#: ../public/js/plugins/templates-tab.js:20 +#: ../public/js/plugins/templates-tab.js:825 +msgid "Templates" +msgstr "Modelos" + +#: ../public/js/plugins/acls-tab.js:61 ../public/js/plugins/acls-tab.js:254 +#: ../public/js/plugins/acls-tab.js:456 ../public/js/plugins/users-tab.js:24 +#: ../public/js/plugins/users-tab.js:315 ../public/js/plugins/groups-tab.js:32 +#: ../public/js/plugins/system-tab.js:34 +#: ../public/js/plugins/dashboard-tab.js:94 +msgid "Users" +msgstr "Utilizadores" + +#: ../public/js/plugins/acls-tab.js:62 ../public/js/plugins/acls-tab.js:257 +#: ../public/js/plugins/acls-tab.js:461 ../public/js/plugins/groups-tab.js:22 +#: ../public/js/plugins/groups-tab.js:147 +#: ../public/js/plugins/system-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:66 +msgid "Groups" +msgstr "Grupos" + +#: ../public/js/plugins/acls-tab.js:64 +msgid "Resource subset" +msgstr "Subconjunto do recurso" + +#: ../public/js/plugins/acls-tab.js:66 +msgid "Specific ID" +msgstr "ID específico" + +#: ../public/js/plugins/acls-tab.js:67 +msgid "Owned by group" +msgstr "Pertencente ao grupo" + +#: ../public/js/plugins/acls-tab.js:69 +msgid "Resource ID" +msgstr "ID do recurso" + +#: ../public/js/plugins/acls-tab.js:72 ../public/js/plugins/acls-tab.js:211 +#: ../public/js/plugins/vnets-tab.js:30 ../public/js/plugins/vnets-tab.js:187 +#: ../public/js/plugins/vnets-tab.js:563 ../public/js/plugins/vnets-tab.js:588 +#: ../public/js/plugins/vms-tab.js:61 ../public/js/plugins/vms-tab.js:132 +#: ../public/js/plugins/vms-tab.js:817 ../public/js/plugins/vms-tab.js:846 +#: ../public/js/plugins/datastores-tab.js:31 +#: ../public/js/plugins/datastores-tab.js:101 +#: ../public/js/plugins/datastores-tab.js:437 +#: ../public/js/plugins/datastores-tab.js:466 +#: ../public/js/plugins/templates-tab.js:30 +#: ../public/js/plugins/templates-tab.js:613 +#: ../public/js/plugins/templates-tab.js:933 +#: ../public/js/plugins/templates-tab.js:946 +#: ../public/js/plugins/users-tab.js:34 ../public/js/plugins/users-tab.js:403 +#: ../public/js/plugins/images-tab.js:30 +#: ../public/js/plugins/images-tab.js:230 +#: ../public/js/plugins/images-tab.js:617 +#: ../public/js/plugins/images-tab.js:662 +#: ../public/js/plugins/dashboard-tab.js:121 +msgid "Group" +msgstr "Grupo" + +#: ../public/js/plugins/acls-tab.js:76 ../public/js/plugins/vnets-tab.js:177 +#: ../public/js/plugins/vms-tab.js:122 +#: ../public/js/plugins/datastores-tab.js:91 +#: ../public/js/plugins/templates-tab.js:603 +#: ../public/js/plugins/images-tab.js:220 +msgid "Use" +msgstr "Utilização" + +#: ../public/js/plugins/acls-tab.js:77 ../public/js/plugins/vnets-tab.js:178 +#: ../public/js/plugins/vms-tab.js:123 +#: ../public/js/plugins/datastores-tab.js:92 +#: ../public/js/plugins/templates-tab.js:604 +#: ../public/js/plugins/images-tab.js:221 +msgid "Manage" +msgstr "Gerir" + +#: ../public/js/plugins/acls-tab.js:78 +msgid "Administrate" +msgstr "Administrar" + +#: ../public/js/plugins/acls-tab.js:79 ../public/js/plugins/acls-tab.js:87 +#: ../public/js/plugins/vnets-tab.js:140 ../public/js/plugins/vnets-tab.js:157 +#: ../public/js/plugins/clusters-tab.js:45 ../public/js/plugins/vms-tab.js:105 +#: ../public/js/plugins/datastores-tab.js:74 +#: ../public/js/plugins/hosts-tab.js:132 +#: ../public/js/plugins/templates-tab.js:566 +#: ../public/js/plugins/templates-tab.js:583 +#: ../public/js/plugins/users-tab.js:73 ../public/js/plugins/groups-tab.js:53 +#: ../public/js/plugins/images-tab.js:178 +#: ../public/js/plugins/images-tab.js:196 +msgid "Create" +msgstr "Criar" + +#: ../public/js/plugins/acls-tab.js:81 +msgid "ACL String preview" +msgstr "Pré-visualização do texto ACL" + +#: ../public/js/plugins/acls-tab.js:88 ../public/js/plugins/vnets-tab.js:142 +#: ../public/js/plugins/vnets-tab.js:159 +#: ../public/js/plugins/clusters-tab.js:46 ../public/js/plugins/vms-tab.js:106 +#: ../public/js/plugins/datastores-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:133 +#: ../public/js/plugins/templates-tab.js:568 +#: ../public/js/plugins/templates-tab.js:585 +#: ../public/js/plugins/users-tab.js:74 ../public/js/plugins/users-tab.js:90 +#: ../public/js/plugins/groups-tab.js:54 +#: ../public/js/plugins/images-tab.js:179 +#: ../public/js/plugins/images-tab.js:198 +msgid "Reset" +msgstr "Reset" + +#: ../public/js/plugins/acls-tab.js:148 ../public/js/plugins/vnets-tab.js:407 +#: ../public/js/plugins/clusters-tab.js:181 +#: ../public/js/plugins/vms-tab.js:469 +#: ../public/js/plugins/datastores-tab.js:273 +#: ../public/js/plugins/hosts-tab.js:296 +#: ../public/js/plugins/templates-tab.js:780 +#: ../public/js/plugins/users-tab.js:254 +#: ../public/js/plugins/groups-tab.js:125 +#: ../public/js/plugins/images-tab.js:442 +msgid "Refresh list" +msgstr "Actualizar lista" + +#: ../public/js/plugins/acls-tab.js:153 ../public/js/plugins/vnets-tab.js:413 +#: ../public/js/plugins/clusters-tab.js:186 +#: ../public/js/plugins/vms-tab.js:475 +#: ../public/js/plugins/datastores-tab.js:278 +#: ../public/js/plugins/hosts-tab.js:301 +#: ../public/js/plugins/templates-tab.js:785 +#: ../public/js/plugins/users-tab.js:259 +#: ../public/js/plugins/images-tab.js:447 +msgid "+ New" +msgstr "+ Novo" + +#: ../public/js/plugins/acls-tab.js:157 ../public/js/plugins/vnets-tab.js:446 +#: ../public/js/plugins/clusters-tab.js:190 +#: ../public/js/plugins/vms-tab.js:586 +#: ../public/js/plugins/datastores-tab.js:310 +#: ../public/js/plugins/templates-tab.js:813 +#: ../public/js/plugins/users-tab.js:303 +#: ../public/js/plugins/groups-tab.js:142 +#: ../public/js/plugins/images-tab.js:491 +msgid "Delete" +msgstr "Apagar" + +#: ../public/js/plugins/acls-tab.js:162 +msgid "ACLs" +msgstr "ACLs" + +#: ../public/js/plugins/acls-tab.js:189 +#: ../public/js/plugins/dashboard-tab.js:120 +msgid "User" +msgstr "Utilizador" + +#: ../public/js/plugins/acls-tab.js:193 +msgid "Group " +msgstr "Grupo " + +#: ../public/js/plugins/acls-tab.js:251 +#: ../public/js/plugins/dashboard-users-tab.js:58 +#: ../public/js/plugins/vresources-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:70 +msgid "VM Templates" +msgstr "Modelos de VM" + +#: ../public/js/plugins/acls-tab.js:318 +msgid "Create ACL" +msgstr "Criar ACL" + +#: ../public/js/plugins/acls-tab.js:406 +msgid "Please specify to who this ACL applies" +msgstr "Por favor especifique a quem se aplica este ACL" + +#: ../public/js/plugins/acls-tab.js:412 +msgid "Please select at least one resource" +msgstr "Por favor seleccione pelo menos um recurso" + +#: ../public/js/plugins/acls-tab.js:421 +msgid "Please provide a resource ID for the resource(s) in this rule" +msgstr "Por favor insira o ID de recurso para os recurso(s) nesta regra" + +#: ../public/js/plugins/dashboard-users-tab.js:53 +#: ../public/js/plugins/dashboard-tab.js:53 +msgid "Summary of resources" +msgstr "Sumário dos recursos" + +#: ../public/js/plugins/dashboard-users-tab.js:62 +#: ../public/js/plugins/vresources-tab.js:35 +#: ../public/js/plugins/dashboard-tab.js:75 +msgid "VM Instances" +msgstr "Instâncias VM" + +#: ../public/js/plugins/dashboard-users-tab.js:63 +#: ../public/js/plugins/vresources-tab.js:36 +#: ../public/js/plugins/dashboard-tab.js:76 +msgid "total" +msgstr "total" + +#: ../public/js/plugins/dashboard-users-tab.js:64 +#: ../public/js/plugins/vresources-tab.js:37 +#: ../public/js/plugins/dashboard-tab.js:77 +msgid "running" +msgstr "A correr" + +#: ../public/js/plugins/dashboard-users-tab.js:65 +#: ../public/js/plugins/vresources-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:78 +msgid "failed" +msgstr "falhou" + +#: ../public/js/plugins/dashboard-users-tab.js:89 +#: ../public/js/plugins/infra-tab.js:54 +#: ../public/js/plugins/vresources-tab.js:59 +#: ../public/js/plugins/system-tab.js:50 +#: ../public/js/plugins/dashboard-tab.js:110 +msgid "Quickstart" +msgstr "Início rápido" + +#: ../public/js/plugins/dashboard-users-tab.js:91 +#: ../public/js/plugins/dashboard-tab.js:112 +msgid "Create new" +msgstr "Criar novo" + +#: ../public/js/plugins/dashboard-users-tab.js:92 +#: ../public/js/plugins/dashboard-tab.js:115 +msgid "VM Instance" +msgstr "Instância VM" + +#: ../public/js/plugins/dashboard-users-tab.js:93 +#: ../public/js/plugins/vms-tab.js:885 +#: ../public/js/plugins/dashboard-tab.js:116 +msgid "VM Template" +msgstr "Modelo de VM" + +#: ../public/js/plugins/dashboard-users-tab.js:94 +#: ../public/js/plugins/vnets-tab.js:543 +#: ../public/js/plugins/dashboard-tab.js:117 +msgid "Virtual Network" +msgstr "Rede virtual" + +#: ../public/js/plugins/dashboard-users-tab.js:95 +#: ../public/js/plugins/templates-tab.js:194 +#: ../public/js/plugins/templates-tab.js:199 +#: ../public/js/plugins/images-tab.js:597 +#: ../public/js/plugins/dashboard-tab.js:119 +msgid "Image" +msgstr "imagem" + +#: ../public/js/plugins/dashboard-users-tab.js:108 +#: ../public/js/plugins/dashboard-tab.js:135 +msgid "Historical monitoring information" +msgstr "Histórico de informação de monitorização" + +#: ../public/js/plugins/dashboard-users-tab.js:111 +#: ../public/js/plugins/dashboard-tab.js:144 +msgid "Total VM count" +msgstr "Contagem total de VM" + +#: ../public/js/plugins/dashboard-users-tab.js:114 +msgid "Total VM CPU" +msgstr "CPU Total VM " + +#: ../public/js/plugins/dashboard-users-tab.js:117 +msgid "Total VM Memory" +msgstr "Memória Total VM" + +#: ../public/js/plugins/dashboard-users-tab.js:120 +#: ../public/js/plugins/dashboard-tab.js:147 +msgid "VM Network stats" +msgstr "Estatística de rede VM" + +#: ../public/js/plugins/dashboard-users-tab.js:133 +#: ../public/js/plugins/dashboard-tab.js:160 +msgid "Dashboard" +msgstr "Dashboard" + +#: ../public/js/plugins/vnets-tab.js:29 ../public/js/plugins/vnets-tab.js:181 +#: ../public/js/plugins/vnets-tab.js:559 ../public/js/plugins/vnets-tab.js:584 +#: ../public/js/plugins/vms-tab.js:60 ../public/js/plugins/vms-tab.js:126 +#: ../public/js/plugins/vms-tab.js:813 ../public/js/plugins/vms-tab.js:842 +#: ../public/js/plugins/datastores-tab.js:30 +#: ../public/js/plugins/datastores-tab.js:95 +#: ../public/js/plugins/datastores-tab.js:433 +#: ../public/js/plugins/datastores-tab.js:462 +#: ../public/js/plugins/templates-tab.js:29 +#: ../public/js/plugins/templates-tab.js:607 +#: ../public/js/plugins/templates-tab.js:929 +#: ../public/js/plugins/templates-tab.js:942 +#: ../public/js/plugins/images-tab.js:29 +#: ../public/js/plugins/images-tab.js:224 +#: ../public/js/plugins/images-tab.js:613 +#: ../public/js/plugins/images-tab.js:658 +msgid "Owner" +msgstr "Dono" + +#: ../public/js/plugins/vnets-tab.js:31 ../public/js/plugins/vnets-tab.js:55 +#: ../public/js/plugins/vnets-tab.js:125 ../public/js/plugins/vnets-tab.js:551 +#: ../public/js/plugins/clusters-tab.js:30 +#: ../public/js/plugins/clusters-tab.js:41 +#: ../public/js/plugins/clusters-tab.js:389 +#: ../public/js/plugins/clusters-tab.js:464 +#: ../public/js/plugins/clusters-tab.js:672 ../public/js/plugins/vms-tab.js:62 +#: ../public/js/plugins/vms-tab.js:809 +#: ../public/js/plugins/datastores-tab.js:32 +#: ../public/js/plugins/datastores-tab.js:47 +#: ../public/js/plugins/datastores-tab.js:429 +#: ../public/js/plugins/hosts-tab.js:46 ../public/js/plugins/hosts-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:494 +#: ../public/js/plugins/templates-tab.js:31 +#: ../public/js/plugins/templates-tab.js:70 +#: ../public/js/plugins/templates-tab.js:478 +#: ../public/js/plugins/templates-tab.js:543 +#: ../public/js/plugins/templates-tab.js:925 +#: ../public/js/plugins/users-tab.js:33 ../public/js/plugins/groups-tab.js:31 +#: ../public/js/plugins/images-tab.js:31 ../public/js/plugins/images-tab.js:62 +#: ../public/js/plugins/images-tab.js:164 +#: ../public/js/plugins/images-tab.js:605 +msgid "Name" +msgstr "Nome" + +#: ../public/js/plugins/vnets-tab.js:32 ../public/js/plugins/vnets-tab.js:555 +#: ../public/js/plugins/clusters-tab.js:676 +#: ../public/js/plugins/datastores-tab.js:33 +#: ../public/js/plugins/datastores-tab.js:49 +#: ../public/js/plugins/datastores-tab.js:441 +#: ../public/js/plugins/hosts-tab.js:47 ../public/js/plugins/hosts-tab.js:125 +#: ../public/js/plugins/hosts-tab.js:498 +#: ../public/js/plugins/dashboard-tab.js:114 +msgid "Cluster" +msgstr "Cluster" + +#: ../public/js/plugins/vnets-tab.js:33 ../public/js/plugins/vms-tab.js:1072 +#: ../public/js/plugins/templates-tab.js:222 +#: ../public/js/plugins/templates-tab.js:404 +#: ../public/js/plugins/images-tab.js:34 ../public/js/plugins/images-tab.js:80 +#: ../public/js/plugins/images-tab.js:621 +msgid "Type" +msgstr "Tipo" + +#: ../public/js/plugins/vnets-tab.js:34 ../public/js/plugins/vnets-tab.js:68 +#: ../public/js/plugins/vnets-tab.js:567 +#: ../public/js/plugins/templates-tab.js:319 +msgid "Bridge" +msgstr "Bridge" + +#: ../public/js/plugins/vnets-tab.js:35 +msgid "Total Leases" +msgstr "Alocações totais" + +#: ../public/js/plugins/vnets-tab.js:42 +msgid "Tip: edit the leases of a network by clicking on one and going to the lease management tab." +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:49 ../public/js/plugins/images-tab.js:52 +msgid "Wizard" +msgstr "Assistente" + +#: ../public/js/plugins/vnets-tab.js:50 +#: ../public/js/plugins/templates-tab.js:45 +#: ../public/js/plugins/images-tab.js:53 +msgid "Advanced mode" +msgstr "Modo avançado" + +#: ../public/js/plugins/vnets-tab.js:60 +msgid "Network mode" +msgstr "Modo de rede" + +#: ../public/js/plugins/vnets-tab.js:62 +#: ../public/js/plugins/templates-tab.js:162 +#: ../public/js/plugins/templates-tab.js:171 +msgid "Default" +msgstr "Por omissão" + +#: ../public/js/plugins/vnets-tab.js:63 ../public/js/plugins/hosts-tab.js:113 +msgid "802.1Q" +msgstr "802.1Q" + +#: ../public/js/plugins/vnets-tab.js:64 +msgid "Etables" +msgstr "Etables" + +#: ../public/js/plugins/vnets-tab.js:65 ../public/js/plugins/hosts-tab.js:115 +msgid "Open vSwitch" +msgstr "Abrir vSwitch" + +#: ../public/js/plugins/vnets-tab.js:66 +#: ../public/js/plugins/datastores-tab.js:55 +#: ../public/js/plugins/hosts-tab.js:84 ../public/js/plugins/hosts-tab.js:98 +#: ../public/js/plugins/hosts-tab.js:116 +msgid "VMware" +msgstr "VMware" + +#: ../public/js/plugins/vnets-tab.js:70 ../public/js/plugins/vnets-tab.js:575 +msgid "Physical device" +msgstr "Dispositivo físico" + +#: ../public/js/plugins/vnets-tab.js:72 ../public/js/plugins/vnets-tab.js:571 +msgid "VLAN" +msgstr "VLAN" + +#: ../public/js/plugins/vnets-tab.js:74 +#: ../public/js/plugins/templates-tab.js:252 +#: ../public/js/plugins/templates-tab.js:261 +#: ../public/js/plugins/templates-tab.js:269 +msgid "Yes" +msgstr "Sim" + +#: ../public/js/plugins/vnets-tab.js:75 +#: ../public/js/plugins/templates-tab.js:253 +#: ../public/js/plugins/templates-tab.js:260 +#: ../public/js/plugins/templates-tab.js:268 +msgid "No" +msgstr "Não" + +#: ../public/js/plugins/vnets-tab.js:77 ../public/js/plugins/vnets-tab.js:579 +msgid "VLAN ID" +msgstr "ID VLAN" + +#: ../public/js/plugins/vnets-tab.js:81 +msgid "Network type" +msgstr "Tipo de rede" + +#: ../public/js/plugins/vnets-tab.js:82 +msgid "Fixed network" +msgstr "Rede fixa" + +#: ../public/js/plugins/vnets-tab.js:83 +msgid "Ranged network" +msgstr "Rede com limite de intervalo" + +#: ../public/js/plugins/vnets-tab.js:89 +msgid "Lease IP" +msgstr "Alocação IP" + +#: ../public/js/plugins/vnets-tab.js:91 +msgid "Lease MAC (opt):" +msgstr "Alocação MAC (opcional):" + +#: ../public/js/plugins/vnets-tab.js:95 ../public/js/plugins/vnets-tab.js:129 +#: ../public/js/plugins/vnets-tab.js:649 +#: ../public/js/plugins/templates-tab.js:274 +#: ../public/js/plugins/templates-tab.js:386 +#: ../public/js/plugins/templates-tab.js:421 +#: ../public/js/plugins/templates-tab.js:488 +#: ../public/js/plugins/templates-tab.js:553 +#: ../public/js/plugins/images-tab.js:168 +msgid "Add" +msgstr "Adicionar" + +#: ../public/js/plugins/vnets-tab.js:98 ../public/js/plugins/vnets-tab.js:130 +#: ../public/js/plugins/templates-tab.js:275 +#: ../public/js/plugins/templates-tab.js:387 +#: ../public/js/plugins/templates-tab.js:422 +#: ../public/js/plugins/templates-tab.js:489 +#: ../public/js/plugins/templates-tab.js:554 +#: ../public/js/plugins/images-tab.js:169 +msgid "Remove selected" +msgstr "Remover seleccionado" + +#: ../public/js/plugins/vnets-tab.js:100 +msgid "Current leases" +msgstr "Alocações actuais" + +#: ../public/js/plugins/vnets-tab.js:108 +msgid "Network Address" +msgstr "Enderaço de rede" + +#: ../public/js/plugins/vnets-tab.js:110 +msgid "Network Mask" +msgstr "Máscara de Rede" + +#: ../public/js/plugins/vnets-tab.js:112 +msgid "Define a subnet by IP range" +msgstr "Defina uma subrede por intervalo IP" + +#: ../public/js/plugins/vnets-tab.js:114 ../public/js/plugins/vnets-tab.js:631 +msgid "IP Start" +msgstr "IP Inicial" + +#: ../public/js/plugins/vnets-tab.js:116 ../public/js/plugins/vnets-tab.js:635 +msgid "IP End" +msgstr "IP Final" + +#: ../public/js/plugins/vnets-tab.js:127 +#: ../public/js/plugins/templates-tab.js:483 +#: ../public/js/plugins/templates-tab.js:548 +#: ../public/js/plugins/images-tab.js:166 +msgid "Value" +msgstr "Valor" + +#: ../public/js/plugins/vnets-tab.js:132 +#: ../public/js/plugins/images-tab.js:171 +msgid "Custom attributes" +msgstr "Atributos personalizáveis" + +#: ../public/js/plugins/vnets-tab.js:149 +msgid "Write the Virtual Network template here" +msgstr "Introduza o modelo de rede virtual aqui" + +#: ../public/js/plugins/vnets-tab.js:168 +msgid "Please, choose and modify the virtual network you want to update" +msgstr "Por favor, seleccione e modifique a rede virtual que quer actualizar" + +#: ../public/js/plugins/vnets-tab.js:170 +msgid "Select a network" +msgstr "Seleccionar a rede" + +#: ../public/js/plugins/vnets-tab.js:176 ../public/js/plugins/vnets-tab.js:582 +#: ../public/js/plugins/vms-tab.js:121 +#: ../public/js/plugins/datastores-tab.js:90 +#: ../public/js/plugins/datastores-tab.js:460 +#: ../public/js/plugins/templates-tab.js:602 +#: ../public/js/plugins/templates-tab.js:940 +#: ../public/js/plugins/images-tab.js:219 +#: ../public/js/plugins/images-tab.js:656 +msgid "Permissions" +msgstr "Permissões" + +#: ../public/js/plugins/vnets-tab.js:179 ../public/js/plugins/vms-tab.js:124 +#: ../public/js/plugins/datastores-tab.js:93 +#: ../public/js/plugins/templates-tab.js:605 +#: ../public/js/plugins/images-tab.js:222 +msgid "Admin" +msgstr "Admin" + +#: ../public/js/plugins/vnets-tab.js:193 ../public/js/plugins/vnets-tab.js:592 +#: ../public/js/plugins/vms-tab.js:138 ../public/js/plugins/vms-tab.js:850 +#: ../public/js/plugins/datastores-tab.js:107 +#: ../public/js/plugins/datastores-tab.js:470 +#: ../public/js/plugins/templates-tab.js:619 +#: ../public/js/plugins/templates-tab.js:950 +#: ../public/js/plugins/images-tab.js:236 +#: ../public/js/plugins/images-tab.js:666 +msgid "Other" +msgstr "Outros" + +#: ../public/js/plugins/vnets-tab.js:200 ../public/js/plugins/vms-tab.js:145 +#: ../public/js/plugins/templates-tab.js:626 +#: ../public/js/plugins/templates-tab.js:917 +#: ../public/js/plugins/templates-tab.js:956 +#: ../public/js/plugins/templates-tab.js:958 +#: ../public/js/plugins/images-tab.js:243 +msgid "Template" +msgstr "Modelo" + +#: ../public/js/plugins/vnets-tab.js:418 ../public/js/plugins/vms-tab.js:481 +#: ../public/js/plugins/datastores-tab.js:283 +#: ../public/js/plugins/templates-tab.js:789 +#: ../public/js/plugins/users-tab.js:263 +#: ../public/js/plugins/images-tab.js:451 +msgid "Update properties" +msgstr "Actualizar propriedades" + +#: ../public/js/plugins/vnets-tab.js:423 +#: ../public/js/plugins/datastores-tab.js:289 +#: ../public/js/plugins/hosts-tab.js:312 +msgid "Select cluster" +msgstr "Seleccionar cluster" + +#: ../public/js/plugins/vnets-tab.js:425 +#: ../public/js/plugins/datastores-tab.js:291 +#: ../public/js/plugins/hosts-tab.js:314 +msgid "Select the destination cluster:" +msgstr "Seleccione o cluster de destino:" + +#: ../public/js/plugins/vnets-tab.js:430 ../public/js/plugins/vms-tab.js:487 +#: ../public/js/plugins/datastores-tab.js:296 +#: ../public/js/plugins/templates-tab.js:798 +#: ../public/js/plugins/images-tab.js:456 +msgid "Change owner" +msgstr "Alterar dono" + +#: ../public/js/plugins/vnets-tab.js:432 ../public/js/plugins/vms-tab.js:489 +#: ../public/js/plugins/datastores-tab.js:298 +#: ../public/js/plugins/templates-tab.js:800 +#: ../public/js/plugins/images-tab.js:458 +msgid "Select the new owner" +msgstr "Seleccione o novo dono" + +#: ../public/js/plugins/vnets-tab.js:438 ../public/js/plugins/vms-tab.js:495 +#: ../public/js/plugins/datastores-tab.js:303 +#: ../public/js/plugins/templates-tab.js:805 +#: ../public/js/plugins/users-tab.js:272 +#: ../public/js/plugins/images-tab.js:463 +msgid "Change group" +msgstr "Alterar grupo" + +#: ../public/js/plugins/vnets-tab.js:440 ../public/js/plugins/vms-tab.js:497 +#: ../public/js/plugins/datastores-tab.js:305 +#: ../public/js/plugins/templates-tab.js:807 +#: ../public/js/plugins/images-tab.js:465 +msgid "Select the new group" +msgstr "Seleccione o novo grupo" + +#: ../public/js/plugins/vnets-tab.js:452 +msgid "Virtual network information" +msgstr "Informação da rede virtual" + +#: ../public/js/plugins/vnets-tab.js:456 +msgid "Lease management" +msgstr "Gestão de alocação" + +#: ../public/js/plugins/vnets-tab.js:544 +#: ../public/js/plugins/templates-tab.js:918 +#: ../public/js/plugins/images-tab.js:598 +msgid "information" +msgstr "informação" + +#: ../public/js/plugins/vnets-tab.js:599 +msgid "Virtual Network template (attributes)" +msgstr "Modelo de rede virtual (atributos)" + +#: ../public/js/plugins/vnets-tab.js:607 +msgid "Virtual Network information" +msgstr "Informação da rede virtual" + +#: ../public/js/plugins/vnets-tab.js:626 +msgid "Leases information" +msgstr "Informação de alocação" + +#: ../public/js/plugins/vnets-tab.js:639 +msgid "Network mask" +msgstr "Máscara de rede" + +#: ../public/js/plugins/vnets-tab.js:643 +msgid "Hold lease" +msgstr "Pausar alocação" + +#: ../public/js/plugins/vnets-tab.js:644 ../public/js/plugins/vms-tab.js:534 +msgid "Hold" +msgstr "Pausa" + +#: ../public/js/plugins/vnets-tab.js:648 +msgid "Add lease" +msgstr "Adicionar alocação" + +#: ../public/js/plugins/vnets-tab.js:658 +msgid "No leases to show" +msgstr "Não há alocações a mostrar" + +#: ../public/js/plugins/vnets-tab.js:703 +msgid "hold" +msgstr "pausar" + +#: ../public/js/plugins/vnets-tab.js:703 +#, fuzzy +msgid "delete" +msgstr "Apagar" + +#: ../public/js/plugins/vnets-tab.js:706 +msgid "Used by VM" +msgstr "Utilizado pela VM" + +#: ../public/js/plugins/vnets-tab.js:709 +msgid "release" +msgstr "libertar" + +#: ../public/js/plugins/vnets-tab.js:722 +msgid "Create Virtual Network" +msgstr "Criar Rede Virtual" + +#: ../public/js/plugins/vnets-tab.js:791 +msgid "Please provide a lease IP" +msgstr "Por favor insira a alocação IP" + +#: ../public/js/plugins/vnets-tab.js:857 +msgid "Virtual Network name missing!" +msgstr "Falta preencher o nome da rede virutal!" + +#: ../public/js/plugins/vnets-tab.js:941 +msgid "There are missing network parameters" +msgstr "Há parâmetros de rede em falta" + +#: ../public/js/plugins/vnets-tab.js:993 +msgid "Update network properties" +msgstr "Actualizar propriedades de rede" + +#: ../public/js/plugins/vnets-tab.js:1018 ../public/js/plugins/vms-tab.js:1269 +#: ../public/js/plugins/datastores-tab.js:572 +#: ../public/js/plugins/templates-tab.js:2044 +#: ../public/js/plugins/images-tab.js:995 +msgid "Loading" +msgstr "A carregar" + +#: ../public/js/plugins/clusters-tab.js:197 +#: ../public/js/plugins/clusters-tab.js:660 +#: ../public/js/plugins/clusters-tab.js:664 +#: ../public/js/plugins/hosts-tab.js:336 ../public/js/plugins/hosts-tab.js:482 +#: ../public/js/plugins/hosts-tab.js:486 +msgid "Host information" +msgstr "Informação do host" + +#: ../public/js/plugins/clusters-tab.js:202 +#: ../public/js/plugins/clusters-tab.js:736 +#: ../public/js/plugins/clusters-tab.js:739 +#: ../public/js/plugins/hosts-tab.js:341 ../public/js/plugins/hosts-tab.js:558 +#: ../public/js/plugins/hosts-tab.js:561 +msgid "Host template" +msgstr "Modelo de host" + +#: ../public/js/plugins/clusters-tab.js:206 +#: ../public/js/plugins/clusters-tab.js:745 +#: ../public/js/plugins/vms-tab.js:857 ../public/js/plugins/vms-tab.js:899 +#: ../public/js/plugins/hosts-tab.js:345 ../public/js/plugins/hosts-tab.js:567 +msgid "Monitoring information" +msgstr "Informação de monitorização" + +#: ../public/js/plugins/clusters-tab.js:339 +msgid "No datastores in this cluster" +msgstr "Não há datastores neste cluster" + +#: ../public/js/plugins/clusters-tab.js:349 +msgid "No hosts in this cluster" +msgstr "Não há hosts neste cluster" + +#: ../public/js/plugins/clusters-tab.js:359 +msgid "No virtual networks in this cluster" +msgstr "Não há redes virtuis neste cluster" + +#: ../public/js/plugins/clusters-tab.js:380 +#: ../public/js/plugins/clusters-tab.js:455 +msgid "Cluster information" +msgstr "Informação do Cluster" + +#: ../public/js/plugins/clusters-tab.js:404 +#: ../public/js/plugins/clusters-tab.js:480 +msgid "Create new host" +msgstr "Criar novo host" + +#: ../public/js/plugins/clusters-tab.js:405 +msgid "Manage unclustered hosts" +msgstr "Gerir hosts sem cluster" + +#: ../public/js/plugins/clusters-tab.js:420 +#: ../public/js/plugins/clusters-tab.js:498 +msgid "Create new datastore" +msgstr "Criar novo datastore" + +#: ../public/js/plugins/clusters-tab.js:421 +msgid "Manage unclustered datastores" +msgstr "Gerir datastores sem cluster" + +#: ../public/js/plugins/clusters-tab.js:432 +#: ../public/js/plugins/clusters-tab.js:512 +msgid "Create new virtual network" +msgstr "Criar nova rede virtual" + +#: ../public/js/plugins/clusters-tab.js:433 +msgid "Manage unclustered virtual networks" +msgstr "Gerir redes virtuais sem cluster" + +#: ../public/js/plugins/clusters-tab.js:479 +msgid "Current number of hosts in this cluster" +msgstr "Número actual de hosts neste cluster" + +#: ../public/js/plugins/clusters-tab.js:481 +msgid "Manage cluster hosts" +msgstr "Gerir hosts" + +#: ../public/js/plugins/clusters-tab.js:496 +msgid "Current number of datastores in this cluster" +msgstr "Número actual de datastores neste cluster" + +#: ../public/js/plugins/clusters-tab.js:499 +msgid "Manage cluster datastores" +msgstr "Gerir datastores do cluster" + +#: ../public/js/plugins/clusters-tab.js:510 +msgid "Current number of virtual networks in this cluster" +msgstr "Número actual de redes virtuais neste cluster" + +#: ../public/js/plugins/clusters-tab.js:513 +msgid "Manage cluster virtual networks" +msgstr "Gerir redes virtuais do cluster" + +#: ../public/js/plugins/clusters-tab.js:668 +#: ../public/js/plugins/hosts-tab.js:490 ../public/js/plugins/users-tab.js:399 +msgid "id" +msgstr "id" + +#: ../public/js/plugins/clusters-tab.js:680 +#: ../public/js/plugins/vms-tab.js:821 ../public/js/plugins/hosts-tab.js:502 +#: ../public/js/plugins/images-tab.js:649 +msgid "State" +msgstr "Estado" + +#: ../public/js/plugins/clusters-tab.js:684 +#: ../public/js/plugins/hosts-tab.js:52 ../public/js/plugins/hosts-tab.js:506 +msgid "IM MAD" +msgstr "IM MAD" + +#: ../public/js/plugins/clusters-tab.js:688 +#: ../public/js/plugins/hosts-tab.js:53 ../public/js/plugins/hosts-tab.js:510 +msgid "VM MAD" +msgstr "VM MAD" + +#: ../public/js/plugins/clusters-tab.js:692 +#: ../public/js/plugins/hosts-tab.js:514 +msgid "VN MAD" +msgstr "VN MAD" + +#: ../public/js/plugins/clusters-tab.js:696 +#: ../public/js/plugins/datastores-tab.js:35 +msgid "TM MAD" +msgstr "TM MAD" + +#: ../public/js/plugins/clusters-tab.js:703 +#: ../public/js/plugins/hosts-tab.js:521 +msgid "Host shares" +msgstr "Partilhas dos hosts" + +#: ../public/js/plugins/clusters-tab.js:707 +#: ../public/js/plugins/hosts-tab.js:525 +msgid "Max Mem" +msgstr "Mem Máx" + +#: ../public/js/plugins/clusters-tab.js:711 +#: ../public/js/plugins/hosts-tab.js:529 +msgid "Used Mem (real)" +msgstr "Memória utilizada(real)" + +#: ../public/js/plugins/clusters-tab.js:715 +#: ../public/js/plugins/hosts-tab.js:533 +msgid "Used Mem (allocated)" +msgstr "Memória utilizada(alocada)" + +#: ../public/js/plugins/clusters-tab.js:719 +#: ../public/js/plugins/hosts-tab.js:541 +msgid "Used CPU (real)" +msgstr "Used CPU utilizado(real)" + +#: ../public/js/plugins/clusters-tab.js:723 +#: ../public/js/plugins/hosts-tab.js:545 +msgid "Used CPU (allocated)" +msgstr "Used CPU utilizado(alocado)" + +#: ../public/js/plugins/clusters-tab.js:727 +#: ../public/js/plugins/hosts-tab.js:48 ../public/js/plugins/hosts-tab.js:549 +msgid "Running VMs" +msgstr "VMs a correr" + +#: ../public/js/plugins/clusters-tab.js:767 +msgid "Create cluster" +msgstr "Criar cluster" + +#: ../public/js/plugins/clusters-tab.js:783 +msgid "Cluster name missing!" +msgstr "Falta o nome do Cluster!" + +#: ../public/js/plugins/vms-tab.js:28 ../public/js/plugins/vms-tab.js:64 +#: ../public/js/plugins/templates-tab.js:80 +msgid "CPU" +msgstr "CPU" + +#: ../public/js/plugins/vms-tab.js:33 ../public/js/plugins/vms-tab.js:65 +#: ../public/js/plugins/templates-tab.js:75 +msgid "Memory" +msgstr "Memória" + +#: ../public/js/plugins/vms-tab.js:38 +msgid "Network transmission" +msgstr "Transmissão de rede" + +#: ../public/js/plugins/vms-tab.js:43 +msgid "Network reception" +msgstr "Recepção de rede" + +#: ../public/js/plugins/vms-tab.js:63 ../public/js/plugins/hosts-tab.js:51 +#: ../public/js/plugins/images-tab.js:37 +msgid "Status" +msgstr "Estado" + +#: ../public/js/plugins/vms-tab.js:66 ../public/js/plugins/vms-tab.js:724 +#: ../public/js/plugins/vms-tab.js:829 +msgid "Hostname" +msgstr "Nome do host" + +#: ../public/js/plugins/vms-tab.js:67 +msgid "IPs" +msgstr "IPs" + +#: ../public/js/plugins/vms-tab.js:68 +msgid "Start Time" +msgstr "Hora de Início" + +#: ../public/js/plugins/vms-tab.js:69 +msgid "VNC Access" +msgstr "Acesso VNC" + +#: ../public/js/plugins/vms-tab.js:76 +msgid "CPU, Memory and Start time are hidden columns by default. You can get monitoring graphs by clicking on the desired VM and visiting the monitoring information tab (oneacctd needs to be running for this information to be up to date)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:79 +msgid "VNC console requires previous install of the noVNC addon. Check Sunstone documentation for more information." +msgstr "" + +#: ../public/js/plugins/vms-tab.js:87 +msgid "VM Name" +msgstr "Nome VM" + +#: ../public/js/plugins/vms-tab.js:89 +msgid "Defaults to template name when emtpy" +msgstr "Nome do modelo por omissão, quando vazio" + +#: ../public/js/plugins/vms-tab.js:92 +msgid "Select template" +msgstr "Seleccionar modelo" + +#: ../public/js/plugins/vms-tab.js:97 +msgid "Deploy # VMs" +msgstr "Lançar # VMs" + +#: ../public/js/plugins/vms-tab.js:99 +#, fuzzy, python-format +msgid "You can use the wildcard %. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them" +msgstr "Pode usar o asterisco %i. Aquando da criação de várias VMs, i% será substituído por um número diferente a começar por 0 em cada uma delas" + +#: ../public/js/plugins/vms-tab.js:113 +msgid "Please, choose and modify the virtual machine you want to update" +msgstr "Por favor, seleccione e modifique a máquina virtual que quer actualizar" + +#: ../public/js/plugins/vms-tab.js:115 +msgid "Select a VM" +msgstr "Seleccionar a VM" + +#: ../public/js/plugins/vms-tab.js:503 +msgid "Shutdown" +msgstr "Desligar" + +#: ../public/js/plugins/vms-tab.js:504 +msgid "This will initiate the shutdown process in the selected VMs" +msgstr "Isto vai iniciar o processo de encerramento nas VMs seleccionadas" + +#: ../public/js/plugins/vms-tab.js:512 +msgid "Deploy" +msgstr "Lançar" + +#: ../public/js/plugins/vms-tab.js:513 +msgid "This will deploy the selected VMs on the chosen host" +msgstr "Isto vai lançar as VMs seleccionadas no host escolhido" + +#: ../public/js/plugins/vms-tab.js:519 +msgid "Migrate" +msgstr "Migrar" + +#: ../public/js/plugins/vms-tab.js:520 +msgid "This will migrate the selected VMs to the chosen host" +msgstr "Isto vai migrar as VMs seleccionadas para o host seleccionado" + +#: ../public/js/plugins/vms-tab.js:527 +msgid "Live migrate" +msgstr "Migração em tempo real" + +#: ../public/js/plugins/vms-tab.js:528 +msgid "This will live-migrate the selected VMs to the chosen host" +msgstr "Isto vai migrar em tempo real as VMs seleccionadas para o host seleccionado" + +#: ../public/js/plugins/vms-tab.js:535 +msgid "This will hold selected pending VMs from being deployed" +msgstr "Isto vai pausar as VMs pendentes à espera de serem lançadas" + +#: ../public/js/plugins/vms-tab.js:539 +msgid "Release" +msgstr "Libertar" + +#: ../public/js/plugins/vms-tab.js:540 +msgid "This will release held machines" +msgstr "Isto vai libertar as máquinas pausadas" + +#: ../public/js/plugins/vms-tab.js:544 +msgid "Suspend" +msgstr "Suspender" + +#: ../public/js/plugins/vms-tab.js:545 +msgid "This will suspend selected machines" +msgstr "Isto vai suspender as VMs seleccionadas" + +#: ../public/js/plugins/vms-tab.js:549 +msgid "Resume" +msgstr "Continuar" + +#: ../public/js/plugins/vms-tab.js:550 +msgid "This will resume selected stopped or suspended VMs" +msgstr "Isto vai continuar VMs seleccionadas, paradas ou suspensas" + +#: ../public/js/plugins/vms-tab.js:554 +msgid "Stop" +msgstr "Parar" + +#: ../public/js/plugins/vms-tab.js:559 +msgid "Restart" +msgstr "Reiniciar" + +#: ../public/js/plugins/vms-tab.js:560 +msgid "This will redeploy selected VMs (in UNKNOWN or BOOT state)" +msgstr "Isto vai relançar as VMs seleccionadas (em estado UNKNOWN ou BOOT)" + +#: ../public/js/plugins/vms-tab.js:564 +msgid "Resubmit" +msgstr "Resubmeter" + +#: ../public/js/plugins/vms-tab.js:565 +msgid "This will resubmits VMs to PENDING state" +msgstr "Isto vai resubmeter VMs para o estado PENDING" + +#: ../public/js/plugins/vms-tab.js:569 +msgid "Reboot" +msgstr "Reiniciar" + +#: ../public/js/plugins/vms-tab.js:570 +msgid "This will send a reboot action to running VMs" +msgstr "Isto vai enviar a acção de encerramento às VMs em execução" + +#: ../public/js/plugins/vms-tab.js:574 +msgid "Save as" +msgstr "Guardar como" + +#: ../public/js/plugins/vms-tab.js:579 +msgid "This will cancel selected VMs" +msgstr "Isto vai cancelar selected VMs" + +#: ../public/js/plugins/vms-tab.js:587 +msgid "This will delete the selected VMs from the database" +msgstr "Isto vai apagar the selected VMs from the database" + +#: ../public/js/plugins/vms-tab.js:593 ../public/js/plugins/vms-tab.js:801 +msgid "Virtual Machine information" +msgstr "Informação de VM" + +#: ../public/js/plugins/vms-tab.js:597 ../public/js/plugins/vms-tab.js:888 +msgid "VM template" +msgstr "modelo de VM" + +#: ../public/js/plugins/vms-tab.js:601 ../public/js/plugins/vms-tab.js:894 +msgid "VM log" +msgstr "Log VM" + +#: ../public/js/plugins/vms-tab.js:605 ../public/js/plugins/vms-tab.js:904 +msgid "History information" +msgstr "Histórico de informação" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:665 +#: ../public/js/plugins/vms-tab.js:788 +msgid "ACTIVE" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:788 +msgid "SUSPENDED" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:723 +msgid "Sequence" +msgstr "Sequência" + +#: ../public/js/plugins/vms-tab.js:725 +msgid "Reason" +msgstr "Razão" + +#: ../public/js/plugins/vms-tab.js:726 +msgid "State change time" +msgstr "Hora de alteração de estado" + +#: ../public/js/plugins/vms-tab.js:727 +msgid "Total time" +msgstr "Tempo total" + +#: ../public/js/plugins/vms-tab.js:728 +msgid "Prolog time" +msgstr "Tempo de prolog" + +#: ../public/js/plugins/vms-tab.js:797 +msgid "VM information" +msgstr "Informação VM" + +#: ../public/js/plugins/vms-tab.js:825 +msgid "LCM State" +msgstr "Estado LCM" + +#: ../public/js/plugins/vms-tab.js:833 +msgid "Start time" +msgstr "Hora de início" + +#: ../public/js/plugins/vms-tab.js:837 +msgid "Deploy ID" +msgstr "ID de lançamento" + +#: ../public/js/plugins/vms-tab.js:861 +msgid "Net_TX" +msgstr "Net_TX" + +#: ../public/js/plugins/vms-tab.js:865 +msgid "Net_RX" +msgstr "Net_RX" + +#: ../public/js/plugins/vms-tab.js:869 +msgid "Used Memory" +msgstr "Memória utilizada" + +#: ../public/js/plugins/vms-tab.js:873 +msgid "Used CPU" +msgstr "CPU utilizado" + +#: ../public/js/plugins/vms-tab.js:877 +msgid "VNC Session" +msgstr "Sessão VNC" + +#: ../public/js/plugins/vms-tab.js:926 +msgid "Create Virtual Machine" +msgstr "Criar Máquina Virtual VM" + +#: ../public/js/plugins/vms-tab.js:949 +msgid "You have not selected a template" +msgstr "Não seleccionou um modelo" + +#: ../public/js/plugins/vms-tab.js:987 +msgid "VM Save As" +msgstr "Guardar como VM" + +#: ../public/js/plugins/vms-tab.js:1021 +msgid "Skipping VM " +msgstr "A saltar VM " + +#: ../public/js/plugins/vms-tab.js:1022 +msgid "No disk id or image name specified" +msgstr "ID de disco id ou nome da imagem não especificados" + +#: ../public/js/plugins/vms-tab.js:1059 +msgid "Saveas for VM with ID" +msgstr "Guardar como para VM com ID" + +#: ../public/js/plugins/vms-tab.js:1062 +msgid "Select disk" +msgstr "Seleccionar disco" + +#: ../public/js/plugins/vms-tab.js:1064 +msgid "Retrieving" +msgstr "A obter" + +#: ../public/js/plugins/vms-tab.js:1068 +msgid "Image name" +msgstr "Nome da imagem" + +#: ../public/js/plugins/vms-tab.js:1074 +msgid "Default (current image type)" +msgstr "Por omissão (tipo de imagem actual)" + +#: ../public/js/plugins/vms-tab.js:1075 ../public/js/plugins/images-tab.js:82 +#: ../public/js/plugins/images-tab.js:532 +msgid "OS" +msgstr "SO" + +#: ../public/js/plugins/vms-tab.js:1076 ../public/js/plugins/images-tab.js:84 +#: ../public/js/plugins/images-tab.js:534 +msgid "Datablock" +msgstr "Datablock" + +#: ../public/js/plugins/vms-tab.js:1077 +#: ../public/js/plugins/templates-tab.js:1060 +#: ../public/js/plugins/templates-tab.js:1106 +#: ../public/js/plugins/templates-tab.js:1139 +#: ../public/js/plugins/images-tab.js:83 +#: ../public/js/plugins/images-tab.js:533 +msgid "CD-ROM" +msgstr "CD-ROM" + +#: ../public/js/plugins/vms-tab.js:1097 ../public/js/plugins/vms-tab.js:1100 +msgid "disk id" +msgstr "id de disco" + +#: ../public/js/plugins/vms-tab.js:1105 +msgid "No disks defined" +msgstr "Não há discos definidos" + +#: ../public/js/plugins/vms-tab.js:1122 +msgid "Update VM properties" +msgstr "Actualizar propriedades de VM" + +#: ../public/js/plugins/vms-tab.js:1262 +msgid "VNC connection" +msgstr "Ligação VNC" + +#: ../public/js/plugins/vms-tab.js:1277 +msgid "Canvas not supported." +msgstr "Canvas não suportado." + +#: ../public/js/plugins/vms-tab.js:1338 +msgid "RUNNING" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1340 +msgid "Open VNC Session" +msgstr "Abrir Sessão VNC" + +#: ../public/js/plugins/vms-tab.js:1343 +msgid "VNC Disabled" +msgstr "VNC desactivado" + +#: ../public/js/plugins/datastores-tab.js:34 +#, fuzzy +msgid "Basepath" +msgstr "Caminho base" + +#: ../public/js/plugins/datastores-tab.js:36 +#, fuzzy +msgid "DS MAD" +msgstr "TM MAD" + +#: ../public/js/plugins/datastores-tab.js:52 +msgid "Datastore manager" +msgstr "Gestor da Datastore" + +#: ../public/js/plugins/datastores-tab.js:54 +msgid "Filesystem" +msgstr "Sistema de ficheiros" + +#: ../public/js/plugins/datastores-tab.js:56 +#: ../public/js/plugins/datastores-tab.js:63 +msgid "iSCSI" +msgstr "iSCSI" + +#: ../public/js/plugins/datastores-tab.js:57 +#, fuzzy +msgid "LVM" +msgstr "KVM" + +#: ../public/js/plugins/datastores-tab.js:59 +msgid "Transfer manager" +msgstr "Gestão de transferência" + +#: ../public/js/plugins/datastores-tab.js:61 +msgid "Shared" +msgstr "Shared" + +#: ../public/js/plugins/datastores-tab.js:62 +#: ../public/js/plugins/users-tab.js:60 ../public/js/plugins/users-tab.js:281 +msgid "SSH" +msgstr "SSH" + +#: ../public/js/plugins/datastores-tab.js:64 +#: ../public/js/plugins/hosts-tab.js:86 ../public/js/plugins/hosts-tab.js:100 +msgid "Dummy" +msgstr "Dummy" + +#: ../public/js/plugins/datastores-tab.js:66 +#: ../public/js/plugins/templates-tab.js:225 +msgid "Disk type" +msgstr "Tipo de disco" + +#: ../public/js/plugins/datastores-tab.js:68 +#: ../public/js/plugins/templates-tab.js:1138 +msgid "File" +msgstr "Ficheiro" + +#: ../public/js/plugins/datastores-tab.js:69 +#: ../public/js/plugins/templates-tab.js:1063 +#: ../public/js/plugins/templates-tab.js:1109 +#: ../public/js/plugins/templates-tab.js:1140 +msgid "Block" +msgstr "Bloquear" + +#: ../public/js/plugins/datastores-tab.js:82 +msgid "Please, choose and modify the datastore you want to update" +msgstr "Por favor, seleccione e modifique a datastore que quer actualizar" + +#: ../public/js/plugins/datastores-tab.js:84 +msgid "Select a datastore" +msgstr "Seleccionar a datastore" + +#: ../public/js/plugins/datastores-tab.js:114 +#: ../public/js/plugins/images-tab.js:32 ../public/js/plugins/images-tab.js:72 +#: ../public/js/plugins/images-tab.js:188 +#: ../public/js/plugins/images-tab.js:609 +#: ../public/js/plugins/dashboard-tab.js:118 +msgid "Datastore" +msgstr "Datastore" + +#: ../public/js/plugins/datastores-tab.js:206 +msgid "Datastore updated correctly" +msgstr "Datastore actualizada correctamente" + +#: ../public/js/plugins/datastores-tab.js:317 +#: ../public/js/plugins/datastores-tab.js:417 +#: ../public/js/plugins/datastores-tab.js:421 +msgid "Datastore information" +msgstr "Informação da Datastore" + +#: ../public/js/plugins/datastores-tab.js:321 +#: ../public/js/plugins/datastores-tab.js:481 +msgid "Datastore template" +msgstr "Modelo de Datastore" + +#: ../public/js/plugins/datastores-tab.js:445 +msgid "DS Mad" +msgstr "DS Mad" + +#: ../public/js/plugins/datastores-tab.js:449 +msgid "TM Mad" +msgstr "TM Mad" + +#: ../public/js/plugins/datastores-tab.js:453 +msgid "Base path" +msgstr "Caminho base" + +#: ../public/js/plugins/datastores-tab.js:478 +msgid "Datastore Template" +msgstr "Modelo de Datastore" + +#: ../public/js/plugins/datastores-tab.js:495 +msgid "Create Datastore" +msgstr "Criar Datastore" + +#: ../public/js/plugins/datastores-tab.js:547 +msgid "Update Datastore properties" +msgstr "Actualizar as propriedades Datastore" + +#: ../public/js/plugins/hosts-tab.js:22 +msgid "CPU Monitoring information" +msgstr "Informação de monitorização do CPU" + +#: ../public/js/plugins/hosts-tab.js:28 +msgid "Memory monitoring information" +msgstr "Informação de monitorização de memória" + +#: ../public/js/plugins/hosts-tab.js:49 +msgid "CPU Use" +msgstr "Utilização de CPU" + +#: ../public/js/plugins/hosts-tab.js:50 +msgid "Memory use" +msgstr "Uso de memória" + +#: ../public/js/plugins/hosts-tab.js:54 +msgid "Last monitored on" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:61 +msgid "CPU Use is calculated as the maximum between (total CPU - real CPU usage) and (allocated CPU). Real CPU usage is provided by the hosts monitoring driver. Available CPU is calculated using the information from the CPU setting of the VMs running on that host (allocated CPU)" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:64 +msgid "Memory use is calculated according to the information provided by the host monitoring driver." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:67 +msgid "You can get monitoring graphs by clicking in the desired host and visiting the monitoring information tab. Note that oneacctd must be running for this information to be updated/available." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:74 +msgid "Host parameters" +msgstr "Parâmetros do host" + +#: ../public/js/plugins/hosts-tab.js:77 +msgid "Drivers" +msgstr "Drivers" + +#: ../public/js/plugins/hosts-tab.js:80 +msgid "Virtualization Manager" +msgstr "Gestão de Virtualização" + +#: ../public/js/plugins/hosts-tab.js:82 ../public/js/plugins/hosts-tab.js:96 +msgid "KVM" +msgstr "KVM" + +#: ../public/js/plugins/hosts-tab.js:83 ../public/js/plugins/hosts-tab.js:97 +#: ../public/js/plugins/templates-tab.js:416 +msgid "XEN" +msgstr "XEN" + +#: ../public/js/plugins/hosts-tab.js:85 ../public/js/plugins/hosts-tab.js:99 +msgid "EC2" +msgstr "EC2" + +#: ../public/js/plugins/hosts-tab.js:87 ../public/js/plugins/hosts-tab.js:101 +#: ../public/js/plugins/hosts-tab.js:117 ../public/js/plugins/users-tab.js:63 +msgid "Custom" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:90 +msgid "Custom VMM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:94 +msgid "Information Manager" +msgstr "Gestor de informação" + +#: ../public/js/plugins/hosts-tab.js:104 +msgid "Custom IM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:111 +msgid "Default (dummy)" +msgstr "Por omissão (dummy)" + +#: ../public/js/plugins/hosts-tab.js:112 +msgid "Firewall" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:114 +#, fuzzy +msgid "Ebtables" +msgstr "Etables" + +#: ../public/js/plugins/hosts-tab.js:120 +msgid "Custom VNM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:274 +#: ../public/js/plugins/templates-tab.js:702 +#: ../public/js/plugins/users-tab.js:244 +msgid "Template updated correctly" +msgstr "Modelo actualizado correctamente" + +#: ../public/js/plugins/hosts-tab.js:306 +msgid "Update a template" +msgstr "Actualizar o modelo" + +#: ../public/js/plugins/hosts-tab.js:319 +#: ../public/js/plugins/templates-tab.js:163 +#: ../public/js/plugins/templates-tab.js:172 +#: ../public/js/plugins/images-tab.js:473 +msgid "Enable" +msgstr "Activar" + +#: ../public/js/plugins/hosts-tab.js:324 +#: ../public/js/plugins/templates-tab.js:164 +#: ../public/js/plugins/templates-tab.js:173 +#: ../public/js/plugins/images-tab.js:477 +msgid "Disable" +msgstr "Desactivar" + +#: ../public/js/plugins/hosts-tab.js:329 +msgid "Delete host" +msgstr "Apagar host" + +#: ../public/js/plugins/hosts-tab.js:434 +#: ../public/js/plugins/templates-tab.js:2002 +msgid "ERROR" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:434 +msgid "OFF" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:537 +msgid "Max CPU" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:587 +msgid "Create host" +msgstr "Criar host" + +#: ../public/js/plugins/hosts-tab.js:629 +msgid "Host name missing!" +msgstr "Nome do host em falta!" + +#: ../public/js/plugins/config-tab.js:23 +msgid "Sunstone UI Configuration" +msgstr "Configuração da Sunstone UI " + +#: ../public/js/plugins/config-tab.js:28 +msgid "Language" +msgstr "Língua" + +#: ../public/js/plugins/config-tab.js:31 +msgid "English" +msgstr "English" + +#: ../public/js/plugins/config-tab.js:32 +msgid "French" +msgstr "" + +#: ../public/js/plugins/config-tab.js:33 +msgid "Italian" +msgstr "Italian" + +#: ../public/js/plugins/config-tab.js:34 +msgid "Portuguese" +msgstr "" + +#: ../public/js/plugins/config-tab.js:35 +msgid "Russian" +msgstr "Russian" + +#: ../public/js/plugins/config-tab.js:40 +msgid "Secure websockets connection" +msgstr "Ligação segura de websockets" + +#: ../public/js/plugins/config-tab.js:50 +msgid "These options are stored in your OpenNebula user template." +msgstr "" + +#: ../public/js/plugins/config-tab.js:67 +msgid "Configuration" +msgstr "Configuração" + +#: ../public/js/plugins/templates-tab.js:32 +#: ../public/js/plugins/images-tab.js:35 +msgid "Registration time" +msgstr "Registo de tempo" + +#: ../public/js/plugins/templates-tab.js:42 +msgid "Wizard KVM" +msgstr "Assistente KVM" + +#: ../public/js/plugins/templates-tab.js:43 +msgid "Wizard XEN" +msgstr "Assistente XEN" + +#: ../public/js/plugins/templates-tab.js:44 +msgid "Wizard VMware" +msgstr "Assistente VMware" + +#: ../public/js/plugins/templates-tab.js:58 +#: ../public/js/plugins/images-tab.js:58 +msgid "Fields marked with" +msgstr "Campos marcados com" + +#: ../public/js/plugins/templates-tab.js:59 +#: ../public/js/plugins/images-tab.js:59 +msgid "are mandatory" +msgstr "são obrigatórios" + +#: ../public/js/plugins/templates-tab.js:60 +msgid "Fold / Unfold all sections" +msgstr "Expandir / Colapsar todas as secções" + +#: ../public/js/plugins/templates-tab.js:66 +msgid "Capacity options" +msgstr "Opções de capacidade" + +#: ../public/js/plugins/templates-tab.js:68 +msgid "Capacity" +msgstr "Capacidade" + +#: ../public/js/plugins/templates-tab.js:72 +msgid "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>." +msgstr "Nome da VM na descrição. Se o NOME não for indicado, um nome irá ser gerado pelo ONE na forma one-<VID>." + +#: ../public/js/plugins/templates-tab.js:77 +msgid "Amount of RAM required for the VM, in Megabytes." +msgstr "Quantidade de RAM necessária para a VM, em Megabytes." + +#: ../public/js/plugins/templates-tab.js:82 +msgid "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5." +msgstr "Percentagem de CPU dividida por 100 necessária para a Máquina Virtual VM. Metade de um processador escreve-se 0.5." + +#: ../public/js/plugins/templates-tab.js:85 +msgid "VCPU" +msgstr "VCPU" + +#: ../public/js/plugins/templates-tab.js:87 +msgid "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU." +msgstr "Número de CPUs virtuais. Este valor é opcional, sendo usado o valor por omissão do hipervisor, normalmente 1 CPU virtual." + +#: ../public/js/plugins/templates-tab.js:96 +msgid "Boot/OS options" +msgstr "Opções de arranque/SO" + +#: ../public/js/plugins/templates-tab.js:98 +msgid "OS and Boot options" +msgstr "SO e opções de arranque" + +#: ../public/js/plugins/templates-tab.js:100 +msgid "Architecture" +msgstr "Arquitectura" + +#: ../public/js/plugins/templates-tab.js:105 +msgid "CPU architecture to virtualization" +msgstr "Arquitectura CPU para virtualização" + +#: ../public/js/plugins/templates-tab.js:110 +msgid "Boot method" +msgstr "Método de arranque" + +#: ../public/js/plugins/templates-tab.js:113 +#: ../public/js/plugins/templates-tab.js:119 +msgid "Kernel" +msgstr "Kernel" + +#: ../public/js/plugins/templates-tab.js:114 +#: ../public/js/plugins/templates-tab.js:139 +msgid "Bootloader" +msgstr "Bootloader" + +#: ../public/js/plugins/templates-tab.js:116 +msgid "Select boot method" +msgstr "Seleccionar o método de arranque" + +#: ../public/js/plugins/templates-tab.js:121 +msgid "Path to the OS kernel to boot the image" +msgstr "Caminho para o kernel do SO para arrancar a imagem" + +#: ../public/js/plugins/templates-tab.js:124 +msgid "Initrd" +msgstr "Initrd" + +#: ../public/js/plugins/templates-tab.js:126 +msgid "Path to the initrd image" +msgstr "Caminho para a imagem initrd" + +#: ../public/js/plugins/templates-tab.js:129 +msgid "Root" +msgstr "Root" + +#: ../public/js/plugins/templates-tab.js:131 +msgid "Device to be mounted as root" +msgstr "Dispositivo a ser montado como root" + +#: ../public/js/plugins/templates-tab.js:134 +msgid "Kernel commands" +msgstr "Comandos do kernel" + +#: ../public/js/plugins/templates-tab.js:136 +msgid "Arguments for the booting kernel" +msgstr "Argumentos para arranque do kernel" + +#: ../public/js/plugins/templates-tab.js:141 +msgid "Path to the bootloader executable" +msgstr "Caminho para o executável bootloader" + +#: ../public/js/plugins/templates-tab.js:144 +msgid "Boot" +msgstr "Boot" + +#: ../public/js/plugins/templates-tab.js:147 +msgid "Boot device type" +msgstr "Tipo de dispositivo de arranque" + +#: ../public/js/plugins/templates-tab.js:156 +#: ../public/js/plugins/templates-tab.js:158 +msgid "Features" +msgstr "Funcionalidades" + +#: ../public/js/plugins/templates-tab.js:160 +msgid "PAE" +msgstr "PAE" + +#: ../public/js/plugins/templates-tab.js:166 +msgid "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory" +msgstr "O modo de extensão de endereço físico permite a guests de 32-bit alocar mais do que 4GB de memória" + +#: ../public/js/plugins/templates-tab.js:169 +msgid "ACPI" +msgstr "ACPI" + +#: ../public/js/plugins/templates-tab.js:175 +msgid "Useful for power management, for example, normally required for graceful shutdown to work" +msgstr "Útil para gestão de energia, por exemplo, normalmente necessário para um encerramento normal funcionar" + +#: ../public/js/plugins/templates-tab.js:187 +msgid "Add disks/images" +msgstr "Adicionar discos/imagens" + +#: ../public/js/plugins/templates-tab.js:189 +msgid "Disks" +msgstr "Discos" + +#: ../public/js/plugins/templates-tab.js:191 +msgid "Add disk/image" +msgstr "Adicionar disco/imagem" + +#: ../public/js/plugins/templates-tab.js:192 +#: ../public/js/plugins/templates-tab.js:1058 +#: ../public/js/plugins/templates-tab.js:1104 +msgid "Disk" +msgstr "Disco" + +#: ../public/js/plugins/templates-tab.js:202 +msgid "Name of the image to use" +msgstr "Nome da imagem a ser usada" + +#: ../public/js/plugins/templates-tab.js:206 +#: ../public/js/plugins/templates-tab.js:412 +#: ../public/js/plugins/images-tab.js:99 +msgid "Bus" +msgstr "Bus" + +#: ../public/js/plugins/templates-tab.js:209 +msgid "Type of disk device to emulate: ide, scsi" +msgstr "Tipo de dispositivo de disco a emular: ide, scsi" + +#: ../public/js/plugins/templates-tab.js:212 +#: ../public/js/plugins/templates-tab.js:324 +#: ../public/js/plugins/images-tab.js:39 +#: ../public/js/plugins/images-tab.js:113 +msgid "Target" +msgstr "Alvo" + +#: ../public/js/plugins/templates-tab.js:214 +msgid "Device to map image disk. If set, it will overwrite the default device mapping" +msgstr "Dispositivo para mapear imagem do disco. Se definido, vai sobrepôr-se ao mapeamento por omissão." + +#: ../public/js/plugins/templates-tab.js:217 +#: ../public/js/plugins/images-tab.js:108 +msgid "Driver" +msgstr "Driver" + +#: ../public/js/plugins/templates-tab.js:219 +msgid "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported" +msgstr "Driver de mapeamento específico de imagem. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware não suportado" + +#: ../public/js/plugins/templates-tab.js:228 +#: ../public/js/plugins/images-tab.js:142 +#: ../public/js/plugins/images-tab.js:633 +msgid "Source" +msgstr "Fonte" + +#: ../public/js/plugins/templates-tab.js:230 +msgid "Disk file location path or URL" +msgstr "Localização do ficheiro de disco ou URL" + +#: ../public/js/plugins/templates-tab.js:233 +msgid "Transfer Manager" +msgstr "Gestão de Transferência" + +#: ../public/js/plugins/templates-tab.js:235 +msgid "shared,ssh,iscsi,dummy" +msgstr "shared,ssh,iscsi,dummy" + +#: ../public/js/plugins/templates-tab.js:239 +#: ../public/js/plugins/images-tab.js:33 +#: ../public/js/plugins/images-tab.js:147 +msgid "Size" +msgstr "Tamanho" + +#: ../public/js/plugins/templates-tab.js:241 +msgid "Size in MB" +msgstr "Tamanho in MB" + +#: ../public/js/plugins/templates-tab.js:245 +msgid "Format" +msgstr "Formatar" + +#: ../public/js/plugins/templates-tab.js:247 +msgid "Filesystem type for the fs images" +msgstr "Tipo de sistema de ficheiros para a imagem fs" + +#: ../public/js/plugins/templates-tab.js:250 +msgid "Clone" +msgstr "Clonar" + +#: ../public/js/plugins/templates-tab.js:255 +msgid "Clone this image" +msgstr "Clonar esta imagem" + +#: ../public/js/plugins/templates-tab.js:258 +msgid "Save" +msgstr "Guardar" + +#: ../public/js/plugins/templates-tab.js:263 +msgid "Save this image after shutting down the VM" +msgstr "Guardar esta imagem depois de desligar a VM" + +#: ../public/js/plugins/templates-tab.js:266 +msgid "Read only" +msgstr "Só de leitura" + +#: ../public/js/plugins/templates-tab.js:271 +msgid "Mount image as read-only" +msgstr "Montar imagem como só com permissões de leitura" + +#: ../public/js/plugins/templates-tab.js:277 +msgid "Current disks" +msgstr "Discos actuais" + +#: ../public/js/plugins/templates-tab.js:289 +msgid "Setup Networks" +msgstr "Configuração de redes" + +#: ../public/js/plugins/templates-tab.js:291 +#: ../public/js/plugins/templates-tab.js:302 +msgid "Network" +msgstr "Rede" + +#: ../public/js/plugins/templates-tab.js:293 +msgid "Add network" +msgstr "Adicionar rede" + +#: ../public/js/plugins/templates-tab.js:294 +msgid "Predefined" +msgstr "Pré-definido" + +#: ../public/js/plugins/templates-tab.js:296 +msgid "Manual" +msgstr "Manual" + +#: ../public/js/plugins/templates-tab.js:305 +msgid "Name of the network to attach this device" +msgstr "Nome da rede a associar ao dispositivo" + +#: ../public/js/plugins/templates-tab.js:309 +msgid "IP" +msgstr "IP" + +#: ../public/js/plugins/templates-tab.js:311 +msgid "Request an specific IP from the Network" +msgstr "Pedir um IP específico de rede" + +#: ../public/js/plugins/templates-tab.js:314 +msgid "MAC" +msgstr "MAC" + +#: ../public/js/plugins/templates-tab.js:316 +msgid "HW address associated with the network interface" +msgstr "Endereço HW associado à interface de rede" + +#: ../public/js/plugins/templates-tab.js:321 +msgid "Name of the bridge the network device is going to be attached to" +msgstr "Nome da bridge do dispositivo de rede ao qual vai ser associado" + +#: ../public/js/plugins/templates-tab.js:326 +msgid "Name for the tun device created for the VM" +msgstr "Nome do dispositivo criado para a VM" + +#: ../public/js/plugins/templates-tab.js:329 +msgid "Script" +msgstr "Script" + +#: ../public/js/plugins/templates-tab.js:331 +msgid "Name of a shell script to be executed after creating the tun device for the VM" +msgstr "Nome do script da linha de comandos a ser executado depois da criação do dispositovo para a VM" + +#: ../public/js/plugins/templates-tab.js:334 +msgid "Model" +msgstr "Modelo" + +#: ../public/js/plugins/templates-tab.js:336 +msgid "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif." +msgstr "Hardware que vai emular esta interface de rede interface. Com Xen, este é um tipo de atributo do vif." + +#: ../public/js/plugins/templates-tab.js:339 +msgid "Tcp firewall mode" +msgstr "Modo de firewall Tcp" + +#: ../public/js/plugins/templates-tab.js:341 +#: ../public/js/plugins/templates-tab.js:360 +msgid "Optional, please select" +msgstr "Opcional, por favor escolha" + +#: ../public/js/plugins/templates-tab.js:342 +#: ../public/js/plugins/templates-tab.js:361 +msgid "Port whitelist" +msgstr "Lista verde de portos" + +#: ../public/js/plugins/templates-tab.js:343 +#: ../public/js/plugins/templates-tab.js:362 +msgid "Port blacklist" +msgstr "Lista negra de portos" + +#: ../public/js/plugins/templates-tab.js:348 +msgid "Tcp white ports" +msgstr "Portos abertos Tcp" + +#: ../public/js/plugins/templates-tab.js:350 +msgid "Permits access to the VM only through the specified ports in the TCP protocol" +msgstr "Permite o acesso à VM através dos portos especificados do protocolo TCP" + +#: ../public/js/plugins/templates-tab.js:353 +msgid "Tcp black ports" +msgstr "Portos bloqueados Tcp" + +#: ../public/js/plugins/templates-tab.js:355 +msgid "Disallow access to the VM through the specified ports in the TCP protocol" +msgstr "Inibir acesso à VM através dos portos especificados do protocolo TCP" + +#: ../public/js/plugins/templates-tab.js:358 +msgid "Udp firewall mode" +msgstr "Modo de firewall Udp" + +#: ../public/js/plugins/templates-tab.js:367 +msgid "Udp white ports" +msgstr "Portos abertos Udp" + +#: ../public/js/plugins/templates-tab.js:369 +msgid "Permits access to the VM only through the specified ports in the UDP protocol" +msgstr "Permits o acesso à VM através dos portos especificados do protocolo UDP" + +#: ../public/js/plugins/templates-tab.js:372 +msgid "Udp black ports" +msgstr "Portos bloqueados Udp" + +#: ../public/js/plugins/templates-tab.js:374 +msgid "Disallow access to the VM through the specified ports in the UDP protocol" +msgstr "Inibir acesso à VM através dos portos especificados do protocolo UDP" + +#: ../public/js/plugins/templates-tab.js:377 +msgid "Icmp" +msgstr "Icmp" + +#: ../public/js/plugins/templates-tab.js:379 +msgid "Accept (default)" +msgstr "Aceitar (por omissão)" + +#: ../public/js/plugins/templates-tab.js:380 +msgid "Drop" +msgstr "Apagar" + +#: ../public/js/plugins/templates-tab.js:382 +msgid "ICMP policy" +msgstr "Política ICMP" + +#: ../public/js/plugins/templates-tab.js:389 +msgid "Current NICs" +msgstr "NICs actuais" + +#: ../public/js/plugins/templates-tab.js:400 +msgid "Add inputs" +msgstr "Adicionar entradas" + +#: ../public/js/plugins/templates-tab.js:402 +msgid "Inputs" +msgstr "entradas" + +#: ../public/js/plugins/templates-tab.js:406 +msgid "Mouse" +msgstr "Rato" + +#: ../public/js/plugins/templates-tab.js:407 +msgid "Tablet" +msgstr "Tablet" + +#: ../public/js/plugins/templates-tab.js:414 +msgid "USB" +msgstr "USB" + +#: ../public/js/plugins/templates-tab.js:415 +msgid "PS2" +msgstr "PS2" + +#: ../public/js/plugins/templates-tab.js:424 +msgid "Current inputs" +msgstr "Entradas actuais" + +#: ../public/js/plugins/templates-tab.js:435 +msgid "Add Graphics" +msgstr "Adicionar gráficas" + +#: ../public/js/plugins/templates-tab.js:437 +msgid "Graphics" +msgstr "Graphicos" + +#: ../public/js/plugins/templates-tab.js:439 +msgid "Graphics type" +msgstr "Tipo de gráficos" + +#: ../public/js/plugins/templates-tab.js:442 +msgid "VNC" +msgstr "VNC" + +#: ../public/js/plugins/templates-tab.js:443 +msgid "SDL" +msgstr "SDL" + +#: ../public/js/plugins/templates-tab.js:445 +msgid "VMware supports VNC only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:448 +msgid "Listen IP" +msgstr "IP a escutar" + +#: ../public/js/plugins/templates-tab.js:450 +msgid "IP to listen on" +msgstr "IP a escutar" + +#: ../public/js/plugins/templates-tab.js:453 +msgid "Port" +msgstr "Porto" + +#: ../public/js/plugins/templates-tab.js:455 +msgid "Port for the VNC server" +msgstr "Porto para o servidor VNC" + +#: ../public/js/plugins/templates-tab.js:458 +#: ../public/js/plugins/users-tab.js:55 +msgid "Password" +msgstr "Palavra-passe" + +#: ../public/js/plugins/templates-tab.js:460 +msgid "Password for the VNC server" +msgstr "Palavra-passe para os ervidor VNC" + +#: ../public/js/plugins/templates-tab.js:463 +msgid "Keymap" +msgstr "Mapeamento do teclado" + +#: ../public/js/plugins/templates-tab.js:465 +msgid "Keyboard configuration locale to use in the VNC display" +msgstr "Configuração local do teclado a usar na visualização VNC" + +#: ../public/js/plugins/templates-tab.js:474 +msgid "Add context variables" +msgstr "Adicionar variáveis de contexto" + +#: ../public/js/plugins/templates-tab.js:476 +msgid "Context" +msgstr "Contexto" + +#: ../public/js/plugins/templates-tab.js:480 +msgid "Name for the context variable" +msgstr "Nome da variável de contexto" + +#: ../public/js/plugins/templates-tab.js:485 +msgid "Value of the context variable" +msgstr "Valor da variável de contexto" + +#: ../public/js/plugins/templates-tab.js:491 +#: ../public/js/plugins/templates-tab.js:556 +msgid "Current variables" +msgstr "Variáveis actuais" + +#: ../public/js/plugins/templates-tab.js:502 +msgid "Add placement options" +msgstr "Adicionar opções de colocação" + +#: ../public/js/plugins/templates-tab.js:504 +msgid "Placement" +msgstr "Colocação" + +#: ../public/js/plugins/templates-tab.js:506 +msgid "Requirements" +msgstr "Rquisitos" + +#: ../public/js/plugins/templates-tab.js:508 +msgid "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM" +msgstr "Expressões boleanas que excluam hosts de provisionamento da lista de máquinas para correr esta VM" + +#: ../public/js/plugins/templates-tab.js:511 +msgid "Rank" +msgstr "Posição" + +#: ../public/js/plugins/templates-tab.js:513 +msgid "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others" +msgstr "Este campo define qual atributo irá ser usado para ordenar os hosts indicados para esta VM. Basicamente, define que hosts são mais indicados que outros" + +#: ../public/js/plugins/templates-tab.js:522 +msgid "Add Hypervisor raw options" +msgstr "Adicionar opções raw do Hipervisor" + +#: ../public/js/plugins/templates-tab.js:524 +msgid "Raw" +msgstr "Raw" + +#: ../public/js/plugins/templates-tab.js:527 +msgid "Data" +msgstr "Dados" + +#: ../public/js/plugins/templates-tab.js:530 +msgid "Raw data to be passed directly to the hypervisor" +msgstr "Dados raw a serem passados directamente ao hipervisor" + +#: ../public/js/plugins/templates-tab.js:539 +msgid "Add custom variables" +msgstr "Adicionar variáveis personalizáveis" + +#: ../public/js/plugins/templates-tab.js:541 +msgid "Custom variables" +msgstr "Atributos personalizáveis" + +#: ../public/js/plugins/templates-tab.js:545 +msgid "Name for the custom variable" +msgstr "Nome da variável personalizada" + +#: ../public/js/plugins/templates-tab.js:550 +msgid "Value of the custom variable" +msgstr "Valor variável personalizada" + +#: ../public/js/plugins/templates-tab.js:575 +msgid "Write the Virtual Machine template here" +msgstr "Introduza o modelo de VM aqui" + +#: ../public/js/plugins/templates-tab.js:794 +msgid "Instantiate" +msgstr "Instanciar" + +#: ../public/js/plugins/templates-tab.js:819 +msgid "Template information" +msgstr "Informação de modelo" + +#: ../public/js/plugins/templates-tab.js:913 +msgid "Information" +msgstr "Informação" + +#: ../public/js/plugins/templates-tab.js:937 +#: ../public/js/plugins/images-tab.js:625 +msgid "Register time" +msgstr "Registar tempo" + +#: ../public/js/plugins/templates-tab.js:1057 +msgid "None" +msgstr "Nenhum" + +#: ../public/js/plugins/templates-tab.js:1059 +#: ../public/js/plugins/templates-tab.js:1105 +msgid "Floppy" +msgstr "Disquete" + +#: ../public/js/plugins/templates-tab.js:1061 +#: ../public/js/plugins/templates-tab.js:1107 +msgid "Swap" +msgstr "Substituir" + +#: ../public/js/plugins/templates-tab.js:1062 +#: ../public/js/plugins/templates-tab.js:1108 +msgid "FS" +msgstr "FS" + +#: ../public/js/plugins/templates-tab.js:1068 +msgid "hd" +msgstr "hd" + +#: ../public/js/plugins/templates-tab.js:1069 +msgid "fd" +msgstr "fd" + +#: ../public/js/plugins/templates-tab.js:1070 +msgid "cdrom" +msgstr "cdrom" + +#: ../public/js/plugins/templates-tab.js:1071 +msgid "network" +msgstr "rede" + +#: ../public/js/plugins/templates-tab.js:1075 +msgid "Driver default" +msgstr "Driver por omissão" + +#: ../public/js/plugins/templates-tab.js:1078 +#: ../public/js/plugins/templates-tab.js:1116 +#: ../public/js/plugins/templates-tab.js:1147 +#: ../public/js/plugins/images-tab.js:101 +msgid "IDE" +msgstr "IDE" + +#: ../public/js/plugins/templates-tab.js:1079 +#: ../public/js/plugins/templates-tab.js:1117 +#: ../public/js/plugins/templates-tab.js:1148 +#: ../public/js/plugins/images-tab.js:102 +msgid "SCSI" +msgstr "SCSI" + +#: ../public/js/plugins/templates-tab.js:1080 +msgid "Virtio" +msgstr "Virtio" + +#: ../public/js/plugins/templates-tab.js:1113 +msgid "Please choose" +msgstr "Por favor seleccione" + +#: ../public/js/plugins/templates-tab.js:1187 +msgid "There are mandatory parameters missing in this section" +msgstr "Há campos obrigatórios em falta nesta secção" + +#: ../public/js/plugins/templates-tab.js:1727 +msgid "Context variable name and value must be filled in" +msgstr "A variável de contexto e valor devem ser preenchidos" + +#: ../public/js/plugins/templates-tab.js:1778 +msgid "Custom variable name and value must be filled in" +msgstr "O nome do atributo personalizável e o valor devem ser preenchidos" + +#: ../public/js/plugins/templates-tab.js:1797 +msgid "Create VM Template" +msgstr "Criar Modelo de VM" + +#: ../public/js/plugins/templates-tab.js:1885 +msgid "There are mandatory fields missing in the capacity section" +msgstr "Há campos obrigatórios em falta na secção secção capacidade" + +#: ../public/js/plugins/templates-tab.js:1896 +msgid "Xen templates must specify a boot method" +msgstr "Os modelos Xen têm que especificar um método de arranque" + +#: ../public/js/plugins/templates-tab.js:1901 +msgid "There are mandatory fields missing in the OS Boot options section" +msgstr "Há campos obrigatórios em falta na secção arranque do SO" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "DISABLED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "LOCKED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2019 +msgid "Update template properties" +msgstr "Actualizar propriedades de modelo" + +#: ../public/js/plugins/infra-tab.js:25 +msgid "Summary of infrastructure resources" +msgstr "Sumário dos recursos da nfrastructura" + +#: ../public/js/plugins/infra-tab.js:57 +msgid "Create new Cluster" +msgstr "Criar novo Cluster" + +#: ../public/js/plugins/infra-tab.js:58 +msgid "Create new Host" +msgstr "Criar novo Host" + +#: ../public/js/plugins/infra-tab.js:59 +msgid "Create new Datastore" +msgstr "Criar novo Datastore" + +#: ../public/js/plugins/infra-tab.js:60 +msgid "Create new Virtual Network" +msgstr "Criar nova Rede Virtual" + +#: ../public/js/plugins/infra-tab.js:73 +msgid "Infrastructure resources" +msgstr "Recursos da infraestrutura" + +#: ../public/js/plugins/infra-tab.js:75 +msgid "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well." +msgstr "O menu Infrastructura permite a gestão de Hosts, Datastores, e Redes Virtuais. Utilizadors no grupo oneadmin podem gerir clusters também." + +#: ../public/js/plugins/infra-tab.js:76 +#: ../public/js/plugins/vresources-tab.js:81 +#: ../public/js/plugins/system-tab.js:71 +msgid "You can find further information on the following links:" +msgstr "Pode encontrar mais informação nas ligações seguintes:" + +#: ../public/js/plugins/infra-tab.js:92 +msgid "Infrastructure" +msgstr "Infraestrutura" + +#: ../public/js/plugins/users-tab.js:35 ../public/js/plugins/users-tab.js:407 +msgid "Authentication driver" +msgstr "Driver de autenticação" + +#: ../public/js/plugins/users-tab.js:36 +#, fuzzy +msgid "Group ID" +msgstr "Grupo " + +#: ../public/js/plugins/users-tab.js:44 +msgid "Tip: select Core authentication for new Sunstone/Self-Service regular users." +msgstr "" + +#: ../public/js/plugins/users-tab.js:53 +msgid "Username" +msgstr "Nome de utilizador" + +#: ../public/js/plugins/users-tab.js:57 +msgid "Authentication" +msgstr "Autenticação" + +#: ../public/js/plugins/users-tab.js:59 ../public/js/plugins/users-tab.js:280 +msgid "Core" +msgstr "Core" + +#: ../public/js/plugins/users-tab.js:61 ../public/js/plugins/users-tab.js:282 +msgid "x509" +msgstr "x509" + +#: ../public/js/plugins/users-tab.js:62 ../public/js/plugins/users-tab.js:283 +msgid "Public" +msgstr "Público" + +#: ../public/js/plugins/users-tab.js:66 +#, fuzzy +msgid "Custom auth driver" +msgstr "Atributos personalizáveis" + +#: ../public/js/plugins/users-tab.js:82 +msgid "This will change the password for the selected users" +msgstr "Isto vai alterar the palavra-passe for the selected utilizadors" + +#: ../public/js/plugins/users-tab.js:83 +msgid "New password" +msgstr "Nova palavra-passe" + +#: ../public/js/plugins/users-tab.js:89 +msgid "Change" +msgstr "Alterar" + +#: ../public/js/plugins/users-tab.js:145 +msgid "Change password successful" +msgstr "Alteração de palavra-passe bem sucedida" + +#: ../public/js/plugins/users-tab.js:268 ../public/js/plugins/users-tab.js:471 +msgid "Change password" +msgstr "Alterar palavra-passe" + +#: ../public/js/plugins/users-tab.js:274 +msgid "This will change the main group of the selected users. Select the new group" +msgstr "Isto vai alterar the main grupo of the selected utilizadors. Seleccione the novo grupo" + +#: ../public/js/plugins/users-tab.js:278 +msgid "Change authentication" +msgstr "Alterar autenticação" + +#: ../public/js/plugins/users-tab.js:285 +msgid "Please choose the new type of authentication for the selected users" +msgstr "Por favor seleccione the novo tipo de autenticação para os utilizadores seleccionados" + +#: ../public/js/plugins/users-tab.js:309 ../public/js/plugins/users-tab.js:391 +#: ../public/js/plugins/users-tab.js:395 +msgid "User information" +msgstr "Informação de utilizador" + +#: ../public/js/plugins/users-tab.js:413 +msgid "User template" +msgstr "Modelo de utilizadores" + +#: ../public/js/plugins/users-tab.js:424 +msgid "Create user" +msgstr "Criar utilizador" + +#: ../public/js/plugins/users-tab.js:454 +msgid "User name and password must be filled in" +msgstr "O nome de utilizador e a palavra-passe devem ser preenchidos" + +#: ../public/js/plugins/users-tab.js:489 +msgid "Fill in a new password" +msgstr "Preencha de novo a palavra-passe" + +#: ../public/js/plugins/vresources-tab.js:25 +msgid "Summary of virtual resources" +msgstr "Sumário recursos virtuais" + +#: ../public/js/plugins/vresources-tab.js:62 +msgid "Create new Virtual Machine" +msgstr "Criar nova Máquina Virtual VM" + +#: ../public/js/plugins/vresources-tab.js:63 +msgid "Create new VM Template" +msgstr "Criar novo Modelo de VM" + +#: ../public/js/plugins/vresources-tab.js:64 +msgid "Create new Image" +msgstr "Criar nova imagem" + +#: ../public/js/plugins/vresources-tab.js:77 +#: ../public/js/plugins/vresources-tab.js:96 +msgid "Virtual Resources" +msgstr "Recursos virtuais" + +#: ../public/js/plugins/vresources-tab.js:79 +#, fuzzy +msgid "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and storage (Images)." +msgstr "O menu de Recursos Virtuais permite a gestão de Modelos de VM, instâncias e imagens." + +#: ../public/js/plugins/vresources-tab.js:80 +msgid "Virtual Machine templates can be instantiated as many times as you want. You can do it from the Templates tab or by creating a new VM in the VM tab. The second method allows you to customize the name and the number of VMs you want to launch." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:39 +msgid "Tip: Refresh the list if it only shows user ids in the user column." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:47 +msgid "Group name" +msgstr "Nome do grupo" + +#: ../public/js/plugins/groups-tab.js:130 +msgid "+ New Group" +msgstr "+ Novo Grupo" + +#: ../public/js/plugins/groups-tab.js:227 +msgid "Create group" +msgstr "Criar grupo" + +#: ../public/js/plugins/images-tab.js:36 ../public/js/plugins/images-tab.js:89 +#: ../public/js/plugins/images-tab.js:213 +#: ../public/js/plugins/images-tab.js:629 +msgid "Persistent" +msgstr "Persistente" + +#: ../public/js/plugins/images-tab.js:38 +msgid "#VMS" +msgstr "#VMS" + +#: ../public/js/plugins/images-tab.js:46 +msgid "Size and registration time are hidden colums. Note that persistent images can only be used by 1 VM. To change image datastore, please re-register the image." +msgstr "" + +#: ../public/js/plugins/images-tab.js:64 +msgid "Name that the Image will get. Every image must have a unique name." +msgstr "Nome que a imagem vai ter. Cada imagem te que ter um nome único." + +#: ../public/js/plugins/images-tab.js:67 +msgid "Description" +msgstr "Descrição" + +#: ../public/js/plugins/images-tab.js:69 +msgid "Human readable description of the image for other users." +msgstr "Descrição legível da imagem por outros utilizadors." + +#: ../public/js/plugins/images-tab.js:75 +msgid "Select the datastore for this image" +msgstr "Seleccione a datastore para este imagem" + +#: ../public/js/plugins/images-tab.js:86 +msgid "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS)." +msgstr "Tipo de imagem, explicado em detalhe na secção seguinte. Se omitido, o valor por omissão é o valor definido em oned.conf (instalação por omissão é SO)." + +#: ../public/js/plugins/images-tab.js:91 +msgid "Persistence of the image" +msgstr "Persistência da imagem" + +#: ../public/js/plugins/images-tab.js:94 +msgid "Device prefix" +msgstr "Prefixo do dispositivo" + +#: ../public/js/plugins/images-tab.js:96 +msgid "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”)." +msgstr "Prefixp para o dispositivo emulado com esta imagem. Por exemplo, “hd”, “sd”. Se omitido, o valor por omissão é o definido em oned.conf (instalação por omissão é “hd”)." + +#: ../public/js/plugins/images-tab.js:103 +msgid "Virtio (KVM)" +msgstr "Virtio (KVM)" + +#: ../public/js/plugins/images-tab.js:105 +msgid "Type of disk device to emulate." +msgstr "Tipo de dispositivo de disco a emular." + +#: ../public/js/plugins/images-tab.js:110 +msgid "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:" +msgstr "Driver de mapeamento específico de imagem. KVM: raw, qcow2. XEN: tap:aio, file:" + +#: ../public/js/plugins/images-tab.js:115 +msgid "Target on which the image will be mounted at. For example: hda, sdb..." +msgstr "" + +#: ../public/js/plugins/images-tab.js:120 +msgid "Image location" +msgstr "Localização da imagem" + +#: ../public/js/plugins/images-tab.js:123 +msgid "Provide a path" +msgstr "Indique um caminho" + +#: ../public/js/plugins/images-tab.js:126 +msgid "Provide a source" +msgstr "Indique uma fonte" + +#: ../public/js/plugins/images-tab.js:129 +msgid "Upload" +msgstr "Enviar" + +#: ../public/js/plugins/images-tab.js:132 +msgid "Create an empty datablock" +msgstr "Criar bloco de dados vazio" + +#: ../public/js/plugins/images-tab.js:133 +msgid "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk." +msgstr "Por favor seleccione o caminho se tiver uma image de ficheiro. Seleccione a fonte caso contrário ou crie um disco bloco de dados vazio." + +#: ../public/js/plugins/images-tab.js:137 +#: ../public/js/plugins/images-tab.js:637 +msgid "Path" +msgstr "Caminho" + +#: ../public/js/plugins/images-tab.js:139 +msgid "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created." +msgstr "Caminho para o ficheiro original que vai ser copiado para o repositório de imagens. Se não especificado para um tipo de imagem DATABLOCK, uma imagem vazia será criada." + +#: ../public/js/plugins/images-tab.js:144 +msgid "Source to be used in the DISK attribute. Useful for not file-based images." +msgstr "A fonte deve ser usada no atributo de disco. Útil para as imagens não baseadas em fichieiros." + +#: ../public/js/plugins/images-tab.js:149 +msgid "Size of the datablock in MB." +msgstr "Tamanho do bloco de dados em MB." + +#: ../public/js/plugins/images-tab.js:152 +msgid "FS type" +msgstr "Tipo de FS" + +#: ../public/js/plugins/images-tab.js:154 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "Tipo de sistema de ficheiros a contruir. Este pode ser qualquer valor compreendido pelo comando Unix mkfs." + +#: ../public/js/plugins/images-tab.js:157 +msgid "Upload file" +msgstr "Enviar ficheiro" + +#: ../public/js/plugins/images-tab.js:187 +msgid "Write the image template here" +msgstr "Introduza o modelo de imagem aqui" + +#: ../public/js/plugins/images-tab.js:207 +msgid "Please, choose and modify the image you want to update" +msgstr "Por favor, seleccione e modifique a imagem que quer actualizar" + +#: ../public/js/plugins/images-tab.js:209 +msgid "Select an image" +msgstr "Seleccionar a imagem" + +#: ../public/js/plugins/images-tab.js:338 +msgid "Image updated correctly" +msgstr "Imagem actualizada correctamente" + +#: ../public/js/plugins/images-tab.js:481 +msgid "Make persistent" +msgstr "Tornar persistente" + +#: ../public/js/plugins/images-tab.js:485 +msgid "Make non persistent" +msgstr "Tornar não persistente" + +#: ../public/js/plugins/images-tab.js:497 +#: ../public/js/plugins/images-tab.js:593 +msgid "Image information" +msgstr "Informação da imagem" + +#: ../public/js/plugins/images-tab.js:502 +#: ../public/js/plugins/images-tab.js:673 +#: ../public/js/plugins/images-tab.js:675 +msgid "Image template" +msgstr "Modelo da imagem" + +#: ../public/js/plugins/images-tab.js:630 +msgid "yes" +msgstr "sim" + +#: ../public/js/plugins/images-tab.js:630 +#, fuzzy +msgid "no" +msgstr "Info" + +#: ../public/js/plugins/images-tab.js:641 +msgid "Filesystem type" +msgstr "Tipo de sistema de ficheiros" + +#: ../public/js/plugins/images-tab.js:645 +msgid "Size (Mb)" +msgstr "Tamanho (Mb)" + +#: ../public/js/plugins/images-tab.js:653 +msgid "Running #VMS" +msgstr "#VMS a correr" + +#: ../public/js/plugins/images-tab.js:689 +msgid "Create Image" +msgstr "Criar imagem" + +#: ../public/js/plugins/images-tab.js:766 +msgid "Custom attribute name and value must be filled in" +msgstr "O nome do atributo personalizável e o valor devem ser preenchidos" + +#: ../public/js/plugins/images-tab.js:814 +msgid "Uploading..." +msgstr "A enviar..." + +#: ../public/js/plugins/images-tab.js:851 +msgid "There are mandatory parameters missing" +msgstr "Há campos obrigatórios em falta" + +#: ../public/js/plugins/images-tab.js:860 +#: ../public/js/plugins/images-tab.js:940 +msgid "Please select a datastore for this image" +msgstr "Por favor seleccione a datastore para esta imagem" + +#: ../public/js/plugins/images-tab.js:971 +msgid "Update image properties" +msgstr "Actualizar propriedades da imagem" + +#: ../public/js/plugins/system-tab.js:25 +msgid "Summary of system resources" +msgstr "Sumário recursos do sistema" + +#: ../public/js/plugins/system-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:98 +msgid "ACL Rules" +msgstr "Regras ACL" + +#: ../public/js/plugins/system-tab.js:53 +msgid "Create new Group" +msgstr "Criar novo Grupo" + +#: ../public/js/plugins/system-tab.js:54 +msgid "Create new User" +msgstr "Criar novo Utilizador" + +#: ../public/js/plugins/system-tab.js:55 +msgid "Create new ACL" +msgstr "Criar novo ACL" + +#: ../public/js/plugins/system-tab.js:68 +msgid "System Resources" +msgstr "Recursos do sistema" + +#: ../public/js/plugins/system-tab.js:70 +msgid "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs." +msgstr "A gestão de recursos do sistema só está acessível a utilizadores do grupo oneadmin. Inclui as operações respeitantes a gripos, utilizadores e ACLs." + +#: ../public/js/plugins/system-tab.js:87 +msgid "System" +msgstr "Sistema" + +#: ../public/js/plugins/dashboard-tab.js:58 +msgid "Hosts (total/active)" +msgstr "Hosts (total/activos)" + +#: ../public/js/plugins/dashboard-tab.js:113 +msgid "Host" +msgstr "Host" + +#: ../public/js/plugins/dashboard-tab.js:122 +msgid "ACL" +msgstr "ACL" + +#: ../public/js/plugins/dashboard-tab.js:138 +msgid "Hosts CPU" +msgstr "CPU dos hosts" + +#: ../public/js/plugins/dashboard-tab.js:141 +msgid "Hosts memory" +msgstr "Memória dos hosts" + +#~ msgid "Server (x509)" +#~ msgstr "Servidor (x509)" + +#~ msgid "style" +#~ msgstr "estilo" + +#~ msgid "disabled" +#~ msgstr "desactivado" + +#~ msgid "Server (Cipher)" +#~ msgstr "Servidor (Cipher)" diff --git a/src/sunstone/public/locale/pt_PT/pt_datatable.txt b/src/sunstone/locale/languages/pt_datatable.txt similarity index 100% rename from src/sunstone/public/locale/pt_PT/pt_datatable.txt rename to src/sunstone/locale/languages/pt_datatable.txt diff --git a/src/sunstone/locale/languages/ru.po b/src/sunstone/locale/languages/ru.po new file mode 100644 index 0000000000..e7ab1c577c --- /dev/null +++ b/src/sunstone/locale/languages/ru.po @@ -0,0 +1,2860 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 14:12+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/sunstone.js:586 +msgid "Previous action" +msgstr "Предыдущее действие" + +#: ../public/js/sunstone.js:649 ../public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "Смена значения" + +#: ../public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "Необходимо подтвердить данную операцию." + +#: ../public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "Хотите продолжить?" + +#: ../public/js/sunstone.js:660 ../public/js/sunstone.js:692 +#: ../public/js/plugins/vms-tab.js:997 +msgid "OK" +msgstr "OK" + +#: ../public/js/sunstone.js:661 ../public/js/sunstone.js:693 +#: ../public/js/plugins/vms-tab.js:578 ../public/js/plugins/vms-tab.js:998 +msgid "Cancel" +msgstr "Отменить" + +#: ../public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "Вы должны что-нибудь выбрать." + +#: ../public/js/locale.js:35 +msgid "Changing language" +msgstr "Смена языка интерфейса" + +#: ../public/js/locale.js:36 +msgid "Loading new language... please wait" +msgstr "Выполняется загрузка языковых файлов..." + +#: ../public/js/locale.js:89 +msgid "Documentation" +msgstr "Online-документация" + +#: ../public/js/locale.js:90 +msgid "Support" +msgstr "Сведения о поддержке" + +#: ../public/js/locale.js:91 +msgid "Community" +msgstr "Сообщество OpenNebula" + +#: ../public/js/locale.js:92 +msgid "Welcome" +msgstr "Текущий пользователь:" + +#: ../public/js/locale.js:93 +msgid "Sign out" +msgstr "Выйти из сервиса" + +#: ../public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "Выполнено" + +#: ../public/js/sunstone-util.js:220 +msgid "Error" +msgstr "Ошибка" + +#: ../public/js/sunstone-util.js:226 +msgid "Info" +msgstr "Информация" + +#: ../public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "Не удается установить соединение с сервером. Проверьте его доступность и/или удостоверьтесь в том, что он запущен." + +#: ../public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "Сеть недоступна. Проверьте, запущена ли OpenNebula." + +#: ../public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "Неавторизован" + +#: ../public/js/sunstone-util.js:561 ../public/js/sunstone-util.js:772 +#: ../public/js/plugins/templates-tab.js:441 +#: ../public/js/plugins/images-tab.js:1068 +msgid "Please select" +msgstr "выберите" + +#: ../public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "Редактировать шаблон" + +#: ../public/js/sunstone-util.js:701 ../public/js/plugins/templates-tab.js:594 +msgid "Please, choose and modify the template you want to update" +msgstr "Выберите шаблон ВМ и внесите необходимые изменения в его параметры" + +#: ../public/js/sunstone-util.js:703 ../public/js/sunstone-util.js:706 +#: ../public/js/plugins/templates-tab.js:596 +msgid "Select a template" +msgstr "Выберите шаблон" + +#: ../public/js/sunstone-util.js:711 ../public/js/plugins/vnets-tab.js:207 +#: ../public/js/plugins/vms-tab.js:153 +#: ../public/js/plugins/datastores-tab.js:121 +#: ../public/js/plugins/templates-tab.js:633 +#: ../public/js/plugins/images-tab.js:249 +msgid "Update" +msgstr "Сохранить изменения" + +#: ../public/js/plugins/acls-tab.js:22 +msgid "Access Control Lists" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:29 ../public/js/plugins/acls-tab.js:65 +#: ../public/js/plugins/acls-tab.js:186 ../public/js/plugins/acls-tab.js:204 +#: ../public/js/plugins/acls-tab.js:464 ../public/js/plugins/vnets-tab.js:27 +#: ../public/js/plugins/clusters-tab.js:28 ../public/js/plugins/vms-tab.js:58 +#: ../public/js/plugins/datastores-tab.js:28 +#: ../public/js/plugins/hosts-tab.js:44 +#: ../public/js/plugins/templates-tab.js:27 +#: ../public/js/plugins/users-tab.js:31 ../public/js/plugins/groups-tab.js:29 +#: ../public/js/plugins/images-tab.js:27 +msgid "All" +msgstr "Все" + +#: ../public/js/plugins/acls-tab.js:30 ../public/js/plugins/acls-tab.js:207 +#: ../public/js/plugins/vnets-tab.js:28 ../public/js/plugins/vnets-tab.js:547 +#: ../public/js/plugins/clusters-tab.js:29 +#: ../public/js/plugins/clusters-tab.js:385 +#: ../public/js/plugins/clusters-tab.js:460 ../public/js/plugins/vms-tab.js:59 +#: ../public/js/plugins/vms-tab.js:805 +#: ../public/js/plugins/datastores-tab.js:29 +#: ../public/js/plugins/datastores-tab.js:425 +#: ../public/js/plugins/hosts-tab.js:45 +#: ../public/js/plugins/templates-tab.js:28 +#: ../public/js/plugins/templates-tab.js:921 +#: ../public/js/plugins/users-tab.js:32 ../public/js/plugins/groups-tab.js:30 +#: ../public/js/plugins/images-tab.js:28 +#: ../public/js/plugins/images-tab.js:601 +msgid "ID" +msgstr "№" + +#: ../public/js/plugins/acls-tab.js:31 +msgid "Applies to" +msgstr "Применено к" + +#: ../public/js/plugins/acls-tab.js:32 ../public/js/plugins/acls-tab.js:53 +msgid "Affected resources" +msgstr "Затрагиваемые ресурсы" + +#: ../public/js/plugins/acls-tab.js:33 +msgid "Resource ID / Owned by" +msgstr "№ ресурса / Принадлежит" + +#: ../public/js/plugins/acls-tab.js:34 ../public/js/plugins/acls-tab.js:75 +msgid "Allowed operations" +msgstr "Разрешенные действия" + +#: ../public/js/plugins/acls-tab.js:35 +#, fuzzy +msgid "ACL String" +msgstr "Строка, задающая правило" + +#: ../public/js/plugins/acls-tab.js:42 +msgid "This table shows the ACLs rules broken down to easier the reading and meaning of each one. You can show the ACL original string by clicking on Show/Hide columns." +msgstr "" + +#: ../public/js/plugins/acls-tab.js:50 +msgid "This rule applies to" +msgstr "Область применения" + +#: ../public/js/plugins/acls-tab.js:54 ../public/js/plugins/acls-tab.js:239 +#: ../public/js/plugins/clusters-tab.js:401 +#: ../public/js/plugins/clusters-tab.js:476 +#: ../public/js/plugins/clusters-tab.js:578 +#: ../public/js/plugins/hosts-tab.js:37 ../public/js/plugins/hosts-tab.js:352 +#: ../public/js/plugins/infra-tab.js:34 +msgid "Hosts" +msgstr "Узлы" + +#: ../public/js/plugins/acls-tab.js:55 ../public/js/plugins/acls-tab.js:260 +#: ../public/js/plugins/clusters-tab.js:21 +#: ../public/js/plugins/clusters-tab.js:214 +#: ../public/js/plugins/infra-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:62 +msgid "Clusters" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:56 ../public/js/plugins/acls-tab.js:263 +#: ../public/js/plugins/dashboard-users-tab.js:73 +#: ../public/js/plugins/clusters-tab.js:417 +#: ../public/js/plugins/clusters-tab.js:493 +#: ../public/js/plugins/clusters-tab.js:585 +#: ../public/js/plugins/datastores-tab.js:21 +#: ../public/js/plugins/datastores-tab.js:327 +#: ../public/js/plugins/infra-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:86 +msgid "Datastores" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:57 ../public/js/plugins/acls-tab.js:242 +#: ../public/js/plugins/vms-tab.js:51 ../public/js/plugins/vms-tab.js:611 +msgid "Virtual Machines" +msgstr "Вирт. машины" + +#: ../public/js/plugins/acls-tab.js:58 ../public/js/plugins/acls-tab.js:245 +#: ../public/js/plugins/dashboard-users-tab.js:69 +#: ../public/js/plugins/vnets-tab.js:20 ../public/js/plugins/vnets-tab.js:462 +#: ../public/js/plugins/clusters-tab.js:429 +#: ../public/js/plugins/clusters-tab.js:507 +#: ../public/js/plugins/clusters-tab.js:592 +#: ../public/js/plugins/infra-tab.js:42 +#: ../public/js/plugins/vresources-tab.js:43 +#: ../public/js/plugins/dashboard-tab.js:82 +msgid "Virtual Networks" +msgstr "Вирт. сети" + +#: ../public/js/plugins/acls-tab.js:59 ../public/js/plugins/acls-tab.js:248 +#: ../public/js/plugins/dashboard-users-tab.js:77 +#: ../public/js/plugins/datastores-tab.js:457 +#: ../public/js/plugins/vresources-tab.js:47 +#: ../public/js/plugins/images-tab.js:20 +#: ../public/js/plugins/images-tab.js:509 +#: ../public/js/plugins/dashboard-tab.js:90 +msgid "Images" +msgstr "Образы ВМ" + +#: ../public/js/plugins/acls-tab.js:60 +#: ../public/js/plugins/templates-tab.js:20 +#: ../public/js/plugins/templates-tab.js:825 +msgid "Templates" +msgstr "Шаблоны ВМ" + +#: ../public/js/plugins/acls-tab.js:61 ../public/js/plugins/acls-tab.js:254 +#: ../public/js/plugins/acls-tab.js:456 ../public/js/plugins/users-tab.js:24 +#: ../public/js/plugins/users-tab.js:315 ../public/js/plugins/groups-tab.js:32 +#: ../public/js/plugins/system-tab.js:34 +#: ../public/js/plugins/dashboard-tab.js:94 +msgid "Users" +msgstr "Пользователи" + +#: ../public/js/plugins/acls-tab.js:62 ../public/js/plugins/acls-tab.js:257 +#: ../public/js/plugins/acls-tab.js:461 ../public/js/plugins/groups-tab.js:22 +#: ../public/js/plugins/groups-tab.js:147 +#: ../public/js/plugins/system-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:66 +msgid "Groups" +msgstr "Группы" + +#: ../public/js/plugins/acls-tab.js:64 +msgid "Resource subset" +msgstr "Подмножество ресурсов" + +#: ../public/js/plugins/acls-tab.js:66 +msgid "Specific ID" +msgstr "Ресурс с конкретным №" + +#: ../public/js/plugins/acls-tab.js:67 +msgid "Owned by group" +msgstr "Принадлежит группе" + +#: ../public/js/plugins/acls-tab.js:69 +msgid "Resource ID" +msgstr "№ ресурса" + +#: ../public/js/plugins/acls-tab.js:72 ../public/js/plugins/acls-tab.js:211 +#: ../public/js/plugins/vnets-tab.js:30 ../public/js/plugins/vnets-tab.js:187 +#: ../public/js/plugins/vnets-tab.js:563 ../public/js/plugins/vnets-tab.js:588 +#: ../public/js/plugins/vms-tab.js:61 ../public/js/plugins/vms-tab.js:132 +#: ../public/js/plugins/vms-tab.js:817 ../public/js/plugins/vms-tab.js:846 +#: ../public/js/plugins/datastores-tab.js:31 +#: ../public/js/plugins/datastores-tab.js:101 +#: ../public/js/plugins/datastores-tab.js:437 +#: ../public/js/plugins/datastores-tab.js:466 +#: ../public/js/plugins/templates-tab.js:30 +#: ../public/js/plugins/templates-tab.js:613 +#: ../public/js/plugins/templates-tab.js:933 +#: ../public/js/plugins/templates-tab.js:946 +#: ../public/js/plugins/users-tab.js:34 ../public/js/plugins/users-tab.js:403 +#: ../public/js/plugins/images-tab.js:30 +#: ../public/js/plugins/images-tab.js:230 +#: ../public/js/plugins/images-tab.js:617 +#: ../public/js/plugins/images-tab.js:662 +#: ../public/js/plugins/dashboard-tab.js:121 +msgid "Group" +msgstr "Группа" + +#: ../public/js/plugins/acls-tab.js:76 ../public/js/plugins/vnets-tab.js:177 +#: ../public/js/plugins/vms-tab.js:122 +#: ../public/js/plugins/datastores-tab.js:91 +#: ../public/js/plugins/templates-tab.js:603 +#: ../public/js/plugins/images-tab.js:220 +msgid "Use" +msgstr "Пользование" + +#: ../public/js/plugins/acls-tab.js:77 ../public/js/plugins/vnets-tab.js:178 +#: ../public/js/plugins/vms-tab.js:123 +#: ../public/js/plugins/datastores-tab.js:92 +#: ../public/js/plugins/templates-tab.js:604 +#: ../public/js/plugins/images-tab.js:221 +msgid "Manage" +msgstr "Управление" + +#: ../public/js/plugins/acls-tab.js:78 +msgid "Administrate" +msgstr "Администрирование" + +#: ../public/js/plugins/acls-tab.js:79 ../public/js/plugins/acls-tab.js:87 +#: ../public/js/plugins/vnets-tab.js:140 ../public/js/plugins/vnets-tab.js:157 +#: ../public/js/plugins/clusters-tab.js:45 ../public/js/plugins/vms-tab.js:105 +#: ../public/js/plugins/datastores-tab.js:74 +#: ../public/js/plugins/hosts-tab.js:132 +#: ../public/js/plugins/templates-tab.js:566 +#: ../public/js/plugins/templates-tab.js:583 +#: ../public/js/plugins/users-tab.js:73 ../public/js/plugins/groups-tab.js:53 +#: ../public/js/plugins/images-tab.js:178 +#: ../public/js/plugins/images-tab.js:196 +msgid "Create" +msgstr "Создать" + +#: ../public/js/plugins/acls-tab.js:81 +msgid "ACL String preview" +msgstr "Строка, задающая правило" + +#: ../public/js/plugins/acls-tab.js:88 ../public/js/plugins/vnets-tab.js:142 +#: ../public/js/plugins/vnets-tab.js:159 +#: ../public/js/plugins/clusters-tab.js:46 ../public/js/plugins/vms-tab.js:106 +#: ../public/js/plugins/datastores-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:133 +#: ../public/js/plugins/templates-tab.js:568 +#: ../public/js/plugins/templates-tab.js:585 +#: ../public/js/plugins/users-tab.js:74 ../public/js/plugins/users-tab.js:90 +#: ../public/js/plugins/groups-tab.js:54 +#: ../public/js/plugins/images-tab.js:179 +#: ../public/js/plugins/images-tab.js:198 +msgid "Reset" +msgstr "«Сбросить» все поля" + +#: ../public/js/plugins/acls-tab.js:148 ../public/js/plugins/vnets-tab.js:407 +#: ../public/js/plugins/clusters-tab.js:181 +#: ../public/js/plugins/vms-tab.js:469 +#: ../public/js/plugins/datastores-tab.js:273 +#: ../public/js/plugins/hosts-tab.js:296 +#: ../public/js/plugins/templates-tab.js:780 +#: ../public/js/plugins/users-tab.js:254 +#: ../public/js/plugins/groups-tab.js:125 +#: ../public/js/plugins/images-tab.js:442 +msgid "Refresh list" +msgstr "Обновить список" + +#: ../public/js/plugins/acls-tab.js:153 ../public/js/plugins/vnets-tab.js:413 +#: ../public/js/plugins/clusters-tab.js:186 +#: ../public/js/plugins/vms-tab.js:475 +#: ../public/js/plugins/datastores-tab.js:278 +#: ../public/js/plugins/hosts-tab.js:301 +#: ../public/js/plugins/templates-tab.js:785 +#: ../public/js/plugins/users-tab.js:259 +#: ../public/js/plugins/images-tab.js:447 +msgid "+ New" +msgstr "Создать" + +#: ../public/js/plugins/acls-tab.js:157 ../public/js/plugins/vnets-tab.js:446 +#: ../public/js/plugins/clusters-tab.js:190 +#: ../public/js/plugins/vms-tab.js:586 +#: ../public/js/plugins/datastores-tab.js:310 +#: ../public/js/plugins/templates-tab.js:813 +#: ../public/js/plugins/users-tab.js:303 +#: ../public/js/plugins/groups-tab.js:142 +#: ../public/js/plugins/images-tab.js:491 +msgid "Delete" +msgstr "Удалить" + +#: ../public/js/plugins/acls-tab.js:162 +msgid "ACLs" +msgstr "Списки контроля" + +#: ../public/js/plugins/acls-tab.js:189 +#: ../public/js/plugins/dashboard-tab.js:120 +msgid "User" +msgstr "Пользователь" + +#: ../public/js/plugins/acls-tab.js:193 +msgid "Group " +msgstr "гр. " + +#: ../public/js/plugins/acls-tab.js:251 +#: ../public/js/plugins/dashboard-users-tab.js:58 +#: ../public/js/plugins/vresources-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:70 +msgid "VM Templates" +msgstr "Шаблоны ВМ" + +#: ../public/js/plugins/acls-tab.js:318 +msgid "Create ACL" +msgstr "Создать правило контроля" + +#: ../public/js/plugins/acls-tab.js:406 +msgid "Please specify to who this ACL applies" +msgstr "Необходимо указать, к кому применять данный список контроля" + +#: ../public/js/plugins/acls-tab.js:412 +msgid "Please select at least one resource" +msgstr "Необходимо выбрать по меньшей мере один ресурс" + +#: ../public/js/plugins/acls-tab.js:421 +msgid "Please provide a resource ID for the resource(s) in this rule" +msgstr "Необходимо указать № ресурса(ов) для данного правила)" + +#: ../public/js/plugins/dashboard-users-tab.js:53 +#: ../public/js/plugins/dashboard-tab.js:53 +msgid "Summary of resources" +msgstr "Использование ресурсов" + +#: ../public/js/plugins/dashboard-users-tab.js:62 +#: ../public/js/plugins/vresources-tab.js:35 +#: ../public/js/plugins/dashboard-tab.js:75 +msgid "VM Instances" +msgstr "Экземпляры ВМ" + +#: ../public/js/plugins/dashboard-users-tab.js:63 +#: ../public/js/plugins/vresources-tab.js:36 +#: ../public/js/plugins/dashboard-tab.js:76 +msgid "total" +msgstr "всего" + +#: ../public/js/plugins/dashboard-users-tab.js:64 +#: ../public/js/plugins/vresources-tab.js:37 +#: ../public/js/plugins/dashboard-tab.js:77 +msgid "running" +msgstr "запущенных" + +#: ../public/js/plugins/dashboard-users-tab.js:65 +#: ../public/js/plugins/vresources-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:78 +msgid "failed" +msgstr "дефектных" + +#: ../public/js/plugins/dashboard-users-tab.js:89 +#: ../public/js/plugins/infra-tab.js:54 +#: ../public/js/plugins/vresources-tab.js:59 +#: ../public/js/plugins/system-tab.js:50 +#: ../public/js/plugins/dashboard-tab.js:110 +msgid "Quickstart" +msgstr "Типовые операции" + +#: ../public/js/plugins/dashboard-users-tab.js:91 +#: ../public/js/plugins/dashboard-tab.js:112 +msgid "Create new" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:92 +#: ../public/js/plugins/dashboard-tab.js:115 +msgid "VM Instance" +msgstr "Экземпляр ВМ" + +#: ../public/js/plugins/dashboard-users-tab.js:93 +#: ../public/js/plugins/vms-tab.js:885 +#: ../public/js/plugins/dashboard-tab.js:116 +msgid "VM Template" +msgstr "Шаблон ВМ" + +#: ../public/js/plugins/dashboard-users-tab.js:94 +#: ../public/js/plugins/vnets-tab.js:543 +#: ../public/js/plugins/dashboard-tab.js:117 +msgid "Virtual Network" +msgstr "Виртуальная сеть" + +#: ../public/js/plugins/dashboard-users-tab.js:95 +#: ../public/js/plugins/templates-tab.js:194 +#: ../public/js/plugins/templates-tab.js:199 +#: ../public/js/plugins/images-tab.js:597 +#: ../public/js/plugins/dashboard-tab.js:119 +msgid "Image" +msgstr "Образ" + +#: ../public/js/plugins/dashboard-users-tab.js:108 +#: ../public/js/plugins/dashboard-tab.js:135 +msgid "Historical monitoring information" +msgstr "Мониторинг состояния" + +#: ../public/js/plugins/dashboard-users-tab.js:111 +#: ../public/js/plugins/dashboard-tab.js:144 +msgid "Total VM count" +msgstr "Количество виртуальных машин" + +#: ../public/js/plugins/dashboard-users-tab.js:114 +msgid "Total VM CPU" +msgstr "Всего ЦП для ВМ" + +#: ../public/js/plugins/dashboard-users-tab.js:117 +msgid "Total VM Memory" +msgstr "Всего ОЗУ для ВМ" + +#: ../public/js/plugins/dashboard-users-tab.js:120 +#: ../public/js/plugins/dashboard-tab.js:147 +msgid "VM Network stats" +msgstr "Статистика виртуальных сетей" + +#: ../public/js/plugins/dashboard-users-tab.js:133 +#: ../public/js/plugins/dashboard-tab.js:160 +msgid "Dashboard" +msgstr "Инф. панель" + +#: ../public/js/plugins/vnets-tab.js:29 ../public/js/plugins/vnets-tab.js:181 +#: ../public/js/plugins/vnets-tab.js:559 ../public/js/plugins/vnets-tab.js:584 +#: ../public/js/plugins/vms-tab.js:60 ../public/js/plugins/vms-tab.js:126 +#: ../public/js/plugins/vms-tab.js:813 ../public/js/plugins/vms-tab.js:842 +#: ../public/js/plugins/datastores-tab.js:30 +#: ../public/js/plugins/datastores-tab.js:95 +#: ../public/js/plugins/datastores-tab.js:433 +#: ../public/js/plugins/datastores-tab.js:462 +#: ../public/js/plugins/templates-tab.js:29 +#: ../public/js/plugins/templates-tab.js:607 +#: ../public/js/plugins/templates-tab.js:929 +#: ../public/js/plugins/templates-tab.js:942 +#: ../public/js/plugins/images-tab.js:29 +#: ../public/js/plugins/images-tab.js:224 +#: ../public/js/plugins/images-tab.js:613 +#: ../public/js/plugins/images-tab.js:658 +msgid "Owner" +msgstr "Владелец" + +#: ../public/js/plugins/vnets-tab.js:31 ../public/js/plugins/vnets-tab.js:55 +#: ../public/js/plugins/vnets-tab.js:125 ../public/js/plugins/vnets-tab.js:551 +#: ../public/js/plugins/clusters-tab.js:30 +#: ../public/js/plugins/clusters-tab.js:41 +#: ../public/js/plugins/clusters-tab.js:389 +#: ../public/js/plugins/clusters-tab.js:464 +#: ../public/js/plugins/clusters-tab.js:672 ../public/js/plugins/vms-tab.js:62 +#: ../public/js/plugins/vms-tab.js:809 +#: ../public/js/plugins/datastores-tab.js:32 +#: ../public/js/plugins/datastores-tab.js:47 +#: ../public/js/plugins/datastores-tab.js:429 +#: ../public/js/plugins/hosts-tab.js:46 ../public/js/plugins/hosts-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:494 +#: ../public/js/plugins/templates-tab.js:31 +#: ../public/js/plugins/templates-tab.js:70 +#: ../public/js/plugins/templates-tab.js:478 +#: ../public/js/plugins/templates-tab.js:543 +#: ../public/js/plugins/templates-tab.js:925 +#: ../public/js/plugins/users-tab.js:33 ../public/js/plugins/groups-tab.js:31 +#: ../public/js/plugins/images-tab.js:31 ../public/js/plugins/images-tab.js:62 +#: ../public/js/plugins/images-tab.js:164 +#: ../public/js/plugins/images-tab.js:605 +msgid "Name" +msgstr "Название" + +#: ../public/js/plugins/vnets-tab.js:32 ../public/js/plugins/vnets-tab.js:555 +#: ../public/js/plugins/clusters-tab.js:676 +#: ../public/js/plugins/datastores-tab.js:33 +#: ../public/js/plugins/datastores-tab.js:49 +#: ../public/js/plugins/datastores-tab.js:441 +#: ../public/js/plugins/hosts-tab.js:47 ../public/js/plugins/hosts-tab.js:125 +#: ../public/js/plugins/hosts-tab.js:498 +#: ../public/js/plugins/dashboard-tab.js:114 +msgid "Cluster" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:33 ../public/js/plugins/vms-tab.js:1072 +#: ../public/js/plugins/templates-tab.js:222 +#: ../public/js/plugins/templates-tab.js:404 +#: ../public/js/plugins/images-tab.js:34 ../public/js/plugins/images-tab.js:80 +#: ../public/js/plugins/images-tab.js:621 +msgid "Type" +msgstr "Тип" + +#: ../public/js/plugins/vnets-tab.js:34 ../public/js/plugins/vnets-tab.js:68 +#: ../public/js/plugins/vnets-tab.js:567 +#: ../public/js/plugins/templates-tab.js:319 +msgid "Bridge" +msgstr "Шлюз" + +#: ../public/js/plugins/vnets-tab.js:35 +msgid "Total Leases" +msgstr "Суммарное количество адресов" + +#: ../public/js/plugins/vnets-tab.js:42 +msgid "Tip: edit the leases of a network by clicking on one and going to the lease management tab." +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:49 ../public/js/plugins/images-tab.js:52 +msgid "Wizard" +msgstr "Мастер настройки" + +#: ../public/js/plugins/vnets-tab.js:50 +#: ../public/js/plugins/templates-tab.js:45 +#: ../public/js/plugins/images-tab.js:53 +msgid "Advanced mode" +msgstr "Расширенный режим" + +#: ../public/js/plugins/vnets-tab.js:60 +msgid "Network mode" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:62 +#: ../public/js/plugins/templates-tab.js:162 +#: ../public/js/plugins/templates-tab.js:171 +msgid "Default" +msgstr "По умолчанию" + +#: ../public/js/plugins/vnets-tab.js:63 ../public/js/plugins/hosts-tab.js:113 +msgid "802.1Q" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:64 +msgid "Etables" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:65 ../public/js/plugins/hosts-tab.js:115 +msgid "Open vSwitch" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:66 +#: ../public/js/plugins/datastores-tab.js:55 +#: ../public/js/plugins/hosts-tab.js:84 ../public/js/plugins/hosts-tab.js:98 +#: ../public/js/plugins/hosts-tab.js:116 +msgid "VMware" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:70 ../public/js/plugins/vnets-tab.js:575 +msgid "Physical device" +msgstr "Устройство" + +#: ../public/js/plugins/vnets-tab.js:72 ../public/js/plugins/vnets-tab.js:571 +msgid "VLAN" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:74 +#: ../public/js/plugins/templates-tab.js:252 +#: ../public/js/plugins/templates-tab.js:261 +#: ../public/js/plugins/templates-tab.js:269 +msgid "Yes" +msgstr "Да" + +#: ../public/js/plugins/vnets-tab.js:75 +#: ../public/js/plugins/templates-tab.js:253 +#: ../public/js/plugins/templates-tab.js:260 +#: ../public/js/plugins/templates-tab.js:268 +msgid "No" +msgstr "Нет" + +#: ../public/js/plugins/vnets-tab.js:77 ../public/js/plugins/vnets-tab.js:579 +msgid "VLAN ID" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:81 +msgid "Network type" +msgstr "Тип сети" + +#: ../public/js/plugins/vnets-tab.js:82 +msgid "Fixed network" +msgstr "Фиксированные адреса" + +#: ../public/js/plugins/vnets-tab.js:83 +msgid "Ranged network" +msgstr "Диапазон адресов" + +#: ../public/js/plugins/vnets-tab.js:89 +msgid "Lease IP" +msgstr "IP адрес" + +#: ../public/js/plugins/vnets-tab.js:91 +msgid "Lease MAC (opt):" +msgstr "MAC адрес (необ.):" + +#: ../public/js/plugins/vnets-tab.js:95 ../public/js/plugins/vnets-tab.js:129 +#: ../public/js/plugins/vnets-tab.js:649 +#: ../public/js/plugins/templates-tab.js:274 +#: ../public/js/plugins/templates-tab.js:386 +#: ../public/js/plugins/templates-tab.js:421 +#: ../public/js/plugins/templates-tab.js:488 +#: ../public/js/plugins/templates-tab.js:553 +#: ../public/js/plugins/images-tab.js:168 +msgid "Add" +msgstr "Добавить" + +#: ../public/js/plugins/vnets-tab.js:98 ../public/js/plugins/vnets-tab.js:130 +#: ../public/js/plugins/templates-tab.js:275 +#: ../public/js/plugins/templates-tab.js:387 +#: ../public/js/plugins/templates-tab.js:422 +#: ../public/js/plugins/templates-tab.js:489 +#: ../public/js/plugins/templates-tab.js:554 +#: ../public/js/plugins/images-tab.js:169 +msgid "Remove selected" +msgstr "Удалить" + +#: ../public/js/plugins/vnets-tab.js:100 +msgid "Current leases" +msgstr "Адреса виртуальной сети" + +#: ../public/js/plugins/vnets-tab.js:108 +msgid "Network Address" +msgstr "Адрес сети" + +#: ../public/js/plugins/vnets-tab.js:110 +msgid "Network Mask" +msgstr "Маска подсети" + +#: ../public/js/plugins/vnets-tab.js:112 +msgid "Define a subnet by IP range" +msgstr "Указать диапазон адресов" + +#: ../public/js/plugins/vnets-tab.js:114 ../public/js/plugins/vnets-tab.js:631 +msgid "IP Start" +msgstr "от" + +#: ../public/js/plugins/vnets-tab.js:116 ../public/js/plugins/vnets-tab.js:635 +msgid "IP End" +msgstr "до" + +#: ../public/js/plugins/vnets-tab.js:127 +#: ../public/js/plugins/templates-tab.js:483 +#: ../public/js/plugins/templates-tab.js:548 +#: ../public/js/plugins/images-tab.js:166 +msgid "Value" +msgstr "Значение" + +#: ../public/js/plugins/vnets-tab.js:132 +#: ../public/js/plugins/images-tab.js:171 +msgid "Custom attributes" +msgstr "Пользовательские атрибуты" + +#: ../public/js/plugins/vnets-tab.js:149 +msgid "Write the Virtual Network template here" +msgstr "Отредактируйте параметры шаблона вирт. сети вручную" + +#: ../public/js/plugins/vnets-tab.js:168 +msgid "Please, choose and modify the virtual network you want to update" +msgstr "Выберите виртуальную сеть и внесите необходимые изменения в ее параметры" + +#: ../public/js/plugins/vnets-tab.js:170 +msgid "Select a network" +msgstr "Выберите виртуальную сеть" + +#: ../public/js/plugins/vnets-tab.js:176 ../public/js/plugins/vnets-tab.js:582 +#: ../public/js/plugins/vms-tab.js:121 +#: ../public/js/plugins/datastores-tab.js:90 +#: ../public/js/plugins/datastores-tab.js:460 +#: ../public/js/plugins/templates-tab.js:602 +#: ../public/js/plugins/templates-tab.js:940 +#: ../public/js/plugins/images-tab.js:219 +#: ../public/js/plugins/images-tab.js:656 +msgid "Permissions" +msgstr "Права" + +#: ../public/js/plugins/vnets-tab.js:179 ../public/js/plugins/vms-tab.js:124 +#: ../public/js/plugins/datastores-tab.js:93 +#: ../public/js/plugins/templates-tab.js:605 +#: ../public/js/plugins/images-tab.js:222 +msgid "Admin" +msgstr "Администрирование" + +#: ../public/js/plugins/vnets-tab.js:193 ../public/js/plugins/vnets-tab.js:592 +#: ../public/js/plugins/vms-tab.js:138 ../public/js/plugins/vms-tab.js:850 +#: ../public/js/plugins/datastores-tab.js:107 +#: ../public/js/plugins/datastores-tab.js:470 +#: ../public/js/plugins/templates-tab.js:619 +#: ../public/js/plugins/templates-tab.js:950 +#: ../public/js/plugins/images-tab.js:236 +#: ../public/js/plugins/images-tab.js:666 +msgid "Other" +msgstr "Все остальные" + +#: ../public/js/plugins/vnets-tab.js:200 ../public/js/plugins/vms-tab.js:145 +#: ../public/js/plugins/templates-tab.js:626 +#: ../public/js/plugins/templates-tab.js:917 +#: ../public/js/plugins/templates-tab.js:956 +#: ../public/js/plugins/templates-tab.js:958 +#: ../public/js/plugins/images-tab.js:243 +msgid "Template" +msgstr "Шаблон" + +#: ../public/js/plugins/vnets-tab.js:418 ../public/js/plugins/vms-tab.js:481 +#: ../public/js/plugins/datastores-tab.js:283 +#: ../public/js/plugins/templates-tab.js:789 +#: ../public/js/plugins/users-tab.js:263 +#: ../public/js/plugins/images-tab.js:451 +msgid "Update properties" +msgstr "Редактировать свойства" + +#: ../public/js/plugins/vnets-tab.js:423 +#: ../public/js/plugins/datastores-tab.js:289 +#: ../public/js/plugins/hosts-tab.js:312 +msgid "Select cluster" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:425 +#: ../public/js/plugins/datastores-tab.js:291 +#: ../public/js/plugins/hosts-tab.js:314 +msgid "Select the destination cluster:" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:430 ../public/js/plugins/vms-tab.js:487 +#: ../public/js/plugins/datastores-tab.js:296 +#: ../public/js/plugins/templates-tab.js:798 +#: ../public/js/plugins/images-tab.js:456 +msgid "Change owner" +msgstr "Сменить владельца" + +#: ../public/js/plugins/vnets-tab.js:432 ../public/js/plugins/vms-tab.js:489 +#: ../public/js/plugins/datastores-tab.js:298 +#: ../public/js/plugins/templates-tab.js:800 +#: ../public/js/plugins/images-tab.js:458 +msgid "Select the new owner" +msgstr "Выберите нового владельца" + +#: ../public/js/plugins/vnets-tab.js:438 ../public/js/plugins/vms-tab.js:495 +#: ../public/js/plugins/datastores-tab.js:303 +#: ../public/js/plugins/templates-tab.js:805 +#: ../public/js/plugins/users-tab.js:272 +#: ../public/js/plugins/images-tab.js:463 +msgid "Change group" +msgstr "Сменить группу" + +#: ../public/js/plugins/vnets-tab.js:440 ../public/js/plugins/vms-tab.js:497 +#: ../public/js/plugins/datastores-tab.js:305 +#: ../public/js/plugins/templates-tab.js:807 +#: ../public/js/plugins/images-tab.js:465 +msgid "Select the new group" +msgstr "Выберите новую группу" + +#: ../public/js/plugins/vnets-tab.js:452 +msgid "Virtual network information" +msgstr "Информация о виртуальной сети" + +#: ../public/js/plugins/vnets-tab.js:456 +msgid "Lease management" +msgstr "Управление адресами виртуальной сети" + +#: ../public/js/plugins/vnets-tab.js:544 +#: ../public/js/plugins/templates-tab.js:918 +#: ../public/js/plugins/images-tab.js:598 +msgid "information" +msgstr " " + +#: ../public/js/plugins/vnets-tab.js:599 +msgid "Virtual Network template (attributes)" +msgstr "Шаблон виртуальной сети (атрибуты)" + +#: ../public/js/plugins/vnets-tab.js:607 +msgid "Virtual Network information" +msgstr "Информация о виртуальной сети" + +#: ../public/js/plugins/vnets-tab.js:626 +msgid "Leases information" +msgstr "Сведения по имеющимся адресам виртуальной сети" + +#: ../public/js/plugins/vnets-tab.js:639 +msgid "Network mask" +msgstr "Маска подсети" + +#: ../public/js/plugins/vnets-tab.js:643 +msgid "Hold lease" +msgstr "Запретить выдачу адреса" + +#: ../public/js/plugins/vnets-tab.js:644 ../public/js/plugins/vms-tab.js:534 +msgid "Hold" +msgstr "Запретить размещение" + +#: ../public/js/plugins/vnets-tab.js:648 +msgid "Add lease" +msgstr "Добавить адрес" + +#: ../public/js/plugins/vnets-tab.js:658 +msgid "No leases to show" +msgstr "Список пуст" + +#: ../public/js/plugins/vnets-tab.js:703 +msgid "hold" +msgstr "запретить" + +#: ../public/js/plugins/vnets-tab.js:703 +#, fuzzy +msgid "delete" +msgstr "Удалить" + +#: ../public/js/plugins/vnets-tab.js:706 +msgid "Used by VM" +msgstr "Используется ВМ" + +#: ../public/js/plugins/vnets-tab.js:709 +msgid "release" +msgstr "размещение" + +#: ../public/js/plugins/vnets-tab.js:722 +msgid "Create Virtual Network" +msgstr "Укажите параметры виртуальной сети" + +#: ../public/js/plugins/vnets-tab.js:791 +msgid "Please provide a lease IP" +msgstr "Необходимо указать IP-адрес" + +#: ../public/js/plugins/vnets-tab.js:857 +msgid "Virtual Network name missing!" +msgstr "Отсутствует название виртуальной сети!" + +#: ../public/js/plugins/vnets-tab.js:941 +msgid "There are missing network parameters" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:993 +msgid "Update network properties" +msgstr "Обновить свойства виртуальной сети" + +#: ../public/js/plugins/vnets-tab.js:1018 ../public/js/plugins/vms-tab.js:1269 +#: ../public/js/plugins/datastores-tab.js:572 +#: ../public/js/plugins/templates-tab.js:2044 +#: ../public/js/plugins/images-tab.js:995 +msgid "Loading" +msgstr "Идет загрузка" + +#: ../public/js/plugins/clusters-tab.js:197 +#: ../public/js/plugins/clusters-tab.js:660 +#: ../public/js/plugins/clusters-tab.js:664 +#: ../public/js/plugins/hosts-tab.js:336 ../public/js/plugins/hosts-tab.js:482 +#: ../public/js/plugins/hosts-tab.js:486 +msgid "Host information" +msgstr "Состояние узла" + +#: ../public/js/plugins/clusters-tab.js:202 +#: ../public/js/plugins/clusters-tab.js:736 +#: ../public/js/plugins/clusters-tab.js:739 +#: ../public/js/plugins/hosts-tab.js:341 ../public/js/plugins/hosts-tab.js:558 +#: ../public/js/plugins/hosts-tab.js:561 +msgid "Host template" +msgstr "Шаблон узла" + +#: ../public/js/plugins/clusters-tab.js:206 +#: ../public/js/plugins/clusters-tab.js:745 +#: ../public/js/plugins/vms-tab.js:857 ../public/js/plugins/vms-tab.js:899 +#: ../public/js/plugins/hosts-tab.js:345 ../public/js/plugins/hosts-tab.js:567 +msgid "Monitoring information" +msgstr "Мониторинг" + +#: ../public/js/plugins/clusters-tab.js:339 +msgid "No datastores in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:349 +msgid "No hosts in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:359 +msgid "No virtual networks in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:380 +#: ../public/js/plugins/clusters-tab.js:455 +msgid "Cluster information" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:404 +#: ../public/js/plugins/clusters-tab.js:480 +msgid "Create new host" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:405 +msgid "Manage unclustered hosts" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:420 +#: ../public/js/plugins/clusters-tab.js:498 +msgid "Create new datastore" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:421 +msgid "Manage unclustered datastores" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:432 +#: ../public/js/plugins/clusters-tab.js:512 +msgid "Create new virtual network" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:433 +msgid "Manage unclustered virtual networks" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:479 +msgid "Current number of hosts in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:481 +msgid "Manage cluster hosts" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:496 +msgid "Current number of datastores in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:499 +msgid "Manage cluster datastores" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:510 +msgid "Current number of virtual networks in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:513 +msgid "Manage cluster virtual networks" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:668 +#: ../public/js/plugins/hosts-tab.js:490 ../public/js/plugins/users-tab.js:399 +msgid "id" +msgstr "№" + +#: ../public/js/plugins/clusters-tab.js:680 +#: ../public/js/plugins/vms-tab.js:821 ../public/js/plugins/hosts-tab.js:502 +#: ../public/js/plugins/images-tab.js:649 +msgid "State" +msgstr "Состояние" + +#: ../public/js/plugins/clusters-tab.js:684 +#: ../public/js/plugins/hosts-tab.js:52 ../public/js/plugins/hosts-tab.js:506 +msgid "IM MAD" +msgstr "Модуль средства мониторинга" + +#: ../public/js/plugins/clusters-tab.js:688 +#: ../public/js/plugins/hosts-tab.js:53 ../public/js/plugins/hosts-tab.js:510 +msgid "VM MAD" +msgstr "Модуль средства виртуализации" + +#: ../public/js/plugins/clusters-tab.js:692 +#: ../public/js/plugins/hosts-tab.js:514 +msgid "VN MAD" +msgstr "Модуль средства управления вирт. сетью" + +#: ../public/js/plugins/clusters-tab.js:696 +#: ../public/js/plugins/datastores-tab.js:35 +msgid "TM MAD" +msgstr "Модуль средства передачи" + +#: ../public/js/plugins/clusters-tab.js:703 +#: ../public/js/plugins/hosts-tab.js:521 +msgid "Host shares" +msgstr "Ресурсы узла" + +#: ../public/js/plugins/clusters-tab.js:707 +#: ../public/js/plugins/hosts-tab.js:525 +msgid "Max Mem" +msgstr "Доступно ОЗУ" + +#: ../public/js/plugins/clusters-tab.js:711 +#: ../public/js/plugins/hosts-tab.js:529 +msgid "Used Mem (real)" +msgstr "Использовано ОЗУ (реально)" + +#: ../public/js/plugins/clusters-tab.js:715 +#: ../public/js/plugins/hosts-tab.js:533 +msgid "Used Mem (allocated)" +msgstr "Использовано ОЗУ (выделено)" + +#: ../public/js/plugins/clusters-tab.js:719 +#: ../public/js/plugins/hosts-tab.js:541 +msgid "Used CPU (real)" +msgstr "Использовано ЦП (реально)" + +#: ../public/js/plugins/clusters-tab.js:723 +#: ../public/js/plugins/hosts-tab.js:545 +msgid "Used CPU (allocated)" +msgstr "Использовано ОЗУ (реально)" + +#: ../public/js/plugins/clusters-tab.js:727 +#: ../public/js/plugins/hosts-tab.js:48 ../public/js/plugins/hosts-tab.js:549 +msgid "Running VMs" +msgstr "Запущено ВМ" + +#: ../public/js/plugins/clusters-tab.js:767 +msgid "Create cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:783 +msgid "Cluster name missing!" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:28 ../public/js/plugins/vms-tab.js:64 +#: ../public/js/plugins/templates-tab.js:80 +msgid "CPU" +msgstr "ЦП" + +#: ../public/js/plugins/vms-tab.js:33 ../public/js/plugins/vms-tab.js:65 +#: ../public/js/plugins/templates-tab.js:75 +msgid "Memory" +msgstr "Память" + +#: ../public/js/plugins/vms-tab.js:38 +msgid "Network transmission" +msgstr "Сеть: отправлено" + +#: ../public/js/plugins/vms-tab.js:43 +msgid "Network reception" +msgstr "Сеть: принято" + +#: ../public/js/plugins/vms-tab.js:63 ../public/js/plugins/hosts-tab.js:51 +#: ../public/js/plugins/images-tab.js:37 +msgid "Status" +msgstr "Статус" + +#: ../public/js/plugins/vms-tab.js:66 ../public/js/plugins/vms-tab.js:724 +#: ../public/js/plugins/vms-tab.js:829 +msgid "Hostname" +msgstr "Название узла" + +#: ../public/js/plugins/vms-tab.js:67 +msgid "IPs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:68 +msgid "Start Time" +msgstr "Время запуска" + +#: ../public/js/plugins/vms-tab.js:69 +msgid "VNC Access" +msgstr "Доступ по VNC" + +#: ../public/js/plugins/vms-tab.js:76 +msgid "CPU, Memory and Start time are hidden columns by default. You can get monitoring graphs by clicking on the desired VM and visiting the monitoring information tab (oneacctd needs to be running for this information to be up to date)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:79 +msgid "VNC console requires previous install of the noVNC addon. Check Sunstone documentation for more information." +msgstr "" + +#: ../public/js/plugins/vms-tab.js:87 +msgid "VM Name" +msgstr "Название ВМ" + +#: ../public/js/plugins/vms-tab.js:89 +msgid "Defaults to template name when emtpy" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:92 +msgid "Select template" +msgstr "Шаблон" + +#: ../public/js/plugins/vms-tab.js:97 +msgid "Deploy # VMs" +msgstr "Кол-во ВМ" + +#: ../public/js/plugins/vms-tab.js:99 +#, python-format +msgid "You can use the wildcard %. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:113 +msgid "Please, choose and modify the virtual machine you want to update" +msgstr "Выберите ВМ и внесите необходимые изменения в его параметры" + +#: ../public/js/plugins/vms-tab.js:115 +msgid "Select a VM" +msgstr "Выберите вирт. машину" + +#: ../public/js/plugins/vms-tab.js:503 +msgid "Shutdown" +msgstr "Выключить" + +#: ../public/js/plugins/vms-tab.js:504 +msgid "This will initiate the shutdown process in the selected VMs" +msgstr "Данное действие запустит процесс выключения выбранных ВМ." + +#: ../public/js/plugins/vms-tab.js:512 +msgid "Deploy" +msgstr "Разместить на узле" + +#: ../public/js/plugins/vms-tab.js:513 +msgid "This will deploy the selected VMs on the chosen host" +msgstr "Разместить выбранные ВМ на определенном узле" + +#: ../public/js/plugins/vms-tab.js:519 +msgid "Migrate" +msgstr "Перенести ВМ" + +#: ../public/js/plugins/vms-tab.js:520 +msgid "This will migrate the selected VMs to the chosen host" +msgstr "Перенести выбранные остановленные ВМ с текущих узлов на выбранный" + +#: ../public/js/plugins/vms-tab.js:527 +msgid "Live migrate" +msgstr "Перенести запущенную ВМ" + +#: ../public/js/plugins/vms-tab.js:528 +msgid "This will live-migrate the selected VMs to the chosen host" +msgstr "Перенести выбранные запущенные ВМ, не завершая их работы, с текущих узлов на выбранный" + +#: ../public/js/plugins/vms-tab.js:535 +msgid "This will hold selected pending VMs from being deployed" +msgstr "Приостановить процедуру размещения ВМ на узле" + +#: ../public/js/plugins/vms-tab.js:539 +msgid "Release" +msgstr "Разрешить размещение" + +#: ../public/js/plugins/vms-tab.js:540 +msgid "This will release held machines" +msgstr "Продолжить ранее приостановленное размещение ВМ на узле" + +#: ../public/js/plugins/vms-tab.js:544 +msgid "Suspend" +msgstr "Приостановить работу ВМ" + +#: ../public/js/plugins/vms-tab.js:545 +msgid "This will suspend selected machines" +msgstr "Приостановить выбранные ВМ" + +#: ../public/js/plugins/vms-tab.js:549 +msgid "Resume" +msgstr "Возобновить работу ВМ" + +#: ../public/js/plugins/vms-tab.js:550 +msgid "This will resume selected stopped or suspended VMs" +msgstr "Возобновить работу выбранных остановленных или приостановленных ВМ" + +#: ../public/js/plugins/vms-tab.js:554 +msgid "Stop" +msgstr "Остановить" + +#: ../public/js/plugins/vms-tab.js:559 +msgid "Restart" +msgstr "Перезапустить" + +#: ../public/js/plugins/vms-tab.js:560 +msgid "This will redeploy selected VMs (in UNKNOWN or BOOT state)" +msgstr "Повторно выполнить процедуру размещения выбранных ВМ, находящихся в состоянии UNKNOWN или BOOT, на узле" + +#: ../public/js/plugins/vms-tab.js:564 +msgid "Resubmit" +msgstr "Разместить повторно" + +#: ../public/js/plugins/vms-tab.js:565 +msgid "This will resubmits VMs to PENDING state" +msgstr "Повторно выполнить попытку размещения выбранных ВМ на одном из доступных узлов системы виртуализации (перевод в состояние PENDING)" + +#: ../public/js/plugins/vms-tab.js:569 +msgid "Reboot" +msgstr "Перезагрузить" + +#: ../public/js/plugins/vms-tab.js:570 +msgid "This will send a reboot action to running VMs" +msgstr "Отправить запущенным виртуальным машинам команду на перезагрузку" + +#: ../public/js/plugins/vms-tab.js:574 +msgid "Save as" +msgstr "Сохранить как" + +#: ../public/js/plugins/vms-tab.js:579 +msgid "This will cancel selected VMs" +msgstr "Прервать работу выбранных ВМ" + +#: ../public/js/plugins/vms-tab.js:587 +msgid "This will delete the selected VMs from the database" +msgstr "Удалить выбранные ВМ и связанные с ними образы дисков из базы данных и хранилища образов" + +#: ../public/js/plugins/vms-tab.js:593 ../public/js/plugins/vms-tab.js:801 +msgid "Virtual Machine information" +msgstr "Информация о виртуальной машине" + +#: ../public/js/plugins/vms-tab.js:597 ../public/js/plugins/vms-tab.js:888 +msgid "VM template" +msgstr "Шаблон ВМ" + +#: ../public/js/plugins/vms-tab.js:601 ../public/js/plugins/vms-tab.js:894 +msgid "VM log" +msgstr "Журнал ВМ" + +#: ../public/js/plugins/vms-tab.js:605 ../public/js/plugins/vms-tab.js:904 +msgid "History information" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:665 +#: ../public/js/plugins/vms-tab.js:788 +msgid "ACTIVE" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:788 +msgid "SUSPENDED" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:723 +msgid "Sequence" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:725 +msgid "Reason" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:726 +msgid "State change time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:727 +msgid "Total time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:728 +msgid "Prolog time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:797 +msgid "VM information" +msgstr "Информация о ВМ" + +#: ../public/js/plugins/vms-tab.js:825 +msgid "LCM State" +msgstr "Текущее состояние ВМ" + +#: ../public/js/plugins/vms-tab.js:833 +msgid "Start time" +msgstr "Время запуска" + +#: ../public/js/plugins/vms-tab.js:837 +msgid "Deploy ID" +msgstr "№ размещения" + +#: ../public/js/plugins/vms-tab.js:861 +msgid "Net_TX" +msgstr "Отправлено" + +#: ../public/js/plugins/vms-tab.js:865 +msgid "Net_RX" +msgstr "Принято" + +#: ../public/js/plugins/vms-tab.js:869 +msgid "Used Memory" +msgstr "Используется памяти" + +#: ../public/js/plugins/vms-tab.js:873 +msgid "Used CPU" +msgstr "Используется ЦП" + +#: ../public/js/plugins/vms-tab.js:877 +msgid "VNC Session" +msgstr "VNC сессия" + +#: ../public/js/plugins/vms-tab.js:926 +msgid "Create Virtual Machine" +msgstr "Укажите параметры виртуальной машины" + +#: ../public/js/plugins/vms-tab.js:949 +msgid "You have not selected a template" +msgstr "Вы не выбрали шаблон" + +#: ../public/js/plugins/vms-tab.js:987 +msgid "VM Save As" +msgstr "ВМ сохранить как" + +#: ../public/js/plugins/vms-tab.js:1021 +msgid "Skipping VM " +msgstr "Пропуск ВМ " + +#: ../public/js/plugins/vms-tab.js:1022 +msgid "No disk id or image name specified" +msgstr "Внимание! Следует указать № диска или имя образа." + +#: ../public/js/plugins/vms-tab.js:1059 +msgid "Saveas for VM with ID" +msgstr "Сохранить как для ВМ с №" + +#: ../public/js/plugins/vms-tab.js:1062 +msgid "Select disk" +msgstr "Выберите диск" + +#: ../public/js/plugins/vms-tab.js:1064 +msgid "Retrieving" +msgstr "Запрос сведений" + +#: ../public/js/plugins/vms-tab.js:1068 +msgid "Image name" +msgstr "Название образа" + +#: ../public/js/plugins/vms-tab.js:1074 +msgid "Default (current image type)" +msgstr "По умолчанию (текущий тип образа)" + +#: ../public/js/plugins/vms-tab.js:1075 ../public/js/plugins/images-tab.js:82 +#: ../public/js/plugins/images-tab.js:532 +msgid "OS" +msgstr "ОС" + +#: ../public/js/plugins/vms-tab.js:1076 ../public/js/plugins/images-tab.js:84 +#: ../public/js/plugins/images-tab.js:534 +msgid "Datablock" +msgstr "Блок данных" + +#: ../public/js/plugins/vms-tab.js:1077 +#: ../public/js/plugins/templates-tab.js:1060 +#: ../public/js/plugins/templates-tab.js:1106 +#: ../public/js/plugins/templates-tab.js:1139 +#: ../public/js/plugins/images-tab.js:83 +#: ../public/js/plugins/images-tab.js:533 +msgid "CD-ROM" +msgstr "CD-ROM" + +#: ../public/js/plugins/vms-tab.js:1097 ../public/js/plugins/vms-tab.js:1100 +msgid "disk id" +msgstr "№ диска" + +#: ../public/js/plugins/vms-tab.js:1105 +msgid "No disks defined" +msgstr "Дисков не обнаружено" + +#: ../public/js/plugins/vms-tab.js:1122 +msgid "Update VM properties" +msgstr "Свойства ВМ" + +#: ../public/js/plugins/vms-tab.js:1262 +msgid "VNC connection" +msgstr "VNC соединение" + +#: ../public/js/plugins/vms-tab.js:1277 +msgid "Canvas not supported." +msgstr "Canvas не поддерживается." + +#: ../public/js/plugins/vms-tab.js:1338 +msgid "RUNNING" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1340 +msgid "Open VNC Session" +msgstr "Открыть VNC-сессию" + +#: ../public/js/plugins/vms-tab.js:1343 +msgid "VNC Disabled" +msgstr "VNC недоступно" + +#: ../public/js/plugins/datastores-tab.js:34 +msgid "Basepath" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:36 +#, fuzzy +msgid "DS MAD" +msgstr "Модуль средства виртуализации" + +#: ../public/js/plugins/datastores-tab.js:52 +msgid "Datastore manager" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:54 +msgid "Filesystem" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:56 +#: ../public/js/plugins/datastores-tab.js:63 +msgid "iSCSI" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:57 +#, fuzzy +msgid "LVM" +msgstr "KVM" + +#: ../public/js/plugins/datastores-tab.js:59 +msgid "Transfer manager" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:61 +msgid "Shared" +msgstr "Общий каталог" + +#: ../public/js/plugins/datastores-tab.js:62 +#: ../public/js/plugins/users-tab.js:60 ../public/js/plugins/users-tab.js:281 +msgid "SSH" +msgstr "SSH" + +#: ../public/js/plugins/datastores-tab.js:64 +#: ../public/js/plugins/hosts-tab.js:86 ../public/js/plugins/hosts-tab.js:100 +msgid "Dummy" +msgstr "Заглушка" + +#: ../public/js/plugins/datastores-tab.js:66 +#: ../public/js/plugins/templates-tab.js:225 +msgid "Disk type" +msgstr "Тип диска" + +#: ../public/js/plugins/datastores-tab.js:68 +#: ../public/js/plugins/templates-tab.js:1138 +msgid "File" +msgstr "Файл" + +#: ../public/js/plugins/datastores-tab.js:69 +#: ../public/js/plugins/templates-tab.js:1063 +#: ../public/js/plugins/templates-tab.js:1109 +#: ../public/js/plugins/templates-tab.js:1140 +msgid "Block" +msgstr "Block" + +#: ../public/js/plugins/datastores-tab.js:82 +msgid "Please, choose and modify the datastore you want to update" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:84 +msgid "Select a datastore" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:114 +#: ../public/js/plugins/images-tab.js:32 ../public/js/plugins/images-tab.js:72 +#: ../public/js/plugins/images-tab.js:188 +#: ../public/js/plugins/images-tab.js:609 +#: ../public/js/plugins/dashboard-tab.js:118 +msgid "Datastore" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:206 +msgid "Datastore updated correctly" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:317 +#: ../public/js/plugins/datastores-tab.js:417 +#: ../public/js/plugins/datastores-tab.js:421 +msgid "Datastore information" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:321 +#: ../public/js/plugins/datastores-tab.js:481 +msgid "Datastore template" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:445 +msgid "DS Mad" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:449 +msgid "TM Mad" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:453 +msgid "Base path" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:478 +msgid "Datastore Template" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:495 +msgid "Create Datastore" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:547 +msgid "Update Datastore properties" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:22 +msgid "CPU Monitoring information" +msgstr "Мониторинг ЦП" + +#: ../public/js/plugins/hosts-tab.js:28 +msgid "Memory monitoring information" +msgstr "Мониторинг ОЗУ" + +#: ../public/js/plugins/hosts-tab.js:49 +msgid "CPU Use" +msgstr "Использование ЦП" + +#: ../public/js/plugins/hosts-tab.js:50 +msgid "Memory use" +msgstr "Использование ОЗУ" + +#: ../public/js/plugins/hosts-tab.js:54 +msgid "Last monitored on" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:61 +msgid "CPU Use is calculated as the maximum between (total CPU - real CPU usage) and (allocated CPU). Real CPU usage is provided by the hosts monitoring driver. Available CPU is calculated using the information from the CPU setting of the VMs running on that host (allocated CPU)" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:64 +msgid "Memory use is calculated according to the information provided by the host monitoring driver." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:67 +msgid "You can get monitoring graphs by clicking in the desired host and visiting the monitoring information tab. Note that oneacctd must be running for this information to be updated/available." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:74 +msgid "Host parameters" +msgstr "Параметры узла" + +#: ../public/js/plugins/hosts-tab.js:77 +msgid "Drivers" +msgstr "Драйверы" + +#: ../public/js/plugins/hosts-tab.js:80 +msgid "Virtualization Manager" +msgstr "Средство виртуализации" + +#: ../public/js/plugins/hosts-tab.js:82 ../public/js/plugins/hosts-tab.js:96 +msgid "KVM" +msgstr "KVM" + +#: ../public/js/plugins/hosts-tab.js:83 ../public/js/plugins/hosts-tab.js:97 +#: ../public/js/plugins/templates-tab.js:416 +msgid "XEN" +msgstr "XEN" + +#: ../public/js/plugins/hosts-tab.js:85 ../public/js/plugins/hosts-tab.js:99 +msgid "EC2" +msgstr "EC2" + +#: ../public/js/plugins/hosts-tab.js:87 ../public/js/plugins/hosts-tab.js:101 +#: ../public/js/plugins/hosts-tab.js:117 ../public/js/plugins/users-tab.js:63 +msgid "Custom" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:90 +msgid "Custom VMM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:94 +msgid "Information Manager" +msgstr "Средство мониторинга" + +#: ../public/js/plugins/hosts-tab.js:104 +msgid "Custom IM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:111 +msgid "Default (dummy)" +msgstr "По умолчанию (заглушка)" + +#: ../public/js/plugins/hosts-tab.js:112 +msgid "Firewall" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:114 +#, fuzzy +msgid "Ebtables" +msgstr "Включить" + +#: ../public/js/plugins/hosts-tab.js:120 +msgid "Custom VNM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:274 +#: ../public/js/plugins/templates-tab.js:702 +#: ../public/js/plugins/users-tab.js:244 +msgid "Template updated correctly" +msgstr "Шаблон успешно обновлен" + +#: ../public/js/plugins/hosts-tab.js:306 +msgid "Update a template" +msgstr "Редактировать шаблон" + +#: ../public/js/plugins/hosts-tab.js:319 +#: ../public/js/plugins/templates-tab.js:163 +#: ../public/js/plugins/templates-tab.js:172 +#: ../public/js/plugins/images-tab.js:473 +msgid "Enable" +msgstr "Включить" + +#: ../public/js/plugins/hosts-tab.js:324 +#: ../public/js/plugins/templates-tab.js:164 +#: ../public/js/plugins/templates-tab.js:173 +#: ../public/js/plugins/images-tab.js:477 +msgid "Disable" +msgstr "Отключить" + +#: ../public/js/plugins/hosts-tab.js:329 +msgid "Delete host" +msgstr "Удалить узел" + +#: ../public/js/plugins/hosts-tab.js:434 +#: ../public/js/plugins/templates-tab.js:2002 +msgid "ERROR" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:434 +msgid "OFF" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:537 +msgid "Max CPU" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:587 +msgid "Create host" +msgstr "Укажите параметры нового узла" + +#: ../public/js/plugins/hosts-tab.js:629 +msgid "Host name missing!" +msgstr "Не указано название узла" + +#: ../public/js/plugins/config-tab.js:23 +msgid "Sunstone UI Configuration" +msgstr "Конфигурация интерфейса Sunstone" + +#: ../public/js/plugins/config-tab.js:28 +msgid "Language" +msgstr "Язык интерфейса" + +#: ../public/js/plugins/config-tab.js:31 +msgid "English" +msgstr "English (EN)" + +#: ../public/js/plugins/config-tab.js:32 +msgid "French" +msgstr "" + +#: ../public/js/plugins/config-tab.js:33 +msgid "Italian" +msgstr "" + +#: ../public/js/plugins/config-tab.js:34 +msgid "Portuguese" +msgstr "" + +#: ../public/js/plugins/config-tab.js:35 +msgid "Russian" +msgstr "Русский (RU)" + +#: ../public/js/plugins/config-tab.js:40 +msgid "Secure websockets connection" +msgstr "" + +#: ../public/js/plugins/config-tab.js:50 +msgid "These options are stored in your OpenNebula user template." +msgstr "" + +#: ../public/js/plugins/config-tab.js:67 +msgid "Configuration" +msgstr "Интерфейс" + +#: ../public/js/plugins/templates-tab.js:32 +#: ../public/js/plugins/images-tab.js:35 +msgid "Registration time" +msgstr "Время регистрации" + +#: ../public/js/plugins/templates-tab.js:42 +msgid "Wizard KVM" +msgstr "Шаблон KVM" + +#: ../public/js/plugins/templates-tab.js:43 +msgid "Wizard XEN" +msgstr "Шаблон XEN" + +#: ../public/js/plugins/templates-tab.js:44 +msgid "Wizard VMware" +msgstr "Шаблон VMware" + +#: ../public/js/plugins/templates-tab.js:58 +#: ../public/js/plugins/images-tab.js:58 +msgid "Fields marked with" +msgstr "Поля, отмеченные символом " + +#: ../public/js/plugins/templates-tab.js:59 +#: ../public/js/plugins/images-tab.js:59 +msgid "are mandatory" +msgstr ", обязательны к заполнению" + +#: ../public/js/plugins/templates-tab.js:60 +msgid "Fold / Unfold all sections" +msgstr "Свернуть/развернуть все разделы" + +#: ../public/js/plugins/templates-tab.js:66 +msgid "Capacity options" +msgstr "Настройки производительности" + +#: ../public/js/plugins/templates-tab.js:68 +msgid "Capacity" +msgstr "Производительность" + +#: ../public/js/plugins/templates-tab.js:72 +msgid "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>." +msgstr "Название, которое получит ВМ. Если название не будет указано, то оно будет сгенерировано в формате one-<№ ВМ>." + +#: ../public/js/plugins/templates-tab.js:77 +msgid "Amount of RAM required for the VM, in Megabytes." +msgstr "Объем ОЗУ (в МБ), необходимый для ВМ." + +#: ../public/js/plugins/templates-tab.js:82 +msgid "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5." +msgstr "Процент процессорного времени ЦП, предоставляемого ВМ, разделенный на 100. Например, для выделения половины процессорного времени следует указать 0.5." + +#: ../public/js/plugins/templates-tab.js:85 +msgid "VCPU" +msgstr "Кол-во вирт. ЦП" + +#: ../public/js/plugins/templates-tab.js:87 +msgid "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU." +msgstr "Количество виртуальных процессоров. Это значение опционально, используется поведение гипервизора по умолчанию - один виртуальный ЦП." + +#: ../public/js/plugins/templates-tab.js:96 +msgid "Boot/OS options" +msgstr "Загрузка и тип ОС" + +#: ../public/js/plugins/templates-tab.js:98 +msgid "OS and Boot options" +msgstr "Опции загрузки и ОС" + +#: ../public/js/plugins/templates-tab.js:100 +msgid "Architecture" +msgstr "Архитектура" + +#: ../public/js/plugins/templates-tab.js:105 +msgid "CPU architecture to virtualization" +msgstr "Архитектура ЦП для виртуализации" + +#: ../public/js/plugins/templates-tab.js:110 +msgid "Boot method" +msgstr "Метод загрузки" + +#: ../public/js/plugins/templates-tab.js:113 +#: ../public/js/plugins/templates-tab.js:119 +msgid "Kernel" +msgstr "Ядро" + +#: ../public/js/plugins/templates-tab.js:114 +#: ../public/js/plugins/templates-tab.js:139 +msgid "Bootloader" +msgstr "Загрузчик" + +#: ../public/js/plugins/templates-tab.js:116 +msgid "Select boot method" +msgstr "Выберите метод загрузки" + +#: ../public/js/plugins/templates-tab.js:121 +msgid "Path to the OS kernel to boot the image" +msgstr "Путь к ядру ОС для загрузки образа" + +#: ../public/js/plugins/templates-tab.js:124 +msgid "Initrd" +msgstr "initrd" + +#: ../public/js/plugins/templates-tab.js:126 +msgid "Path to the initrd image" +msgstr "Путь к образу initrd" + +#: ../public/js/plugins/templates-tab.js:129 +msgid "Root" +msgstr "Корень" + +#: ../public/js/plugins/templates-tab.js:131 +msgid "Device to be mounted as root" +msgstr "Устройство, монтируемое как корневое" + +#: ../public/js/plugins/templates-tab.js:134 +msgid "Kernel commands" +msgstr "Команды ядра" + +#: ../public/js/plugins/templates-tab.js:136 +msgid "Arguments for the booting kernel" +msgstr "Параметры для загрузки ядра" + +#: ../public/js/plugins/templates-tab.js:141 +msgid "Path to the bootloader executable" +msgstr "Путь к исполняемому файлу загрузчика" + +#: ../public/js/plugins/templates-tab.js:144 +msgid "Boot" +msgstr "Загрузка" + +#: ../public/js/plugins/templates-tab.js:147 +msgid "Boot device type" +msgstr "Тип устройства загрузки" + +#: ../public/js/plugins/templates-tab.js:156 +#: ../public/js/plugins/templates-tab.js:158 +msgid "Features" +msgstr "Особенности" + +#: ../public/js/plugins/templates-tab.js:160 +msgid "PAE" +msgstr "PAE" + +#: ../public/js/plugins/templates-tab.js:166 +msgid "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory" +msgstr "Режим расширенной физической адресации позволяет использовать 32-битным ВМ больше 4-х ГБ " + +#: ../public/js/plugins/templates-tab.js:169 +msgid "ACPI" +msgstr "ACPI" + +#: ../public/js/plugins/templates-tab.js:175 +msgid "Useful for power management, for example, normally required for graceful shutdown to work" +msgstr "Требуется для корректного завершения работы ВМ средствами системы виртуализации" + +#: ../public/js/plugins/templates-tab.js:187 +msgid "Add disks/images" +msgstr "Добавить диски/образы" + +#: ../public/js/plugins/templates-tab.js:189 +msgid "Disks" +msgstr "Диски" + +#: ../public/js/plugins/templates-tab.js:191 +msgid "Add disk/image" +msgstr "Добавить диск/образ" + +#: ../public/js/plugins/templates-tab.js:192 +#: ../public/js/plugins/templates-tab.js:1058 +#: ../public/js/plugins/templates-tab.js:1104 +msgid "Disk" +msgstr "Диск" + +#: ../public/js/plugins/templates-tab.js:202 +msgid "Name of the image to use" +msgstr "Название образа для использования" + +#: ../public/js/plugins/templates-tab.js:206 +#: ../public/js/plugins/templates-tab.js:412 +#: ../public/js/plugins/images-tab.js:99 +msgid "Bus" +msgstr "Тип шины" + +#: ../public/js/plugins/templates-tab.js:209 +msgid "Type of disk device to emulate: ide, scsi" +msgstr "Тип эмулируемого дискового устройства: ide, scsi" + +#: ../public/js/plugins/templates-tab.js:212 +#: ../public/js/plugins/templates-tab.js:324 +#: ../public/js/plugins/images-tab.js:39 +#: ../public/js/plugins/images-tab.js:113 +msgid "Target" +msgstr "Цель" + +#: ../public/js/plugins/templates-tab.js:214 +msgid "Device to map image disk. If set, it will overwrite the default device mapping" +msgstr "Соответствие обозначения устройства образу диска. Опционально." + +#: ../public/js/plugins/templates-tab.js:217 +#: ../public/js/plugins/images-tab.js:108 +msgid "Driver" +msgstr "Драйвер" + +#: ../public/js/plugins/templates-tab.js:219 +msgid "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported" +msgstr "Формат образа виртуального диска. Для KVM: raw, qcow2. Для Xen: tap:aio:, file:. Форматы VMware не поддерживаются" + +#: ../public/js/plugins/templates-tab.js:228 +#: ../public/js/plugins/images-tab.js:142 +#: ../public/js/plugins/images-tab.js:633 +msgid "Source" +msgstr "Источник" + +#: ../public/js/plugins/templates-tab.js:230 +msgid "Disk file location path or URL" +msgstr "Маршрутное имя файла диска или URL" + +#: ../public/js/plugins/templates-tab.js:233 +msgid "Transfer Manager" +msgstr "Средство передачи" + +#: ../public/js/plugins/templates-tab.js:235 +msgid "shared,ssh,iscsi,dummy" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:239 +#: ../public/js/plugins/images-tab.js:33 +#: ../public/js/plugins/images-tab.js:147 +msgid "Size" +msgstr "Размер" + +#: ../public/js/plugins/templates-tab.js:241 +msgid "Size in MB" +msgstr "Размер в МБ" + +#: ../public/js/plugins/templates-tab.js:245 +msgid "Format" +msgstr "Формат" + +#: ../public/js/plugins/templates-tab.js:247 +msgid "Filesystem type for the fs images" +msgstr "Тип файловой системы для образов ФС" + +#: ../public/js/plugins/templates-tab.js:250 +msgid "Clone" +msgstr "Клонировать" + +#: ../public/js/plugins/templates-tab.js:255 +msgid "Clone this image" +msgstr "Клонировать образ" + +#: ../public/js/plugins/templates-tab.js:258 +msgid "Save" +msgstr "Сохранить" + +#: ../public/js/plugins/templates-tab.js:263 +msgid "Save this image after shutting down the VM" +msgstr "Сохранить образ после выключения ВМ" + +#: ../public/js/plugins/templates-tab.js:266 +msgid "Read only" +msgstr "только на чтение" + +#: ../public/js/plugins/templates-tab.js:271 +msgid "Mount image as read-only" +msgstr "Монтировать образ только для чтения" + +#: ../public/js/plugins/templates-tab.js:277 +msgid "Current disks" +msgstr "Используемые диски" + +#: ../public/js/plugins/templates-tab.js:289 +msgid "Setup Networks" +msgstr "Настройка сетей" + +#: ../public/js/plugins/templates-tab.js:291 +#: ../public/js/plugins/templates-tab.js:302 +msgid "Network" +msgstr "Сеть" + +#: ../public/js/plugins/templates-tab.js:293 +msgid "Add network" +msgstr "Добавить сеть" + +#: ../public/js/plugins/templates-tab.js:294 +msgid "Predefined" +msgstr "По умолчанию" + +#: ../public/js/plugins/templates-tab.js:296 +msgid "Manual" +msgstr "Вручную" + +#: ../public/js/plugins/templates-tab.js:305 +msgid "Name of the network to attach this device" +msgstr "Сеть, подключаемая к данному устройству" + +#: ../public/js/plugins/templates-tab.js:309 +msgid "IP" +msgstr "IP-адрес" + +#: ../public/js/plugins/templates-tab.js:311 +msgid "Request an specific IP from the Network" +msgstr "Запросить определенный IP-адрес из сети" + +#: ../public/js/plugins/templates-tab.js:314 +msgid "MAC" +msgstr "MAC-адрес" + +#: ../public/js/plugins/templates-tab.js:316 +msgid "HW address associated with the network interface" +msgstr "MAC-адрес, связанный с сетевым интерфейсом" + +#: ../public/js/plugins/templates-tab.js:321 +msgid "Name of the bridge the network device is going to be attached to" +msgstr "Шлюз, с которым будет связано сетевое устройство" + +#: ../public/js/plugins/templates-tab.js:326 +msgid "Name for the tun device created for the VM" +msgstr "Имя сетевого туннеля, созданного для ВМ" + +#: ../public/js/plugins/templates-tab.js:329 +msgid "Script" +msgstr "Скрипт" + +#: ../public/js/plugins/templates-tab.js:331 +msgid "Name of a shell script to be executed after creating the tun device for the VM" +msgstr "shell-скрипт, который будет выполнен после создания сетевого туннеля для ВМ" + +#: ../public/js/plugins/templates-tab.js:334 +msgid "Model" +msgstr "Модель" + +#: ../public/js/plugins/templates-tab.js:336 +msgid "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif." +msgstr "Аппаратное устройствое, которое будет отвечать за эмуляцию сетевого интерфейса. Для Xen это атрибут «vif»." + +#: ../public/js/plugins/templates-tab.js:339 +msgid "Tcp firewall mode" +msgstr "Режим брандмауэра TCP" + +#: ../public/js/plugins/templates-tab.js:341 +#: ../public/js/plugins/templates-tab.js:360 +msgid "Optional, please select" +msgstr "Опционально, пожалуйста выберите" + +#: ../public/js/plugins/templates-tab.js:342 +#: ../public/js/plugins/templates-tab.js:361 +msgid "Port whitelist" +msgstr "Список разрешенных портов" + +#: ../public/js/plugins/templates-tab.js:343 +#: ../public/js/plugins/templates-tab.js:362 +msgid "Port blacklist" +msgstr "Список запрещенных портов" + +#: ../public/js/plugins/templates-tab.js:348 +msgid "Tcp white ports" +msgstr "Разрешенные TCP-порты" + +#: ../public/js/plugins/templates-tab.js:350 +msgid "Permits access to the VM only through the specified ports in the TCP protocol" +msgstr "Разрешить доступ к ВМ только через указанные порты протокола TCP" + +#: ../public/js/plugins/templates-tab.js:353 +msgid "Tcp black ports" +msgstr "Запрещенные TCP-порты" + +#: ../public/js/plugins/templates-tab.js:355 +msgid "Disallow access to the VM through the specified ports in the TCP protocol" +msgstr "Запретить доступ к ВМ через указанные порты для TCP протокола" + +#: ../public/js/plugins/templates-tab.js:358 +msgid "Udp firewall mode" +msgstr "Режим брандмауэра UDP" + +#: ../public/js/plugins/templates-tab.js:367 +msgid "Udp white ports" +msgstr "Разрешенные UDP-порты" + +#: ../public/js/plugins/templates-tab.js:369 +msgid "Permits access to the VM only through the specified ports in the UDP protocol" +msgstr "Разрешить доступ к ВМ только через указанные порты протокола UPD" + +#: ../public/js/plugins/templates-tab.js:372 +msgid "Udp black ports" +msgstr "Запрещенные UDP-порты" + +#: ../public/js/plugins/templates-tab.js:374 +msgid "Disallow access to the VM through the specified ports in the UDP protocol" +msgstr "Запретить доступ к ВМ через указанные порты для UDP протокола" + +#: ../public/js/plugins/templates-tab.js:377 +msgid "Icmp" +msgstr "ICMP" + +#: ../public/js/plugins/templates-tab.js:379 +msgid "Accept (default)" +msgstr "Принять (по умолчанию)" + +#: ../public/js/plugins/templates-tab.js:380 +msgid "Drop" +msgstr "Сбросить" + +#: ../public/js/plugins/templates-tab.js:382 +msgid "ICMP policy" +msgstr "Политика ICMP" + +#: ../public/js/plugins/templates-tab.js:389 +msgid "Current NICs" +msgstr "Используемые контроллеры сетевого интерфейса" + +#: ../public/js/plugins/templates-tab.js:400 +msgid "Add inputs" +msgstr "Добавить устройства ввода" + +#: ../public/js/plugins/templates-tab.js:402 +msgid "Inputs" +msgstr "Устройства ввода" + +#: ../public/js/plugins/templates-tab.js:406 +msgid "Mouse" +msgstr "Мышь" + +#: ../public/js/plugins/templates-tab.js:407 +msgid "Tablet" +msgstr "Планшетный ПК" + +#: ../public/js/plugins/templates-tab.js:414 +msgid "USB" +msgstr "USB" + +#: ../public/js/plugins/templates-tab.js:415 +msgid "PS2" +msgstr "PS/2" + +#: ../public/js/plugins/templates-tab.js:424 +msgid "Current inputs" +msgstr "Используемые устройства ввода" + +#: ../public/js/plugins/templates-tab.js:435 +msgid "Add Graphics" +msgstr "Добавить средства графического доступа" + +#: ../public/js/plugins/templates-tab.js:437 +msgid "Graphics" +msgstr "Средства графического доступа" + +#: ../public/js/plugins/templates-tab.js:439 +msgid "Graphics type" +msgstr "Обеспечить доступ через" + +#: ../public/js/plugins/templates-tab.js:442 +msgid "VNC" +msgstr "VNC" + +#: ../public/js/plugins/templates-tab.js:443 +msgid "SDL" +msgstr "SDL" + +#: ../public/js/plugins/templates-tab.js:445 +msgid "VMware supports VNC only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:448 +msgid "Listen IP" +msgstr "Прослушивание IP-адреса" + +#: ../public/js/plugins/templates-tab.js:450 +msgid "IP to listen on" +msgstr "IP-адрес для прослушивания" + +#: ../public/js/plugins/templates-tab.js:453 +msgid "Port" +msgstr "Порт" + +#: ../public/js/plugins/templates-tab.js:455 +msgid "Port for the VNC server" +msgstr "Порт для сервера VNC" + +#: ../public/js/plugins/templates-tab.js:458 +#: ../public/js/plugins/users-tab.js:55 +msgid "Password" +msgstr "Пароль" + +#: ../public/js/plugins/templates-tab.js:460 +msgid "Password for the VNC server" +msgstr "Пароль для VNC сервера" + +#: ../public/js/plugins/templates-tab.js:463 +msgid "Keymap" +msgstr "Раскладка клавиатуры" + +#: ../public/js/plugins/templates-tab.js:465 +msgid "Keyboard configuration locale to use in the VNC display" +msgstr "Раскладка клавиатуры, используемая при работе с VNC-дисплеем" + +#: ../public/js/plugins/templates-tab.js:474 +msgid "Add context variables" +msgstr "Добавить контекстные переменные" + +#: ../public/js/plugins/templates-tab.js:476 +msgid "Context" +msgstr "Контекст" + +#: ../public/js/plugins/templates-tab.js:480 +msgid "Name for the context variable" +msgstr "Имя контекстной переменной" + +#: ../public/js/plugins/templates-tab.js:485 +msgid "Value of the context variable" +msgstr "Значение контекстной переменной" + +#: ../public/js/plugins/templates-tab.js:491 +#: ../public/js/plugins/templates-tab.js:556 +msgid "Current variables" +msgstr "Используемые переменные" + +#: ../public/js/plugins/templates-tab.js:502 +msgid "Add placement options" +msgstr "Добавить опции размещения" + +#: ../public/js/plugins/templates-tab.js:504 +msgid "Placement" +msgstr "Размещение" + +#: ../public/js/plugins/templates-tab.js:506 +msgid "Requirements" +msgstr "Требования" + +#: ../public/js/plugins/templates-tab.js:508 +msgid "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM" +msgstr "Логическое выражение, исключающее элементы из списка узлов, подходящих для запуска данной ВМ" + +#: ../public/js/plugins/templates-tab.js:511 +msgid "Rank" +msgstr "Степень" + +#: ../public/js/plugins/templates-tab.js:513 +msgid "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others" +msgstr "В данном поле устанавливается значение атрибута, используемое для ранжирования узлов, пригодных для размещения ВМ. Значение атрибута определяет, какие из узлов лучше подходят для размещения ВМ." + +#: ../public/js/plugins/templates-tab.js:522 +msgid "Add Hypervisor raw options" +msgstr "Добавить исходные опции гипервизора" + +#: ../public/js/plugins/templates-tab.js:524 +msgid "Raw" +msgstr "Исходная опция" + +#: ../public/js/plugins/templates-tab.js:527 +msgid "Data" +msgstr "Данные" + +#: ../public/js/plugins/templates-tab.js:530 +msgid "Raw data to be passed directly to the hypervisor" +msgstr "Исходные данные, передаваемые напрямую гипервизору" + +#: ../public/js/plugins/templates-tab.js:539 +msgid "Add custom variables" +msgstr "Добавить пользовательские переменные" + +#: ../public/js/plugins/templates-tab.js:541 +msgid "Custom variables" +msgstr "Пользовательские переменные" + +#: ../public/js/plugins/templates-tab.js:545 +msgid "Name for the custom variable" +msgstr "Имя пользовательской переменной" + +#: ../public/js/plugins/templates-tab.js:550 +msgid "Value of the custom variable" +msgstr "Значение пользовательской перменной" + +#: ../public/js/plugins/templates-tab.js:575 +msgid "Write the Virtual Machine template here" +msgstr "Отредактируйте параметры шаблона ВМ вручную" + +#: ../public/js/plugins/templates-tab.js:794 +msgid "Instantiate" +msgstr "Создать экземпляр ВМ" + +#: ../public/js/plugins/templates-tab.js:819 +msgid "Template information" +msgstr "Сведения о шаблоне" + +#: ../public/js/plugins/templates-tab.js:913 +msgid "Information" +msgstr "Информация" + +#: ../public/js/plugins/templates-tab.js:937 +#: ../public/js/plugins/images-tab.js:625 +msgid "Register time" +msgstr "Время регистрации" + +#: ../public/js/plugins/templates-tab.js:1057 +msgid "None" +msgstr "Никакой" + +#: ../public/js/plugins/templates-tab.js:1059 +#: ../public/js/plugins/templates-tab.js:1105 +msgid "Floppy" +msgstr "Floppy" + +#: ../public/js/plugins/templates-tab.js:1061 +#: ../public/js/plugins/templates-tab.js:1107 +msgid "Swap" +msgstr "Swap" + +#: ../public/js/plugins/templates-tab.js:1062 +#: ../public/js/plugins/templates-tab.js:1108 +msgid "FS" +msgstr "FS" + +#: ../public/js/plugins/templates-tab.js:1068 +msgid "hd" +msgstr "hd" + +#: ../public/js/plugins/templates-tab.js:1069 +msgid "fd" +msgstr "fd" + +#: ../public/js/plugins/templates-tab.js:1070 +msgid "cdrom" +msgstr "cdrom" + +#: ../public/js/plugins/templates-tab.js:1071 +msgid "network" +msgstr "network" + +#: ../public/js/plugins/templates-tab.js:1075 +msgid "Driver default" +msgstr "Драйвер по умолчанию" + +#: ../public/js/plugins/templates-tab.js:1078 +#: ../public/js/plugins/templates-tab.js:1116 +#: ../public/js/plugins/templates-tab.js:1147 +#: ../public/js/plugins/images-tab.js:101 +msgid "IDE" +msgstr "IDE" + +#: ../public/js/plugins/templates-tab.js:1079 +#: ../public/js/plugins/templates-tab.js:1117 +#: ../public/js/plugins/templates-tab.js:1148 +#: ../public/js/plugins/images-tab.js:102 +msgid "SCSI" +msgstr "SCSI" + +#: ../public/js/plugins/templates-tab.js:1080 +msgid "Virtio" +msgstr "Virtio" + +#: ../public/js/plugins/templates-tab.js:1113 +msgid "Please choose" +msgstr "Пожалуйста выберите" + +#: ../public/js/plugins/templates-tab.js:1187 +msgid "There are mandatory parameters missing in this section" +msgstr "В данном разделе указаны не все обязательные параметры" + +#: ../public/js/plugins/templates-tab.js:1727 +msgid "Context variable name and value must be filled in" +msgstr "Поля «Имя переменной» и «Значение» должны быть заполнены" + +#: ../public/js/plugins/templates-tab.js:1778 +msgid "Custom variable name and value must be filled in" +msgstr "Поля «Имя переменной» и «Значение» должны быть заполнены" + +#: ../public/js/plugins/templates-tab.js:1797 +msgid "Create VM Template" +msgstr "Укажите параметры шаблона ВМ" + +#: ../public/js/plugins/templates-tab.js:1885 +msgid "There are mandatory fields missing in the capacity section" +msgstr "В разделе «Производительность» не заполнены некоторые обязательные поля" + +#: ../public/js/plugins/templates-tab.js:1896 +msgid "Xen templates must specify a boot method" +msgstr "В шаблон Xen необходимо указывать метод загрузки" + +#: ../public/js/plugins/templates-tab.js:1901 +msgid "There are mandatory fields missing in the OS Boot options section" +msgstr "В разделе «Загрузка и тип ОС» не заполнены некоторые обязательные поля" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "DISABLED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "LOCKED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2019 +msgid "Update template properties" +msgstr "Свойства шаблона" + +#: ../public/js/plugins/infra-tab.js:25 +msgid "Summary of infrastructure resources" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:57 +msgid "Create new Cluster" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:58 +msgid "Create new Host" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:59 +msgid "Create new Datastore" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:60 +msgid "Create new Virtual Network" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:73 +msgid "Infrastructure resources" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:75 +msgid "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well." +msgstr "" + +#: ../public/js/plugins/infra-tab.js:76 +#: ../public/js/plugins/vresources-tab.js:81 +#: ../public/js/plugins/system-tab.js:71 +msgid "You can find further information on the following links:" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:92 +msgid "Infrastructure" +msgstr "" + +#: ../public/js/plugins/users-tab.js:35 ../public/js/plugins/users-tab.js:407 +msgid "Authentication driver" +msgstr "Драйвер аутентификации" + +#: ../public/js/plugins/users-tab.js:36 +#, fuzzy +msgid "Group ID" +msgstr "гр. " + +#: ../public/js/plugins/users-tab.js:44 +msgid "Tip: select Core authentication for new Sunstone/Self-Service regular users." +msgstr "" + +#: ../public/js/plugins/users-tab.js:53 +msgid "Username" +msgstr "Имя пользователя" + +#: ../public/js/plugins/users-tab.js:57 +msgid "Authentication" +msgstr "Способ аутентификации" + +#: ../public/js/plugins/users-tab.js:59 ../public/js/plugins/users-tab.js:280 +msgid "Core" +msgstr "Core" + +#: ../public/js/plugins/users-tab.js:61 ../public/js/plugins/users-tab.js:282 +msgid "x509" +msgstr "x509" + +#: ../public/js/plugins/users-tab.js:62 ../public/js/plugins/users-tab.js:283 +msgid "Public" +msgstr "Public" + +#: ../public/js/plugins/users-tab.js:66 +#, fuzzy +msgid "Custom auth driver" +msgstr "Пользовательские атрибуты" + +#: ../public/js/plugins/users-tab.js:82 +msgid "This will change the password for the selected users" +msgstr "Введите новый пароль для выбранных пользователей" + +#: ../public/js/plugins/users-tab.js:83 +msgid "New password" +msgstr "Новый пароль" + +#: ../public/js/plugins/users-tab.js:89 +msgid "Change" +msgstr "Сменить" + +#: ../public/js/plugins/users-tab.js:145 +msgid "Change password successful" +msgstr "" + +#: ../public/js/plugins/users-tab.js:268 ../public/js/plugins/users-tab.js:471 +msgid "Change password" +msgstr "Сменить пароль" + +#: ../public/js/plugins/users-tab.js:274 +msgid "This will change the main group of the selected users. Select the new group" +msgstr "Выберите основную группу для выбранных пользователей" + +#: ../public/js/plugins/users-tab.js:278 +msgid "Change authentication" +msgstr "Сменить способ аутентификации" + +#: ../public/js/plugins/users-tab.js:285 +msgid "Please choose the new type of authentication for the selected users" +msgstr "Укажите новый способ аутентификации для выбранных пользователей" + +#: ../public/js/plugins/users-tab.js:309 ../public/js/plugins/users-tab.js:391 +#: ../public/js/plugins/users-tab.js:395 +msgid "User information" +msgstr "" + +#: ../public/js/plugins/users-tab.js:413 +msgid "User template" +msgstr "" + +#: ../public/js/plugins/users-tab.js:424 +msgid "Create user" +msgstr "Укажите данные для нового пользователя" + +#: ../public/js/plugins/users-tab.js:454 +msgid "User name and password must be filled in" +msgstr "Необходимо указать и имя пользователя, и пароль" + +#: ../public/js/plugins/users-tab.js:489 +msgid "Fill in a new password" +msgstr "Введите новый пароль" + +#: ../public/js/plugins/vresources-tab.js:25 +msgid "Summary of virtual resources" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:62 +msgid "Create new Virtual Machine" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:63 +msgid "Create new VM Template" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:64 +msgid "Create new Image" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:77 +#: ../public/js/plugins/vresources-tab.js:96 +msgid "Virtual Resources" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:79 +msgid "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and storage (Images)." +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:80 +msgid "Virtual Machine templates can be instantiated as many times as you want. You can do it from the Templates tab or by creating a new VM in the VM tab. The second method allows you to customize the name and the number of VMs you want to launch." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:39 +msgid "Tip: Refresh the list if it only shows user ids in the user column." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:47 +msgid "Group name" +msgstr "Название группы" + +#: ../public/js/plugins/groups-tab.js:130 +msgid "+ New Group" +msgstr "Создать группу" + +#: ../public/js/plugins/groups-tab.js:227 +msgid "Create group" +msgstr "Создать группу" + +#: ../public/js/plugins/images-tab.js:36 ../public/js/plugins/images-tab.js:89 +#: ../public/js/plugins/images-tab.js:213 +#: ../public/js/plugins/images-tab.js:629 +msgid "Persistent" +msgstr "Постоянный" + +#: ../public/js/plugins/images-tab.js:38 +msgid "#VMS" +msgstr "Кол-во ВМ" + +#: ../public/js/plugins/images-tab.js:46 +msgid "Size and registration time are hidden colums. Note that persistent images can only be used by 1 VM. To change image datastore, please re-register the image." +msgstr "" + +#: ../public/js/plugins/images-tab.js:64 +msgid "Name that the Image will get. Every image must have a unique name." +msgstr "Название, которое получит образ. Каждый образ должен обладать уникальным названием." + +#: ../public/js/plugins/images-tab.js:67 +msgid "Description" +msgstr "Описание" + +#: ../public/js/plugins/images-tab.js:69 +msgid "Human readable description of the image for other users." +msgstr "Краткое описание образа." + +#: ../public/js/plugins/images-tab.js:75 +msgid "Select the datastore for this image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:86 +msgid "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS)." +msgstr "Тип. Если не указать тип образа, его значение будет считано из конфигурационного файла oned.conf (значение по умолчанию — «OS»)." + +#: ../public/js/plugins/images-tab.js:91 +msgid "Persistence of the image" +msgstr "Если образ является постоянным, то при каждом завершении работы с полученной на его основе виртуальной машиной все изменения будут сохранены в образе. Важно помнить, что сохранение выполнится только в случае завершения работы соответствующей ВМ при помощи операций «Выключить» и «Отменить». Постоянный образ всегда хранится в одном экземпляре." + +#: ../public/js/plugins/images-tab.js:94 +msgid "Device prefix" +msgstr "Префикс устройства" + +#: ../public/js/plugins/images-tab.js:96 +msgid "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”)." +msgstr "Префикс эмулируемого устройства, на которое будет смонтирован образ. Например, «hd» и «sd». Если не указать префикс, его значение будет считано из конфигурационного файла oned.conf (значение по умолчанию — «hd»)." + +#: ../public/js/plugins/images-tab.js:103 +msgid "Virtio (KVM)" +msgstr "Virtio (KVM)" + +#: ../public/js/plugins/images-tab.js:105 +msgid "Type of disk device to emulate." +msgstr "Тип эмулируемого дискового устройства" + +#: ../public/js/plugins/images-tab.js:110 +msgid "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:" +msgstr "Формат образа виртуального диска. Для KVM: raw, qcow2. Для Xen: tap:aio, file:" + +#: ../public/js/plugins/images-tab.js:115 +msgid "Target on which the image will be mounted at. For example: hda, sdb..." +msgstr "" + +#: ../public/js/plugins/images-tab.js:120 +msgid "Image location" +msgstr "" + +#: ../public/js/plugins/images-tab.js:123 +msgid "Provide a path" +msgstr "Указать путь к эталонному файлу образа" + +#: ../public/js/plugins/images-tab.js:126 +msgid "Provide a source" +msgstr "Указать источник для образа" + +#: ../public/js/plugins/images-tab.js:129 +msgid "Upload" +msgstr "" + +#: ../public/js/plugins/images-tab.js:132 +msgid "Create an empty datablock" +msgstr "Создать пустой блок данных" + +#: ../public/js/plugins/images-tab.js:133 +msgid "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk." +msgstr "«Путь к эталонному файлу образа» — образ создается путем копирования эталонного файла образа в хранилище образов. «Источник» — в данное поле следует указывать местоположение образа (в качестве образа будет использован ресурс, непосредственно указанный в поле «Источник», а не копия этого ресурса)." + +#: ../public/js/plugins/images-tab.js:137 +#: ../public/js/plugins/images-tab.js:637 +msgid "Path" +msgstr "Путь к файлу" + +#: ../public/js/plugins/images-tab.js:139 +msgid "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created." +msgstr "Путь к исходному файлу, который будет скопирован в хранилище образов. Если путь не указан для типа образа БЛОК ДАННЫХ, то будет создан пустой образ." + +#: ../public/js/plugins/images-tab.js:144 +msgid "Source to be used in the DISK attribute. Useful for not file-based images." +msgstr "В качестве источника указывается местоположение образа, который планируется использовать непосредственно." + +#: ../public/js/plugins/images-tab.js:149 +msgid "Size of the datablock in MB." +msgstr "Размер блока данных в МБ." + +#: ../public/js/plugins/images-tab.js:152 +msgid "FS type" +msgstr "Тип ФС" + +#: ../public/js/plugins/images-tab.js:154 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "Тип создаваемой ФС. Может быть указан любой тип, который используется в unix-команде mkfs." + +#: ../public/js/plugins/images-tab.js:157 +msgid "Upload file" +msgstr "" + +#: ../public/js/plugins/images-tab.js:187 +msgid "Write the image template here" +msgstr "Отредактируйте параметры шаблона образа ВМ вручную" + +#: ../public/js/plugins/images-tab.js:207 +msgid "Please, choose and modify the image you want to update" +msgstr "Выберите образ и внесите необходимые изменения в его параметры" + +#: ../public/js/plugins/images-tab.js:209 +msgid "Select an image" +msgstr "Выберите образ" + +#: ../public/js/plugins/images-tab.js:338 +msgid "Image updated correctly" +msgstr "" + +#: ../public/js/plugins/images-tab.js:481 +msgid "Make persistent" +msgstr "Сделать постоянным" + +#: ../public/js/plugins/images-tab.js:485 +msgid "Make non persistent" +msgstr "Сделать непостоянным" + +#: ../public/js/plugins/images-tab.js:497 +#: ../public/js/plugins/images-tab.js:593 +msgid "Image information" +msgstr "Информация об образе" + +#: ../public/js/plugins/images-tab.js:502 +#: ../public/js/plugins/images-tab.js:673 +#: ../public/js/plugins/images-tab.js:675 +msgid "Image template" +msgstr "Шаблон образа" + +#: ../public/js/plugins/images-tab.js:630 +msgid "yes" +msgstr "да" + +#: ../public/js/plugins/images-tab.js:630 +#, fuzzy +msgid "no" +msgstr "Информация" + +#: ../public/js/plugins/images-tab.js:641 +msgid "Filesystem type" +msgstr "Тип файловой системы" + +#: ../public/js/plugins/images-tab.js:645 +msgid "Size (Mb)" +msgstr "Размер (МБ)" + +#: ../public/js/plugins/images-tab.js:653 +msgid "Running #VMS" +msgstr "Кол-во запущенных ВМ" + +#: ../public/js/plugins/images-tab.js:689 +msgid "Create Image" +msgstr "Укажите параметры нового образа" + +#: ../public/js/plugins/images-tab.js:766 +msgid "Custom attribute name and value must be filled in" +msgstr "Поля названия и значения пользовательского атрибута обязательны к заполнению" + +#: ../public/js/plugins/images-tab.js:814 +msgid "Uploading..." +msgstr "" + +#: ../public/js/plugins/images-tab.js:851 +msgid "There are mandatory parameters missing" +msgstr "Указаны не все обязательные параметры." + +#: ../public/js/plugins/images-tab.js:860 +#: ../public/js/plugins/images-tab.js:940 +msgid "Please select a datastore for this image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:971 +msgid "Update image properties" +msgstr "Редактировать свойства образа" + +#: ../public/js/plugins/system-tab.js:25 +msgid "Summary of system resources" +msgstr "" + +#: ../public/js/plugins/system-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:98 +msgid "ACL Rules" +msgstr "Правила контроля доступа" + +#: ../public/js/plugins/system-tab.js:53 +msgid "Create new Group" +msgstr "" + +#: ../public/js/plugins/system-tab.js:54 +msgid "Create new User" +msgstr "" + +#: ../public/js/plugins/system-tab.js:55 +msgid "Create new ACL" +msgstr "" + +#: ../public/js/plugins/system-tab.js:68 +msgid "System Resources" +msgstr "" + +#: ../public/js/plugins/system-tab.js:70 +msgid "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs." +msgstr "" + +#: ../public/js/plugins/system-tab.js:87 +msgid "System" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:58 +msgid "Hosts (total/active)" +msgstr "Узлы (всего/из них активных)" + +#: ../public/js/plugins/dashboard-tab.js:113 +msgid "Host" +msgstr "Узел" + +#: ../public/js/plugins/dashboard-tab.js:122 +msgid "ACL" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:138 +msgid "Hosts CPU" +msgstr "Загрузка ЦП" + +#: ../public/js/plugins/dashboard-tab.js:141 +msgid "Hosts memory" +msgstr "Загрузка ОЗУ" + +#~ msgid "disabled" +#~ msgstr "откл" + +#~ msgid "Server (Cipher)" +#~ msgstr "Server (Cipher)" + +#~ msgid "Server (x509)" +#~ msgstr "Server (x509)" diff --git a/src/sunstone/public/locale/ru/ru_datatable.txt b/src/sunstone/locale/languages/ru_datatable.txt similarity index 100% rename from src/sunstone/public/locale/ru/ru_datatable.txt rename to src/sunstone/locale/languages/ru_datatable.txt diff --git a/src/sunstone/locale/messages.pot b/src/sunstone/locale/messages.pot new file mode 100644 index 0000000000..b233c766a9 --- /dev/null +++ b/src/sunstone/locale/messages.pot @@ -0,0 +1,2849 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-05-21 14:12+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../public/js/sunstone.js:586 +msgid "Previous action" +msgstr "" + +#: ../public/js/sunstone.js:649 ../public/js/sunstone.js:683 +msgid "Confirmation of action" +msgstr "" + +#: ../public/js/sunstone.js:655 +msgid "You have to confirm this action." +msgstr "" + +#: ../public/js/sunstone.js:657 +msgid "Do you want to proceed?" +msgstr "" + +#: ../public/js/sunstone.js:660 ../public/js/sunstone.js:692 +#: ../public/js/plugins/vms-tab.js:997 +msgid "OK" +msgstr "" + +#: ../public/js/sunstone.js:661 ../public/js/sunstone.js:693 +#: ../public/js/plugins/vms-tab.js:578 ../public/js/plugins/vms-tab.js:998 +msgid "Cancel" +msgstr "" + +#: ../public/js/sunstone.js:688 +msgid "You need to select something." +msgstr "" + +#: ../public/js/locale.js:35 +msgid "Changing language" +msgstr "" + +#: ../public/js/locale.js:36 +msgid "Loading new language... please wait" +msgstr "" + +#: ../public/js/locale.js:89 +msgid "Documentation" +msgstr "" + +#: ../public/js/locale.js:90 +msgid "Support" +msgstr "" + +#: ../public/js/locale.js:91 +msgid "Community" +msgstr "" + +#: ../public/js/locale.js:92 +msgid "Welcome" +msgstr "" + +#: ../public/js/locale.js:93 +msgid "Sign out" +msgstr "" + +#: ../public/js/sunstone-util.js:203 +msgid "Submitted" +msgstr "" + +#: ../public/js/sunstone-util.js:220 +msgid "Error" +msgstr "" + +#: ../public/js/sunstone-util.js:226 +msgid "Info" +msgstr "" + +#: ../public/js/sunstone-util.js:358 +msgid "Cannot contact server: is it running and reachable?" +msgstr "" + +#: ../public/js/sunstone-util.js:366 +msgid "Network is unreachable: is OpenNebula running?" +msgstr "" + +#: ../public/js/sunstone-util.js:387 +msgid "Unauthorized" +msgstr "" + +#: ../public/js/sunstone-util.js:561 ../public/js/sunstone-util.js:772 +#: ../public/js/plugins/templates-tab.js:441 +#: ../public/js/plugins/images-tab.js:1068 +msgid "Please select" +msgstr "" + +#: ../public/js/sunstone-util.js:695 +msgid "Update template" +msgstr "" + +#: ../public/js/sunstone-util.js:701 ../public/js/plugins/templates-tab.js:594 +msgid "Please, choose and modify the template you want to update" +msgstr "" + +#: ../public/js/sunstone-util.js:703 ../public/js/sunstone-util.js:706 +#: ../public/js/plugins/templates-tab.js:596 +msgid "Select a template" +msgstr "" + +#: ../public/js/sunstone-util.js:711 ../public/js/plugins/vnets-tab.js:207 +#: ../public/js/plugins/vms-tab.js:153 +#: ../public/js/plugins/datastores-tab.js:121 +#: ../public/js/plugins/templates-tab.js:633 +#: ../public/js/plugins/images-tab.js:249 +msgid "Update" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:22 +msgid "Access Control Lists" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:29 ../public/js/plugins/acls-tab.js:65 +#: ../public/js/plugins/acls-tab.js:186 ../public/js/plugins/acls-tab.js:204 +#: ../public/js/plugins/acls-tab.js:464 ../public/js/plugins/vnets-tab.js:27 +#: ../public/js/plugins/clusters-tab.js:28 ../public/js/plugins/vms-tab.js:58 +#: ../public/js/plugins/datastores-tab.js:28 +#: ../public/js/plugins/hosts-tab.js:44 +#: ../public/js/plugins/templates-tab.js:27 +#: ../public/js/plugins/users-tab.js:31 ../public/js/plugins/groups-tab.js:29 +#: ../public/js/plugins/images-tab.js:27 +msgid "All" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:30 ../public/js/plugins/acls-tab.js:207 +#: ../public/js/plugins/vnets-tab.js:28 ../public/js/plugins/vnets-tab.js:547 +#: ../public/js/plugins/clusters-tab.js:29 +#: ../public/js/plugins/clusters-tab.js:385 +#: ../public/js/plugins/clusters-tab.js:460 ../public/js/plugins/vms-tab.js:59 +#: ../public/js/plugins/vms-tab.js:805 +#: ../public/js/plugins/datastores-tab.js:29 +#: ../public/js/plugins/datastores-tab.js:425 +#: ../public/js/plugins/hosts-tab.js:45 +#: ../public/js/plugins/templates-tab.js:28 +#: ../public/js/plugins/templates-tab.js:921 +#: ../public/js/plugins/users-tab.js:32 ../public/js/plugins/groups-tab.js:30 +#: ../public/js/plugins/images-tab.js:28 +#: ../public/js/plugins/images-tab.js:601 +msgid "ID" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:31 +msgid "Applies to" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:32 ../public/js/plugins/acls-tab.js:53 +msgid "Affected resources" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:33 +msgid "Resource ID / Owned by" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:34 ../public/js/plugins/acls-tab.js:75 +msgid "Allowed operations" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:35 +msgid "ACL String" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:42 +msgid "This table shows the ACLs rules broken down to easier the reading and meaning of each one. You can show the ACL original string by clicking on Show/Hide columns." +msgstr "" + +#: ../public/js/plugins/acls-tab.js:50 +msgid "This rule applies to" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:54 ../public/js/plugins/acls-tab.js:239 +#: ../public/js/plugins/clusters-tab.js:401 +#: ../public/js/plugins/clusters-tab.js:476 +#: ../public/js/plugins/clusters-tab.js:578 +#: ../public/js/plugins/hosts-tab.js:37 ../public/js/plugins/hosts-tab.js:352 +#: ../public/js/plugins/infra-tab.js:34 +msgid "Hosts" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:55 ../public/js/plugins/acls-tab.js:260 +#: ../public/js/plugins/clusters-tab.js:21 +#: ../public/js/plugins/clusters-tab.js:214 +#: ../public/js/plugins/infra-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:62 +msgid "Clusters" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:56 ../public/js/plugins/acls-tab.js:263 +#: ../public/js/plugins/dashboard-users-tab.js:73 +#: ../public/js/plugins/clusters-tab.js:417 +#: ../public/js/plugins/clusters-tab.js:493 +#: ../public/js/plugins/clusters-tab.js:585 +#: ../public/js/plugins/datastores-tab.js:21 +#: ../public/js/plugins/datastores-tab.js:327 +#: ../public/js/plugins/infra-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:86 +msgid "Datastores" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:57 ../public/js/plugins/acls-tab.js:242 +#: ../public/js/plugins/vms-tab.js:51 ../public/js/plugins/vms-tab.js:611 +msgid "Virtual Machines" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:58 ../public/js/plugins/acls-tab.js:245 +#: ../public/js/plugins/dashboard-users-tab.js:69 +#: ../public/js/plugins/vnets-tab.js:20 ../public/js/plugins/vnets-tab.js:462 +#: ../public/js/plugins/clusters-tab.js:429 +#: ../public/js/plugins/clusters-tab.js:507 +#: ../public/js/plugins/clusters-tab.js:592 +#: ../public/js/plugins/infra-tab.js:42 +#: ../public/js/plugins/vresources-tab.js:43 +#: ../public/js/plugins/dashboard-tab.js:82 +msgid "Virtual Networks" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:59 ../public/js/plugins/acls-tab.js:248 +#: ../public/js/plugins/dashboard-users-tab.js:77 +#: ../public/js/plugins/datastores-tab.js:457 +#: ../public/js/plugins/vresources-tab.js:47 +#: ../public/js/plugins/images-tab.js:20 +#: ../public/js/plugins/images-tab.js:509 +#: ../public/js/plugins/dashboard-tab.js:90 +msgid "Images" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:60 +#: ../public/js/plugins/templates-tab.js:20 +#: ../public/js/plugins/templates-tab.js:825 +msgid "Templates" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:61 ../public/js/plugins/acls-tab.js:254 +#: ../public/js/plugins/acls-tab.js:456 ../public/js/plugins/users-tab.js:24 +#: ../public/js/plugins/users-tab.js:315 ../public/js/plugins/groups-tab.js:32 +#: ../public/js/plugins/system-tab.js:34 +#: ../public/js/plugins/dashboard-tab.js:94 +msgid "Users" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:62 ../public/js/plugins/acls-tab.js:257 +#: ../public/js/plugins/acls-tab.js:461 ../public/js/plugins/groups-tab.js:22 +#: ../public/js/plugins/groups-tab.js:147 +#: ../public/js/plugins/system-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:66 +msgid "Groups" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:64 +msgid "Resource subset" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:66 +msgid "Specific ID" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:67 +msgid "Owned by group" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:69 +msgid "Resource ID" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:72 ../public/js/plugins/acls-tab.js:211 +#: ../public/js/plugins/vnets-tab.js:30 ../public/js/plugins/vnets-tab.js:187 +#: ../public/js/plugins/vnets-tab.js:563 ../public/js/plugins/vnets-tab.js:588 +#: ../public/js/plugins/vms-tab.js:61 ../public/js/plugins/vms-tab.js:132 +#: ../public/js/plugins/vms-tab.js:817 ../public/js/plugins/vms-tab.js:846 +#: ../public/js/plugins/datastores-tab.js:31 +#: ../public/js/plugins/datastores-tab.js:101 +#: ../public/js/plugins/datastores-tab.js:437 +#: ../public/js/plugins/datastores-tab.js:466 +#: ../public/js/plugins/templates-tab.js:30 +#: ../public/js/plugins/templates-tab.js:613 +#: ../public/js/plugins/templates-tab.js:933 +#: ../public/js/plugins/templates-tab.js:946 +#: ../public/js/plugins/users-tab.js:34 ../public/js/plugins/users-tab.js:403 +#: ../public/js/plugins/images-tab.js:30 +#: ../public/js/plugins/images-tab.js:230 +#: ../public/js/plugins/images-tab.js:617 +#: ../public/js/plugins/images-tab.js:662 +#: ../public/js/plugins/dashboard-tab.js:121 +msgid "Group" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:76 ../public/js/plugins/vnets-tab.js:177 +#: ../public/js/plugins/vms-tab.js:122 +#: ../public/js/plugins/datastores-tab.js:91 +#: ../public/js/plugins/templates-tab.js:603 +#: ../public/js/plugins/images-tab.js:220 +msgid "Use" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:77 ../public/js/plugins/vnets-tab.js:178 +#: ../public/js/plugins/vms-tab.js:123 +#: ../public/js/plugins/datastores-tab.js:92 +#: ../public/js/plugins/templates-tab.js:604 +#: ../public/js/plugins/images-tab.js:221 +msgid "Manage" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:78 +msgid "Administrate" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:79 ../public/js/plugins/acls-tab.js:87 +#: ../public/js/plugins/vnets-tab.js:140 ../public/js/plugins/vnets-tab.js:157 +#: ../public/js/plugins/clusters-tab.js:45 ../public/js/plugins/vms-tab.js:105 +#: ../public/js/plugins/datastores-tab.js:74 +#: ../public/js/plugins/hosts-tab.js:132 +#: ../public/js/plugins/templates-tab.js:566 +#: ../public/js/plugins/templates-tab.js:583 +#: ../public/js/plugins/users-tab.js:73 ../public/js/plugins/groups-tab.js:53 +#: ../public/js/plugins/images-tab.js:178 +#: ../public/js/plugins/images-tab.js:196 +msgid "Create" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:81 +msgid "ACL String preview" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:88 ../public/js/plugins/vnets-tab.js:142 +#: ../public/js/plugins/vnets-tab.js:159 +#: ../public/js/plugins/clusters-tab.js:46 ../public/js/plugins/vms-tab.js:106 +#: ../public/js/plugins/datastores-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:133 +#: ../public/js/plugins/templates-tab.js:568 +#: ../public/js/plugins/templates-tab.js:585 +#: ../public/js/plugins/users-tab.js:74 ../public/js/plugins/users-tab.js:90 +#: ../public/js/plugins/groups-tab.js:54 +#: ../public/js/plugins/images-tab.js:179 +#: ../public/js/plugins/images-tab.js:198 +msgid "Reset" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:148 ../public/js/plugins/vnets-tab.js:407 +#: ../public/js/plugins/clusters-tab.js:181 +#: ../public/js/plugins/vms-tab.js:469 +#: ../public/js/plugins/datastores-tab.js:273 +#: ../public/js/plugins/hosts-tab.js:296 +#: ../public/js/plugins/templates-tab.js:780 +#: ../public/js/plugins/users-tab.js:254 +#: ../public/js/plugins/groups-tab.js:125 +#: ../public/js/plugins/images-tab.js:442 +msgid "Refresh list" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:153 ../public/js/plugins/vnets-tab.js:413 +#: ../public/js/plugins/clusters-tab.js:186 +#: ../public/js/plugins/vms-tab.js:475 +#: ../public/js/plugins/datastores-tab.js:278 +#: ../public/js/plugins/hosts-tab.js:301 +#: ../public/js/plugins/templates-tab.js:785 +#: ../public/js/plugins/users-tab.js:259 +#: ../public/js/plugins/images-tab.js:447 +msgid "+ New" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:157 ../public/js/plugins/vnets-tab.js:446 +#: ../public/js/plugins/clusters-tab.js:190 +#: ../public/js/plugins/vms-tab.js:586 +#: ../public/js/plugins/datastores-tab.js:310 +#: ../public/js/plugins/templates-tab.js:813 +#: ../public/js/plugins/users-tab.js:303 +#: ../public/js/plugins/groups-tab.js:142 +#: ../public/js/plugins/images-tab.js:491 +msgid "Delete" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:162 +msgid "ACLs" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:189 +#: ../public/js/plugins/dashboard-tab.js:120 +msgid "User" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:193 +msgid "Group " +msgstr "" + +#: ../public/js/plugins/acls-tab.js:251 +#: ../public/js/plugins/dashboard-users-tab.js:58 +#: ../public/js/plugins/vresources-tab.js:30 +#: ../public/js/plugins/dashboard-tab.js:70 +msgid "VM Templates" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:318 +msgid "Create ACL" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:406 +msgid "Please specify to who this ACL applies" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:412 +msgid "Please select at least one resource" +msgstr "" + +#: ../public/js/plugins/acls-tab.js:421 +msgid "Please provide a resource ID for the resource(s) in this rule" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:53 +#: ../public/js/plugins/dashboard-tab.js:53 +msgid "Summary of resources" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:62 +#: ../public/js/plugins/vresources-tab.js:35 +#: ../public/js/plugins/dashboard-tab.js:75 +msgid "VM Instances" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:63 +#: ../public/js/plugins/vresources-tab.js:36 +#: ../public/js/plugins/dashboard-tab.js:76 +msgid "total" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:64 +#: ../public/js/plugins/vresources-tab.js:37 +#: ../public/js/plugins/dashboard-tab.js:77 +msgid "running" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:65 +#: ../public/js/plugins/vresources-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:78 +msgid "failed" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:89 +#: ../public/js/plugins/infra-tab.js:54 +#: ../public/js/plugins/vresources-tab.js:59 +#: ../public/js/plugins/system-tab.js:50 +#: ../public/js/plugins/dashboard-tab.js:110 +msgid "Quickstart" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:91 +#: ../public/js/plugins/dashboard-tab.js:112 +msgid "Create new" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:92 +#: ../public/js/plugins/dashboard-tab.js:115 +msgid "VM Instance" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:93 +#: ../public/js/plugins/vms-tab.js:885 +#: ../public/js/plugins/dashboard-tab.js:116 +msgid "VM Template" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:94 +#: ../public/js/plugins/vnets-tab.js:543 +#: ../public/js/plugins/dashboard-tab.js:117 +msgid "Virtual Network" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:95 +#: ../public/js/plugins/templates-tab.js:194 +#: ../public/js/plugins/templates-tab.js:199 +#: ../public/js/plugins/images-tab.js:597 +#: ../public/js/plugins/dashboard-tab.js:119 +msgid "Image" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:108 +#: ../public/js/plugins/dashboard-tab.js:135 +msgid "Historical monitoring information" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:111 +#: ../public/js/plugins/dashboard-tab.js:144 +msgid "Total VM count" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:114 +msgid "Total VM CPU" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:117 +msgid "Total VM Memory" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:120 +#: ../public/js/plugins/dashboard-tab.js:147 +msgid "VM Network stats" +msgstr "" + +#: ../public/js/plugins/dashboard-users-tab.js:133 +#: ../public/js/plugins/dashboard-tab.js:160 +msgid "Dashboard" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:29 ../public/js/plugins/vnets-tab.js:181 +#: ../public/js/plugins/vnets-tab.js:559 ../public/js/plugins/vnets-tab.js:584 +#: ../public/js/plugins/vms-tab.js:60 ../public/js/plugins/vms-tab.js:126 +#: ../public/js/plugins/vms-tab.js:813 ../public/js/plugins/vms-tab.js:842 +#: ../public/js/plugins/datastores-tab.js:30 +#: ../public/js/plugins/datastores-tab.js:95 +#: ../public/js/plugins/datastores-tab.js:433 +#: ../public/js/plugins/datastores-tab.js:462 +#: ../public/js/plugins/templates-tab.js:29 +#: ../public/js/plugins/templates-tab.js:607 +#: ../public/js/plugins/templates-tab.js:929 +#: ../public/js/plugins/templates-tab.js:942 +#: ../public/js/plugins/images-tab.js:29 +#: ../public/js/plugins/images-tab.js:224 +#: ../public/js/plugins/images-tab.js:613 +#: ../public/js/plugins/images-tab.js:658 +msgid "Owner" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:31 ../public/js/plugins/vnets-tab.js:55 +#: ../public/js/plugins/vnets-tab.js:125 ../public/js/plugins/vnets-tab.js:551 +#: ../public/js/plugins/clusters-tab.js:30 +#: ../public/js/plugins/clusters-tab.js:41 +#: ../public/js/plugins/clusters-tab.js:389 +#: ../public/js/plugins/clusters-tab.js:464 +#: ../public/js/plugins/clusters-tab.js:672 ../public/js/plugins/vms-tab.js:62 +#: ../public/js/plugins/vms-tab.js:809 +#: ../public/js/plugins/datastores-tab.js:32 +#: ../public/js/plugins/datastores-tab.js:47 +#: ../public/js/plugins/datastores-tab.js:429 +#: ../public/js/plugins/hosts-tab.js:46 ../public/js/plugins/hosts-tab.js:75 +#: ../public/js/plugins/hosts-tab.js:494 +#: ../public/js/plugins/templates-tab.js:31 +#: ../public/js/plugins/templates-tab.js:70 +#: ../public/js/plugins/templates-tab.js:478 +#: ../public/js/plugins/templates-tab.js:543 +#: ../public/js/plugins/templates-tab.js:925 +#: ../public/js/plugins/users-tab.js:33 ../public/js/plugins/groups-tab.js:31 +#: ../public/js/plugins/images-tab.js:31 ../public/js/plugins/images-tab.js:62 +#: ../public/js/plugins/images-tab.js:164 +#: ../public/js/plugins/images-tab.js:605 +msgid "Name" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:32 ../public/js/plugins/vnets-tab.js:555 +#: ../public/js/plugins/clusters-tab.js:676 +#: ../public/js/plugins/datastores-tab.js:33 +#: ../public/js/plugins/datastores-tab.js:49 +#: ../public/js/plugins/datastores-tab.js:441 +#: ../public/js/plugins/hosts-tab.js:47 ../public/js/plugins/hosts-tab.js:125 +#: ../public/js/plugins/hosts-tab.js:498 +#: ../public/js/plugins/dashboard-tab.js:114 +msgid "Cluster" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:33 ../public/js/plugins/vms-tab.js:1072 +#: ../public/js/plugins/templates-tab.js:222 +#: ../public/js/plugins/templates-tab.js:404 +#: ../public/js/plugins/images-tab.js:34 ../public/js/plugins/images-tab.js:80 +#: ../public/js/plugins/images-tab.js:621 +msgid "Type" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:34 ../public/js/plugins/vnets-tab.js:68 +#: ../public/js/plugins/vnets-tab.js:567 +#: ../public/js/plugins/templates-tab.js:319 +msgid "Bridge" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:35 +msgid "Total Leases" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:42 +msgid "Tip: edit the leases of a network by clicking on one and going to the lease management tab." +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:49 ../public/js/plugins/images-tab.js:52 +msgid "Wizard" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:50 +#: ../public/js/plugins/templates-tab.js:45 +#: ../public/js/plugins/images-tab.js:53 +msgid "Advanced mode" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:60 +msgid "Network mode" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:62 +#: ../public/js/plugins/templates-tab.js:162 +#: ../public/js/plugins/templates-tab.js:171 +msgid "Default" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:63 ../public/js/plugins/hosts-tab.js:113 +msgid "802.1Q" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:64 +msgid "Etables" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:65 ../public/js/plugins/hosts-tab.js:115 +msgid "Open vSwitch" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:66 +#: ../public/js/plugins/datastores-tab.js:55 +#: ../public/js/plugins/hosts-tab.js:84 ../public/js/plugins/hosts-tab.js:98 +#: ../public/js/plugins/hosts-tab.js:116 +msgid "VMware" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:70 ../public/js/plugins/vnets-tab.js:575 +msgid "Physical device" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:72 ../public/js/plugins/vnets-tab.js:571 +msgid "VLAN" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:74 +#: ../public/js/plugins/templates-tab.js:252 +#: ../public/js/plugins/templates-tab.js:261 +#: ../public/js/plugins/templates-tab.js:269 +msgid "Yes" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:75 +#: ../public/js/plugins/templates-tab.js:253 +#: ../public/js/plugins/templates-tab.js:260 +#: ../public/js/plugins/templates-tab.js:268 +msgid "No" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:77 ../public/js/plugins/vnets-tab.js:579 +msgid "VLAN ID" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:81 +msgid "Network type" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:82 +msgid "Fixed network" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:83 +msgid "Ranged network" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:89 +msgid "Lease IP" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:91 +msgid "Lease MAC (opt):" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:95 ../public/js/plugins/vnets-tab.js:129 +#: ../public/js/plugins/vnets-tab.js:649 +#: ../public/js/plugins/templates-tab.js:274 +#: ../public/js/plugins/templates-tab.js:386 +#: ../public/js/plugins/templates-tab.js:421 +#: ../public/js/plugins/templates-tab.js:488 +#: ../public/js/plugins/templates-tab.js:553 +#: ../public/js/plugins/images-tab.js:168 +msgid "Add" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:98 ../public/js/plugins/vnets-tab.js:130 +#: ../public/js/plugins/templates-tab.js:275 +#: ../public/js/plugins/templates-tab.js:387 +#: ../public/js/plugins/templates-tab.js:422 +#: ../public/js/plugins/templates-tab.js:489 +#: ../public/js/plugins/templates-tab.js:554 +#: ../public/js/plugins/images-tab.js:169 +msgid "Remove selected" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:100 +msgid "Current leases" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:108 +msgid "Network Address" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:110 +msgid "Network Mask" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:112 +msgid "Define a subnet by IP range" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:114 ../public/js/plugins/vnets-tab.js:631 +msgid "IP Start" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:116 ../public/js/plugins/vnets-tab.js:635 +msgid "IP End" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:127 +#: ../public/js/plugins/templates-tab.js:483 +#: ../public/js/plugins/templates-tab.js:548 +#: ../public/js/plugins/images-tab.js:166 +msgid "Value" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:132 +#: ../public/js/plugins/images-tab.js:171 +msgid "Custom attributes" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:149 +msgid "Write the Virtual Network template here" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:168 +msgid "Please, choose and modify the virtual network you want to update" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:170 +msgid "Select a network" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:176 ../public/js/plugins/vnets-tab.js:582 +#: ../public/js/plugins/vms-tab.js:121 +#: ../public/js/plugins/datastores-tab.js:90 +#: ../public/js/plugins/datastores-tab.js:460 +#: ../public/js/plugins/templates-tab.js:602 +#: ../public/js/plugins/templates-tab.js:940 +#: ../public/js/plugins/images-tab.js:219 +#: ../public/js/plugins/images-tab.js:656 +msgid "Permissions" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:179 ../public/js/plugins/vms-tab.js:124 +#: ../public/js/plugins/datastores-tab.js:93 +#: ../public/js/plugins/templates-tab.js:605 +#: ../public/js/plugins/images-tab.js:222 +msgid "Admin" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:193 ../public/js/plugins/vnets-tab.js:592 +#: ../public/js/plugins/vms-tab.js:138 ../public/js/plugins/vms-tab.js:850 +#: ../public/js/plugins/datastores-tab.js:107 +#: ../public/js/plugins/datastores-tab.js:470 +#: ../public/js/plugins/templates-tab.js:619 +#: ../public/js/plugins/templates-tab.js:950 +#: ../public/js/plugins/images-tab.js:236 +#: ../public/js/plugins/images-tab.js:666 +msgid "Other" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:200 ../public/js/plugins/vms-tab.js:145 +#: ../public/js/plugins/templates-tab.js:626 +#: ../public/js/plugins/templates-tab.js:917 +#: ../public/js/plugins/templates-tab.js:956 +#: ../public/js/plugins/templates-tab.js:958 +#: ../public/js/plugins/images-tab.js:243 +msgid "Template" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:418 ../public/js/plugins/vms-tab.js:481 +#: ../public/js/plugins/datastores-tab.js:283 +#: ../public/js/plugins/templates-tab.js:789 +#: ../public/js/plugins/users-tab.js:263 +#: ../public/js/plugins/images-tab.js:451 +msgid "Update properties" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:423 +#: ../public/js/plugins/datastores-tab.js:289 +#: ../public/js/plugins/hosts-tab.js:312 +msgid "Select cluster" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:425 +#: ../public/js/plugins/datastores-tab.js:291 +#: ../public/js/plugins/hosts-tab.js:314 +msgid "Select the destination cluster:" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:430 ../public/js/plugins/vms-tab.js:487 +#: ../public/js/plugins/datastores-tab.js:296 +#: ../public/js/plugins/templates-tab.js:798 +#: ../public/js/plugins/images-tab.js:456 +msgid "Change owner" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:432 ../public/js/plugins/vms-tab.js:489 +#: ../public/js/plugins/datastores-tab.js:298 +#: ../public/js/plugins/templates-tab.js:800 +#: ../public/js/plugins/images-tab.js:458 +msgid "Select the new owner" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:438 ../public/js/plugins/vms-tab.js:495 +#: ../public/js/plugins/datastores-tab.js:303 +#: ../public/js/plugins/templates-tab.js:805 +#: ../public/js/plugins/users-tab.js:272 +#: ../public/js/plugins/images-tab.js:463 +msgid "Change group" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:440 ../public/js/plugins/vms-tab.js:497 +#: ../public/js/plugins/datastores-tab.js:305 +#: ../public/js/plugins/templates-tab.js:807 +#: ../public/js/plugins/images-tab.js:465 +msgid "Select the new group" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:452 +msgid "Virtual network information" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:456 +msgid "Lease management" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:544 +#: ../public/js/plugins/templates-tab.js:918 +#: ../public/js/plugins/images-tab.js:598 +msgid "information" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:599 +msgid "Virtual Network template (attributes)" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:607 +msgid "Virtual Network information" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:626 +msgid "Leases information" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:639 +msgid "Network mask" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:643 +msgid "Hold lease" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:644 ../public/js/plugins/vms-tab.js:534 +msgid "Hold" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:648 +msgid "Add lease" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:658 +msgid "No leases to show" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:703 +msgid "hold" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:703 +msgid "delete" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:706 +msgid "Used by VM" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:709 +msgid "release" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:722 +msgid "Create Virtual Network" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:791 +msgid "Please provide a lease IP" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:857 +msgid "Virtual Network name missing!" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:941 +msgid "There are missing network parameters" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:993 +msgid "Update network properties" +msgstr "" + +#: ../public/js/plugins/vnets-tab.js:1018 ../public/js/plugins/vms-tab.js:1269 +#: ../public/js/plugins/datastores-tab.js:572 +#: ../public/js/plugins/templates-tab.js:2044 +#: ../public/js/plugins/images-tab.js:995 +msgid "Loading" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:197 +#: ../public/js/plugins/clusters-tab.js:660 +#: ../public/js/plugins/clusters-tab.js:664 +#: ../public/js/plugins/hosts-tab.js:336 ../public/js/plugins/hosts-tab.js:482 +#: ../public/js/plugins/hosts-tab.js:486 +msgid "Host information" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:202 +#: ../public/js/plugins/clusters-tab.js:736 +#: ../public/js/plugins/clusters-tab.js:739 +#: ../public/js/plugins/hosts-tab.js:341 ../public/js/plugins/hosts-tab.js:558 +#: ../public/js/plugins/hosts-tab.js:561 +msgid "Host template" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:206 +#: ../public/js/plugins/clusters-tab.js:745 +#: ../public/js/plugins/vms-tab.js:857 ../public/js/plugins/vms-tab.js:899 +#: ../public/js/plugins/hosts-tab.js:345 ../public/js/plugins/hosts-tab.js:567 +msgid "Monitoring information" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:339 +msgid "No datastores in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:349 +msgid "No hosts in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:359 +msgid "No virtual networks in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:380 +#: ../public/js/plugins/clusters-tab.js:455 +msgid "Cluster information" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:404 +#: ../public/js/plugins/clusters-tab.js:480 +msgid "Create new host" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:405 +msgid "Manage unclustered hosts" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:420 +#: ../public/js/plugins/clusters-tab.js:498 +msgid "Create new datastore" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:421 +msgid "Manage unclustered datastores" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:432 +#: ../public/js/plugins/clusters-tab.js:512 +msgid "Create new virtual network" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:433 +msgid "Manage unclustered virtual networks" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:479 +msgid "Current number of hosts in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:481 +msgid "Manage cluster hosts" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:496 +msgid "Current number of datastores in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:499 +msgid "Manage cluster datastores" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:510 +msgid "Current number of virtual networks in this cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:513 +msgid "Manage cluster virtual networks" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:668 +#: ../public/js/plugins/hosts-tab.js:490 ../public/js/plugins/users-tab.js:399 +msgid "id" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:680 +#: ../public/js/plugins/vms-tab.js:821 ../public/js/plugins/hosts-tab.js:502 +#: ../public/js/plugins/images-tab.js:649 +msgid "State" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:684 +#: ../public/js/plugins/hosts-tab.js:52 ../public/js/plugins/hosts-tab.js:506 +msgid "IM MAD" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:688 +#: ../public/js/plugins/hosts-tab.js:53 ../public/js/plugins/hosts-tab.js:510 +msgid "VM MAD" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:692 +#: ../public/js/plugins/hosts-tab.js:514 +msgid "VN MAD" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:696 +#: ../public/js/plugins/datastores-tab.js:35 +msgid "TM MAD" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:703 +#: ../public/js/plugins/hosts-tab.js:521 +msgid "Host shares" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:707 +#: ../public/js/plugins/hosts-tab.js:525 +msgid "Max Mem" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:711 +#: ../public/js/plugins/hosts-tab.js:529 +msgid "Used Mem (real)" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:715 +#: ../public/js/plugins/hosts-tab.js:533 +msgid "Used Mem (allocated)" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:719 +#: ../public/js/plugins/hosts-tab.js:541 +msgid "Used CPU (real)" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:723 +#: ../public/js/plugins/hosts-tab.js:545 +msgid "Used CPU (allocated)" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:727 +#: ../public/js/plugins/hosts-tab.js:48 ../public/js/plugins/hosts-tab.js:549 +msgid "Running VMs" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:767 +msgid "Create cluster" +msgstr "" + +#: ../public/js/plugins/clusters-tab.js:783 +msgid "Cluster name missing!" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:28 ../public/js/plugins/vms-tab.js:64 +#: ../public/js/plugins/templates-tab.js:80 +msgid "CPU" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:33 ../public/js/plugins/vms-tab.js:65 +#: ../public/js/plugins/templates-tab.js:75 +msgid "Memory" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:38 +msgid "Network transmission" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:43 +msgid "Network reception" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:63 ../public/js/plugins/hosts-tab.js:51 +#: ../public/js/plugins/images-tab.js:37 +msgid "Status" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:66 ../public/js/plugins/vms-tab.js:724 +#: ../public/js/plugins/vms-tab.js:829 +msgid "Hostname" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:67 +msgid "IPs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:68 +msgid "Start Time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:69 +msgid "VNC Access" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:76 +msgid "CPU, Memory and Start time are hidden columns by default. You can get monitoring graphs by clicking on the desired VM and visiting the monitoring information tab (oneacctd needs to be running for this information to be up to date)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:79 +msgid "VNC console requires previous install of the noVNC addon. Check Sunstone documentation for more information." +msgstr "" + +#: ../public/js/plugins/vms-tab.js:87 +msgid "VM Name" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:89 +msgid "Defaults to template name when emtpy" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:92 +msgid "Select template" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:97 +msgid "Deploy # VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:99 +#, python-format +msgid "You can use the wildcard %. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:113 +msgid "Please, choose and modify the virtual machine you want to update" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:115 +msgid "Select a VM" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:503 +msgid "Shutdown" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:504 +msgid "This will initiate the shutdown process in the selected VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:512 +msgid "Deploy" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:513 +msgid "This will deploy the selected VMs on the chosen host" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:519 +msgid "Migrate" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:520 +msgid "This will migrate the selected VMs to the chosen host" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:527 +msgid "Live migrate" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:528 +msgid "This will live-migrate the selected VMs to the chosen host" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:535 +msgid "This will hold selected pending VMs from being deployed" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:539 +msgid "Release" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:540 +msgid "This will release held machines" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:544 +msgid "Suspend" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:545 +msgid "This will suspend selected machines" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:549 +msgid "Resume" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:550 +msgid "This will resume selected stopped or suspended VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:554 +msgid "Stop" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:559 +msgid "Restart" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:560 +msgid "This will redeploy selected VMs (in UNKNOWN or BOOT state)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:564 +msgid "Resubmit" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:565 +msgid "This will resubmits VMs to PENDING state" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:569 +msgid "Reboot" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:570 +msgid "This will send a reboot action to running VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:574 +msgid "Save as" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:579 +msgid "This will cancel selected VMs" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:587 +msgid "This will delete the selected VMs from the database" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:593 ../public/js/plugins/vms-tab.js:801 +msgid "Virtual Machine information" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:597 ../public/js/plugins/vms-tab.js:888 +msgid "VM template" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:601 ../public/js/plugins/vms-tab.js:894 +msgid "VM log" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:605 ../public/js/plugins/vms-tab.js:904 +msgid "History information" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:665 +#: ../public/js/plugins/vms-tab.js:788 +msgid "ACTIVE" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:657 ../public/js/plugins/vms-tab.js:788 +msgid "SUSPENDED" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:723 +msgid "Sequence" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:725 +msgid "Reason" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:726 +msgid "State change time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:727 +msgid "Total time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:728 +msgid "Prolog time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:797 +msgid "VM information" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:825 +msgid "LCM State" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:833 +msgid "Start time" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:837 +msgid "Deploy ID" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:861 +msgid "Net_TX" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:865 +msgid "Net_RX" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:869 +msgid "Used Memory" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:873 +msgid "Used CPU" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:877 +msgid "VNC Session" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:926 +msgid "Create Virtual Machine" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:949 +msgid "You have not selected a template" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:987 +msgid "VM Save As" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1021 +msgid "Skipping VM " +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1022 +msgid "No disk id or image name specified" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1059 +msgid "Saveas for VM with ID" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1062 +msgid "Select disk" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1064 +msgid "Retrieving" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1068 +msgid "Image name" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1074 +msgid "Default (current image type)" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1075 ../public/js/plugins/images-tab.js:82 +#: ../public/js/plugins/images-tab.js:532 +msgid "OS" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1076 ../public/js/plugins/images-tab.js:84 +#: ../public/js/plugins/images-tab.js:534 +msgid "Datablock" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1077 +#: ../public/js/plugins/templates-tab.js:1060 +#: ../public/js/plugins/templates-tab.js:1106 +#: ../public/js/plugins/templates-tab.js:1139 +#: ../public/js/plugins/images-tab.js:83 +#: ../public/js/plugins/images-tab.js:533 +msgid "CD-ROM" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1097 ../public/js/plugins/vms-tab.js:1100 +msgid "disk id" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1105 +msgid "No disks defined" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1122 +msgid "Update VM properties" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1262 +msgid "VNC connection" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1277 +msgid "Canvas not supported." +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1338 +msgid "RUNNING" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1340 +msgid "Open VNC Session" +msgstr "" + +#: ../public/js/plugins/vms-tab.js:1343 +msgid "VNC Disabled" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:34 +msgid "Basepath" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:36 +msgid "DS MAD" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:52 +msgid "Datastore manager" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:54 +msgid "Filesystem" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:56 +#: ../public/js/plugins/datastores-tab.js:63 +msgid "iSCSI" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:57 +msgid "LVM" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:59 +msgid "Transfer manager" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:61 +msgid "Shared" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:62 +#: ../public/js/plugins/users-tab.js:60 ../public/js/plugins/users-tab.js:281 +msgid "SSH" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:64 +#: ../public/js/plugins/hosts-tab.js:86 ../public/js/plugins/hosts-tab.js:100 +msgid "Dummy" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:66 +#: ../public/js/plugins/templates-tab.js:225 +msgid "Disk type" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:68 +#: ../public/js/plugins/templates-tab.js:1138 +msgid "File" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:69 +#: ../public/js/plugins/templates-tab.js:1063 +#: ../public/js/plugins/templates-tab.js:1109 +#: ../public/js/plugins/templates-tab.js:1140 +msgid "Block" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:82 +msgid "Please, choose and modify the datastore you want to update" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:84 +msgid "Select a datastore" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:114 +#: ../public/js/plugins/images-tab.js:32 ../public/js/plugins/images-tab.js:72 +#: ../public/js/plugins/images-tab.js:188 +#: ../public/js/plugins/images-tab.js:609 +#: ../public/js/plugins/dashboard-tab.js:118 +msgid "Datastore" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:206 +msgid "Datastore updated correctly" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:317 +#: ../public/js/plugins/datastores-tab.js:417 +#: ../public/js/plugins/datastores-tab.js:421 +msgid "Datastore information" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:321 +#: ../public/js/plugins/datastores-tab.js:481 +msgid "Datastore template" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:445 +msgid "DS Mad" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:449 +msgid "TM Mad" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:453 +msgid "Base path" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:478 +msgid "Datastore Template" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:495 +msgid "Create Datastore" +msgstr "" + +#: ../public/js/plugins/datastores-tab.js:547 +msgid "Update Datastore properties" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:22 +msgid "CPU Monitoring information" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:28 +msgid "Memory monitoring information" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:49 +msgid "CPU Use" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:50 +msgid "Memory use" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:54 +msgid "Last monitored on" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:61 +msgid "CPU Use is calculated as the maximum between (total CPU - real CPU usage) and (allocated CPU). Real CPU usage is provided by the hosts monitoring driver. Available CPU is calculated using the information from the CPU setting of the VMs running on that host (allocated CPU)" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:64 +msgid "Memory use is calculated according to the information provided by the host monitoring driver." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:67 +msgid "You can get monitoring graphs by clicking in the desired host and visiting the monitoring information tab. Note that oneacctd must be running for this information to be updated/available." +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:74 +msgid "Host parameters" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:77 +msgid "Drivers" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:80 +msgid "Virtualization Manager" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:82 ../public/js/plugins/hosts-tab.js:96 +msgid "KVM" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:83 ../public/js/plugins/hosts-tab.js:97 +#: ../public/js/plugins/templates-tab.js:416 +msgid "XEN" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:85 ../public/js/plugins/hosts-tab.js:99 +msgid "EC2" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:87 ../public/js/plugins/hosts-tab.js:101 +#: ../public/js/plugins/hosts-tab.js:117 ../public/js/plugins/users-tab.js:63 +msgid "Custom" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:90 +msgid "Custom VMM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:94 +msgid "Information Manager" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:104 +msgid "Custom IM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:111 +msgid "Default (dummy)" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:112 +msgid "Firewall" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:114 +msgid "Ebtables" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:120 +msgid "Custom VNM_MAD" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:274 +#: ../public/js/plugins/templates-tab.js:702 +#: ../public/js/plugins/users-tab.js:244 +msgid "Template updated correctly" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:306 +msgid "Update a template" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:319 +#: ../public/js/plugins/templates-tab.js:163 +#: ../public/js/plugins/templates-tab.js:172 +#: ../public/js/plugins/images-tab.js:473 +msgid "Enable" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:324 +#: ../public/js/plugins/templates-tab.js:164 +#: ../public/js/plugins/templates-tab.js:173 +#: ../public/js/plugins/images-tab.js:477 +msgid "Disable" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:329 +msgid "Delete host" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:434 +#: ../public/js/plugins/templates-tab.js:2002 +msgid "ERROR" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:434 +msgid "OFF" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:537 +msgid "Max CPU" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:587 +msgid "Create host" +msgstr "" + +#: ../public/js/plugins/hosts-tab.js:629 +msgid "Host name missing!" +msgstr "" + +#: ../public/js/plugins/config-tab.js:23 +msgid "Sunstone UI Configuration" +msgstr "" + +#: ../public/js/plugins/config-tab.js:28 +msgid "Language" +msgstr "" + +#: ../public/js/plugins/config-tab.js:31 +msgid "English" +msgstr "" + +#: ../public/js/plugins/config-tab.js:32 +msgid "French" +msgstr "" + +#: ../public/js/plugins/config-tab.js:33 +msgid "Italian" +msgstr "" + +#: ../public/js/plugins/config-tab.js:34 +msgid "Portuguese" +msgstr "" + +#: ../public/js/plugins/config-tab.js:35 +msgid "Russian" +msgstr "" + +#: ../public/js/plugins/config-tab.js:40 +msgid "Secure websockets connection" +msgstr "" + +#: ../public/js/plugins/config-tab.js:50 +msgid "These options are stored in your OpenNebula user template." +msgstr "" + +#: ../public/js/plugins/config-tab.js:67 +msgid "Configuration" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:32 +#: ../public/js/plugins/images-tab.js:35 +msgid "Registration time" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:42 +msgid "Wizard KVM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:43 +msgid "Wizard XEN" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:44 +msgid "Wizard VMware" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:58 +#: ../public/js/plugins/images-tab.js:58 +msgid "Fields marked with" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:59 +#: ../public/js/plugins/images-tab.js:59 +msgid "are mandatory" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:60 +msgid "Fold / Unfold all sections" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:66 +msgid "Capacity options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:68 +msgid "Capacity" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:72 +msgid "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:77 +msgid "Amount of RAM required for the VM, in Megabytes." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:82 +msgid "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:85 +msgid "VCPU" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:87 +msgid "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:96 +msgid "Boot/OS options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:98 +msgid "OS and Boot options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:100 +msgid "Architecture" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:105 +msgid "CPU architecture to virtualization" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:110 +msgid "Boot method" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:113 +#: ../public/js/plugins/templates-tab.js:119 +msgid "Kernel" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:114 +#: ../public/js/plugins/templates-tab.js:139 +msgid "Bootloader" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:116 +msgid "Select boot method" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:121 +msgid "Path to the OS kernel to boot the image" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:124 +msgid "Initrd" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:126 +msgid "Path to the initrd image" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:129 +msgid "Root" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:131 +msgid "Device to be mounted as root" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:134 +msgid "Kernel commands" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:136 +msgid "Arguments for the booting kernel" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:141 +msgid "Path to the bootloader executable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:144 +msgid "Boot" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:147 +msgid "Boot device type" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:156 +#: ../public/js/plugins/templates-tab.js:158 +msgid "Features" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:160 +msgid "PAE" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:166 +msgid "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:169 +msgid "ACPI" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:175 +msgid "Useful for power management, for example, normally required for graceful shutdown to work" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:187 +msgid "Add disks/images" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:189 +msgid "Disks" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:191 +msgid "Add disk/image" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:192 +#: ../public/js/plugins/templates-tab.js:1058 +#: ../public/js/plugins/templates-tab.js:1104 +msgid "Disk" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:202 +msgid "Name of the image to use" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:206 +#: ../public/js/plugins/templates-tab.js:412 +#: ../public/js/plugins/images-tab.js:99 +msgid "Bus" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:209 +msgid "Type of disk device to emulate: ide, scsi" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:212 +#: ../public/js/plugins/templates-tab.js:324 +#: ../public/js/plugins/images-tab.js:39 +#: ../public/js/plugins/images-tab.js:113 +msgid "Target" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:214 +msgid "Device to map image disk. If set, it will overwrite the default device mapping" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:217 +#: ../public/js/plugins/images-tab.js:108 +msgid "Driver" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:219 +msgid "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:228 +#: ../public/js/plugins/images-tab.js:142 +#: ../public/js/plugins/images-tab.js:633 +msgid "Source" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:230 +msgid "Disk file location path or URL" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:233 +msgid "Transfer Manager" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:235 +msgid "shared,ssh,iscsi,dummy" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:239 +#: ../public/js/plugins/images-tab.js:33 +#: ../public/js/plugins/images-tab.js:147 +msgid "Size" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:241 +msgid "Size in MB" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:245 +msgid "Format" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:247 +msgid "Filesystem type for the fs images" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:250 +msgid "Clone" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:255 +msgid "Clone this image" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:258 +msgid "Save" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:263 +msgid "Save this image after shutting down the VM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:266 +msgid "Read only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:271 +msgid "Mount image as read-only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:277 +msgid "Current disks" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:289 +msgid "Setup Networks" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:291 +#: ../public/js/plugins/templates-tab.js:302 +msgid "Network" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:293 +msgid "Add network" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:294 +msgid "Predefined" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:296 +msgid "Manual" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:305 +msgid "Name of the network to attach this device" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:309 +msgid "IP" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:311 +msgid "Request an specific IP from the Network" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:314 +msgid "MAC" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:316 +msgid "HW address associated with the network interface" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:321 +msgid "Name of the bridge the network device is going to be attached to" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:326 +msgid "Name for the tun device created for the VM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:329 +msgid "Script" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:331 +msgid "Name of a shell script to be executed after creating the tun device for the VM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:334 +msgid "Model" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:336 +msgid "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif." +msgstr "" + +#: ../public/js/plugins/templates-tab.js:339 +msgid "Tcp firewall mode" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:341 +#: ../public/js/plugins/templates-tab.js:360 +msgid "Optional, please select" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:342 +#: ../public/js/plugins/templates-tab.js:361 +msgid "Port whitelist" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:343 +#: ../public/js/plugins/templates-tab.js:362 +msgid "Port blacklist" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:348 +msgid "Tcp white ports" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:350 +msgid "Permits access to the VM only through the specified ports in the TCP protocol" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:353 +msgid "Tcp black ports" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:355 +msgid "Disallow access to the VM through the specified ports in the TCP protocol" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:358 +msgid "Udp firewall mode" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:367 +msgid "Udp white ports" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:369 +msgid "Permits access to the VM only through the specified ports in the UDP protocol" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:372 +msgid "Udp black ports" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:374 +msgid "Disallow access to the VM through the specified ports in the UDP protocol" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:377 +msgid "Icmp" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:379 +msgid "Accept (default)" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:380 +msgid "Drop" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:382 +msgid "ICMP policy" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:389 +msgid "Current NICs" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:400 +msgid "Add inputs" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:402 +msgid "Inputs" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:406 +msgid "Mouse" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:407 +msgid "Tablet" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:414 +msgid "USB" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:415 +msgid "PS2" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:424 +msgid "Current inputs" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:435 +msgid "Add Graphics" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:437 +msgid "Graphics" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:439 +msgid "Graphics type" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:442 +msgid "VNC" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:443 +msgid "SDL" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:445 +msgid "VMware supports VNC only" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:448 +msgid "Listen IP" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:450 +msgid "IP to listen on" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:453 +msgid "Port" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:455 +msgid "Port for the VNC server" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:458 +#: ../public/js/plugins/users-tab.js:55 +msgid "Password" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:460 +msgid "Password for the VNC server" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:463 +msgid "Keymap" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:465 +msgid "Keyboard configuration locale to use in the VNC display" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:474 +msgid "Add context variables" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:476 +msgid "Context" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:480 +msgid "Name for the context variable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:485 +msgid "Value of the context variable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:491 +#: ../public/js/plugins/templates-tab.js:556 +msgid "Current variables" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:502 +msgid "Add placement options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:504 +msgid "Placement" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:506 +msgid "Requirements" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:508 +msgid "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:511 +msgid "Rank" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:513 +msgid "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:522 +msgid "Add Hypervisor raw options" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:524 +msgid "Raw" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:527 +msgid "Data" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:530 +msgid "Raw data to be passed directly to the hypervisor" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:539 +msgid "Add custom variables" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:541 +msgid "Custom variables" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:545 +msgid "Name for the custom variable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:550 +msgid "Value of the custom variable" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:575 +msgid "Write the Virtual Machine template here" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:794 +msgid "Instantiate" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:819 +msgid "Template information" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:913 +msgid "Information" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:937 +#: ../public/js/plugins/images-tab.js:625 +msgid "Register time" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1057 +msgid "None" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1059 +#: ../public/js/plugins/templates-tab.js:1105 +msgid "Floppy" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1061 +#: ../public/js/plugins/templates-tab.js:1107 +msgid "Swap" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1062 +#: ../public/js/plugins/templates-tab.js:1108 +msgid "FS" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1068 +msgid "hd" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1069 +msgid "fd" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1070 +msgid "cdrom" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1071 +msgid "network" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1075 +msgid "Driver default" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1078 +#: ../public/js/plugins/templates-tab.js:1116 +#: ../public/js/plugins/templates-tab.js:1147 +#: ../public/js/plugins/images-tab.js:101 +msgid "IDE" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1079 +#: ../public/js/plugins/templates-tab.js:1117 +#: ../public/js/plugins/templates-tab.js:1148 +#: ../public/js/plugins/images-tab.js:102 +msgid "SCSI" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1080 +msgid "Virtio" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1113 +msgid "Please choose" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1187 +msgid "There are mandatory parameters missing in this section" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1727 +msgid "Context variable name and value must be filled in" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1778 +msgid "Custom variable name and value must be filled in" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1797 +msgid "Create VM Template" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1885 +msgid "There are mandatory fields missing in the capacity section" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1896 +msgid "Xen templates must specify a boot method" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:1901 +msgid "There are mandatory fields missing in the OS Boot options section" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "DISABLED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2002 +msgid "LOCKED" +msgstr "" + +#: ../public/js/plugins/templates-tab.js:2019 +msgid "Update template properties" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:25 +msgid "Summary of infrastructure resources" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:57 +msgid "Create new Cluster" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:58 +msgid "Create new Host" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:59 +msgid "Create new Datastore" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:60 +msgid "Create new Virtual Network" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:73 +msgid "Infrastructure resources" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:75 +msgid "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well." +msgstr "" + +#: ../public/js/plugins/infra-tab.js:76 +#: ../public/js/plugins/vresources-tab.js:81 +#: ../public/js/plugins/system-tab.js:71 +msgid "You can find further information on the following links:" +msgstr "" + +#: ../public/js/plugins/infra-tab.js:92 +msgid "Infrastructure" +msgstr "" + +#: ../public/js/plugins/users-tab.js:35 ../public/js/plugins/users-tab.js:407 +msgid "Authentication driver" +msgstr "" + +#: ../public/js/plugins/users-tab.js:36 +msgid "Group ID" +msgstr "" + +#: ../public/js/plugins/users-tab.js:44 +msgid "Tip: select Core authentication for new Sunstone/Self-Service regular users." +msgstr "" + +#: ../public/js/plugins/users-tab.js:53 +msgid "Username" +msgstr "" + +#: ../public/js/plugins/users-tab.js:57 +msgid "Authentication" +msgstr "" + +#: ../public/js/plugins/users-tab.js:59 ../public/js/plugins/users-tab.js:280 +msgid "Core" +msgstr "" + +#: ../public/js/plugins/users-tab.js:61 ../public/js/plugins/users-tab.js:282 +msgid "x509" +msgstr "" + +#: ../public/js/plugins/users-tab.js:62 ../public/js/plugins/users-tab.js:283 +msgid "Public" +msgstr "" + +#: ../public/js/plugins/users-tab.js:66 +msgid "Custom auth driver" +msgstr "" + +#: ../public/js/plugins/users-tab.js:82 +msgid "This will change the password for the selected users" +msgstr "" + +#: ../public/js/plugins/users-tab.js:83 +msgid "New password" +msgstr "" + +#: ../public/js/plugins/users-tab.js:89 +msgid "Change" +msgstr "" + +#: ../public/js/plugins/users-tab.js:145 +msgid "Change password successful" +msgstr "" + +#: ../public/js/plugins/users-tab.js:268 ../public/js/plugins/users-tab.js:471 +msgid "Change password" +msgstr "" + +#: ../public/js/plugins/users-tab.js:274 +msgid "This will change the main group of the selected users. Select the new group" +msgstr "" + +#: ../public/js/plugins/users-tab.js:278 +msgid "Change authentication" +msgstr "" + +#: ../public/js/plugins/users-tab.js:285 +msgid "Please choose the new type of authentication for the selected users" +msgstr "" + +#: ../public/js/plugins/users-tab.js:309 ../public/js/plugins/users-tab.js:391 +#: ../public/js/plugins/users-tab.js:395 +msgid "User information" +msgstr "" + +#: ../public/js/plugins/users-tab.js:413 +msgid "User template" +msgstr "" + +#: ../public/js/plugins/users-tab.js:424 +msgid "Create user" +msgstr "" + +#: ../public/js/plugins/users-tab.js:454 +msgid "User name and password must be filled in" +msgstr "" + +#: ../public/js/plugins/users-tab.js:489 +msgid "Fill in a new password" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:25 +msgid "Summary of virtual resources" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:62 +msgid "Create new Virtual Machine" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:63 +msgid "Create new VM Template" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:64 +msgid "Create new Image" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:77 +#: ../public/js/plugins/vresources-tab.js:96 +msgid "Virtual Resources" +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:79 +msgid "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and storage (Images)." +msgstr "" + +#: ../public/js/plugins/vresources-tab.js:80 +msgid "Virtual Machine templates can be instantiated as many times as you want. You can do it from the Templates tab or by creating a new VM in the VM tab. The second method allows you to customize the name and the number of VMs you want to launch." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:39 +msgid "Tip: Refresh the list if it only shows user ids in the user column." +msgstr "" + +#: ../public/js/plugins/groups-tab.js:47 +msgid "Group name" +msgstr "" + +#: ../public/js/plugins/groups-tab.js:130 +msgid "+ New Group" +msgstr "" + +#: ../public/js/plugins/groups-tab.js:227 +msgid "Create group" +msgstr "" + +#: ../public/js/plugins/images-tab.js:36 ../public/js/plugins/images-tab.js:89 +#: ../public/js/plugins/images-tab.js:213 +#: ../public/js/plugins/images-tab.js:629 +msgid "Persistent" +msgstr "" + +#: ../public/js/plugins/images-tab.js:38 +msgid "#VMS" +msgstr "" + +#: ../public/js/plugins/images-tab.js:46 +msgid "Size and registration time are hidden colums. Note that persistent images can only be used by 1 VM. To change image datastore, please re-register the image." +msgstr "" + +#: ../public/js/plugins/images-tab.js:64 +msgid "Name that the Image will get. Every image must have a unique name." +msgstr "" + +#: ../public/js/plugins/images-tab.js:67 +msgid "Description" +msgstr "" + +#: ../public/js/plugins/images-tab.js:69 +msgid "Human readable description of the image for other users." +msgstr "" + +#: ../public/js/plugins/images-tab.js:75 +msgid "Select the datastore for this image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:86 +msgid "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS)." +msgstr "" + +#: ../public/js/plugins/images-tab.js:91 +msgid "Persistence of the image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:94 +msgid "Device prefix" +msgstr "" + +#: ../public/js/plugins/images-tab.js:96 +msgid "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”)." +msgstr "" + +#: ../public/js/plugins/images-tab.js:103 +msgid "Virtio (KVM)" +msgstr "" + +#: ../public/js/plugins/images-tab.js:105 +msgid "Type of disk device to emulate." +msgstr "" + +#: ../public/js/plugins/images-tab.js:110 +msgid "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:" +msgstr "" + +#: ../public/js/plugins/images-tab.js:115 +msgid "Target on which the image will be mounted at. For example: hda, sdb..." +msgstr "" + +#: ../public/js/plugins/images-tab.js:120 +msgid "Image location" +msgstr "" + +#: ../public/js/plugins/images-tab.js:123 +msgid "Provide a path" +msgstr "" + +#: ../public/js/plugins/images-tab.js:126 +msgid "Provide a source" +msgstr "" + +#: ../public/js/plugins/images-tab.js:129 +msgid "Upload" +msgstr "" + +#: ../public/js/plugins/images-tab.js:132 +msgid "Create an empty datablock" +msgstr "" + +#: ../public/js/plugins/images-tab.js:133 +msgid "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk." +msgstr "" + +#: ../public/js/plugins/images-tab.js:137 +#: ../public/js/plugins/images-tab.js:637 +msgid "Path" +msgstr "" + +#: ../public/js/plugins/images-tab.js:139 +msgid "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created." +msgstr "" + +#: ../public/js/plugins/images-tab.js:144 +msgid "Source to be used in the DISK attribute. Useful for not file-based images." +msgstr "" + +#: ../public/js/plugins/images-tab.js:149 +msgid "Size of the datablock in MB." +msgstr "" + +#: ../public/js/plugins/images-tab.js:152 +msgid "FS type" +msgstr "" + +#: ../public/js/plugins/images-tab.js:154 +msgid "Type of file system to be built. This can be any value understood by mkfs unix command." +msgstr "" + +#: ../public/js/plugins/images-tab.js:157 +msgid "Upload file" +msgstr "" + +#: ../public/js/plugins/images-tab.js:187 +msgid "Write the image template here" +msgstr "" + +#: ../public/js/plugins/images-tab.js:207 +msgid "Please, choose and modify the image you want to update" +msgstr "" + +#: ../public/js/plugins/images-tab.js:209 +msgid "Select an image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:338 +msgid "Image updated correctly" +msgstr "" + +#: ../public/js/plugins/images-tab.js:481 +msgid "Make persistent" +msgstr "" + +#: ../public/js/plugins/images-tab.js:485 +msgid "Make non persistent" +msgstr "" + +#: ../public/js/plugins/images-tab.js:497 +#: ../public/js/plugins/images-tab.js:593 +msgid "Image information" +msgstr "" + +#: ../public/js/plugins/images-tab.js:502 +#: ../public/js/plugins/images-tab.js:673 +#: ../public/js/plugins/images-tab.js:675 +msgid "Image template" +msgstr "" + +#: ../public/js/plugins/images-tab.js:630 +msgid "yes" +msgstr "" + +#: ../public/js/plugins/images-tab.js:630 +msgid "no" +msgstr "" + +#: ../public/js/plugins/images-tab.js:641 +msgid "Filesystem type" +msgstr "" + +#: ../public/js/plugins/images-tab.js:645 +msgid "Size (Mb)" +msgstr "" + +#: ../public/js/plugins/images-tab.js:653 +msgid "Running #VMS" +msgstr "" + +#: ../public/js/plugins/images-tab.js:689 +msgid "Create Image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:766 +msgid "Custom attribute name and value must be filled in" +msgstr "" + +#: ../public/js/plugins/images-tab.js:814 +msgid "Uploading..." +msgstr "" + +#: ../public/js/plugins/images-tab.js:851 +msgid "There are mandatory parameters missing" +msgstr "" + +#: ../public/js/plugins/images-tab.js:860 +#: ../public/js/plugins/images-tab.js:940 +msgid "Please select a datastore for this image" +msgstr "" + +#: ../public/js/plugins/images-tab.js:971 +msgid "Update image properties" +msgstr "" + +#: ../public/js/plugins/system-tab.js:25 +msgid "Summary of system resources" +msgstr "" + +#: ../public/js/plugins/system-tab.js:38 +#: ../public/js/plugins/dashboard-tab.js:98 +msgid "ACL Rules" +msgstr "" + +#: ../public/js/plugins/system-tab.js:53 +msgid "Create new Group" +msgstr "" + +#: ../public/js/plugins/system-tab.js:54 +msgid "Create new User" +msgstr "" + +#: ../public/js/plugins/system-tab.js:55 +msgid "Create new ACL" +msgstr "" + +#: ../public/js/plugins/system-tab.js:68 +msgid "System Resources" +msgstr "" + +#: ../public/js/plugins/system-tab.js:70 +msgid "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs." +msgstr "" + +#: ../public/js/plugins/system-tab.js:87 +msgid "System" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:58 +msgid "Hosts (total/active)" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:113 +msgid "Host" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:122 +msgid "ACL" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:138 +msgid "Hosts CPU" +msgstr "" + +#: ../public/js/plugins/dashboard-tab.js:141 +msgid "Hosts memory" +msgstr "" diff --git a/src/sunstone/locale/upgrade_po_translations.sh b/src/sunstone/locale/upgrade_po_translations.sh new file mode 100755 index 0000000000..fb81f1d3ed --- /dev/null +++ b/src/sunstone/locale/upgrade_po_translations.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# -------------------------------------------------------------------------- # +# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +#msgmerge [option] def.po ref.pot + +for lang in $(ls languages/*); do + msgmerge --backup=off --no-wrap --update $lang messages.pot +done \ No newline at end of file diff --git a/src/sunstone/models/OpenNebulaJSON/TemplateJSON.rb b/src/sunstone/models/OpenNebulaJSON/TemplateJSON.rb index 006641a1fc..ce5e1c0f68 100644 --- a/src/sunstone/models/OpenNebulaJSON/TemplateJSON.rb +++ b/src/sunstone/models/OpenNebulaJSON/TemplateJSON.rb @@ -48,6 +48,7 @@ module OpenNebulaJSON when "chown" then self.chown(action_hash['params']) when "chmod" then self.chmod_octet(action_hash['params']) when "instantiate" then self.instantiate(action_hash['params']) + when "clone" then self.clone(action_hash['params']) else error_msg = "#{action_hash['perform']} action not " << " available for this resource" @@ -71,5 +72,9 @@ module OpenNebulaJSON super(params['vm_name']) end + def clone(params=Hash.new) + super(params['name']) + end + end end diff --git a/src/sunstone/models/SunstoneServer.rb b/src/sunstone/models/SunstoneServer.rb index 9892e53b7a..3083a7e589 100644 --- a/src/sunstone/models/SunstoneServer.rb +++ b/src/sunstone/models/SunstoneServer.rb @@ -19,7 +19,6 @@ require 'CloudServer' require 'OpenNebulaJSON' include OpenNebulaJSON -require 'acct/watch_client' require 'OpenNebulaVNC' require 'OpenNebulaJSON/JSONUtils' include JSONUtils @@ -253,37 +252,60 @@ class SunstoneServer < CloudServer ############################################################################ # ############################################################################ - def get_monitoring(id, resource, monitor_resources, opts={}) - watch_client = case resource - when "vm","VM" - OneWatchClient::VmWatchClient.new - when "host","HOST" - OneWatchClient::HostWatchClient.new + def get_pool_monitoring(resource, meters) + #pool_element + pool = case resource + when "vm", "VM" + VirtualMachinePool.new(@client) + when "host", "HOST" + HostPool.new(@client) else - error = Error.new("Monitoring not supported for this resource: #{resource}") + error = Error.new("Monitoring not supported for #{resource}") return [200, error.to_json] end - filter = {} - filter[:uid] = opts[:uid] if opts[:gid]!=0 + meters_a = meters.split(',') - columns = monitor_resources.split(',') - columns.map!{|e| e.to_sym} + rc = pool.monitoring(meters_a) - if id - rc = watch_client.resource_monitoring(id.to_i, columns, filter) - else - rc = watch_client.total_monitoring(columns, filter) - end - - if rc.nil? - error = Error.new("There is no monitoring information for #{resource} #{id}") + if OpenNebula.is_error?(rc) + error = Error.new(rc.message) return [500, error.to_json] end + rc[:resource] = resource + return [200, rc.to_json] end + def get_resource_monitoring(id, resource, meters) + pool_element = case resource + when "vm", "VM" + VirtualMachine.new_with_id(id, @client) + when "host", "HOST" + Host.new_with_id(id, @client) + else + error = Error.new("Monitoring not supported for #{resource}") + return [200, error.to_json] + end + + meters_a = meters.split(',') + + rc = pool_element.monitoring(meters_a) + + if OpenNebula.is_error?(rc) + error = Error.new(rc.message) + return [500, error.to_json] + end + + meters_h = Hash.new + meters_h[:resource] = resource + meters_h[:id] = id + meters_h[:monitoring] = rc + + return [200, meters_h.to_json] + end + private ############################################################################ diff --git a/src/sunstone/public/css/application.css b/src/sunstone/public/css/application.css index 964b4a86f2..bed2567dca 100644 --- a/src/sunstone/public/css/application.css +++ b/src/sunstone/public/css/application.css @@ -614,9 +614,53 @@ ul.action_list li a:hover{ font-size: 1em; } -.legend { + +.legend_div { + border: 1px #A3A3A3 solid; + border-radius: 5px; + margin-top: 10px; + padding: 5px; + padding-right: 50px; + width: 40%; + min-width: 400px; + z-index: -3; + position: absolute; + bottom: 10px; + + background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.09) 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.09))); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.09) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.09) 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.09) 100%); /* IE10+ */ + background: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.09) 100%); /* W3C */ +} + +.legend_div span { + position:relative; + color: #A3A3A3; + float: right; + font-size: 3em; + left: 27px; + font-family: serif; +} + +.legend_p { color: #636663; margin-left: 10px; - margin-top: 5px; - font-style: italic; + margin-top: 3px; +/* padding-bottom: 9px; */ + text-align: justify; +/* border-bottom: 1px solid #A3A3A3; */ +} + +.legend_p:before { + content: '⇨ '; +} + +.big_text { + color: #333333; + font-size: 5em; + font-family: serif; + text-align:center; + vertical-align:middle; } \ No newline at end of file diff --git a/src/sunstone/public/css/layout.css b/src/sunstone/public/css/layout.css index 4c28a08978..fca154e949 100644 --- a/src/sunstone/public/css/layout.css +++ b/src/sunstone/public/css/layout.css @@ -111,18 +111,15 @@ body { padding-left: 0; border:0; border-right: 1px solid #353735; - background-image: -webkit-gradient( - linear, - left top, - right top, - color-stop(0.95, rgb(99,102,99)), - color-stop(1, rgb(53,55,53)) -); -background-image: -moz-linear-gradient( - left center, - rgb(99,102,99) 95%, - rgb(53,55,53) 100% -); + + background: #636663; /* Old browsers */ + background: -moz-linear-gradient(left, #636663 95%, #353735 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, right top, color-stop(95%,#636663), color-stop(100%,#353735)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(left, #636663 95%,#353735 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(left, #636663 95%,#353735 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(left, #636663 95%,#353735 100%); /* IE10+ */ + background: linear-gradient(left, #636663 95%,#353735 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#636663', endColorstr='#353735',GradientType=1 ); /* IE6-9 */ } .navigation { @@ -130,6 +127,10 @@ background-image: -moz-linear-gradient( padding: 0; } +.navigation i { + margin-right: 5px; +} + .navigation li.topTab { line-height: 2em; text-align: left; @@ -171,32 +172,14 @@ background-image: -moz-linear-gradient( } #navigation li:hover, .navigation-active-li { - background-image: -webkit-gradient( - linear, - left top, - right top, - color-stop(0.95, #E69138), - color-stop(1, rgb(53,55,53)) -); -background-image: -moz-linear-gradient( - left center, - #E69138 95%, - rgb(53,55,53) 100% -); - /* - background-image: -webkit-gradient( - linear, - right top, - left top, - color-stop(0, rgb(0,152,192)), - color-stop(1, rgb(255,255,255)) - ); - background-image: -moz-linear-gradient( - right center, - rgb(0,152,192) 0%, - rgb(255,255,255) 100% - ); - */ + background: #e69138; /* Old browsers */ + background: -moz-linear-gradient(left, #e69138 95%, #353735 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, right top, color-stop(95%,#e69138), color-stop(100%,#353735)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(left, #e69138 95%,#353735 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(left, #e69138 95%,#353735 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(left, #e69138 95%,#353735 100%); /* IE10+ */ + background: linear-gradient(left, #e69138 95%,#353735 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e69138', endColorstr='#353735',GradientType=1 ); /* IE6-9 */ } .navigation-active-li { font-weight: bold; diff --git a/src/sunstone/public/js/monitoring.js b/src/sunstone/public/js/monitoring.js new file mode 100644 index 0000000000..6bf9369f2f --- /dev/null +++ b/src/sunstone/public/js/monitoring.js @@ -0,0 +1,392 @@ +var SunstoneMonitoring = { + monitor : function(resource, list){ + + if (!SunstoneMonitoringConfig[resource]) + return false + + var monConfigs = SunstoneMonitoringConfig[resource].monitor + var monitoring = {} + for (conf in monConfigs){ + var conf_obj = monConfigs[conf] + var plotID = conf + var series = conf_obj.operation(resource, list, conf_obj) + monitoring[plotID]=series + } + + //Call back after monitorization is done + SunstoneMonitoringConfig[resource].plot(monitoring) + }, + plot : function(resource,plotID,container,series){ + var config = SunstoneMonitoringConfig[resource].monitor[plotID] + var options = config.plotOptions + $.plot(container,series,options) + }, + ops : { + partition : function(resource,list,config){ + var path = config.path + var partitionPath = config.partitionPath + var dataType = config.dataType + var partitions = {} + for (var i=0; i< list.length; i++){ + var elem = list[i][resource] + var value = path ? parseInt(explore_path(elem,path),10) : 1 + var partition = explore_path(elem, partitionPath) + + //Things on cluster none + if (partitionPath == "CLUSTER" && !partition.length) + partition = "none" + + if (!partitions[partition]) + partitions[partition] = value + else + partitions[partition] += value + } + + var series = [] + var i = 0; + for (partition in partitions) { + var value = partitions[partition] + var data; + switch (dataType){ + case "pie": + data = value; break + case "bars": + data = [[i,value]]; break + case "horizontal_bars": + data = [[value,i]]; break + default: + data = value; + } + var color = config.colorize ? config.colorize(partition) : null + series.push({ label: partition, + data: data, + color: color + }) + i++ + } + + return series + }, + hostCpuUsagePartition : function(resource,list,config){ + partitions = { + "Idle" : 0, + "Ok" : 0, + "Used" : 0, + "Working" : 0, + "Overloaded" : 0 + } + + for (var i=0; i< list.length; i++){ + var elem = list[i].HOST + var value = elem.HOST_SHARE.USED_CPU * 100 / + elem.HOST_SHARE.MAX_CPU + if (value > 80) + partitions["Overloaded"]++ + else if (value > 60) + partitions["Working"]++ + else if (value > 40) + partitions["Used"]++ + else if (value > 20) + partitions["Ok"]++ + else + partitions["Idle"]++ + } + + series = []; + for (partition in partitions) { + var data = partitions[partition] + var color = config.colorize ? config.colorize(partition) : null + series.push({ label: partition, + data: data, + }) + } + return series + }, + totalize : function(resource,list,config){ + return list.length + }, + singleBar : function(resource,list,config){ + var paths = config.paths + + var totals = new Array(paths.length) + for (var i=0; i< totals.length; i++) totals[i] = 0 + + var series = [] + + for (var i=0; i< list.length; i++){ + var elem = list[i][resource] + for (var j=0; j< paths.length; j++) + totals[j] += parseInt(explore_path(elem,paths[j]),10) + } + + for (var i=0; i< totals.length; i++){ + series.push({ + data: [[totals[i],0]], + label: paths[i], + color: config.colorize? config.colorize(paths[i]) : null + }) + } + return series + } + } +} + + +var SunstoneMonitoringConfig = { + "HOST" : { + plot: function(mon){ + plotHostMonitoring(mon) //not defined at parsing moment + }, + monitor : { + "statePie" : { + partitionPath: "STATE", + operation: SunstoneMonitoring.ops.partition, + dataType: "pie", + colorize: function(state){ + switch (state) { + case '0': return "rgb(239,201,86)" //yellow + case '1': return "rgb(175,216,248)" //blue + case '2': return "rgb(108,183,108)" //green + case '3': return "rgb(203,75,75)" //red + case '4': return "rgb(71,71,71)" //gray + case '5': return "rgb(160,160,160)" //light gray + } + }, + plotOptions : { + series: { pie: { show: true } }, + legend : { + labelFormatter: function(label, series){ + return OpenNebula.Helper.resource_state("host_simple",label) + + ' - ' + series.data[0][1] + ' (' + + Math.floor(series.percent) + '%' + ')'; + } + } + } + }, + "cpuPerCluster" : { + path: ["HOST_SHARE","CPU_USAGE"], + partitionPath: "CLUSTER_ID", + operation: SunstoneMonitoring.ops.partition, + dataType: "bars", + plotOptions: { + series: { bars: {show: true, barWidth: 0.5 }}, + xaxis: { show: false }, + yaxis: { min: 0 }, + legend : { + noColumns: 2, + labelFormatter: function(label){ + if (label == "-1") return "none" + return getClusterName(label) + } + } + } + }, + "memoryPerCluster" : { + path: ["HOST_SHARE","MEM_USAGE"], + partitionPath: "CLUSTER_ID", + operation: SunstoneMonitoring.ops.partition, + dataType: "bars", + plotOptions: { + series: { bars: {show: true, barWidth: 0.5 }}, + xaxis: { show: false }, + yaxis: { + tickFormatter : function(val,axis) { + return humanize_size(val); + }, + min: 0 + }, + legend : { + noColumns: 2, + labelFormatter: function(label){ + if (label == "-1") return "none" + return getClusterName(label) + } + } + } + }, + "globalCpuUsage" : { + partitionPath: ["HOST_SHARE", "USED_CPU"], + dataType: "pie", + operation: SunstoneMonitoring.ops.hostCpuUsagePartition, + plotOptions: { + series: { pie: { show: true } }, + } + }, + "totalHosts" : { + operation: SunstoneMonitoring.ops.totalize + }, + "cpuUsageBar" : { + paths: [ + ["HOST_SHARE","MAX_CPU"], + ["HOST_SHARE","USED_CPU"], + ["HOST_SHARE","CPU_USAGE"], + ], + operation: SunstoneMonitoring.ops.singleBar, + plotOptions: { + series: { bars: { show: true, + horizontal: true, + barWidth: 0.5 } + }, + yaxis: { show: false }, + xaxis: { min:0 }, + legend: { + noColumns: 3, + container: '#cpuUsageBar_legend', + labelFormatter: function(label, series){ + return label[1].toLowerCase() + } + } + } + }, + "memoryUsageBar" : { + paths: [ + ["HOST_SHARE","MAX_MEM"], + ["HOST_SHARE","USED_MEM"], + ["HOST_SHARE","MEM_USAGE"], + ], + operation: SunstoneMonitoring.ops.singleBar, + plotOptions: { + series: { bars: { show: true, + horizontal: true, + barWidth: 0.5 } + }, + yaxis: { show: false }, + xaxis: { + tickFormatter : function(val,axis) { + return humanize_size(val); + }, + min: 0 + }, + legend: { + noColumns: 3, + container: '#memoryUsageBar_legend', + labelFormatter: function(label, series){ + return label[1].toLowerCase() + } + } + } + }, + } + }, + "USER" : { + plot: function(mon){ + plotUserMonitoring(mon) + }, + monitor: { + "usersPerGroup" : { + partitionPath: "GNAME", + operation: SunstoneMonitoring.ops.partition, + dataType: "bars", + plotOptions: { + series: { bars: {show: true, barWidth: 0.5 }}, + xaxis: { show: false }, + yaxis: { tickDecimals: 0, + min: 0 }, + legend : { + noColumns: 2, + } + } + }, + "totalUsers" : { + operation: SunstoneMonitoring.ops.totalize + }, + } + }, + "ACL" : { + plot: function(mon){ + plotAclMonitoring(mon) + }, + monitor: { + "totalAcls" : { + operation: SunstoneMonitoring.ops.totalize + } + }, + }, + "GROUP" : { + plot: function(mon){ + plotGroupMonitoring(mon) + }, + monitor: { + "totalGroups" : { + operation: SunstoneMonitoring.ops.totalize + } + }, + }, + "VM" : { + plot: function(mon){ + plotVMMonitoring(mon) + }, + monitor: { + "totalVMs" : { + operation: SunstoneMonitoring.ops.totalize + }, + "statePie" : { + partitionPath: "STATE", + operation: SunstoneMonitoring.ops.partition, + dataType: "pie", + colorize: function(state){ + switch (state) { + case '0': return "rgb(160,160,160)" //light gray - init + case '1': return "rgb(239,201,86)" //yellow - pending + case '2': return "rgb(237,154,64)" //orange - hold + case '3': return "rgb(108,183,108)" //green - active + case '4': return "rgb(175,216,248)" //blue - stopped + case '5': return "rgb(112,164,205)" //dark blue - suspended + case '6': return "rgb(71,71,71)" //gray - done + case '7': return "rgb(203,75,75)" //red - failed + + } + }, + plotOptions : { + series: { pie: { show: true } }, + legend : { + labelFormatter: function(label, series){ + return OpenNebula.Helper.resource_state("vm",label) + + ' - ' + series.data[0][1] + ' (' + + Math.floor(series.percent) + '%' + ')'; + } + } + } + }, + "netUsageBar" : { + paths: [ "NET_RX", "NET_TX" ], + operation: SunstoneMonitoring.ops.singleBar, + plotOptions: { + series: { bars: { show: true, + horizontal: true, + barWidth: 0.5 } + }, + yaxis: { show: false }, + xaxis: { + min: 0, + tickFormatter : function(val,axis) { + return humanize_size(val); + }, + }, + legend: { + noColumns: 3, + container: '#netUsageBar_legend', + labelFormatter: function(label, series){ + return label + " - " + humanize_size(series.data[0][0]) + } + } + } + }, + } + } +} + + + + +function explore_path(elem,path){ + if (!$.isArray(path)) //base case - non array + return elem[path] + else if (path.length == 1) //base case - array + return elem[path[0]] + else {//recurse + var array = path.slice(0) //clone path + var p = array.splice(0,1) + return explore_path(elem[p],array) + } +} \ No newline at end of file diff --git a/src/sunstone/public/js/opennebula.js b/src/sunstone/public/js/opennebula.js index ae4ec5b5ff..1324599362 100644 --- a/src/sunstone/public/js/opennebula.js +++ b/src/sunstone/public/js/opennebula.js @@ -249,8 +249,10 @@ var OpenNebula = { data: {timeout: timeout}, dataType: "json", success: function(response){ + var list = OpenNebula.Helper.pool(resource,response) + SunstoneMonitoring.monitor(resource, list) return callback ? - callback(request, OpenNebula.Helper.pool(resource,response)) : null; + callback(request, list) : null; }, error: function(response) { @@ -849,12 +851,16 @@ var OpenNebula = { "unpublish" : function(params){ OpenNebula.Action.simple_action(params,OpenNebula.Template.resource,"unpublish"); }, - "instantiate" : function(params) { var vm_name = params.data.extra_param ? params.data.extra_param : ""; var action_obj = { "vm_name" : vm_name }; OpenNebula.Action.simple_action(params,OpenNebula.Template.resource, "instantiate",action_obj); + }, + "clone" : function(params) { + var name = params.data.extra_param ? params.data.extra_param : ""; + var action_obj = { "name" : name }; + OpenNebula.Action.simple_action(params,OpenNebula.Template.resource, "clone", action_obj); } }, diff --git a/src/sunstone/public/js/plugins/acls-tab.js b/src/sunstone/public/js/plugins/acls-tab.js index 4c5616de35..2e54bf4147 100644 --- a/src/sunstone/public/js/plugins/acls-tab.js +++ b/src/sunstone/public/js/plugins/acls-tab.js @@ -38,9 +38,12 @@ var acls_tab_content = '\ \ \ \ -

\ +

\ + ?\ +

\ '+tr("This table shows the ACLs rules broken down to easier the reading and meaning of each one. You can show the ACL original string by clicking on Show/Hide columns.")+'\ -

\ +

\ +
\ '; var create_acl_tmpl = @@ -140,6 +143,14 @@ var acl_actions = { error: onError, notify: true }, + + "Acl.help" : { + type: "custom", + call: function() { + hideDialog(); + $('div#acls_tab div.legend_div').slideToggle(); + } + }, } var acl_buttons = { @@ -155,7 +166,13 @@ var acl_buttons = { "Acl.delete" : { type: "confirm", text: tr("Delete") + }, + "Acl.help" : { + type: "action", + text: '?', + alwaysActive: true } + } var acls_tab = { @@ -498,10 +515,10 @@ $(document).ready(function(){ { "sWidth": "35px", "aTargets": [1] }, { "bVisible": false, "aTargets": [6]} ], - "oLanguage": (datatable_lang != "") ? - { - sUrl: "locale/"+lang+"/"+datatable_lang - } : "" + "oLanguage": (datatable_lang != "") ? + { + sUrl: "locale/"+lang+"/"+datatable_lang + } : "" }); dataTable_acls.fnClearTable(); addElement([ @@ -518,4 +535,6 @@ $(document).ready(function(){ //shortenedInfoFields('#datatable_acls'); infoListener(dataTable_acls); + + $('div#acls_tab div.legend_div').hide(); }) diff --git a/src/sunstone/public/js/plugins/clusters-tab.js b/src/sunstone/public/js/plugins/clusters-tab.js index e2d9d1e400..c26e24ae6f 100644 --- a/src/sunstone/public/js/plugins/clusters-tab.js +++ b/src/sunstone/public/js/plugins/clusters-tab.js @@ -651,7 +651,7 @@ function clusterResourceViewListeners(){ }; /* -//Updates the host info panel tab's content and pops it up +//Updates the host info panel tab content and pops it up function updateHostInfo(request,host){ var host_info = host.HOST; @@ -791,7 +791,7 @@ function setupCreateClusterDialog(){ }; //Create the OpenNebula.Host. - //If it's successfull we refresh the list. + //If it is successfull we refresh the list. Sunstone.runAction("Cluster.create",cluster_json); $create_cluster_dialog.dialog('close'); return false; diff --git a/src/sunstone/public/js/plugins/config-tab.js b/src/sunstone/public/js/plugins/config-tab.js index 3bab4fda6d..7907a523c6 100644 --- a/src/sunstone/public/js/plugins/config-tab.js +++ b/src/sunstone/public/js/plugins/config-tab.js @@ -46,12 +46,18 @@ var config_tab_content = \
\ \ -

\ -'+tr("These options are stored in your OpenNebula user template.")+'\ -

\ \ \ \ +
\ + ?\ +

\ +'+tr("These options are stored in your OpenNebula user template.")+'\ +

\ +

\ +'+tr("WSS connection requires additional configuration of Sunstone Server and that the SSL certificate is considered valid by your browser.")+'\ +

\ +
\ '; var config_actions = { diff --git a/src/sunstone/public/js/plugins/dashboard-tab.js b/src/sunstone/public/js/plugins/dashboard-tab.js index e333870e9e..c9588b59e2 100644 --- a/src/sunstone/public/js/plugins/dashboard-tab.js +++ b/src/sunstone/public/js/plugins/dashboard-tab.js @@ -14,90 +14,51 @@ /* limitations under the License. */ /* -------------------------------------------------------------------------- */ -/** HISTORY_LENGTH currently ignored on server, but it doesn't harm to have it**/ -var HISTORY_LENGTH=40; -var GRAPH_AUTOREFRESH_INTERVAL=60000; //60 secs - -var graph1 = { - title : "graph1", - monitor_resources : "cpu_usage,used_cpu,max_cpu", - history_length : HISTORY_LENGTH -}; - -var graph2 = { - title : "graph2", - monitor_resources : "mem_usage,used_mem,max_mem", - history_length : HISTORY_LENGTH -}; - -var graph3 = { - title : "graph3", - monitor_resources : "total,active,error", - history_length : HISTORY_LENGTH -}; - -var graph4 = { - title : "graph4", - monitor_resources : "net_tx,net_rx", - history_length : HISTORY_LENGTH -}; - var dashboard_tab_content = '\ \ -\ \
\ -\ +\ -\ \
\ +\ \ \ \ \
\
\ -

' + tr("Summary of resources") + '

\ +

' + tr("Hosts") + '

\
\ -\ \ +\ \ - \ - \ + \ + \ + \ \ \ - \ - \ + \ + \ + \ +\ + \ + \ + \ + \ \ \ - \ - \ + \ + \ +\ + \ + \ + \ + \ \ \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ + \ \ +\
' + tr("Hosts (total/active)") + '' + tr("Total Hosts") + '' + tr("State") + '' + tr("Global CPU Usage") + '
' + tr("Clusters") + '
\ +
' + tr("Used vs. Max CPU") + '
' + tr("Groups") + '\ +
\ +
' + tr("Used vs. Max Memory") + '
' + tr("VM Templates") + '
' + - tr("VM Instances")+ ' (' + - tr("total") + '/' + - tr("running") + '/' + - tr("failed") + ')
' + tr("Virtual Networks") + '
' + tr("Datastores") + '
' + tr("Images") + '
' + tr("Users")+'
' + tr("ACL Rules") + '\ +
\ +
\ \
\ @@ -107,46 +68,107 @@ var dashboard_tab_content =
\
\ -

' + tr("Quickstart") + '

\ - \ +

' + tr("Clusters") + '

\ +
\ +\ + \ +\ + \ + \ + \ + \ + \ + \ + \ +\ + \ + \ + \ + \ + \ + \ + \ +\ +
' + tr("Allocated CPU per cluster") + '
' + tr("Allocated Memory per cluster") + '
\ +\ +
\
\
\
\ -\ +\ diff --git a/src/sunstone/public/js/plugins/datastores-tab.js b/src/sunstone/public/js/plugins/datastores-tab.js index 53444465b1..195eb2a750 100644 --- a/src/sunstone/public/js/plugins/datastores-tab.js +++ b/src/sunstone/public/js/plugins/datastores-tab.js @@ -39,6 +39,12 @@ var datastores_tab_content = '\ \ \
\ +\ \ \ + \ + \ +
\
\ -

' + tr("Historical monitoring information") + '

\ +

' + tr("Virtual Machines") + '

\
\ \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ +\ + \ + \ + \ + \ + \ +\ + \ + \ + \ + \ + \ +\ + \ + \ + \ + \ + \ + \ + \ + \ +\ + \ + \ + \ + \ + \ + \ + \ +\ +
' + tr("Hosts CPU") + '
'+spinner+'
' + tr("Hosts memory") + '
'+spinner+'
' + tr("Total VM count") + '
'+spinner+'
' + tr("VM Network stats") + '
'+spinner+'
' + tr("Total VMs") + '' + tr("Bandwidth - Upload") + '' + tr("Bandwidth - Download") + '
' + tr("State") + '
' + tr("Global transfer rates") + '
\ +
\ +
\ +
\ +
\ +
\ +
\ +

' + tr("System Information") + '

\ +
\ + \ +\ + \ + \ + \ + \ + \ +\ + \ + \ + \ + \ + \ +\ + \ + \ + \ + \ + \ + \ + \ +\
' + tr("Total Users") + '' + tr("Total Groups") + '' + tr("Total ACLs") + '
' + tr("Users per group") + '
\
\
\ @@ -157,13 +179,97 @@ var dashboard_tab_content =
'; var dashboard_tab = { - title: tr("Dashboard"), + title: ''+tr("Dashboard"), content: dashboard_tab_content, showOnTopMenu: false, } Sunstone.addMainTab('dashboard_tab',dashboard_tab); +var $dashboard; + +function updateDashboard(){ + //mock +} + +function plotHostMonitoring(monitoring){ + $('#totalHosts', $dashboard).text(monitoring['totalHosts']) + delete monitoring['totalHosts'] + + if (!$dashboard.is(':visible')) return; + + for (plotID in monitoring){ + var container = $('div#'+plotID,$dashboard); + SunstoneMonitoring.plot("HOST", + plotID, + container, + monitoring[plotID]); + }; +} + +function plotUserMonitoring(monitoring){ + $('#totalUsers', $dashboard).text(monitoring['totalUsers']) + + if (!$dashboard.is(':visible')) return; + + var container = $('div#usersPerGroup',$dashboard); + SunstoneMonitoring.plot('USER', + 'usersPerGroup', + container, + monitoring['usersPerGroup']); +} + +function plotAclMonitoring(monitoring){ + $('#totalAcls', $dashboard).text(monitoring['totalAcls']) +} + +function plotGroupMonitoring(monitoring){ + $('#totalGroups', $dashboard).text(monitoring['totalGroups']) +} + +//Permanent storage for last value of aggregated network usage +//Used to calculate bandwidth +var netUsage = { + time : new Date().getTime(), + up : 0, + down : 0 +} + +function plotVMMonitoring(monitoring){ + $('#totalVMs', $dashboard).text(monitoring['totalVMs']) + + var t = ((new Date().getTime()) - netUsage.time) / 1000 //in secs + var bandwidth_up = monitoring['netUsageBar'][1].data[0][0] - netUsage.up + bandwidth_up /= t + var bandwidth_up_str = humanize_size(bandwidth_up) + "/s" //bytes /sec + var bandwidth_down = monitoring['netUsageBar'][0].data[0][0] - netUsage.down + bandwidth_down /= t + var bandwidth_down_str = humanize_size(bandwidth_down) + "/s" //bytes /sec + + if (bandwidth_up >= 0) + $('#bandwidth_up', $dashboard).text(bandwidth_up_str) + if (bandwidth_down >= 0) + $('#bandwidth_down', $dashboard).text(bandwidth_down_str) + + netUsage.time = new Date().getTime() + netUsage.up = monitoring['netUsageBar'][1].data[0][0] + netUsage.down = monitoring['netUsageBar'][0].data[0][0] + + if (!$dashboard.is(':visible')) return; + + var container = $('div#vmStatePie',$dashboard); + SunstoneMonitoring.plot('VM', + 'statePie', + container, + monitoring['statePie']); + + container = $('div#netUsageBar',$dashboard); + SunstoneMonitoring.plot('VM', + 'netUsageBar', + container, + monitoring['netUsageBar']); +} + function plot_global_graph(data,info){ var context = $('#historical_table',main_tabs_context); var id = info.title; @@ -210,95 +316,7 @@ function plot_global_graph(data,info){ $.plot($('#'+id+'_graph',context),series,options); } -function graph_autorefresh(){ - setInterval(function(){ - refresh_graphs(); - },GRAPH_AUTOREFRESH_INTERVAL+someTime()); - -} - -function refresh_graphs(){ - Sunstone.runAction("Host.monitor_all", graph1); - Sunstone.runAction("Host.monitor_all", graph2); - Sunstone.runAction("VM.monitor_all", graph3); - Sunstone.runAction("VM.monitor_all", graph4); -} $(document).ready(function(){ - emptyDashboard(); - - refresh_graphs(); - graph_autorefresh(); - -}); - -//puts the dashboard values into "retrieving" -function emptyDashboard(){ - $("#dashboard_tab .value_td span",main_tabs_context).html(spinner); -} - - -function updateDashboard(what,json_info){ - var db = $('#dashboard_tab',main_tabs_context); - switch (what){ - case "hosts": - var total_hosts=json_info.length; - var active_hosts=0; - $.each(json_info,function(){ - if (parseInt(this.HOST.STATE) < 3){ - active_hosts++;} - }); - $('#total_hosts',db).html(total_hosts+' / '); - $('#active_hosts',db).html(active_hosts); - break; - case "groups": - var total_groups=json_info.length; - $('#total_groups',db).html(total_groups); - break; - case "vms": - var total_vms=json_info.length; - var running_vms=0; - failed_vms=0; - $.each(json_info,function(){ - vm_state = parseInt(this.VM.STATE); - if (vm_state == 3){ - running_vms++; - } - else if (vm_state == 7) { - failed_vms++; - } - }); - $('#total_vms',db).html(total_vms+' / '); - $('#running_vms',db).html(running_vms+' / '); - $('#failed_vms',db).html(failed_vms); - break; - case "vnets": - var total_vnets=json_info.length; - $('#total_vnets',db).html(total_vnets); - break; - case "users": - var total_users=json_info.length; - $('#total_users',db).html(total_users); - break; - case "images": - var total_images=json_info.length; - $('#total_images',db).html(total_images); - break; - case "templates": - var total_templates=json_info.length; - $('#total_templates',db).html(total_templates); - break; - case "acls": - var total_acls=json_info.length; - $('#total_acls',db).html(total_acls); - break; - case "clusters": - var total_clusters=json_info.length; - $('#total_clusters',db).html(total_clusters); - break; - case "datastores": - var total_datastores=json_info.length; - $('#total_datastores',db).html(total_datastores); - break; - } -}; + $dashboard = $('#dashboard_tab', main_tabs_context); +}); \ No newline at end of file diff --git a/src/sunstone/public/js/plugins/dashboard-users-tab.js b/src/sunstone/public/js/plugins/dashboard-users-tab.js index 93c7367d45..c4073cefb6 100644 --- a/src/sunstone/public/js/plugins/dashboard-users-tab.js +++ b/src/sunstone/public/js/plugins/dashboard-users-tab.js @@ -14,7 +14,7 @@ /* limitations under the License. */ /* -------------------------------------------------------------------------- */ -/** HISTORY_LENGTH currently ignored on server, but it doesn't harm to have it**/ +/** HISTORY_LENGTH currently ignored on server, but it does not harm to have it**/ var HISTORY_LENGTH=40; var GRAPH_AUTOREFRESH_INTERVAL=60000; //60 secs @@ -107,6 +107,7 @@ var dashboard_tab_content =
\

'+tr("Historical monitoring information")+'

\
\ +\
\
\
\ +
\ + ?\ +

\ +'+tr("Datatables are sets of images which share a common transfer driver. i.e. Images in a SSH datastore will be copied to the hosts using SSH when deploying a Virtual Machine.")+'\ +

\ +
\ '; var create_datastore_tmpl = @@ -265,6 +271,14 @@ var datastore_actions = { notify:true, }, + "Datastore.help" : { + type: "custom", + call: function() { + hideDialog(); + $('div#datastores_tab div.legend_div').slideToggle(); + } + }, + }; var datastore_buttons = { @@ -309,6 +323,12 @@ var datastore_buttons = { type: "confirm", text: tr("Delete"), condition: mustBeAdmin + }, + + "Datastore.help" : { + type: "action", + text: '?', + alwaysActive: true } } @@ -695,4 +715,6 @@ $(document).ready(function(){ $('div#menu li#li_datastores_tab').live('click',function(){ dataTable_datastores.fnFilter('',5); }); + + $('div#datastores_tab div.legend_div').hide(); }) \ No newline at end of file diff --git a/src/sunstone/public/js/plugins/groups-tab.js b/src/sunstone/public/js/plugins/groups-tab.js index 8f6152ae29..307e868ced 100644 --- a/src/sunstone/public/js/plugins/groups-tab.js +++ b/src/sunstone/public/js/plugins/groups-tab.js @@ -35,9 +35,12 @@ var groups_tab_content = '\
\ -

\ -'+tr("Tip: Refresh the list if it only shows user ids in the user column.")+'\ +

\ + ?\ +

\ +'+tr("Tip: Refresh the list if it only shows user ids in the Users column.")+'\

\ +
\ '; var create_group_tmpl = @@ -116,7 +119,13 @@ var group_actions = { // error : onError, // notify:true // }, - + "Group.help" : { + type: "custom", + call: function() { + hideDialog(); + $('div#groups_tab div.legend_div').slideToggle(); + } + }, } var group_buttons = { @@ -140,6 +149,11 @@ var group_buttons = { "Group.delete" : { type: "confirm", text: tr("Delete") + }, + "Group.help" : { + type: "action", + text: '?', + alwaysActive: true } }; @@ -274,10 +288,10 @@ $(document).ready(function(){ { "sWidth": "60px", "aTargets": [0] }, { "sWidth": "35px", "aTargets": [1] } ], - "oLanguage": (datatable_lang != "") ? - { - sUrl: "locale/"+lang+"/"+datatable_lang - } : "" + "oLanguage": (datatable_lang != "") ? + { + sUrl: "locale/"+lang+"/"+datatable_lang + } : "" }); dataTable_groups.fnClearTable(); @@ -292,4 +306,6 @@ $(document).ready(function(){ initCheckAllBoxes(dataTable_groups); tableCheckboxesListener(dataTable_groups); infoListener(dataTable_groups); + + $('div#groups_tab div.legend_div').hide(); }) diff --git a/src/sunstone/public/js/plugins/hosts-tab.js b/src/sunstone/public/js/plugins/hosts-tab.js index 2c482ea121..7ce1947885 100644 --- a/src/sunstone/public/js/plugins/hosts-tab.js +++ b/src/sunstone/public/js/plugins/hosts-tab.js @@ -20,13 +20,13 @@ var HOST_HISTORY_LENGTH = 40; var host_graphs = [ { title : tr("CPU Monitoring information"), - monitor_resources : "cpu_usage,used_cpu,max_cpu", + monitor_resources : "HOST_SHARE/CPU_USAGE,HOST_SHARE/USED_CPU,HOST_SHARE/MAX_CPU", humanize_figures : false, history_length : HOST_HISTORY_LENGTH }, { title: tr("Memory monitoring information"), - monitor_resources : "mem_usage,used_mem,max_mem", + monitor_resources : "HOST_SHARE/MEM_USAGE,HOST_SHARE/USED_MEM,HOST_SHARE/MAX_MEM", humanize_figures : true, history_length : HOST_HISTORY_LENGTH } @@ -57,15 +57,18 @@ var hosts_tab_content = '\
\ -

\ -'+tr("CPU Use is calculated as the maximum between (total CPU - real CPU usage) and (allocated CPU). Real CPU usage is provided by the hosts monitoring driver. Available CPU is calculated using the information from the CPU setting of the VMs running on that host (allocated CPU)")+'\ -

\ -

\ +

\ + ?\ +

\ +'+tr("CPU Use is calculated as the minimum between (total CPU - real CPU usage) and (allocated CPU). Real CPU usage is provided by the hosts monitoring driver. Available CPU is calculated using the information from the CPU setting of the VMs running on that host (allocated CPU)")+'\ +

\ +

\ '+tr("Memory use is calculated according to the information provided by the host monitoring driver.")+'\ -

\ -

\ +

\ +

\ '+tr("You can get monitoring graphs by clicking in the desired host and visiting the monitoring information tab. Note that oneacctd must be running for this information to be updated/available.")+'\ -

\ +

\ +
\ '; var create_host_tmpl = @@ -111,7 +114,7 @@ var create_host_tmpl = \ \ \ - \ + \ \ \ \ @@ -288,6 +291,14 @@ var host_actions = { notify:true, }, + "Host.help" : { + type: "custom", + call: function() { + hideDialog(); + $('div#hosts_tab div.legend_div').slideToggle(); + } + } + }; var host_buttons = { @@ -328,6 +339,11 @@ var host_buttons = { type: "confirm", text: tr("Delete host"), condition: mustBeAdmin + }, + "Host.help" : { + type: "action", + text: '?', + alwaysActive: true } }; @@ -431,7 +447,7 @@ function updateHostSelect(){ 1,//id_col 2,//name_col [7,7],//status_cols - ["ERROR","OFF"]//bad_st + [tr("ERROR"),tr("OFF"),tr("RETRY")]//bad_st ); } @@ -473,7 +489,7 @@ function updateHostsView (request,host_list){ updateInfraDashboard("hosts",host_list); } -//Updates the host info panel tab's content and pops it up +//Updates the host info panel tab content and pops it up function updateHostInfo(request,host){ var host_info = host.HOST; @@ -531,7 +547,7 @@ function updateHostInfo(request,host){ \ \ ' + tr("Used Mem (allocated)") + '\ - '+humanize_size(host_info.HOST_SHARE.MAX_USAGE)+'\ + '+humanize_size(host_info.HOST_SHARE.MEM_USAGE)+'\ \ \ ' + tr("Max CPU") + '\ @@ -651,7 +667,7 @@ function setupCreateHostDialog(){ }; //Create the OpenNebula.Host. - //If it's successfull we refresh the list. + //If it is successfull we refresh the list. Sunstone.runAction("Host.create",host_json); $create_host_dialog.dialog('close'); return false; @@ -732,4 +748,6 @@ $(document).ready(function(){ $('div#menu li#li_hosts_tab').live('click',function(){ dataTable_hosts.fnFilter('',3); }); + + $('div#hosts_tab div.legend_div',main_tabs_context).hide(); }); diff --git a/src/sunstone/public/js/plugins/images-tab.js b/src/sunstone/public/js/plugins/images-tab.js index ade3f02c2a..61e0e1d83a 100644 --- a/src/sunstone/public/js/plugins/images-tab.js +++ b/src/sunstone/public/js/plugins/images-tab.js @@ -42,9 +42,12 @@ var images_tab_content = '\ \ \ \ -

\ +

\ + ?\ +

\ '+tr("Size and registration time are hidden colums. Note that persistent images can only be used by 1 VM. To change image datastore, please re-register the image.")+'\

\ +
\ '; var create_image_tmpl = @@ -117,7 +120,7 @@ var create_image_tmpl = \
\
\ - \ + \ \ \
\ @@ -432,6 +435,13 @@ var image_actions = { elements: imageElements, error: onError, notify: true + }, + "Image.help" : { + type: "custom", + call: function() { + hideDialog(); + $('div#images_tab div.legend_div').slideToggle(); + } } }; @@ -489,6 +499,11 @@ var image_buttons = { "Image.delete" : { type: "confirm", text: tr("Delete") + }, + "Image.help" : { + type: "action", + text: '?', + alwaysActive: true } } @@ -1163,4 +1178,6 @@ $(document).ready(function(){ initCheckAllBoxes(dataTable_images); tableCheckboxesListener(dataTable_images); infoListener(dataTable_images,'Image.showinfo'); + + $('div#images_tab div.legend_div').hide(); }); diff --git a/src/sunstone/public/js/plugins/infra-tab.js b/src/sunstone/public/js/plugins/infra-tab.js index 5f4eddadbe..768e9a308c 100644 --- a/src/sunstone/public/js/plugins/infra-tab.js +++ b/src/sunstone/public/js/plugins/infra-tab.js @@ -89,7 +89,7 @@ var infra_tab_content = '; var infra_tab = { - title: tr("Infrastructure"), + title: ''+tr("Infrastructure"), content: infra_tab_content } diff --git a/src/sunstone/public/js/plugins/system-tab.js b/src/sunstone/public/js/plugins/system-tab.js index 7a4636db06..6e93b1278f 100644 --- a/src/sunstone/public/js/plugins/system-tab.js +++ b/src/sunstone/public/js/plugins/system-tab.js @@ -84,7 +84,7 @@ var system_tab_content = '; var system_tab = { - title: tr("System"), + title: ''+tr("System"), content: system_tab_content } diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 22171adb2f..2870cd6209 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -35,6 +35,15 @@ var templates_tab_content = '\ \ \ \ +
\ + ?\ +

\ +'+tr("Clicking `instantiate` will instantly create new Virtual Machines from the selected templates and name one-id. If you want to assign a specific name to a new VM, or launch several instances at once, use Virtual Machines->New button.")+'\ +

\ +

\ +'+tr("You can clone a template to obtain a copy from an existing template. This copy will be owned by you.")+'\ +

\ +
\ '; var create_template_tmpl = '
\ @@ -772,6 +781,23 @@ var template_actions = { error: onError, notify: true }, + "Template.clone_dialog" : { + type: "custom", + call: popUpTemplateCloneDialog + }, + "Template.clone" : { + type: "single", + call: OpenNebula.Template.clone, + error: onError, + notify: true + }, + "Template.help" : { + type: "custom", + call: function() { + hideDialog(); + $('div#templates_tab div.legend_div').slideToggle(); + } + }, } var template_buttons = { @@ -807,10 +833,19 @@ var template_buttons = { tip: tr("Select the new group")+":", condition: mustBeAdmin }, - + "Template.clone_dialog" : { + type: "action", + text: tr("Clone"), + }, "Template.delete" : { type: "confirm", text: tr("Delete") + }, + + "Template.help" : { + type: "action", + text: '?', + alwaysActive: true } } @@ -1196,7 +1231,7 @@ function setupCreateTemplateDialog(){ var field = $(this); if (!(field.parents(".vm_param").attr('disabled')) && field.val().length){ - //Pick up parent's ID if we do not have one + //Pick up parents ID if we do not have one id = field.attr('id').length ? field.attr('id') : field.parent().attr('id'); value[id] = field.val(); }; @@ -2114,6 +2149,78 @@ function popUpTemplateTemplateUpdateDialog(){ }; +function setupTemplateCloneDialog(){ + //Append to DOM + dialogs_context.append('
'); + var dialog = $('#template_clone_dialog',dialogs_context); + + //Put HTML in place + + var html = '
\ +
'+tr("Choose a new name for the template")+':
\ +
'+tr("Several templates are selected, please choose prefix to name the new copies")+':
\ +
\ +\ +\ +\ +
\ + \ +
\ +'; + + dialog.html(html); + + //Convert into jQuery + dialog.dialog({ + autoOpen:false, + width:375, + modal:true, + resizable:false, + }); + + $('button',dialog).button(); + + $('form',dialog).submit(function(){ + var name = $('input', this).val(); + var sel_elems = templateElements(); + if (!name || !sel_elems.length) + notifyError('A name or prefix is needed!'); + if (sel_elems.length > 1){ + for (var i=0; i< sel_elems.length; i++) + Sunstone.runAction('Template.clone', + sel_elems[i], + name+getTemplateName(sel_elems[i])); + } else { + Sunstone.runAction('Template.clone',sel_elems[0],name) + }; + $(this).parents('#template_clone_dialog').dialog('close'); + setTimeout(function(){ + Sunstone.runAction('Template.refresh'); + }, 1500); + return false; + }); +} + +function popUpTemplateCloneDialog(){ + var dialog = $('#template_clone_dialog'); + var sel_elems = templateElements(); + //show different text depending on how many elements are selected + if (sel_elems.length > 1){ + $('.clone_one',dialog).hide(); + $('.clone_several',dialog).show(); + $('input',dialog).val('Copy of '); + } + else { + $('.clone_one',dialog).show(); + $('.clone_several',dialog).hide(); + $('input',dialog).val('Copy of '+getTemplateName(sel_elems[0])); + }; + + $(dialog).dialog('open'); +} + // Set the autorefresh interval for the datatable function setTemplateAutorefresh() { setInterval(function(){ @@ -2134,6 +2241,9 @@ $(document).ready(function(){ "bSortClasses": false, "bAutoWidth":false, "sDom" : '<"H"lfrC>t<"F"ip>', + "oColVis": { + "aiExclude": [ 0 ] + }, "sPaginationType": "full_numbers", "aoColumnDefs": [ { "bSortable": false, "aTargets": ["check"] }, @@ -2156,9 +2266,12 @@ $(document).ready(function(){ setupCreateTemplateDialog(); setupTemplateTemplateUpdateDialog(); + setupTemplateCloneDialog(); setTemplateAutorefresh(); initCheckAllBoxes(dataTable_templates); tableCheckboxesListener(dataTable_templates); infoListener(dataTable_templates,'Template.showinfo'); + + $('div#templates_tab div.legend_div').hide(); }); diff --git a/src/sunstone/public/js/plugins/users-tab.js b/src/sunstone/public/js/plugins/users-tab.js index 02ba240c94..78563dfaab 100644 --- a/src/sunstone/public/js/plugins/users-tab.js +++ b/src/sunstone/public/js/plugins/users-tab.js @@ -39,11 +39,19 @@ var users_tab_content = '\ \ \ \ -

\ -\ +

\ +?\ +

\ +'+ + tr("Tip: You can save any information in the user template, in the form of VAR=VAL.")+ +'\

\ +

\ +'+ + tr("Tip: SSH authentication method is not available for web UI access.")+ +'\ +

\ +
\ '; var create_user_tmpl = @@ -244,7 +252,15 @@ var user_actions = { notifyMessage(tr("Template updated correctly")); }, error: onError - } + }, + + "User.help" : { + type: "custom", + call: function() { + hideDialog(); + $('div#users_tab div.legend_div').slideToggle(); + } + }, } @@ -301,7 +317,13 @@ var user_buttons = { "User.delete" : { type: "confirm", text: tr("Delete") + }, + "User.help" : { + type: "action", + text: '?', + alwaysActive: true } + }; var user_info_panel = { @@ -558,4 +580,6 @@ $(document).ready(function(){ tableCheckboxesListener(dataTable_users); //shortenedInfoFields('#datatable_users'); infoListener(dataTable_users,'User.showinfo'); + + $('div#users_tab div.legend_div').hide(); }); diff --git a/src/sunstone/public/js/plugins/vms-tab.js b/src/sunstone/public/js/plugins/vms-tab.js index 73cc416535..922af774ff 100644 --- a/src/sunstone/public/js/plugins/vms-tab.js +++ b/src/sunstone/public/js/plugins/vms-tab.js @@ -26,22 +26,22 @@ loadVNC(); var vm_graphs = [ { title : tr("CPU"), - monitor_resources : "cpu_usage", + monitor_resources : "CPU", humanize_figures : false, history_length : VM_HISTORY_LENGTH }, { title : tr("Memory"), - monitor_resources : "mem_usage", + monitor_resources : "MEMORY", humanize_figures : true, history_length : VM_HISTORY_LENGTH }, { title : tr("Network transmission"), - monitor_resources : "net_tx", + monitor_resources : "NET_TX", humanize_figures : true, history_length : VM_HISTORY_LENGTH }, { title : tr("Network reception"), - monitor_resources : "net_rx", + monitor_resources : "NET_RX", humanize_figures : true, history_length : VM_HISTORY_LENGTH } @@ -72,12 +72,15 @@ var vms_tab_content = '\ \ \ \ -

\ -'+tr("CPU, Memory and Start time are hidden columns by default. You can get monitoring graphs by clicking on the desired VM and visiting the monitoring information tab (oneacctd needs to be running for this information to be up to date)")+'\ -

\ -

\ +

\ + ?\ +

\ +'+tr("CPU, Memory and Start time are hidden columns by default. You can get monitoring graphs by clicking on the desired VM and visiting the monitoring information tab.")+'\ +

\ +

\ '+tr("VNC console requires previous install of the noVNC addon. Check Sunstone documentation for more information.")+'\ -

\ +

\ +
\ '; var create_vm_tmpl ='
\ @@ -96,7 +99,7 @@ var create_vm_tmpl ='\
\ \ \ -
'+tr("You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them")+'.
\ +
'+tr("You can use the wildcard %. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them")+'.
\
\
\
\ @@ -468,6 +471,13 @@ var vm_actions = { error: onError, notify: true }, + "VM.help" : { + type: "custom", + call: function() { + hideDialog(); + $('div#vms_tab div.legend_div').slideToggle(); + } + }, }; @@ -599,6 +609,12 @@ var vm_buttons = { type: "confirm", text: tr("Delete"), tip: tr("This will delete the selected VMs from the database") + }, + + "VM.help" : { + type: "action", + text: '?', + alwaysActive: true } } @@ -984,7 +1000,9 @@ function setupCreateVMDialog(){ }; }; - Sunstone.runAction("VM.list"); + setTimeout(function(){ + Sunstone.runAction("VM.list"); + },1500); $create_vm_dialog.dialog('close'); return false; }); @@ -1409,4 +1427,6 @@ $(document).ready(function(){ initCheckAllBoxes(dataTable_vMachines); tableCheckboxesListener(dataTable_vMachines); infoListener(dataTable_vMachines,'VM.showinfo'); + + $('div#vms_tab div.legend_div').hide(); }) \ No newline at end of file diff --git a/src/sunstone/public/js/plugins/vnets-tab.js b/src/sunstone/public/js/plugins/vnets-tab.js index 8ef88a8811..e67ab575e5 100644 --- a/src/sunstone/public/js/plugins/vnets-tab.js +++ b/src/sunstone/public/js/plugins/vnets-tab.js @@ -38,9 +38,12 @@ var vnets_tab_content = '\ \ \ \ -

\ +

\ + ?\ +

\ '+tr("Tip: edit the leases of a network by clicking on one and going to the lease management tab.")+'\ -

\ +

\ +
\ '; var create_vn_tmpl = @@ -61,7 +64,7 @@ var create_vn_tmpl =
\ @@ -398,6 +401,14 @@ var vnet_actions = { notify:true, }, + "Network.help" : { + type: "custom", + call: function() { + hideDialog(); + $('div#vnets_tab div.legend_div').slideToggle(); + } + }, + }; @@ -444,6 +455,12 @@ var vnet_buttons = { "Network.delete" : { type: "confirm", text: tr("Delete") + }, + + "Network.help" : { + type: "action", + text: '?', + alwaysActive: true } } @@ -502,7 +519,7 @@ function updateVNetworkElement(request, vn_json){ element = vNetworkElementArray(vn_json); updateSingleElement(element,dataTable_vNetworks,'#vnetwork_'+id); - //we update this too, even if it's not shown. + //we update this too, even if it is not shown. $('#leases_form').replaceWith(printLeases(vn_json.VNET)); } @@ -515,7 +532,7 @@ function deleteVNetworkElement(req){ function addVNetworkElement(request,vn_json){ var element = vNetworkElementArray(vn_json); addElement(element,dataTable_vNetworks); - //we update this too, even if it's not shown. + //we update this too, even if it is not shown. $('#leases_form').replaceWith(printLeases(vn_json.VNET)); } @@ -760,7 +777,7 @@ function setupCreateVNetDialog() { $('select#vlan,label[for="vlan"]',$create_vn_dialog).show(); $('input#vlan_id,label[for="vlan_id"]',$create_vn_dialog).show(); break; - case "etables": + case "ebtables": $('input#bridge,label[for="bridge"]',$create_vn_dialog).show(); break; case "openvswitch": @@ -786,7 +803,7 @@ function setupCreateVNetDialog() { var lease_ip = $('#leaseip',create_form).val(); var lease_mac = $('#leasemac',create_form).val(); - //We don't add anything to the list if there is nothing to add + //We do not add anything to the list if there is nothing to add if (lease_ip == null) { notifyError(tr("Please provide a lease IP")); return false; @@ -887,7 +904,7 @@ function setupCreateVNetDialog() { network_json['vlan_id']=vlan_id; }; break; - case "etables": + case "ebtables": if (!bridge){ notifyError("Bridge must be specified"); return false; @@ -1197,4 +1214,6 @@ $(document).ready(function(){ $('div#menu li#li_vnets_tab').live('click',function(){ dataTable_vNetworks.fnFilter('',5); }); + + $('div#vnets_tab div.legend_div').hide(); }); diff --git a/src/sunstone/public/js/plugins/vresources-tab.js b/src/sunstone/public/js/plugins/vresources-tab.js index 6e3436d551..5b38ce2fe3 100644 --- a/src/sunstone/public/js/plugins/vresources-tab.js +++ b/src/sunstone/public/js/plugins/vresources-tab.js @@ -93,7 +93,7 @@ var vres_tab_content = '; var vres_tab = { - title: tr("Virtual Resources"), + title: ''+tr("Virtual Resources"), content: vres_tab_content } diff --git a/src/sunstone/public/js/sunstone-util.js b/src/sunstone/public/js/sunstone-util.js index 7a066f4b48..f887985a43 100644 --- a/src/sunstone/public/js/sunstone-util.js +++ b/src/sunstone/public/js/sunstone-util.js @@ -464,6 +464,13 @@ function getHostName(id){ return id; }; +function getTemplateName(id){ + if (typeof(dataTable_templates) != "undefined"){ + return getName(id,dataTable_templates,4); + } + return id; +}; + function getName(id,dataTable,name_col){ var name = id; if (typeof(dataTable) == "undefined") { @@ -583,7 +590,7 @@ function makeSelectOptions(dataTable, return select; } -//Escape " in a string and return it +//Escape doublequote in a string and return it function escapeDoubleQuotes(string){ string = string.replace(/\\"/g,'"'); return string.replace(/"/g,'\\"'); @@ -605,6 +612,7 @@ function generateMonitoringDivs(graphs, id_prefix){ $.each(graphs,function(){ label = this.monitor_resources; id_suffix=label.replace(/,/g,'_'); + id_suffix=id_suffix.replace(/\//g,'_'); id = id_prefix+id_suffix; str+='\ \ @@ -628,6 +636,7 @@ function plot_graph(data,context,id_prefix,info){ var humanize = info.humanize_figures ? humanize_size : function(val){ return val }; var id_suffix = labels.replace(/,/g,'_'); + id_suffix = id_suffix.replace(/\//g,'_'); var labels_array = labels.split(','); var monitoring = data.monitoring var series = []; @@ -661,7 +670,8 @@ function plot_graph(data,context,id_prefix,info){ yaxis : { labelWidth: 40, tickFormatter: function(val, axis) { return humanize(val); - } + }, + min: 0 } }; diff --git a/src/sunstone/public/js/sunstone.js b/src/sunstone/public/js/sunstone.js index 20e82c3909..1cc349f8de 100644 --- a/src/sunstone/public/js/sunstone.js +++ b/src/sunstone/public/js/sunstone.js @@ -72,7 +72,8 @@ var Sunstone = { //Updates the content of an info tab and refreshes the DOM if wanted. "updateMainTabContent" : function(tab_id,content_arg,refresh){ SunstoneCfg["tabs"][tab_id]["content"]=content_arg; - if (refresh){ //if not present it won't be updated + //if not present it will not be updated + if (refresh){ $('div#'+tab_id, main_tabs_context).html(content_arg); } }, diff --git a/src/sunstone/public/locale/en_US/en_US.js b/src/sunstone/public/locale/en_US/en_US.js deleted file mode 100644 index 34ac6881d1..0000000000 --- a/src/sunstone/public/locale/en_US/en_US.js +++ /dev/null @@ -1,574 +0,0 @@ -//Translated by -lang="en_US" -datatable_lang="en_datatable.txt" -locale={ - "802.1Q":"", - "Accept (default)":"", - "ACL":"", - "ACL Rules":"", - "ACLs":"", - "ACL String preview":"", - "ACPI":"", - "Add":"", - "Add context variables":"", - "Add custom variables":"", - "Add disk/image":"", - "Add disks/images":"", - "Add Graphics":"", - "Add Hypervisor raw options":"", - "Add inputs":"", - "Add lease":"", - "Add network":"", - "Add placement options":"", - "Admin":"", - "Administrate":"", - "Advanced mode":"", - "Affected resources":"", - "All":"", - "Allowed operations":"", - "Amount of RAM required for the VM, in Megabytes.":"", - "Applies to":"", - "Architecture":"", - "are mandatory":"", - "Arguments for the booting kernel":"", - "Authentication":"", - "Authentication driver":"", - "Base path":"", - "Block":"", - "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM":"", - "Boot":"", - "Boot device type":"", - "Bootloader":"", - "Boot method":"", - "Boot/OS options":"", - "Bridge":"", - "Bus":"", - "Cancel":"", - "Cannot contact server: is it running and reachable?":"", - "Canvas not supported.":"", - "Capacity":"", - "Capacity options":"", - "cdrom":"", - "CD-ROM":"", - "Change":"", - "Change authentication":"", - "Change group":"", - "Change owner":"", - "Change password":"", - "Change password successful":"", - "Changing language":"", - "Clone":"", - "Clone this image":"", - "Cluster":"", - "Cluster information":"", - "Cluster name missing!":"", - "Clusters":"", - "Community":"", - "Configuration":"", - "Confirmation of action":"", - "Context":"", - "Context variable name and value must be filled in":"", - "Core":"", - "CPU":"", - "CPU architecture to virtualization":"", - "CPU Monitoring information":"", - "CPU Use":"", - "Create":"", - "Create ACL":"", - "Create an empty datablock":"", - "Create cluster":"", - "Create Datastore":"", - "Create group":"", - "Create host":"", - "Create Image":"", - "Create new":"", - "Create new ACL":"", - "Create new Cluster":"", - "Create new datastore":"", - "Create new Datastore":"", - "Create new Group":"", - "Create new host":"", - "Create new Host":"", - "Create new Image":"", - "Create new User":"", - "Create new Virtual Machine":"", - "Create new virtual network":"", - "Create new Virtual Network":"", - "Create new VM Template":"", - "Create user":"", - "Create Virtual Machine":"", - "Create Virtual Network":"", - "Create VM Template":"", - "Current disks":"", - "Current inputs":"", - "Current leases":"", - "Current NICs":"", - "Current number of datastores in this cluster":"", - "Current number of hosts in this cluster":"", - "Current number of virtual networks in this cluster":"", - "Current variables":"", - "Custom attribute name and value must be filled in":"", - "Custom attributes":"", - "Custom variable name and value must be filled in":"", - "Custom variables":"", - "Dashboard":"", - "Data":"", - "Datablock":"", - "Datastore":"", - "Datastore information":"", - "Datastore manager":"", - "Datastores":"", - "Datastore template":"", - "Datastore Template":"", - "Datastore updated correctly":"", - "Default":"", - "Default (current image type)":"", - "Default (dummy)":"", - "Defaults to template name when emtpy":"", - "Define a subnet by IP range":"", - "Delete":"", - "Delete host":"", - "Deploy":"", - "Deploy ID":"", - "Deploy # VMs":"", - "Description":"", - "Device prefix":"", - "Device to be mounted as root":"", - "Device to map image disk. If set, it will overwrite the default device mapping":"", - "Disable":"", - "disabled":"", - "Disallow access to the VM through the specified ports in the TCP protocol":"", - "Disallow access to the VM through the specified ports in the UDP protocol":"", - "Disk":"", - "Disk file location path or URL":"", - "disk id":"", - "Disks":"", - "Disk type":"", - "Documentation":"", - "Do you want to proceed?":"", - "Driver":"", - "Driver default":"", - "Drivers":"", - "Drop":"", - "DS Mad":"", - "Dummy":"", - "EC2":"", - "Enable":"", - "English":"", - "Error":"", - "Etables":"", - "failed":"", - "fd":"", - "Features":"", - "Fields marked with":"", - "File":"", - "Filesystem":"", - "Filesystem type":"", - "Filesystem type for the fs images":"", - "Fill in a new password":"", - "Fixed network":"", - "Floppy":"", - "Fold / Unfold all sections":"", - "Format":"", - "FS":"", - "FS type":"", - "Graphics":"", - "Graphics type":"", - "Group":"", - "Group ":"", - "Group name":"", - "Groups":"", - "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif.":"", - "hd":"", - "Historical monitoring information":"", - "History information":"", - "hold":"", - "Hold":"", - "Hold lease":"", - "Host":"", - "Host information":"", - "Hostname":"", - "Host name missing!":"", - "Host parameters":"", - "Hosts":"", - "Hosts CPU":"", - "Host shares":"", - "Hosts memory":"", - "Hosts (total/active)":"", - "Host template":"", - "Human readable description of the image for other users.":"", - "HW address associated with the network interface":"", - "Icmp":"", - "ICMP policy":"", - "id":"", - "ID":"", - "IDE":"", - "Image":"", - "Image information":"", - "Image location":"", - "Image name":"", - "Images":"", - "Image template":"", - "Image updated correctly":"", - "IM MAD":"", - "Info":"", - "information":"", - "Information":"", - "Information Manager":"", - "Infrastructure":"", - "Infrastructure resources":"", - "Initrd":"", - "Inputs":"", - "Instantiate":"", - "IP":"", - "IP End":"", - "IPs":"", - "IP Start":"", - "IP to listen on":"", - "iSCSI":"", - "Italian":"", - "Kernel":"", - "Kernel commands":"", - "Keyboard configuration locale to use in the VNC display":"", - "Keymap":"", - "KVM":"", - "Language":"", - "LCM State":"", - "Lease IP":"", - "Lease MAC (opt):":"", - "Lease management":"", - "Leases information":"", - "Listen IP":"", - "Live migrate":"", - "Loading":"", - "Loading new language... please wait":"", - "MAC":"", - "Make non persistent":"", - "Make persistent":"", - "Manage":"", - "Manage cluster datastores":"", - "Manage cluster hosts":"", - "Manage cluster virtual networks":"", - "Manage unclustered datastores":"", - "Manage unclustered hosts":"", - "Manage unclustered virtual networks":"", - "Manual":"", - "Max Mem":"", - "Memory":"", - "Memory monitoring information":"", - "Memory use":"", - "Migrate":"", - "Model":"", - "Monitoring information":"", - "Mount image as read-only":"", - "Mouse":"", - "Name":"", - "Name for the context variable":"", - "Name for the custom variable":"", - "Name for the tun device created for the VM":"", - "Name of a shell script to be executed after creating the tun device for the VM":"", - "Name of the bridge the network device is going to be attached to":"", - "Name of the image to use":"", - "Name of the network to attach this device":"", - "Name that the Image will get. Every image must have a unique name.":"", - "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>.":"", - "Net_RX":"", - "Net_TX":"", - "network":"", - "Network":"", - "Network Address":"", - "Network is unreachable: is OpenNebula running?":"", - "Network mask":"", - "Network Mask":"", - "Network mode":"", - "Network reception":"", - "Network transmission":"", - "Network type":"", - "+ New":"", - "+ New Group":"", - "New password":"", - "No":"", - "No datastores in this cluster":"", - "No disk id or image name specified":"", - "No disks defined":"", - "No hosts in this cluster":"", - "No leases to show":"", - "None":"", - "No virtual networks in this cluster":"", - "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU.":"", - "OK":"", - "Open VNC Session":"", - "Open vSwitch":"", - "Optional, please select":"", - "OS":"", - "OS and Boot options":"", - "Other":"", - "Owned by group":"", - "Owner":"", - "PAE":"", - "Password":"", - "Password for the VNC server":"", - "Path":"", - "Path to the bootloader executable":"", - "Path to the initrd image":"", - "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created.":"", - "Path to the OS kernel to boot the image":"", - "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5.":"", - "Permissions":"", - "Permits access to the VM only through the specified ports in the TCP protocol":"", - "Permits access to the VM only through the specified ports in the UDP protocol":"", - "Persistence of the image":"", - "Persistent":"", - "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory":"", - "Physical device":"", - "Placement":"", - "Please choose":"", - "Please, choose and modify the datastore you want to update":"", - "Please, choose and modify the image you want to update":"", - "Please, choose and modify the template you want to update":"", - "Please, choose and modify the virtual machine you want to update":"", - "Please, choose and modify the virtual network you want to update":"", - "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk.":"", - "Please choose the new type of authentication for the selected users":"", - "Please provide a lease IP":"", - "Please provide a resource ID for the resource(s) in this rule":"", - "Please select":"", - "Please select a datastore for this image":"", - "Please select at least one resource":"", - "Please specify to who this ACL applies":"", - "Port":"", - "Port blacklist":"", - "Port for the VNC server":"", - "Port whitelist":"", - "Predefined":"", - "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”).":"", - "Previous action":"", - "Prolog time":"", - "Provide a path":"", - "Provide a source":"", - "PS2":"", - "Public":"", - "Quickstart":"", - "Ranged network":"", - "Rank":"", - "Raw":"", - "Raw data to be passed directly to the hypervisor":"", - "Read only":"", - "Reason":"", - "Reboot":"", - "Refresh list":"", - "Register time":"", - "Registration time":"", - "release":"", - "Release":"", - "Remove selected":"", - "Request an specific IP from the Network":"", - "Requirements":"", - "Reset":"", - "Resource ID":"", - "Resource ID / Owned by":"", - "Resource subset":"", - "Restart":"", - "Resubmit":"", - "Resume":"", - "Retrieving":"", - "Root":"", - "running":"", - "Running VMs":"", - "Running #VMS":"", - "Russian":"", - "Save":"", - "Save as":"", - "Saveas for VM with ID":"", - "Save this image after shutting down the VM":"", - "Script":"", - "SCSI":"", - "SDL":"", - "Secure websockets connection":"", - "Select a datastore":"", - "Select a network":"", - "Select an image":"", - "Select a template":"", - "Select a VM":"", - "Select boot method":"", - "Select cluster":"", - "Select disk":"", - "Select template":"", - "Select the datastore for this image":"", - "Select the destination cluster:":"", - "Select the new group":"", - "Select the new owner":"", - "Sequence":"", - "Server (Cipher)":"", - "Server (x509)":"", - "Setup Networks":"", - "Shared":"", - "shared,ssh,iscsi,dummy":"", - "Shutdown":"", - "Sign out":"", - "Size":"", - "Size in MB":"", - "Size (Mb)":"", - "Size of the datablock in MB.":"", - "Skipping VM ":"", - "Source":"", - "Source to be used in the DISK attribute. Useful for not file-based images.":"", - "Specific ID":"", - "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:":"", - "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported":"", - "SSH":"", - "Start time":"", - "Start Time":"", - "State":"", - "State change time":"", - "Status":"", - "Stop":"", - "style":"", - "Submitted":"", - "Summary of infrastructure resources":"", - "Summary of resources":"", - "Summary of system resources":"", - "Summary of virtual resources":"", - "Sunstone UI Configuration":"", - "Support":"", - "Suspend":"", - "Swap":"", - "System":"", - "System Resources":"", - "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs.":"", - "Tablet":"", - "Target":"", - "Tcp black ports":"", - "Tcp firewall mode":"", - "Tcp white ports":"", - "Template":"", - "Template information":"", - "Templates":"", - "Template updated correctly":"", - "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well.":"", - "There are mandatory fields missing in the capacity section":"", - "There are mandatory fields missing in the OS Boot options section":"", - "There are mandatory parameters missing":"", - "There are mandatory parameters missing in this section":"", - "There are missing network parameters":"", - "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and Images.":"", - "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others":"", - "This rule applies to":"", - "This will cancel selected VMs":"", - "This will change the main group of the selected users. Select the new group":"", - "This will change the password for the selected users":"", - "This will delete the selected VMs from the database":"", - "This will deploy the selected VMs on the chosen host":"", - "This will hold selected pending VMs from being deployed":"", - "This will initiate the shutdown process in the selected VMs":"", - "This will live-migrate the selected VMs to the chosen host":"", - "This will migrate the selected VMs to the chosen host":"", - "This will redeploy selected VMs (in UNKNOWN or BOOT state)":"", - "This will release held machines":"", - "This will resubmits VMs to PENDING state":"", - "This will resume selected stopped or suspended VMs":"", - "This will send a reboot action to running VMs":"", - "This will suspend selected machines":"", - "TM Mad":"", - "TM MAD":"", - "total":"", - "Total Leases":"", - "Total time":"", - "Total VM count":"", - "Total VM CPU":"", - "Total VM Memory":"", - "Transfer manager":"", - "Transfer Manager":"", - "Type":"", - "Type of disk device to emulate.":"", - "Type of disk device to emulate: ide, scsi":"", - "Type of file system to be built. This can be any value understood by mkfs unix command.":"", - "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS).":"", - "Udp black ports":"", - "Udp firewall mode":"", - "Udp white ports":"", - "Unauthorized":"", - "Update":"", - "Update a template":"", - "Update Datastore properties":"", - "Update image properties":"", - "Update network properties":"", - "Update properties":"", - "Update template":"", - "Update template properties":"", - "Update VM properties":"", - "Upload":"", - "Upload file":"", - "Uploading...":"", - "USB":"", - "Use":"", - "Used by VM":"", - "Used CPU":"", - "Used CPU (allocated)":"", - "Used CPU (real)":"", - "Used Mem (allocated)":"", - "Used Memory":"", - "Used Mem (real)":"", - "Useful for power management, for example, normally required for graceful shutdown to work":"", - "User":"", - "User information":"", - "Username":"", - "User name and password must be filled in":"", - "Users":"", - "User template":"", - "Value":"", - "Value of the context variable":"", - "Value of the custom variable":"", - "VCPU":"", - "Virtio":"", - "Virtio (KVM)":"", - "Virtualization Manager":"", - "Virtual Machine information":"", - "Virtual Machines":"", - "Virtual Network":"", - "Virtual network information":"", - "Virtual Network information":"", - "Virtual Network name missing!":"", - "Virtual Networks":"", - "Virtual Network template (attributes)":"", - "Virtual Resources":"", - "VLAN":"", - "VLAN ID":"", - "VM information":"", - "VM Instance":"", - "VM Instances":"", - "VM log":"", - "VM MAD":"", - "VM Name":"", - "VM Network stats":"", - "#VMS":"", - "VM Save As":"", - "VM template":"", - "VM Template":"", - "VM Templates":"", - "VMware":"", - "VNC":"", - "VNC Access":"", - "VNC connection":"", - "VNC Disabled":"", - "VNC Session":"", - "VN MAD":"", - "Welcome":"", - "Wizard":"", - "Wizard KVM":"", - "Wizard VMware":"", - "Wizard XEN":"", - "Write the image template here":"", - "Write the Virtual Machine template here":"", - "Write the Virtual Network template here":"", - "x509":"", - "XEN":"", - "Xen templates must specify a boot method":"", - "yes":"", - "Yes":"", - "You can find further information on the following links:":"", - "You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them":"", - "You have not selected a template":"", - "You have to confirm this action.":"", - "You need to select something.":"", -}; diff --git a/src/sunstone/public/locale/fr_FR/fr_FR.js b/src/sunstone/public/locale/fr_FR/fr_FR.js deleted file mode 100644 index c7f49b472d..0000000000 --- a/src/sunstone/public/locale/fr_FR/fr_FR.js +++ /dev/null @@ -1,580 +0,0 @@ -//Translated by Patrice Lachance -lang="fr_FR" -datatable_lang="fr_datatable.txt" -locale={ - "802.1Q":"802.1Q", - "Accept (default)":"Accepté (défaut)", - "ACL":"Permission", - "ACL Rules":"Permissions", - "ACLs":"Permissions", - "ACL String preview":"Prévisualisation (ACL strring)", - "ACPI":"ACPI", - "Add":"Ajouter", - "Add context variables":"Ajouter des variables de contexte", - "Add custom variables":"Ajouter des variables personnalisées", - "Add disk/image":"Ajouter des disque/image", - "Add disks/images":"Ajouter des disques/images", - "Add Graphics":"Configurer l'interface graphique", - "Add Hypervisor raw options":"Ajouter des options spécifiques à l'hyperviseur", - "Add inputs":"Ajouter des périphériques de saisie", - "Add lease":"Ajouter un bail", - "Add network":"Ajouter un réseau", - "Add placement options":"Ajouter des options de localisation", - "Admin":"Admin", - "Administrate":"Administrer", - "Advanced mode":"Mode avancé", - "Affected resources":"Ressources affectées", - "All":"Tous", - "Allowed operations":"Opérations permises", - "Amount of RAM required for the VM, in Megabytes.":"Mémoire requise pour la VM, en méga-octets", - "Applies to":"S'applique à", - "Architecture":"Architecture", - "are mandatory":"sont obligatoires", - "Arguments for the booting kernel":"Directives pour le noyau", - "Authentication":"Authentification", - "Authentication driver":"Pilote d'authentification", - "Base path":"Racine", - "Block":"Bloc", - "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM":"Expression booléenne régissant le choix des serveurs hôtes à utiliser pour l'exécution de la VM", - "Boot":"Amorçage", - "Boot device type":"Type de périphérique d'amorçage", - "Bootloader":"Lanceur", - "Boot method":"Méthode d'amorce", - "Boot/OS options":"Options système et d"amorçage", - "Bridge":"Pont", - "Bus":"Bus", - "Cancel":"Annuler", - "Cannot contact server: is it running and reachable?":"Impossible de contacter le serveur. Vérifier qu'il fonctionne et qu'il est joignable.", - "Canvas not supported.":"Canvas non supporté", - "Capacity":"Capacité", - "Capacity options":"Caractéristiques de base", - "cdrom":"cdrom", - "CD-ROM":"CD-ROM", - "Change":"Changer", - "Change authentication":"Changer le mode d'authentification", - "Change group":"Changer le groupe", - "Change owner":"Changer de propriétaire", - "Change password":"Changer le mot de passe", - "Change password successful":"Nouveau mot de passe défini avec succès", - "Changing language":"Changement de la langue", - "Clone":"Clone", - "Clone this image":"Cloner cette image", - "Cluster":"Cluster", - "Cluster information":"Information cluster", - "Cluster name missing!":"Nom de cluster manquant", - "Clusters":"Clusters", - "Community":"Communauté", - "Configuration":"Configuration", - "Confirmation of action":"Confirmation d'action", - "Context":"Contexte", - "Context variable name and value must be filled in":"Les nom et valeur de la variable de contexte doivent être renseignés", - "Core":"Core", - "CPU":"CPU", - "CPU architecture to virtualization":"Architecture CPU souhaitée", - "CPU Monitoring information":"Métriques CPU", - "CPU Use":"Utilisation CPU", - "Create":"Créer", - "Create ACL":"Créer une permission", - "Create an empty datablock":"Créer un datablock vide", - "Create cluster":"Créer un cluster", - "Create Datastore":"Créer un espace de stockage", - "Create group":"Créer un groupe", - "Create host":"Créer un hôte", - "Create Image":"Créer une image", - "Create new":"Créer un nouveau", - "Create new ACL":"Créer une nouvelle Permission", - "Create new Cluster":"Créer un nouveau Cluster", - "Create new datastore":"Créer un nouvel espace de stockage", - "Create new Datastore":"Créer un nouvel Espace de Stockage", - "Create new Group":"Créer un nouveau Groupe", - "Create new host":"Créer un nouvel hôte", - "Create new Host":"Créer un nouvel Hôte", - "Create new Image":"Créer une nouvelle Image", - "Create new User":"Créer un nouvel Utilisateur", - "Create new Virtual Machine":"Créer une nouvelle VM", - "Create new virtual network":"Créer un nouveau réseau virtuel", - "Create new Virtual Network":"Créer un nouveau Réseau Virtuel", - "Create new VM Template":"Créer un nouveau Modèle de VM", - "Create user":"Créer un utilisateur", - "Create Virtual Machine":"Créer une machine virtuelle", - "Create Virtual Network":"Créer un réseau virtuel", - "Create VM Template":"Créer un modèle de VM", - "Current disks":"Disque existant", - "Current inputs":"Périphériques actuels", - "Current leases":"Baux actuels", - "Current NICs":"Interfaces actuelles", - "Current number of datastores in this cluster":"Nombre d'espaces de stockage définis dans ce cluster", - "Current number of hosts in this cluster":"Nombre de serveurs membres dans le cluster", - "Current number of virtual networks in this cluster":"Nombre de réseaux virtuels dans ce cluster", - "Current variables":"Variables actuelles", - "Custom attribute name and value must be filled in":"Les nom et valeur de l'attribut spécifique doivent être renseignés", - "Custom attributes":"Attributs spécifiques", - "Custom variable name and value must be filled in":"Les nom et valeur de la variable spécifique doivent être renseignés", - "Custom variables":"Variable spécifique", - "Dashboard":"Tableau de bord", - "Data":"Données", - "Datablock":"Datablock", - "Datastore":"Espace de stockage", - "Datastore information":"Informations sur l'espace de stockage", - "Datastore manager":"Gestion d'espace", - "Datastores":"Espaces de stockage", - "Datastore template":"Modèle d'espace de stockage", - "Datastore Template":"Modèle d'Espace de Stockage", - "Datastore updated correctly":"Mise à jour de l'espace de stockage réussie", - "Default":"Défaut", - "Default (current image type)":"Défaut (type de l'image)", - "Default (dummy)":"Défaut (dummy)", - "Default (none)":"Défaut (aucun)", - "Defaults to template name when emtpy":"Utilise par défaut le nom du modèle lorsque la case est laissée vide", - "Define a subnet by IP range":"Définir une plage de sous-réseau IP", - "Delete":"Supprimer", - "Delete host":"Supprimer l'hôte", - "Deploy":"Déployer", - "Deploy ID":"ID déploiement", - "Deploy # VMs":"Déployer # VMs", - "Description":"Description", - "Device prefix":"Préfix du périphérique", - "Device to be mounted as root":"Périphérique racine", - "Device to map image disk. If set, it will overwrite the default device mapping":"Périphérique auquel relier l'image. Surcharge la valeur par défaut lorsque définie", - "Disable":"Désactiver", - "disabled":"désactivé", - "Disallow access to the VM through the specified ports in the TCP protocol":"Désactiver l'accès à la VM par les ports TCP spécifiés", - "Disallow access to the VM through the specified ports in the UDP protocol":"Désactiver l'accès à la VM par les ports UDP spécifiés", - "Disk":"Disque", - "Disk file location path or URL":"Chemin ou URL d'accès au disque", - "disk id":"id disque", - "Disks":"Disques", - "Disk type":"Type de disque", - "Documentation":"Documentation", - "Do you want to proceed?":"Voulez-vous continuer?", - "Driver":"Pilote", - "Driver default":"Défaut (pilote)", - "Drivers":"Pilotes", - "Drop":"Rejeté", - "DS Mad":"DS Mad", - "Dummy":"Bidon", - "EC2":"EC2", - "Enable":"Activer", - "English":"Anglais", - "Error":"Erreur", - "Etables":"Etables", - "failed":"échec", - "fd":"fd", - "Features":"Fonctionnalités", - "Fields marked with":"Les champs marqués avec", - "File":"Fichier", - "Filesystem":"Système de fichiers", - "Filesystem type":"Type de FS", - "Filesystem type for the fs images":"Type de FS pour le FS images", - "Fill in a new password":"Saisir un nouveau mot de passe", - "Fixed network":"Réseau fixe", - "Floppy":"Diskette", - "Fold / Unfold all sections":"Rouler / Dérouler toutes les sections", - "Format":"Format", - "French":"Français", - "FS":"FS", - "FS type":"Type de FS", - "Graphics":"Graphics", - "Graphics type":"Type de console", - "Group":"Groupe", - "Group ":"Groupe ", - "Group name":"Nom de groupe", - "Groups":"Groupes", - "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif.":"Matériel émulé par l'interface. Correspond à l'attribut type de la 'vif'", - "hd":"hd", - "Historical monitoring information":"Historique de consommation de ressources", - "History information":"Historique", - "hold":"attendre", - "Hold":"Attendre", - "Hold lease":"Maintenir le bail", - "Host":"Hôte", - "Host information":"Information d'hôte", - "Hostname":"Nom d'hôte", - "Host name missing!":"Nom manquant", - "Host parameters":"Paramè,tres d'hôte", - "Hosts":"Hôtes", - "Hosts CPU":"Serveurs hôtes - CPU", - "Host shares":"Ressources du serveur hôte", - "Hosts memory":"Serveurs hôtes - Mémoire", - "Hosts (total/active)":"Hôtes (total/actifs)", - "Host template":"Modèle d'hôte", - "Human readable description of the image for other users.":"Description du contenu de l'image, à destination des autres utilisateurs.", - "HW address associated with the network interface":"Adresse matérielle associée avec l'interface réseau", - "Icmp":"ICMP", - "ICMP policy":"Politique ICMP", - "id":"id", - "ID":"ID", - "IDE":"IDE", - "Image":"Image", - "Image information":"Information sur l'image", - "Image location":"Chemin d'accès", - "Image name":"Nom de l'image", - "Images":"Images", - "Image template":"Modèle d'image", - "Image updated correctly":"Image téléversée avec succès", - "IM MAD":"IM MAD", - "Info":"Info", - "information":"Information", - "Information Manager":"Gestionnaire d'informations", - "Infrastructure":"Infrastructure", - "Infrastructure resources":"Ressources d'infrastructure", - "Initrd":"Initrd", - "Inputs":"Entrants", - "Instantiate":"Instancier", - "IP":"IP", - "IP End":"IP fin", - "IPs":"IPs", - "IP Start":"IP début", - "IP to listen on":"IP à écouter", - "iSCSI":"iSCSI", - "Italian":"Italien", - "Kernel":"Noyau", - "Kernel commands":"Commandes noyau", - "Keyboard configuration locale to use in the VNC display":"Paramètres régionaux clavier pour l'affichage VNC", - "Keymap":"Code clavier", - "KVM":"KVM", - "Language":"Langue", - "LCM State":"État LCM", - "Lease IP":"Bail (IP)", - "Lease MAC (opt):":"Bail (MAC - opt.)", - "Lease management":"Gestion des baux", - "Leases information":"Informations sur les baux", - "Listen IP":"IP d'écoute", - "Live migrate":"'Live migrate'", - "Loading":"Chargement", - "Loading new language... please wait":"Chargement de la nouvelle image... patientez svp", - "MAC":"MAC", - "Make non persistent":"Rendre non persistant", - "Make persistent":"Rendre persistant", - "Manage":"Gérer", - "Manage cluster datastores":"Gérer les espaces de stockage du cluster", - "Manage cluster hosts":"Gérer les hôtes du cluster", - "Manage cluster virtual networks":"Gérer les réseaux virtuels du cluster", - "Manage unclustered datastores":"Gérer les espaces de stockage non clusterisés", - "Manage unclustered hosts":"Gérer les hôtes non clusterisés", - "Manage unclustered virtual networks":"Gérer les espaces de stockage non clusterisés", - "Manual":"Manuel", - "Max Mem":"Mémoire max", - "Memory":"Mémoire", - "Memory monitoring information":"Métriques mémoire", - "Memory use":"Mémoire utilisée", - "Migrate":"Migrer", - "Model":"Modèle", - "Monitoring information":"Métrologie", - "Mount image as read-only":"Monter l'image en lecture seule", - "Mouse":"Souris", - "Name":"Nom", - "Name for the context variable":"Nom de la variable de contexte", - "Name for the custom variable":"Nom de la variable de personnalisée", - "Name for the tun device created for the VM":"Nom du périphérique 'tun' à créer pour la VM", - "Name of a shell script to be executed after creating the tun device for the VM":"Nom du script shell à exécuter suite à la création du périphérique 'tun' de la VM", - "Name of the bridge the network device is going to be attached to":"Nom du pont réseau auquel le périphérique réseau sera connecté", - "Name of the image to use":"Nom de l'image à utiliser", - "Name of the network to attach this device":"Nom du réseau auquel connecter le périphérique", - "Name that the Image will get. Every image must have a unique name.":"Nom de l'image. Chaque nom d'image doit être unique.", - "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>.":"Nom de la VM en guise de description. Si le nom n'est pas fourni, un nom sera automatiquement généré par 'one' sous la forme one-<VID>.", - "Net_RX":"Net_RX", - "Net_TX":"Net_TX", - "network":"réseau", - "Network":"Réseau", - "Network Address":"Adresse réseau", - "Network is unreachable: is OpenNebula running?":"Réseau injoignable: est-ce qu'OpenNebula est en marche?", - "Network mask":"Masque réseau", - "Network Mask":"Masque de réseau", - "Network mode":"Gestion de réseau", - "Network reception":"Réseau - réception", - "Network transmission":"Réseau - transmission", - "Network type":"Type de réseau", - "+ New":"+ Nouveau", - "+ New Group":"+ Nouveau", - "New password":"Nouveau mot de passe", - "No":"Non", - "No datastores in this cluster":"Pas d'espace de stockage dans le cluster", - "No disk id or image name specified":"Pas d'identifiant d'image spécifié (id ou nom)", - "No disks defined":"Aucun disque défini", - "No hosts in this cluster":"Aucun hôte dans ce cluster", - "No leases to show":"Aucun bail à afficher", - "None":"Aucun", - "No virtual networks in this cluster":"Aucun réseau virtuel dans ce cluster", - "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU.":"Nombre de processeurs virtuels. Valeur optionnelle. Lorsque non spécifiée, la valeur par défaut de l'hyperviseur est utilisée (généralement 1)", - "OK":"OK", - "Open VNC Session":"Ouvrir une session VNC", - "Open vSwitch":"Open vSwitch", - "Optional, please select":"Optionnel, choisir...", - "OS":"OS", - "OS and Boot options":"OS et option d'amorce", - "Other":"Autres", - "Owned by group":"Appartenant à un groupe", - "Owner":"Propriétaire", - "PAE":"PAE", - "Password":"Mot de passe", - "Password for the VNC server":"Mot de passe pour le serveur VNC", - "Path":"Chemin d'accès", - "Path to the bootloader executable":"Chemin d'accès du lanceur", - "Path to the initrd image":"Chemin d'accès à l'image initrd", - "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created.":"Chemin d'accès au fichier d'origine à copier vers la librairie d'images. Un fichier vide sera créé si aucun chemin n'est spécifié pour une image de type DATABLOCK.", - "Path to the OS kernel to boot the image":"Chemin d'accès à l'image du noyau", - "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5.":"Pourcentage CPU divisé par 100 demandé pour la Machine Virtuelle. Pour la moitié d'un core, inscrire 0.5.", - "Permissions":"Permissions", - "Permits access to the VM only through the specified ports in the TCP protocol":"Permets l'accès à la VM seulement pour les ports spéficiés - Protocole TCP", - "Permits access to the VM only through the specified ports in the UDP protocol":"Permets l'accès à la VM seulement pour les ports spéficiés - Protocole UDP", - "Persistence of the image":"L'image est-elle persistante ou non?", - "Persistent":"Persistante", - "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory":"Mode d'extension physique, permet aux VM 32-bit d'accéder à plus de 4 Go de mémoire", - "Physical device":"Périphérique", - "Placement":"Placement", - "Please choose":"Sélectionner", - "Please, choose and modify the datastore you want to update":"Choisir et modifier l'espace de stockage à mettre à jour", - "Please, choose and modify the image you want to update":"Choisir et modifier l'image à mettre à jour", - "Please, choose and modify the template you want to update":"Choisir et modifier le modèle à mettre à jour", - "Please, choose and modify the virtual machine you want to update":"Choisir et modifier la machine virtuelle à mettre à jour", - "Please, choose and modify the virtual network you want to update":"Choisir et modifier le réseau virtuel à mettre à jour", - "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk.":"Choisir le chemin d'accès pour une image basée sur un fichier. Choisir la source ou encore créer un 'datablock' vide.", - "Please choose the new type of authentication for the selected users":"Choisir le nouveau mode d'authentification pour les utilisateurs sélectionnés", - "Please provide a lease IP":"Saisir l'IP pour le bail", - "Please provide a resource ID for the resource(s) in this rule":"Saisir l'ID de ressource de cette r`gle", - "Please select":"Sélectionner", - "Please select a datastore for this image":"Choisir l'espace de stockage pour cette image", - "Please select at least one resource":"Sélectionner au moins une ressource", - "Please specify to who this ACL applies":"Spécifier à qui appliquer cette ACL", - "Port":"Port", - "Port blacklist":"Port - liste noire", - "Port for the VNC server":"Port pour le serveur VNC", - "Port whitelist":"Port - liste blanche", - "Portuguese":"Portugais", - "Predefined":"Prédéfini", - "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”).":"Pr&eacufixte; utilisé pour monter l'image.Par exemple 'hd' ou 'sd'. La valeur par défaut est 'hd'.", - "Previous action":"Action précédante", - "Prolog time":"Prolog time", - "Provide a path":"Indiquer un chemin d'accès", - "Provide a source":"Indiquer un fichier source", - "PS2":"PS2", - "Public":"Publique", - "Quickstart":"Démarage rapide", - "Ranged network":"Plage réseau", - "Rank":"Rang", - "Raw":"Raw", - "Raw data to be passed directly to the hypervisor":"Directives à passer directement à l'hyperviseur", - "Read only":"Lecture seule", - "Reason":"Raison", - "Reboot":"Reboot", - "Refresh list":"Actualiser la liste", - "Register time":"Heure d'enregistrement", - "Registration time":"Heure d'enregistrement", - "release":"libérer", - "Release":"Libérer", - "Remove selected":"Supprimer...", - "Request an specific IP from the Network":"Utiliser une adresse IP prédéterminée", - "Requirements":"Exigences", - "Reset":"Réinitialiser", - "Resource ID":"ID Ressource", - "Resource ID / Owned by":"ID Ressource / Propriétaire", - "Resource subset":"Sous-réseau cible", - "Restart":"Redémarrer", - "Resubmit":"Resoumettre", - "Resume":"Reprendre", - "Retrieving":"Récupération", - "Root":"Root", - "running":"en fonctionnement", - "Running VMs":"#VM démarrées", - "Running #VMS":"#VM démarrées", - "Russian":"Russe", - "Save":"Enregistrer", - "Save as":"Enregistrer sous", - "Saveas for VM with ID":"Enregistrer la VM ayant l'ID sous", - "Save this image after shutting down the VM":"Sauvegarder l'image de la VM après extinction", - "Script":"Script", - "SCSI":"SCSI", - "SDL":"SDL", - "Search":"Chercher", - "Secure websockets connection":"Utilisation des websockets sécurisées", - "Select a datastore":"Choisir un espace de stockage", - "Select a network":"Choisir un réseau", - "Select an image":"Choisir une image", - "Select a template":"Choisir un modèle", - "Select a VM":"Choisir une VM", - "Select boot method":"Choisir le mode d'amorçage", - "Select cluster":"Définir le cluster", - "Select disk":"Choisir un disque", - "Select template":"Choisir du modèle", - "Select the datastore for this image":"Choisir l'espace de stockage pour cette image:", - "Select the destination cluster:":"Choisir le cluster de destination:", - "Select the new group":"Choisir un nouveau groupe", - "Select the new owner":"Choisir un nouveau propriétaire", - "Sequence":"Séquence", - "Server (Cipher)":"Serveur (Cipher)", - "Server (x509)":"Serveur (x509)", - "Setup Networks":"Configurer les connexions réseaux", - "Shared":"Partagé", - "shared,ssh,iscsi,dummy":"shared,ssh,iscsi,dummy", - "Show":"Afficher", - "Shutdown":"Arrêter", - "Sign out":"Déconnection", - "Size":"Taille", - "Size in MB":"Taille en Mo", - "Size (Mb)":"Taille (Mb)", - "Size of the datablock in MB.":"Taille du datablock en Mo", - "Skipping VM ":"VM ignorée", - "Source":"Source", - "Source to be used in the DISK attribute. Useful for not file-based images.":"Fichier source à utiliser pour l'attribut DISK.", - "Specific ID":"Identifiant spécifique", - "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:":"Pilote de périphérique spécifique à utiliser. KVM: raw, qcow2. XEN:tap:aio:, file:.", - "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported":"Pilote de périphérique spécifique à utiliser. KVM: raw, qcow2. XEN:tap:aio:, file:. VMware non supporté", - "SSH":"SSH", - "Start time":"Démarrage", - "Start Time":"Démarrage", - "State":"État", - "State change time":"Heure de changement de statut", - "Status":"Statut", - "Stop":"Arrêt", - "style":"style", - "Submitted":"Soumis", - "Summary of infrastructure resources":"Synthèse des ressources d'infrastructure", - "Summary of resources":"Synthèse des ressources", - "Summary of system resources":"Synthèse des ressources systèmes", - "Summary of virtual resources":"Synthèse des ressources virtuelles", - "Sunstone UI Configuration":"Configuration de l'interface utilisateur Sunstone", - "Support":"Support", - "Suspend":"Mise en veille", - "Swap":"Swap", - "System":"Système", - "System Resources":"Ressources système", - "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs.":"La gestion des ressources système est accessible uniquement aux utilisateurs membres du groupe oneadmin et permet la gestion des utilisateurs, groupes et permissions OpenNebula.", - "Tablet":"Tablette", - "Target":"Cible", - "Tcp black ports":"Port TCP - liste noire", - "Tcp firewall mode":"Mode firecall TCP", - "Tcp white ports":"Port TCP - liste blanche", - "Template":"Modèle", - "Template information":"Information sur le modèle", - "Templates":"Modèles de VM", - "Template updated correctly":"Mise à du modèle réussie", - "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well.":"Le menu Infrastructure permet la gestion des serveurs Hôtes, des Espaces de Stockage et des Réseaux Virtuels. Les utilisateurs membres du groupe oneadmin peuvent de plus gérer les clusters.", - "There are mandatory fields missing in the capacity section":"Des champs obligatoires ne sont pas remplis dans la section capacité", - "There are mandatory fields missing in the OS Boot options section":"Des champs obligatoires ne sont pas remplis dans la section d'amorce;", - "There are mandatory parameters missing":"Des champs obligatoires ne sont pas remplis", - "There are mandatory parameters missing in this section":"Des champs obligatoires ne sont pas remplis dans cette section", - "There are missing network parameters":"Des paramètres réseaux sont manquants", - "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and Images.":"Le menu Ressources Virtuelles permet la gestion des Modèles, des Instances et des Images de machines virtuelles.", - "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others":"Attribut permettant à l'ordonnanceur de choisir le serveur hôte le plus approprié", - "This rule applies to":"Règle s'appliquant à", - "This will cancel selected VMs":"Ceci cancellera les VM sélectionnées", - "This will change the main group of the selected users. Select the new group":"Ceci changera le groupe principal des utilisateurs sélectionnés. Choisir le nouveau groupe", - "This will change the password for the selected users":"Ceci changera le mot de passe des utilisateurs sélectionnés", - "This will delete the selected VMs from the database":"Ceci effacera les VM sélectionnées de la base de données", - "This will deploy the selected VMs on the chosen host":"Ceci déploiera les VMs sélectionnées sur les hôtes choisis", - "This will hold selected pending VMs from being deployed":"Ceci retardera les VM en attente de déploiement", - "This will initiate the shutdown process in the selected VMs":"Ceci initiera le processus de mise hors tension des VM sélectionnées", - "This will live-migrate the selected VMs to the chosen host":"Ceci déplacera les VM sélectionnées vers l'hôte choisi ('live-migrate')", - "This will migrate the selected VMs to the chosen host":"Ceci déplacera les VM sélectionnées vers l'hôte choisi (à froid)", - "This will redeploy selected VMs (in UNKNOWN or BOOT state)":"Ceci redéploiera les VM sélectionnées (en état UNKNOWN ou BOOT)", - "This will release held machines":"Ceci libérera les VM en attente", - "This will resubmits VMs to PENDING state":"Ceci resoumettra les VM en état PENDING", - "This will resume selected stopped or suspended VMs":"Ceci reprendra les VM sélectionnées (en état STOPPED ou SUSPENDED", - "This will send a reboot action to running VMs":"Ceci transmettra un signal de redémarrage aux VM démarrées", - "This will suspend selected machines":"Ceci susprendra les VM sélectionnées", - "TM Mad":"TM Mad", - "TM MAD":"TM MAD", - "total":"total", - "Total Leases":"Baux totaux", - "Total time":"Temps total", - "Total VM count":"VM - Nombre total", - "Total VM CPU":"Total VM CPU", - "Total VM Memory":"Total VM Memory", - "Transfer manager":"Gestion de tranferts", - "Transfer Manager":"Gestion de Tranferts", - "Type":"Type", - "Type of disk device to emulate.":"Type de disque à émuler", - "Type of disk device to emulate: ide, scsi":"Type de disque à émuler: ide, scsi", - "Type of file system to be built. This can be any value understood by mkfs unix command.":"Type de système de fichiers à créer. Toutes options reconnues par la commande unix 'mkfs'.", - "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS).":"Type d'image tel que décrit dans la section suivante. Si laissée vide, la valeur sera celle définie dans le fichier oned.conf (défaut: OS).", - "Udp black ports":"Ports UDP - Liste noire", - "Udp firewall mode":"Mode firewall UDP", - "Udp white ports":"Ports UDP - Liste blanche", - "Unauthorized":"Non autorisé", - "Update":"Mettre à jour", - "Update a template":"Mettre à jour le modèle", - "Update Datastore properties":"Mettre à jour l'espace de stockage", - "Update image properties":"Mettre à jour les propriétés de l'image", - "Update network properties":"Mettre à jour les propriétés réseau", - "Update properties":"Mettre à jour les propriétés", - "Update template":"Mettre à jour le modèle", - "Update template properties":"Mettre à jour les propriétés du modèle", - "Update VM properties":"Mettre à jour les propriétés de la VM", - "Upload":"Téléverser", - "Upload file":"Fichier à téléverser", - "Uploading...":"Téléversement...", - "USB":"USB", - "Use":"Utiliser", - "Used by VM":"Utilisé par VM", - "Used CPU":"CPU utilisé", - "Used CPU (allocated)":"CPU utilisé (alloué)", - "Used CPU (real)":"CPU utilisé (réel)", - "Used Mem (allocated)":"Mémoire utilisée (allouée)", - "Used Memory":"Mémoire utilisée", - "Used Mem (real)":"Mémoire utilisée (réelle)", - "Useful for power management, for example, normally required for graceful shutdown to work":"Utile pour la gestion de l'alimentation électrique. Généralement requis pour la gestion de l'arrêt 'propre' de l'OS", - "User":"Utilisateur", - "User information":"Informations utilisateur", - "Username":"Nom d'utilisateur", - "User name and password must be filled in":"Le nom d'utilisateur et le mot de passe doivent être fournis", - "Users":"Utilisateurs", - "Users & Groups subsystem":"Sous-système Utilisateurs & Groupes", - "User template":"Modè utilisateur", - "Value":"Valeur", - "Value of the context variable":"Valeur de la variable de contexte", - "Value of the custom variable":"Valeur de la variable personnalisée", - "VCPU":"VCPU", - "Virtio":"Virtio", - "Virtio (KVM)":"Virtio (KVM)", - "Virtualization Manager":"Gestionnaire de virtualisation", - "Virtual Machine information":"Informations sur la machine virtuelle", - "Virtual Machines":"Machines virtuelles", - "Virtual Network":"Réseau virtuel", - "Virtual network information":"Informations sur le réseau virtuel", - "Virtual Network information":"Informations sur le réseau virtuel", - "Virtual Network name missing!":"Nom du réseau virtuel manquant", - "Virtual Networks":"Réseaux virtuels", - "Virtual Network Manager":"Gestionnaire de réseaux virtuels", - "Virtual Network template (attributes)":"Modèle de réseau virtuel (attributs)", - "Virtual Resources":"Ressources virtuelles", - "VLAN":"VLAN", - "VLAN ID":"VLAN ID", - "VM information":"Informations générales", - "VM Instance":"Instance de VM", - "VM Instances":"Instances de VM", - "VM log":"Journal", - "VM MAD":"VM MAD", - "VM Name":"Nom de la VM", - "VM Network stats":"VM - Statistiques réseau", - "#VMS":"#VMS", - "VM Save As":"Enregistrer la VM sous", - "VM template":"Modèle de VM utilisé", - "VM Template":"Modèle de VM", - "VM Templates":"Modèles de VM", - "VMware":"VMware", - "VNC":"VNC", - "VNC Access":"Console VNC", - "VNC connection":"Connexion VNC", - "VNC Disabled":"VNC désactivé", - "VNC Session":"Session VNC", - "VN MAD":"VN MAD", - "Welcome":"Bienvenu", - "Wizard":"Assistant", - "Wizard KVM":"Assistant KVM", - "Wizard VMware":"Assistant VMware", - "Wizard XEN":"Assistant XEN", - "Write the image template here":"Saisir les caractéristiques de l'image dans la case ci-dessous", - "Write the Virtual Machine template here":"Saisir les caractéristiques du modèle de VM dans la case ci-dessous", - "Write the Virtual Network template here":"Saisir les caractéristiques du modèle de réseau dans la case ci-dessous", - "x509":"x509", - "XEN":"XEN", - "Xen templates must specify a boot method":"Les modèles XEN doivent spécifier la méthode d'amorçage.", - "yes":"Oui", - "Yes":"Oui", - "You can find further information on the following links:":"Veuillez vous référer aux pages suivantes pour plus d'informations :", - "You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them":"Le paramètre générique '%i' peut être utilisé dans le nom de la VM. Celui-ci sera remplacé par un chiffre de 0 à N", - "You have not selected a template":"Vous n'avez pas sélectionné de modèle", - "You have to confirm this action.":"Il vous faut confirmer cette action", - "You need to select something.":"Vous devez choisir une option", -}; diff --git a/src/sunstone/public/locale/fr_FR/fr_datatable.txt b/src/sunstone/public/locale/fr_FR/fr_datatable.txt deleted file mode 100644 index 38fa8347c3..0000000000 --- a/src/sunstone/public/locale/fr_FR/fr_datatable.txt +++ /dev/null @@ -1,17 +0,0 @@ -{ - "sProcessing": "En cours...", - "sLengthMenu": "Affiche _MENU_ éléments", - "sZeroRecords": "Pas d'enregistrement", - "sInfo": "Affiche de _START_ à _END_ sur _TOTAL_", - "sInfoEmpty": "Pas d'enregistrement", - "sInfoFiltered": "(filtré sur un total de _MAX_)", - "sInfoPostFix": "", - "sSearch": "Rechercher:", - "sUrl": "", - "oPaginate": { - "sFirst": "Premier", - "sPrevious": "Précédent", - "sNext": "Suivant", - "sLast": "Dernier" - } -} diff --git a/src/sunstone/public/locale/it_IT/it_IT.js b/src/sunstone/public/locale/it_IT/it_IT.js deleted file mode 100644 index e1d000d309..0000000000 --- a/src/sunstone/public/locale/it_IT/it_IT.js +++ /dev/null @@ -1,574 +0,0 @@ -//Translated by Carlo Daffara, Calogero Lo Leggio -lang="it_IT" -datatable_lang="it_datatable.txt" -locale={ - "802.1Q":"802.1Q", - "Accept (default)":"Accetta (default)", - "ACL":"ACL", - "ACL Rules":"Regole ACL", - "ACLs":"ACL", - "ACL String preview":"Anteprima stringa ACL", - "ACPI":"ACPI", - "Add":"Aggiungi", - "Add context variables":"Aggiungi variabili di contesto", - "Add custom variables":"Aggiungi variabili custom", - "Add disk/image":"Aggiungi disco/immagine", - "Add disks/images":"Aggiungi dischi/immagini", - "Add Graphics":"Aggiungi grafica", - "Add Hypervisor raw options":"Aggiungi configurazioni dirette hypervisor", - "Add inputs":"Aggiungi periferica input", - "Add lease":"Aggiungi lease", - "Add network":"Aggiungi rete", - "Add placement options":"Aggiungi opzioni di posizionamento", - "Admin":"Admin", - "Administrate":"Amministra", - "Advanced mode":"Modalità avanzata", - "Affected resources":"Risorse interessate", - "All":"Tutto", - "Allowed operations":"Operazioni consentite", - "Amount of RAM required for the VM, in Megabytes.":"Memoria richiesta per la VM, in Megabyte.", - "Applies to":"Si applica a", - "Architecture":"Architettura", - "are mandatory":"sono obbligatori", - "Arguments for the booting kernel":"Argomenti per l'avvio del kernel", - "Authentication":"Autenticazione", - "Authentication driver":"Driver di Autenticazione", - "Base path":"Percorso base", - "Block":"Blocco", - "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM":"Espressione booleana che esclude il provisioning degli host dalla lista di macchine adatte a eseguire questa VM", - "Boot":"Boot", - "Boot device type":"Tipo di device di boot", - "Bootloader":"Bootloader", - "Boot method":"Metodo di boot", - "Boot/OS options":"Opzioni Boot/OS", - "Bridge":"Bridge", - "Bus":"Bus", - "Cancel":"Cancella", - "Cannot contact server: is it running and reachable?":"Non posso contattare il server, è in esecuzione e raggiungibile?", - "Canvas not supported.":"Canvas non supportato", - "Capacity":"Capacità", - "Capacity options":"Opzioni di capacità", - "cdrom":"cdrom", - "CD-ROM":"CD-ROM", - "Change":"Cambia", - "Change authentication":"Cambia autenticazione", - "Change group":"Cambia gruppo", - "Change owner":"Cambia proprietario", - "Change password":"Cambia password", - "Change password successful":"Cambio password avvenuto con successo", - "Changing language":"Cambiamento linguaggio", - "Clone":"Clona", - "Clone this image":"Clona questa immagine", - "Cluster":"Cluster", - "Cluster information":"Informazioni sul cluster", - "Cluster name missing!":"Nome del cluster mancante!", - "Clusters":"Clusters", - "Community":"Comunità", - "Configuration":"Configurazione", - "Confirmation of action":"Conferma azione", - "Context":"Contesto", - "Context variable name and value must be filled in":"Nome variabile di contesto e valure da inserire", - "Core":"Core", - "CPU":"CPU", - "CPU architecture to virtualization":"Architettura CPU da virtualizzare", - "CPU Monitoring information":"Informazioni monitoraggio CPU", - "CPU Use":"Utilizzo CPU", - "Create":"Crea", - "Create ACL":"Crea ACL", - "Create an empty datablock":"Crea un datablock vuoto", - "Create cluster":"Crea cluster", - "Create Datastore":"Crea Datastore", - "Create group":"Crea gruppo", - "Create host":"Crea nodo", - "Create Image":"Crea immagine", - "Create new":"Crea nuovo", - "Create new ACL":"Crea nuova ACL", - "Create new Cluster":"Crea nuovo cluster", - "Create new datastore":"Crea nuovo datastore", - "Create new Datastore":"Crea nuovo Datastore", - "Create new Group":"Crea nuovo Gruppo", - "Create new host":"Crea nuovo nodo", - "Create new Host":"Crea nuovo Nodo", - "Create new Image":"Crea nuova Immagine", - "Create new User":"Crea nuovo Utente", - "Create new Virtual Machine":"Crea una nuova Macchina Virtuale", - "Create new virtual network":"Crea una nuova rete virtuale", - "Create new Virtual Network":"Crea una nuova Rete Virtuale", - "Create new VM Template":"Crea un nuovo template per la macchina virtuale", - "Create user":"Crea utente", - "Create Virtual Machine":"Crea macchina virtuale (VM)", - "Create Virtual Network":"Crea rete virtuale", - "Create VM Template":"Crea template VM", - "Current disks":"Disco attuale", - "Current inputs":"Input attuali", - "Current leases":"Lease attuali", - "Current NICs":"Schede di rete attuali", - "Current number of datastores in this cluster":"Numero attuale di datastore in questo cluster", - "Current number of hosts in this cluster":"Numero attuale di nodi in questo cluster", - "Current number of virtual networks in this cluster":"Numero attuale di reti virtuali in questo cluster", - "Current variables":"Variabili attuali", - "Custom attribute name and value must be filled in":"Nome attributo custom e valure da inserire", - "Custom attributes":"Attributi custom", - "Custom variable name and value must be filled in":"Nome variabile custom e valore da inserire", - "Custom variables":"Variabili custom", - "Dashboard":"Dashboard", - "Data":"Data", - "Datablock":"Datablock", - "Datastore":"Datastore", - "Datastore information":"Informazioni sul Datastore", - "Datastore manager":"Gestione Datastore", - "Datastores":"Datastores", - "Datastore template":"template Datastore", - "Datastore Template":"Template Datastore", - "Datastore updated correctly":"Datastore aggiornato correttamente", - "Default":"Default", - "Default (current image type)":"Default (tipo di immagine attuale)", - "Default (dummy)":"Default (dummy)", - "Defaults to template name when emtpy":"Nome di template di default se vuoto", - "Define a subnet by IP range":"Definisci una subnet tramite un range IP", - "Delete":"Cancella", - "Delete host":"Cancella nodo", - "Deploy":"Deploy", - "Deploy ID":"Deploy ID", - "Deploy # VMs":"Deploy # VMs", - "Description":"Descrizione", - "Device prefix":"Prefisso dispositivo", - "Device to be mounted as root":"Dispositivo da montare come root", - "Device to map image disk. If set, it will overwrite the default device mapping":"Dispositivo da mappare per l'immagine del disco. Se configurato, sovrascrive la configurazione di default della mappatura dei dispositivi", - "Disable":"Disabilita", - "disabled":"disabilitato", - "Disallow access to the VM through the specified ports in the TCP protocol":"Nega accesso alla VM attraverso la porta TCP specificata", - "Disallow access to the VM through the specified ports in the UDP protocol":"Nega accesso alla VM attraverso la porta UDP speciicata", - "Disk":"Disco", - "Disk file location path or URL":"Percorso o URL del file del disco", - "disk id":"ID disco", - "Disks":"Dischi", - "Disk type":"Tipo disco", - "Documentation":"Documentazione", - "Do you want to proceed?":"Vuoi proseguire?", - "Driver":"Driver", - "Driver default":"Driver default", - "Drivers":"Drivers", - "Drop":"Drop", - "DS Mad":"DS Mad", - "Dummy":"Dummy", - "EC2":"EC2", - "Enable":"Abilita", - "English":"Inglese", - "Error":"Errore", - "Etables":"Etables", - "failed":"fallito", - "fd":"fd", - "Features":"Funzionalità", - "Fields marked with":"Campi marcati con", - "File":"File", - "Filesystem":"Filesystem", - "Filesystem type":"Tipo di filesystem", - "Filesystem type for the fs images":"Tipo di filesystem per queste immagini fs", - "Fill in a new password":"Indica una nuova password", - "Fixed network":"Rete fissa", - "Floppy":"Floppy", - "Fold / Unfold all sections":"Espandi/contrai tutte le sezioni", - "Format":"Format", - "FS":"FS", - "FS type":"Tipo FS", - "Graphics":"Grafica", - "Graphics type":"Tipo grafica", - "Group":"Gruppo", - "Group ":"Grupoi", - "Group name":"Nome del gruppo", - "Groups":"Gruppi", - "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif.":"Hardware per l'emulazione dell'interfaccia di rete. In Xen type attribute del vif.", - "hd":"hd", - "Historical monitoring information":"Storico delle informazioni di monitoraggio", - "History information":"Storico informazioni", - "hold":"trattieni", - "Hold":"Trattieni", - "Hold lease":"Trattieni lease", - "Host":"Nodo", - "Host information":"Informazioni nodo", - "Hostname":"Hostname", - "Host name missing!":"Nome del nodo mancante!", - "Host parameters":"Parametri nodo", - "Hosts":"Nodi", - "Hosts CPU":"CPU nodi", - "Host shares":"Share nodi", - "Hosts memory":"Memoria nodi", - "Hosts (total/active)":"Nodi (totali/attivi)", - "Host template":"Template nodo", - "Human readable description of the image for other users.":"Descrizione immagine per altri utenti", - "HW address associated with the network interface":"Indirizzo hardware associato alla interfaccia di rete", - "Icmp":"ICMP", - "ICMP policy":"Policy ICMP", - "id":"id", - "ID":"ID", - "IDE":"IDE", - "Image":"Immagine", - "Image information":"Informazioni immagine", - "Image location":"Posizione immagine", - "Image name":"Nome immagine", - "Images":"Immagini", - "Image template":"Template immagine", - "Image updated correctly":"Immagine caricata correttamente", - "IM MAD":"IM MAD", - "Info":"Info", - "information":"Informazioni", - "Information":"Informazioni", - "Information Manager":"Information manager", - "Infrastructure":"Infrastruttura", - "Infrastructure resources":"Risorse Infrastruttura", - "Initrd":"Initrd", - "Inputs":"Ingressi", - "Instantiate":"Istanza", - "IP":"IP", - "IP End":"IP fine", - "IPs":"IPs", - "IP Start":"IP inizio", - "IP to listen on":"IP su cui restare in ascolto", - "iSCSI":"iSCSI", - "Italian":"Italiano", - "Kernel":"Kernel", - "Kernel commands":"Comandi kernel", - "Keyboard configuration locale to use in the VNC display":"Configurazione del layout della tastiera per il display VNC", - "Keymap":"Keymap", - "KVM":"KVM", - "Language":"Linguaggio", - "LCM State":"Stato LCM", - "Lease IP":"Lease IP", - "Lease MAC (opt):":"Lease MAC (opzionale)", - "Lease management":"Gestione Lease", - "Leases information":"Informazioni Lease", - "Listen IP":"IP di ascolto", - "Live migrate":"Live migrate", - "Loading":"Caricamento", - "Loading new language... please wait":"Caricamento nuovo linguaggio... attendere", - "MAC":"MAC", - "Make non persistent":"Rendi non persistente", - "Make persistent":"Rendi persistente", - "Manage":"Gestisci", - "Manage cluster datastores":"Gestisci datastore del cluster", - "Manage cluster hosts":"Gestisci nodi del cluster", - "Manage cluster virtual networks":"Gestisci reti virtuali del cluster", - "Manage unclustered datastores":"Gestisci datastore non appartenenti a un cluster", - "Manage unclustered hosts":"Gestisci nodi non appartenenti a un cluster", - "Manage unclustered virtual networks":"Gestisci reti virtuali non appartenenti a un cluster", - "Manual":"Manuale", - "Max Mem":"Max Mem", - "Memory":"Memoria", - "Memory monitoring information":"Informazioni monitoraggio memoria", - "Memory use":"Utilizzo memoria", - "Migrate":"Migra", - "Model":"Modello", - "Monitoring information":"Informazioni di monitoraggio", - "Mount image as read-only":"Monta immagine in sola lettura", - "Mouse":"Mouse", - "Name":"Nome", - "Name for the context variable":"Nome per la variabile di contesto", - "Name for the custom variable":"Nome per la variabile custom", - "Name for the tun device created for the VM":"Nome per il dispositivo tun creato per la VM", - "Name of a shell script to be executed after creating the tun device for the VM":"Nome dello script da eseguire dopo la creazione del dispositivo tun per la VM", - "Name of the bridge the network device is going to be attached to":"Nome del bridge a cui si sta collegando l'interfaccia di rete", - "Name of the image to use":"Nome immagine da usare", - "Name of the network to attach this device":"Nome della rete a cui collegare questo dispositivo", - "Name that the Image will get. Every image must have a unique name.":"Nome assegnato a immagine. Ogni immagine deve avere un nome univoco.", - "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>.":"Nome ottenuto dalla descrizione della VM. Se il nome non viene assegnato, viene generato un nome nella forma one-<VID>.", - "Net_RX":"Net_RX", - "Net_TX":"Net_TX", - "network":"rete", - "Network":"Rete", - "Network Address":"Indirizzo di rete", - "Network is unreachable: is OpenNebula running?":"Rete non raggiungibile. Opennebula attivo?", - "Network mask":"maschera di rete", - "Network Mask":"Maschera di rete", - "Network mode":"Modo di rete", - "Network reception":"Ricezione rete", - "Network transmission":"Trasmissione rete", - "Network type":"Tipo di rete", - "+ New":"+ Nuovo", - "+ New Group":"+ Nuovo gruppo", - "New password":"Nuova password", - "No":"No", - "No datastores in this cluster":"Non ci sono datastore in questo cluster", - "No disk id or image name specified":"ID disco o nome immagine non specificato", - "No disks defined":"Disco non definito", - "No hosts in this cluster":"Non ci sono nodi in questo cluster", - "No leases to show":"Nessun lease da mostrare", - "None":"Nessuno", - "No virtual networks in this cluster":"Non ci sono reti virtuali in questo cluster", - "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU.":"Numero delle CPU virtuali (opzionale). Questo valore è opzionale, se non configurato verrà usato la configurazione predefinita dell'hypervisor, di norma una CPU virtuale.", - "OK":"OK", - "Open VNC Session":"Sessione VNC aperta", - "Open vSwitch":"Open vSwitch", - "Optional, please select":"Opzionale, selezionate", - "OS":"OS", - "OS and Boot options":"Opzioni OS e boot", - "Other":"Altro", - "Owned by group":"Posseduto dal gruppo", - "Owner":"Proprietario", - "PAE":"PAE", - "Password":"Password", - "Password for the VNC server":"Password per il server VNC", - "Path":"Percorso", - "Path to the bootloader executable":"Percorso per eseguibile bootloader", - "Path to the initrd image":"Percorso immagine initrd", - "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created.":"Percorso del file originale da copiare nel repository immagini. Se non specificato per il tipo DATABLOCK, crea una immagine vuota.", - "Path to the OS kernel to boot the image":"Percorso per il kernel dell'OS per avviare immagine", - "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5.":"Percentuale CPU diviso 100 richiesta per la VM. Mezzo processore viene ad esempio indicato con 0.5.", - "Permissions":"Permessi", - "Permits access to the VM only through the specified ports in the TCP protocol":"Permette accesso alla VM solo tramite le porte TCP specificate", - "Permits access to the VM only through the specified ports in the UDP protocol":"Permette accesso alla VM solo tramite le porte UDP specificate", - "Persistence of the image":"Persistenza immagine", - "Persistent":"Persistente", - "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory":"Il modo PAE consente ai guest 32-bit di utilizzare più di 4GB di memoria", - "Physical device":"Device fisico", - "Placement":"Posizionamento", - "Please choose":"Selezionare", - "Please, choose and modify the datastore you want to update":"Scegliere quale datastore modificare", - "Please, choose and modify the image you want to update":"Scegliere quale immagine modificare", - "Please, choose and modify the template you want to update":"Scegliere quale template modificare", - "Please, choose and modify the virtual machine you want to update":"Scegliere quale VM modificare", - "Please, choose and modify the virtual network you want to update":"Scegliere quale rete virtuale modificare", - "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk.":"Scegliere il percorso del file se disponete di una immagine/file. Altrimenti scegliere Sorgente o creare un datablock vuoto.", - "Please choose the new type of authentication for the selected users":"Scegli il tipo di autenticazione da usare per gli utenti selezionati", - "Please provide a lease IP":"Indicate un IP lease", - "Please provide a resource ID for the resource(s) in this rule":"Indicate un resource ID per le risorse in questa regola", - "Please select":"Selezionare", - "Please select a datastore for this image":"Selezionare un datastore per questa immagine", - "Please select at least one resource":"Selezionare almeno una risorsa", - "Please specify to who this ACL applies":"Indicare a chi si appplica questa ACL", - "Port":"Port", - "Port blacklist":"Port blacklist", - "Port for the VNC server":"Port per il server VNC", - "Port whitelist":"Port whitelist", - "Predefined":"Predefinito", - "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”).":"Prefisso del dispositivo emulato da montare. Ad esempio, “hd“ o “sd“. Se omesso, viene utilizzato il valore di default.", - "Previous action":"Azione precedente", - "Prolog time":"Tempo di Prolog", - "Provide a path":"Indicare un percorso", - "Provide a source":"Indicare una sorgente", - "PS2":"PS2", - "Public":"Pubblico", - "Quickstart":"Quickstart", - "Ranged network":"Ranged network", - "Rank":"Rank", - "Raw":"Raw", - "Raw data to be passed directly to the hypervisor":"Dati raw passati direttamente all'hypervisor", - "Read only":"Sola lettura", - "Reason":"Ragione", - "Reboot":"Reboot", - "Refresh list":"Aggiorna lista", - "Register time":"Register time", - "Registration time":"Registration time", - "release":"rilascia", - "Release":"Rilascia", - "Remove selected":"Rimuovi il selezionato", - "Request an specific IP from the Network":"Richiedi un IP specifico dalla Rete", - "Requirements":"Requisiti", - "Reset":"Reset", - "Resource ID":"ID risorsa", - "Resource ID / Owned by":"ID risorsa/proprietà di", - "Resource subset":"Sottoinsieme risorsa", - "Restart":"Restart", - "Resubmit":"Resubmit", - "Resume":"Resume", - "Retrieving":"Retrieving", - "Root":"Root", - "running":"in esecuzione", - "Running VMs":"VM in esecuzione", - "Running #VMS":"#VM in esecuzione", - "Russian":"Russo", - "Save":"Salva", - "Save as":"Salva come", - "Saveas for VM with ID":"Salva come per VM con ID", - "Save this image after shutting down the VM":"Salva questa immagine dopo aver spento la VM", - "Script":"Script", - "SCSI":"SCSI", - "SDL":"SDL", - "Secure websockets connection":"Connessione websocket sicura", - "Select a datastore":"Selezionare un datastore", - "Select a network":"Seleziona una rete", - "Select an image":"Seleziona una immagine", - "Select a template":"Seleziona un template", - "Select a VM":"Seleziona una VM", - "Select boot method":"Seleziona il metodo di boot", - "Select cluster":"Selezionare un cluster", - "Select disk":"Seleziona disco", - "Select template":"Seleziona template", - "Select the datastore for this image":"Selezionare un datastore per questa immagine", - "Select the destination cluster:":"Selezionare il cluster di destinazione", - "Select the new group":"Seleziona il nuovo gruppo", - "Select the new owner":"Seleziona il nuovo proprietario", - "Sequence":"Sequenza", - "Server (Cipher)":"Server (cifratura)", - "Server (x509)":"Server (x509)", - "Setup Networks":"Configurazione reti", - "Shared":"Condiviso", - "shared,ssh,iscsi,dummy":"condiviso,ssh,iscsi,dummy", - "Shutdown":"Shutdown", - "Sign out":"Logout", - "Size":"Dimensione", - "Size in MB":"Dimensione in MB", - "Size (Mb)":"Dimensione (MB)", - "Size of the datablock in MB.":"Dimensione del datablock in MB", - "Skipping VM ":"Skipping VM", - "Source":"Sorgente", - "Source to be used in the DISK attribute. Useful for not file-based images.":"Sorgente per attributo DISK. Utilizzato per immagini non basate su file.", - "Specific ID":"ID specifico", - "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:":"Image mapping driver specifico. KVM:raw, qcow2. XEN: tap:aio, file:", - "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported":"Image mapping driver specifico. KVM:raw, qcow2. XEN: tap:aio, file:. VMware non supportato.", - "SSH":"SSH", - "Start time":"Istante di avvio", - "Start Time":"Istante di avvio", - "State":"Stato", - "State change time":"Tempo di cambio stato", - "Status":"Status", - "Stop":"Stop", - "style":"stile", - "Submitted":"Inviato", - "Summary of infrastructure resources":"Sommario delle risorse di infrastruttura", - "Summary of resources":"Sommario risorse", - "Summary of system resources":"Sommario delle risorse di sistema", - "Summary of virtual resources":"Sommario delle risorse virtuali", - "Sunstone UI Configuration":"Configurazione UI Sunstone", - "Support":"Supporto", - "Suspend":"Suspend", - "Swap":"Swap", - "System":"Sistema", - "System Resources":"Risorse di sistema", - "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs.":"La gestione risorse di sistema risulta accessibile solo agli utenti del gruppo oneadmin. Include le funzioni su utenti, gruppi e ACL.", - "Tablet":"Tablet", - "Target":"Target", - "Tcp black ports":"Porte TCP in blacklist", - "Tcp firewall mode":"Modo firewall TCP", - "Tcp white ports":"Porte TCP in whitelist", - "Template":"Template", - "Template information":"Informazioni template", - "Templates":"Template", - "Template updated correctly":"Template modificato correttamente.", - "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well.":"Il menu infrastruttura consente la gestione dei nodi, datastore e reti virtuali. Gli utenti del gruppo oneadmin possono inoltre gestire i cluster.", - "There are mandatory fields missing in the capacity section":"Ci sono dei campi mancanti nella sezione capacità", - "There are mandatory fields missing in the OS Boot options section":"Ci sono dei campi mancanti nella sezione boot OS", - "There are mandatory parameters missing":"Ci sono dei campi obbligatori non compilati", - "There are mandatory parameters missing in this section":"Ci sono dei campi obbligatori non compilati in questa sezione", - "There are missing network parameters":"Ci sono parametri di rete mancanti", - "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and Images.":"Il menu Risorse Virtuali consente la gestione dei template delle macchine virtuali, delle istanze e delle immagini.", - "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others":"Questo campo indica quale attributo utilizzare per il posizionamento delle VM", - "This rule applies to":"Questa regola si applica a", - "This will cancel selected VMs":"Questo cancellerà le VM selezionate", - "This will change the main group of the selected users. Select the new group":"Questo cambierà il gruppo principale degli utenti selezionati. Scegli il nuovo gruppo", - "This will change the password for the selected users":"Questo cambierà la password degli utenti selezionati", - "This will delete the selected VMs from the database":"Questo cancellerà le VM selezionate dal database", - "This will deploy the selected VMs on the chosen host":"Questo effettuerà il deploy delle VM sul nodo selezionato", - "This will hold selected pending VMs from being deployed":"Questo tratterrà le VM impedendo il deploy", - "This will initiate the shutdown process in the selected VMs":"Questo inizierà lo shutdown dei processi nelle VM selezionate", - "This will live-migrate the selected VMs to the chosen host":"Questo effettuerà la live migration delle VM selezionate nel nodo scelto", - "This will migrate the selected VMs to the chosen host":"Questo effettuerà la migrazione delle VM selezionate nel nodo scelto", - "This will redeploy selected VMs (in UNKNOWN or BOOT state)":"Questo effettuerà il redeploy delle VM selezionate in stato UNKNOWN o BOOT", - "This will release held machines":"Questo rilascerà le macchine trattenute", - "This will resubmits VMs to PENDING state":"Questo effettuerà il resubmit delle VM in stato PENDING", - "This will resume selected stopped or suspended VMs":"Questo effettuerà il resume delle VM ferme o in sospensione", - "This will send a reboot action to running VMs":"Questo effettuerà il reboot delle VM in esecuzione", - "This will suspend selected machines":"Questo effettuerà il suspend delle macchine selezionate", - "TM Mad":"TM Mad", - "TM MAD":"TM MAD", - "total":"totale", - "Total Leases":"Totale lease", - "Total time":"Tempo totale", - "Total VM count":"Numero VM totale", - "Total VM CPU":"VM CPU totali", - "Total VM Memory":"Memoria VM totale", - "Transfer manager":"Transfer manager", - "Transfer Manager":"Transfer manager", - "Type":"Tipo", - "Type of disk device to emulate.":"Tipo del dispositivo disco da emulare", - "Type of disk device to emulate: ide, scsi":"Tipo del dispositivo disco da emulare: ide, scsi", - "Type of file system to be built. This can be any value understood by mkfs unix command.":"Tipo di filesystem da creare. Può essere qualsiasi valore riconosciuto dal comando unix mkfs.", - "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS).":"Tipo di immagine, indicato in dettaglio nella sezione sottostante. Default: OS", - "Udp black ports":"Porte UDP in blacklist", - "Udp firewall mode":"Modo firewall UDP", - "Udp white ports":"Porte UDP in whitelist", - "Unauthorized":"Non autorizzato", - "Update":"Modifica", - "Update a template":"Modifica un template", - "Update Datastore properties":"Modifica proprietà Datastore", - "Update image properties":"Modifica proprietà immagine", - "Update network properties":"Modifica proprietà di rete", - "Update properties":"Modifica proprietà", - "Update template":"Modifica template", - "Update template properties":"Modifica proprietà template", - "Update VM properties":"Modifica proprietà VM", - "Upload":"Carica", - "Upload file":"Carica file", - "Uploading...":"Caricamento...", - "USB":"USB", - "Use":"Usa", - "Used by VM":"Usato dalla VM", - "Used CPU":"CPU utilizzata", - "Used CPU (allocated)":"CPU utilizzata (allocata)", - "Used CPU (real)":"CPU utilizzata (reale)", - "Used Mem (allocated)":"Memoria utilizzata (allocata)", - "Used Memory":"Memoria utilizzata", - "Used Mem (real)":"Memoria utilizzata (reale)", - "Useful for power management, for example, normally required for graceful shutdown to work":"Utile per il power management - ad esempio necessario per lo shutdown", - "User":"Utente", - "User information":"Informazioni utente", - "Username":"Nome utente", - "User name and password must be filled in":"Nome utente e password devono essere indicate", - "Users":"Utenti", - "User template":"Template utente", - "Value":"Valore", - "Value of the context variable":"Valore della variabile di contesto", - "Value of the custom variable":"Valore della variabile custom", - "VCPU":"VCPU", - "Virtio":"Virtio", - "Virtio (KVM)":"Virtio (KVM)", - "Virtualization Manager":"Virtualization Manager", - "Virtual Machine information":"Informazioni sulla macchina virtuale", - "Virtual Machines":"Macchine virtuali", - "Virtual Network":"Rete virtuale", - "Virtual network information":"Informazioni sulla rete virtuale", - "Virtual Network information":"Informazioni sulla rete virtuale", - "Virtual Network name missing!":"Nome della rete virtuale mancante!", - "Virtual Networks":"Reti Virtuali", - "Virtual Network template (attributes)":"Template rete virtuale (attributi)", - "Virtual Resources":"Risorse virtuali", - "VLAN":"VLAN", - "VLAN ID":"ID VLAN", - "VM information":"Informazioni VM", - "VM Instance":"Istanza VM", - "VM Instances":"Istanze VM", - "VM log":"log VM", - "VM MAD":"VM MAD", - "VM Name":"Nome VM", - "VM Network stats":"Statistiche di rete VM", - "#VMS":"#VMS", - "VM Save As":"Salva la VM come", - "VM template":"template VM", - "VM Template":"Template VM", - "VM Templates":"Templates VM", - "VMware":"VMware", - "VNC":"VNC", - "VNC Access":"Accesso VNC", - "VNC connection":"Connessione VNC", - "VNC Disabled":"VNC disabilitato", - "VNC Session":"Sessione VNC", - "VN MAD":"VM MAD", - "Welcome":"Benvenuto", - "Wizard":"Wizard", - "Wizard KVM":"Wizard KVM", - "Wizard VMware":"Wizard VMware", - "Wizard XEN":"Wizard XEN", - "Write the image template here":"Scrivi il template immagine qui", - "Write the Virtual Machine template here":"Scrivi il template della macchina virtuale qui", - "Write the Virtual Network template here":"Scrivi il template della rete virtuale qui", - "x509":"x509", - "XEN":"XEN", - "Xen templates must specify a boot method":"I template Xen devono specificare un metodo di boot", - "yes":"si", - "Yes":"Si", - "You can find further information on the following links:":"Puoi trovare ulteriori informazioni ai seguenti collegamenti:", - "You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them":"Puoi usare la wildcard %i. Quando crei più VM, %i sarà sostituito con un numero differente partendo da 0 in ognuna di esse", - "You have not selected a template":"Non hai selezionato un template.", - "You have to confirm this action.":"Devi confermare questa azione.", - "You need to select something.":"Devi selezionare qualcosa.", -}; diff --git a/src/sunstone/public/locale/pt_PT/pt_PT.js b/src/sunstone/public/locale/pt_PT/pt_PT.js deleted file mode 100644 index 00425f4ff1..0000000000 --- a/src/sunstone/public/locale/pt_PT/pt_PT.js +++ /dev/null @@ -1,574 +0,0 @@ -//Translated by André Monteiro -lang="pt_PT" -datatable_lang="pt_datatable.txt" -locale={ - "802.1Q":"802.1Q", - "Accept (default)":"Aceitar (por omissão)", - "ACL":"ACL", - "ACL Rules":"Regras ACL", - "ACLs":"ACLs", - "ACL String preview":"Pré-visualização do texto ACL", - "ACPI":"ACPI", - "Add":"Adicionar", - "Add context variables":"Adicionar variáveis de contexto", - "Add custom variables":"Adicionar variáveis personalizáveis", - "Add disk/image":"Adicionar disco/imagem", - "Add disks/images":"Adicionar discos/imagens", - "Add Graphics":"Adicionar gráficas", - "Add Hypervisor raw options":"Adicionar opções raw do Hipervisor", - "Add inputs":"Adicionar entradas", - "Add lease":"Adicionar alocação", - "Add network":"Adicionar rede", - "Add placement options":"Adicionar opções de colocação", - "Admin":"Admin", - "Administrate":"Administrar", - "Advanced mode":"Modo avançado", - "Affected resources":"Recursos afectados", - "All":"Tudo", - "Allowed operations":"Operações permitidas", - "Amount of RAM required for the VM, in Megabytes.":"Quantidade de RAM necessária para a VM, em Megabytes.", - "Applies to":"Aplica-se a", - "Architecture":"Arquitectura", - "are mandatory":"são obrigatórios", - "Arguments for the booting kernel":"Argumentos para arranque do kernel", - "Authentication":"Autenticação", - "Authentication driver":"Driver de autenticação", - "Base path":"Caminho base", - "Block":"Bloquear", - "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM":"Expressões boleanas que excluam hosts de provisionamento da lista de máquinas para correr esta VM", - "Boot":"Boot", - "Boot device type":"Tipo de dispositivo de arranque", - "Bootloader":"Bootloader", - "Boot method":"Método de arranque", - "Boot/OS options":"Opções de arranque/SO", - "Bridge":"Bridge", - "Bus":"Bus", - "Cancel":"Cancelar", - "Cannot contact server: is it running and reachable?":"Não é possível contactar o servidor está a correr ou comunicável?", - "Canvas not supported.":"Canvas não suportado.", - "Capacity":"Capacidade", - "Capacity options":"Opções de capacidade", - "cdrom":"cdrom", - "CD-ROM":"CD-ROM", - "Change":"Alterar", - "Change authentication":"Alterar autenticação", - "Change group":"Alterar grupo", - "Change owner":"Alterar dono", - "Change password":"Alterar palavra-passe", - "Change password successful":"Alteração de palavra-passe bem sucedida", - "Changing language":"A alterar língua", - "Clone":"Clonar", - "Clone this image":"Clonar esta imagem", - "Cluster":"Cluster", - "Cluster information":"Informação do Cluster", - "Cluster name missing!":"Falta o nome do Cluster!", - "Clusters":"Clusters", - "Community":"Comunidade", - "Configuration":"Configuração", - "Confirmation of action":"Confirmação da acção", - "Context":"Contexto", - "Context variable name and value must be filled in":"A variável de contexto e valor devem ser preenchidos", - "Core":"Core", - "CPU":"CPU", - "CPU architecture to virtualization":"Arquitectura CPU para virtualização", - "CPU Monitoring information":"Informação de monitorização do CPU", - "CPU Use":"Utilização de CPU", - "Create":"Criar", - "Create ACL":"Criar ACL", - "Create an empty datablock":"Criar bloco de dados vazio", - "Create cluster":"Criar cluster", - "Create Datastore":"Criar Datastore", - "Create group":"Criar grupo", - "Create host":"Criar host", - "Create Image":"Criar imagem", - "Create new":"Criar novo", - "Create new ACL":"Criar novo ACL", - "Create new Cluster":"Criar novo Cluster", - "Create new datastore":"Criar novo datastore", - "Create new Datastore":"Criar novo Datastore", - "Create new Group":"Criar novo Grupo", - "Create new host":"Criar novo host", - "Create new Host":"Criar novo Host", - "Create new Image":"Criar nova imagem", - "Create new User":"Criar novo Utilizador", - "Create new Virtual Machine":"Criar nova Máquina Virtual VM", - "Create new virtual network":"Criar nova rede virtual", - "Create new Virtual Network":"Criar nova Rede Virtual", - "Create new VM Template":"Criar novo Modelo de VM", - "Create user":"Criar utilizador", - "Create Virtual Machine":"Criar Máquina Virtual VM", - "Create Virtual Network":"Criar Rede Virtual", - "Create VM Template":"Criar Modelo de VM", - "Current disks":"Discos actuais", - "Current inputs":"Entradas actuais", - "Current leases":"Alocações actuais", - "Current NICs":"NICs actuais", - "Current number of datastores in this cluster":"Número actual de datastores neste cluster", - "Current number of hosts in this cluster":"Número actual de hosts neste cluster", - "Current number of virtual networks in this cluster":"Número actual de redes virtuais neste cluster", - "Current variables":"Variáveis actuais", - "Custom attribute name and value must be filled in":"O nome do atributo personalizável e o valor devem ser preenchidos", - "Custom attributes":"Atributos personalizáveis", - "Custom variable name and value must be filled in":"O nome do atributo personalizável e o valor devem ser preenchidos", - "Custom variables":"Atributos personalizáveis", - "Dashboard":"Dashboard", - "Data":"Dados", - "Datablock":"Datablock", - "Datastore":"Datastore", - "Datastore information":"Informação da Datastore", - "Datastore manager":"Gestor da Datastore", - "Datastores":"Datastores", - "Datastore template":"Modelo de Datastore", - "Datastore Template":"Modelo de Datastore", - "Datastore updated correctly":"Datastore actualizada correctamente", - "Default":"Por omissão", - "Default (current image type)":"Por omissão (tipo de imagem actual)", - "Default (dummy)":"Por omissão (dummy)", - "Defaults to template name when emtpy":"Nome do modelo por omissão, quando vazio", - "Define a subnet by IP range":"Defina uma subrede por intervalo IP", - "Delete":"Apagar", - "Delete host":"Apagar host", - "Deploy":"Lançar", - "Deploy ID":"ID de lançamento", - "Deploy # VMs":"Lançar # VMs", - "Description":"Descrição", - "Device prefix":"Prefixo do dispositivo", - "Device to be mounted as root":"Dispositivo a ser montado como root", - "Device to map image disk. If set, it will overwrite the default device mapping":"Dispositivo para mapear imagem do disco. Se definido, vai sobrepôr-se ao mapeamento por omissão.", - "Disable":"Desactivar", - "disabled":"desactivado", - "Disallow access to the VM through the specified ports in the TCP protocol":"Inibir acesso à VM através dos portos especificados do protocolo TCP", - "Disallow access to the VM through the specified ports in the UDP protocol":"Inibir acesso à VM através dos portos especificados do protocolo UDP", - "Disk":"Disco", - "Disk file location path or URL":"Localização do ficheiro de disco ou URL", - "disk id":"id de disco", - "Disks":"Discos", - "Disk type":"Tipo de disco", - "Documentation":"Documentação", - "Do you want to proceed?":"Deseja continuar?", - "Driver":"Driver", - "Driver default":"Driver por omissão", - "Drivers":"Drivers", - "Drop":"Apagar", - "DS Mad":"DS Mad", - "Dummy":"Dummy", - "EC2":"EC2", - "Enable":"Activar", - "English":"English", - "Error":"Erro", - "Etables":"Etables", - "failed":"falhou", - "fd":"fd", - "Features":"Funcionalidades", - "Fields marked with":"Campos marcados com", - "File":"Ficheiro", - "Filesystem":"Sistema de ficheiros", - "Filesystem type":"Tipo de sistema de ficheiros", - "Filesystem type for the fs images":"Tipo de sistema de ficheiros para a imagem fs", - "Fill in a new password":"Preencha de novo a palavra-passe", - "Fixed network":"Rede fixa", - "Floppy":"Disquete", - "Fold / Unfold all sections":"Expandir / Colapsar todas as secções", - "Format":"Formatar", - "FS":"FS", - "FS type":"Tipo de FS", - "Graphics":"Graphicos", - "Graphics type":"Tipo de gráficos", - "Group":"Grupo", - "Group ":"Grupo ", - "Group name":"Nome do grupo", - "Groups":"Grupos", - "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif.":"Hardware que vai emular esta interface de rede interface. Com Xen, este é um tipo de atributo do vif.", - "hd":"hd", - "Historical monitoring information":"Histórico de informação de monitorização", - "History information":"Histórico de informação", - "hold":"pausar", - "Hold":"Pausa", - "Hold lease":"Pausar alocação", - "Host":"Host", - "Host information":"Informação do host", - "Hostname":"Nome do host", - "Host name missing!":"Nome do host em falta!", - "Host parameters":"Parâmetros do host", - "Hosts":"Hosts", - "Hosts CPU":"CPU dos hosts", - "Host shares":"Partilhas dos hosts", - "Hosts memory":"Memória dos hosts", - "Hosts (total/active)":"Hosts (total/activos)", - "Host template":"Modelo de host", - "Human readable description of the image for other users.":"Descrição legível da imagem por outros utilizadors.", - "HW address associated with the network interface":"Endereço HW associado à interface de rede", - "Icmp":"Icmp", - "ICMP policy":"Política ICMP", - "id":"id", - "ID":"ID", - "IDE":"IDE", - "Image":"imagem", - "Image information":"Informação da imagem", - "Image location":"Localização da imagem", - "Image name":"Nome da imagem", - "Images":"imagens", - "Image template":"Modelo da imagem", - "Image updated correctly":"Imagem actualizada correctamente", - "IM MAD":"IM MAD", - "Info":"Info", - "information":"informação", - "Information":"Informação", - "Information Manager":"Gestor de informação", - "Infrastructure":"Infraestrutura", - "Infrastructure resources":"Recursos da infraestrutura", - "Initrd":"Initrd", - "Inputs":"entradas", - "Instantiate":"Instanciar", - "IP":"IP", - "IP End":"IP Final", - "IPs":"IPs", - "IP Start":"IP Inicial", - "IP to listen on":"IP a escutar", - "iSCSI":"iSCSI", - "Italian":"Italian", - "Kernel":"Kernel", - "Kernel commands":"Comandos do kernel", - "Keyboard configuration locale to use in the VNC display":"Configuração local do teclado a usar na visualização VNC", - "Keymap":"Mapeamento do teclado", - "KVM":"KVM", - "Language":"Língua", - "LCM State":"Estado LCM", - "Lease IP":"Alocação IP", - "Lease MAC (opt):":"Alocação MAC (opcional):", - "Lease management":"Gestão de alocação", - "Leases information":"Informação de alocação", - "Listen IP":"IP a escutar", - "Live migrate":"Migração em tempo real", - "Loading":"A carregar", - "Loading new language... please wait":"A carregar nova língua... por favor aguarde", - "MAC":"MAC", - "Make non persistent":"Tornar não persistente", - "Make persistent":"Tornar persistente", - "Manage":"Gerir", - "Manage cluster datastores":"Gerir datastores do cluster", - "Manage cluster hosts":"Gerir hosts", - "Manage cluster virtual networks":"Gerir redes virtuais do cluster", - "Manage unclustered datastores":"Gerir datastores sem cluster", - "Manage unclustered hosts":"Gerir hosts sem cluster", - "Manage unclustered virtual networks":"Gerir redes virtuais sem cluster", - "Manual":"Manual", - "Max Mem":"Mem Máx", - "Memory":"Memória", - "Memory monitoring information":"Informação de monitorização de memória", - "Memory use":"Uso de memória", - "Migrate":"Migrar", - "Model":"Modelo", - "Monitoring information":"Informação de monitorização", - "Mount image as read-only":"Montar imagem como só com permissões de leitura", - "Mouse":"Rato", - "Name":"Nome", - "Name for the context variable":"Nome da variável de contexto", - "Name for the custom variable":"Nome da variável personalizada", - "Name for the tun device created for the VM":"Nome do dispositivo criado para a VM", - "Name of a shell script to be executed after creating the tun device for the VM":"Nome do script da linha de comandos a ser executado depois da criação do dispositovo para a VM", - "Name of the bridge the network device is going to be attached to":"Nome da bridge do dispositivo de rede ao qual vai ser associado", - "Name of the image to use":"Nome da imagem a ser usada", - "Name of the network to attach this device":"Nome da rede a associar ao dispositivo", - "Name that the Image will get. Every image must have a unique name.":"Nome que a imagem vai ter. Cada imagem te que ter um nome único.", - "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>.":"Nome da VM na descrição. Se o NOME não for indicado, um nome irá ser gerado pelo ONE na forma one-<VID>.", - "Net_RX":"Net_RX", - "Net_TX":"Net_TX", - "network":"rede", - "Network":"Rede", - "Network Address":"Enderaço de rede", - "Network is unreachable: is OpenNebula running?":"A rede está inalcançável: o OpenNebula está a correr?", - "Network mask":"Máscara de rede", - "Network Mask":"Máscara de Rede", - "Network mode":"Modo de rede", - "Network reception":"Recepção de rede", - "Network transmission":"Transmissão de rede", - "Network type":"Tipo de rede", - "+ New":"+ Novo", - "+ New Group":"+ Novo Grupo", - "New password":"Nova palavra-passe", - "No":"Não", - "No datastores in this cluster":"Não há datastores neste cluster", - "No disk id or image name specified":"ID de disco id ou nome da imagem não especificados", - "No disks defined":"Não há discos definidos", - "No hosts in this cluster":"Não há hosts neste cluster", - "No leases to show":"Não há alocações a mostrar", - "None":"Nenhum", - "No virtual networks in this cluster":"Não há redes virtuis neste cluster", - "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU.":"Número de CPUs virtuais. Este valor é opcional, sendo usado o valor por omissão do hipervisor, normalmente 1 CPU virtual.", - "OK":"OK", - "Open VNC Session":"Abrir Sessão VNC", - "Open vSwitch":"Abrir vSwitch", - "Optional, please select":"Opcional, por favor escolha", - "OS":"SO", - "OS and Boot options":"SO e opções de arranque", - "Other":"Outros", - "Owned by group":"Pertencente ao grupo", - "Owner":"Dono", - "PAE":"PAE", - "Password":"Palavra-passe", - "Password for the VNC server":"Palavra-passe para os ervidor VNC", - "Path":"Caminho", - "Path to the bootloader executable":"Caminho para o executável bootloader", - "Path to the initrd image":"Caminho para a imagem initrd", - "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created.":"Caminho para o ficheiro original que vai ser copiado para o repositório de imagens. Se não especificado para um tipo de imagem DATABLOCK, uma imagem vazia será criada.", - "Path to the OS kernel to boot the image":"Caminho para o kernel do SO para arrancar a imagem", - "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5.":"Percentagem de CPU dividida por 100 necessária para a Máquina Virtual VM. Metade de um processador escreve-se 0.5.", - "Permissions":"Permissões", - "Permits access to the VM only through the specified ports in the TCP protocol":"Permite o acesso à VM através dos portos especificados do protocolo TCP", - "Permits access to the VM only through the specified ports in the UDP protocol":"Permits o acesso à VM através dos portos especificados do protocolo UDP", - "Persistence of the image":"Persistência da imagem", - "Persistent":"Persistente", - "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory":"O modo de extensão de endereço físico permite a guests de 32-bit alocar mais do que 4GB de memória", - "Physical device":"Dispositivo físico", - "Placement":"Colocação", - "Please choose":"Por favor seleccione", - "Please, choose and modify the datastore you want to update":"Por favor, seleccione e modifique a datastore que quer actualizar", - "Please, choose and modify the image you want to update":"Por favor, seleccione e modifique a imagem que quer actualizar", - "Please, choose and modify the template you want to update":"Por favor, seleccione e modifique o modelo que quer actualizar", - "Please, choose and modify the virtual machine you want to update":"Por favor, seleccione e modifique a máquina virtual que quer actualizar", - "Please, choose and modify the virtual network you want to update":"Por favor, seleccione e modifique a rede virtual que quer actualizar", - "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk.":"Por favor seleccione o caminho se tiver uma image de ficheiro. Seleccione a fonte caso contrário ou crie um disco bloco de dados vazio.", - "Please choose the new type of authentication for the selected users":"Por favor seleccione the novo tipo de autenticação para os utilizadores seleccionados", - "Please provide a lease IP":"Por favor insira a alocação IP", - "Please provide a resource ID for the resource(s) in this rule":"Por favor insira o ID de recurso para os recurso(s) nesta regra", - "Please select":"Por favor seleccione", - "Please select a datastore for this image":"Por favor seleccione a datastore para esta imagem", - "Please select at least one resource":"Por favor seleccione pelo menos um recurso", - "Please specify to who this ACL applies":"Por favor especifique a quem se aplica este ACL", - "Port":"Porto", - "Port blacklist":"Lista negra de portos", - "Port for the VNC server":"Porto para o servidor VNC", - "Port whitelist":"Lista verde de portos", - "Predefined":"Pré-definido", - "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”).":"Prefixp para o dispositivo emulado com esta imagem. Por exemplo, “hd”, “sd”. Se omitido, o valor por omissão é o definido em oned.conf (instalação por omissão é “hd”).", - "Previous action":"Acção anterior", - "Prolog time":"Tempo de prolog", - "Provide a path":"Indique um caminho", - "Provide a source":"Indique uma fonte", - "PS2":"PS2", - "Public":"Público", - "Quickstart":"Início rápido", - "Ranged network":"Rede com limite de intervalo", - "Rank":"Posição", - "Raw":"Raw", - "Raw data to be passed directly to the hypervisor":"Dados raw a serem passados directamente ao hipervisor", - "Read only":"Só de leitura", - "Reason":"Razão", - "Reboot":"Reiniciar", - "Refresh list":"Actualizar lista", - "Register time":"Registar tempo", - "Registration time":"Registo de tempo", - "release":"libertar", - "Release":"Libertar", - "Remove selected":"Remover seleccionado", - "Request an specific IP from the Network":"Pedir um IP específico de rede", - "Requirements":"Rquisitos", - "Reset":"Reset", - "Resource ID":"ID do recurso", - "Resource ID / Owned by":"ID do recurso / Pertencente a", - "Resource subset":"Subconjunto do recurso", - "Restart":"Reiniciar", - "Resubmit":"Resubmeter", - "Resume":"Continuar", - "Retrieving":"A obter", - "Root":"Root", - "running":"A correr", - "Running VMs":"VMs a correr", - "Running #VMS":"#VMS a correr", - "Russian":"Russian", - "Save":"Guardar", - "Save as":"Guardar como", - "Saveas for VM with ID":"Guardar como para VM com ID", - "Save this image after shutting down the VM":"Guardar esta imagem depois de desligar a VM", - "Script":"Script", - "SCSI":"SCSI", - "SDL":"SDL", - "Secure websockets connection":"Ligação segura de websockets", - "Select a datastore":"Seleccionar a datastore", - "Select a network":"Seleccionar a rede", - "Select an image":"Seleccionar a imagem", - "Select a template":"Seleccionar o modelo", - "Select a VM":"Seleccionar a VM", - "Select boot method":"Seleccionar o método de arranque", - "Select cluster":"Seleccionar cluster", - "Select disk":"Seleccionar disco", - "Select template":"Seleccionar modelo", - "Select the datastore for this image":"Seleccione a datastore para este imagem", - "Select the destination cluster:":"Seleccione o cluster de destino:", - "Select the new group":"Seleccione o novo grupo", - "Select the new owner":"Seleccione o novo dono", - "Sequence":"Sequência", - "Server (Cipher)":"Servidor (Cipher)", - "Server (x509)":"Servidor (x509)", - "Setup Networks":"Configuração de redes", - "Shared":"Shared", - "shared,ssh,iscsi,dummy":"shared,ssh,iscsi,dummy", - "Shutdown":"Desligar", - "Sign out":"Terminar sessão", - "Size":"Tamanho", - "Size in MB":"Tamanho in MB", - "Size (Mb)":"Tamanho (Mb)", - "Size of the datablock in MB.":"Tamanho do bloco de dados em MB.", - "Skipping VM ":"A saltar VM ", - "Source":"Fonte", - "Source to be used in the DISK attribute. Useful for not file-based images.":"A fonte deve ser usada no atributo de disco. Útil para as imagens não baseadas em fichieiros.", - "Specific ID":"ID específico", - "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:":"Driver de mapeamento específico de imagem. KVM: raw, qcow2. XEN: tap:aio, file:", - "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported":"Driver de mapeamento específico de imagem. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware não suportado", - "SSH":"SSH", - "Start time":"Hora de início", - "Start Time":"Hora de Início", - "State":"Estado", - "State change time":"Hora de alteração de estado", - "Status":"Estado", - "Stop":"Parar", - "style":"estilo", - "Submitted":"Submetido", - "Summary of infrastructure resources":"Sumário dos recursos da nfrastructura", - "Summary of resources":"Sumário dos recursos", - "Summary of system resources":"Sumário recursos do sistema", - "Summary of virtual resources":"Sumário recursos virtuais", - "Sunstone UI Configuration":"Configuração da Sunstone UI ", - "Support":"Suporte", - "Suspend":"Suspender", - "Swap":"Substituir", - "System":"Sistema", - "System Resources":"Recursos do sistema", - "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs.":"A gestão de recursos do sistema só está acessível a utilizadores do grupo oneadmin. Inclui as operações respeitantes a gripos, utilizadores e ACLs.", - "Tablet":"Tablet", - "Target":"Alvo", - "Tcp black ports":"Portos bloqueados Tcp", - "Tcp firewall mode":"Modo de firewall Tcp", - "Tcp white ports":"Portos abertos Tcp", - "Template":"Modelo", - "Template information":"Informação de modelo", - "Templates":"Modelos", - "Template updated correctly":"Modelo actualizado correctamente", - "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well.":"O menu Infrastructura permite a gestão de Hosts, Datastores, e Redes Virtuais. Utilizadors no grupo oneadmin podem gerir clusters também.", - "There are mandatory fields missing in the capacity section":"Há campos obrigatórios em falta na secção secção capacidade", - "There are mandatory fields missing in the OS Boot options section":"Há campos obrigatórios em falta na secção arranque do SO", - "There are mandatory parameters missing":"Há campos obrigatórios em falta", - "There are mandatory parameters missing in this section":"Há campos obrigatórios em falta nesta secção", - "There are missing network parameters":"Há parâmetros de rede em falta", - "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and Images.":"O menu de Recursos Virtuais permite a gestão de Modelos de VM, instâncias e imagens.", - "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others":"Este campo define qual atributo irá ser usado para ordenar os hosts indicados para esta VM. Basicamente, define que hosts são mais indicados que outros", - "This rule applies to":"Esta regra aplica-se a", - "This will cancel selected VMs":"Isto vai cancelar selected VMs", - "This will change the main group of the selected users. Select the new group":"Isto vai alterar the main grupo of the selected utilizadors. Seleccione the novo grupo", - "This will change the password for the selected users":"Isto vai alterar the palavra-passe for the selected utilizadors", - "This will delete the selected VMs from the database":"Isto vai apagar the selected VMs from the database", - "This will deploy the selected VMs on the chosen host":"Isto vai lançar as VMs seleccionadas no host escolhido", - "This will hold selected pending VMs from being deployed":"Isto vai pausar as VMs pendentes à espera de serem lançadas", - "This will initiate the shutdown process in the selected VMs":"Isto vai iniciar o processo de encerramento nas VMs seleccionadas", - "This will live-migrate the selected VMs to the chosen host":"Isto vai migrar em tempo real as VMs seleccionadas para o host seleccionado", - "This will migrate the selected VMs to the chosen host":"Isto vai migrar as VMs seleccionadas para o host seleccionado", - "This will redeploy selected VMs (in UNKNOWN or BOOT state)":"Isto vai relançar as VMs seleccionadas (em estado UNKNOWN ou BOOT)", - "This will release held machines":"Isto vai libertar as máquinas pausadas", - "This will resubmits VMs to PENDING state":"Isto vai resubmeter VMs para o estado PENDING", - "This will resume selected stopped or suspended VMs":"Isto vai continuar VMs seleccionadas, paradas ou suspensas", - "This will send a reboot action to running VMs":"Isto vai enviar a acção de encerramento às VMs em execução", - "This will suspend selected machines":"Isto vai suspender as VMs seleccionadas", - "TM Mad":"TM Mad", - "TM MAD":"TM MAD", - "total":"total", - "Total Leases":"Alocações totais", - "Total time":"Tempo total", - "Total VM count":"Contagem total de VM", - "Total VM CPU":"CPU Total VM ", - "Total VM Memory":"Memória Total VM", - "Transfer manager":"Gestão de transferência", - "Transfer Manager":"Gestão de Transferência", - "Type":"Tipo", - "Type of disk device to emulate.":"Tipo de dispositivo de disco a emular.", - "Type of disk device to emulate: ide, scsi":"Tipo de dispositivo de disco a emular: ide, scsi", - "Type of file system to be built. This can be any value understood by mkfs unix command.":"Tipo de sistema de ficheiros a contruir. Este pode ser qualquer valor compreendido pelo comando Unix mkfs.", - "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS).":"Tipo de imagem, explicado em detalhe na secção seguinte. Se omitido, o valor por omissão é o valor definido em oned.conf (instalação por omissão é SO).", - "Udp black ports":"Portos bloqueados Udp", - "Udp firewall mode":"Modo de firewall Udp", - "Udp white ports":"Portos abertos Udp", - "Unauthorized":"Não autorizado", - "Update":"Actualizar", - "Update a template":"Actualizar o modelo", - "Update Datastore properties":"Actualizar as propriedades Datastore", - "Update image properties":"Actualizar propriedades da imagem", - "Update network properties":"Actualizar propriedades de rede", - "Update properties":"Actualizar propriedades", - "Update template":"Actualizar modelo", - "Update template properties":"Actualizar propriedades de modelo", - "Update VM properties":"Actualizar propriedades de VM", - "Upload":"Enviar", - "Upload file":"Enviar ficheiro", - "Uploading...":"A enviar...", - "USB":"USB", - "Use":"Utilização", - "Used by VM":"Utilizado pela VM", - "Used CPU":"CPU utilizado", - "Used CPU (allocated)":"Used CPU utilizado(alocado)", - "Used CPU (real)":"Used CPU utilizado(real)", - "Used Mem (allocated)":"Memória utilizada(alocada)", - "Used Memory":"Memória utilizada", - "Used Mem (real)":"Memória utilizada(real)", - "Useful for power management, for example, normally required for graceful shutdown to work":"Útil para gestão de energia, por exemplo, normalmente necessário para um encerramento normal funcionar", - "User":"Utilizador", - "User information":"Informação de utilizador", - "Username":"Nome de utilizador", - "User name and password must be filled in":"O nome de utilizador e a palavra-passe devem ser preenchidos", - "Users":"Utilizadores", - "User template":"Modelo de utilizadores", - "Value":"Valor", - "Value of the context variable":"Valor da variável de contexto", - "Value of the custom variable":"Valor variável personalizada", - "VCPU":"VCPU", - "Virtio":"Virtio", - "Virtio (KVM)":"Virtio (KVM)", - "Virtualization Manager":"Gestão de Virtualização", - "Virtual Machine information":"Informação de VM", - "Virtual Machines":"Máquinas Virtuais", - "Virtual Network":"Rede virtual", - "Virtual network information":"Informação da rede virtual", - "Virtual Network information":"Informação da rede virtual", - "Virtual Network name missing!":"Falta preencher o nome da rede virutal!", - "Virtual Networks":"Redes virtuais", - "Virtual Network template (attributes)":"Modelo de rede virtual (atributos)", - "Virtual Resources":"Recursos virtuais", - "VLAN":"VLAN", - "VLAN ID":"ID VLAN", - "VM information":"Informação VM", - "VM Instance":"Instância VM", - "VM Instances":"Instâncias VM", - "VM log":"Log VM", - "VM MAD":"VM MAD", - "VM Name":"Nome VM", - "VM Network stats":"Estatística de rede VM", - "#VMS":"#VMS", - "VM Save As":"Guardar como VM", - "VM template":"modelo de VM", - "VM Template":"Modelo de VM", - "VM Templates":"Modelos de VM", - "VMware":"VMware", - "VNC":"VNC", - "VNC Access":"Acesso VNC", - "VNC connection":"Ligação VNC", - "VNC Disabled":"VNC desactivado", - "VNC Session":"Sessão VNC", - "VN MAD":"VN MAD", - "Welcome":"Bem-vindo", - "Wizard":"Assistente", - "Wizard KVM":"Assistente KVM", - "Wizard VMware":"Assistente VMware", - "Wizard XEN":"Assistente XEN", - "Write the image template here":"Introduza o modelo de imagem aqui", - "Write the Virtual Machine template here":"Introduza o modelo de VM aqui", - "Write the Virtual Network template here":"Introduza o modelo de rede virtual aqui", - "x509":"x509", - "XEN":"XEN", - "Xen templates must specify a boot method":"Os modelos Xen têm que especificar um método de arranque", - "yes":"sim", - "Yes":"Sim", - "You can find further information on the following links:":"Pode encontrar mais informação nas ligações seguintes:", - "You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them":"Pode usar o asterisco %i. Aquando da criação de várias VMs, i% será substituído por um número diferente a começar por 0 em cada uma delas", - "You have not selected a template":"Não seleccionou um modelo", - "You have to confirm this action.":"É necessário confirmar esta acção.", - "You need to select something.":"É necessário seleccionar alguma opção", -}; \ No newline at end of file diff --git a/src/sunstone/public/locale/ru/ru.js b/src/sunstone/public/locale/ru/ru.js deleted file mode 100644 index ba719428a4..0000000000 --- a/src/sunstone/public/locale/ru/ru.js +++ /dev/null @@ -1,575 +0,0 @@ -//Translated by CJSC "VIVOSS and OI", 2011 -//Переведено ЗАО «ВИВОСС и ОИ», 2011 -lang="ru" -datatable_lang="ru_datatable.txt" -locale={ - "802.1Q":"", - "Accept (default)":"Принять (по умолчанию)", - "ACL":"", - "ACL Rules":"Правила контроля доступа", - "ACLs":"Списки контроля", - "ACL String preview":"Строка, задающая правило", - "ACPI":"ACPI", - "Add":"Добавить", - "Add context variables":"Добавить контекстные переменные", - "Add custom variables":"Добавить пользовательские переменные", - "Add disk/image":"Добавить диск/образ", - "Add disks/images":"Добавить диски/образы", - "Add Graphics":"Добавить средства графического доступа", - "Add Hypervisor raw options":"Добавить исходные опции гипервизора", - "Add inputs":"Добавить устройства ввода", - "Add lease":"Добавить адрес", - "Add network":"Добавить сеть", - "Add placement options":"Добавить опции размещения", - "Admin":"Администрирование", - "Administrate":"Администрирование", - "Advanced mode":"Расширенный режим", - "Affected resources":"Затрагиваемые ресурсы", - "All":"Все", - "Allowed operations":"Разрешенные действия", - "Amount of RAM required for the VM, in Megabytes.":"Объем ОЗУ (в МБ), необходимый для ВМ.", - "Applies to":"Применено к", - "Architecture":"Архитектура", - "are mandatory":", обязательны к заполнению", - "Arguments for the booting kernel":"Параметры для загрузки ядра", - "Authentication":"Способ аутентификации", - "Authentication driver":"Драйвер аутентификации", - "Base path":"", - "Block":"Block", - "Boolean expression that rules out provisioning hosts from list of machines suitable to run this VM":"Логическое выражение, исключающее элементы из списка узлов, подходящих для запуска данной ВМ", - "Boot":"Загрузка", - "Boot device type":"Тип устройства загрузки", - "Bootloader":"Загрузчик", - "Boot method":"Метод загрузки", - "Boot/OS options":"Загрузка и тип ОС", - "Bridge":"Шлюз", - "Bus":"Тип шины", - "Cancel":"Отменить", - "Cannot contact server: is it running and reachable?":"Не удается установить соединение с сервером. Проверьте его доступность и/или удостоверьтесь в том, что он запущен.", - "Canvas not supported.":"Canvas не поддерживается.", - "Capacity":"Производительность", - "Capacity options":"Настройки производительности", - "cdrom":"cdrom", - "CD-ROM":"CD-ROM", - "Change":"Сменить", - "Change authentication":"Сменить способ аутентификации", - "Change group":"Сменить группу", - "Change owner":"Сменить владельца", - "Change password":"Сменить пароль", - "Change password successful":"", - "Changing language":"Смена языка интерфейса", - "Clone":"Клонировать", - "Clone this image":"Клонировать образ", - "Cluster":"", - "Cluster information":"", - "Cluster name missing!":"", - "Clusters":"", - "Community":"Сообщество OpenNebula", - "Configuration":"Интерфейс", - "Confirmation of action":"Смена значения", - "Context":"Контекст", - "Context variable name and value must be filled in":"Поля «Имя переменной» и «Значение» должны быть заполнены", - "Core":"Core", - "CPU":"ЦП", - "CPU architecture to virtualization":"Архитектура ЦП для виртуализации", - "CPU Monitoring information":"Мониторинг ЦП", - "CPU Use":"Использование ЦП", - "Create":"Создать", - "Create ACL":"Создать правило контроля", - "Create an empty datablock":"Создать пустой блок данных", - "Create cluster":"", - "Create Datastore":"", - "Create group":"Создать группу", - "Create host":"Укажите параметры нового узла", - "Create Image":"Укажите параметры нового образа", - "Create new":"", - "Create new ACL":"", - "Create new Cluster":"", - "Create new datastore":"", - "Create new Datastore":"", - "Create new Group":"", - "Create new host":"", - "Create new Host":"", - "Create new Image":"", - "Create new User":"", - "Create new Virtual Machine":"", - "Create new virtual network":"", - "Create new Virtual Network":"", - "Create new VM Template":"", - "Create user":"Укажите данные для нового пользователя", - "Create Virtual Machine":"Укажите параметры виртуальной машины", - "Create Virtual Network":"Укажите параметры виртуальной сети", - "Create VM Template":"Укажите параметры шаблона ВМ", - "Current disks":"Используемые диски", - "Current inputs":"Используемые устройства ввода", - "Current leases":"Адреса виртуальной сети", - "Current NICs":"Используемые контроллеры сетевого интерфейса", - "Current number of datastores in this cluster":"", - "Current number of hosts in this cluster":"", - "Current number of virtual networks in this cluster":"", - "Current variables":"Используемые переменные", - "Custom attribute name and value must be filled in":"Поля названия и значения пользовательского атрибута обязательны к заполнению", - "Custom attributes":"Пользовательские атрибуты", - "Custom variable name and value must be filled in":"Поля «Имя переменной» и «Значение» должны быть заполнены", - "Custom variables":"Пользовательские переменные", - "Dashboard":"Инф. панель", - "Data":"Данные", - "Datablock":"Блок данных", - "Datastore":"", - "Datastore information":"", - "Datastore manager":"", - "Datastores":"", - "Datastore template":"", - "Datastore Template":"", - "Datastore updated correctly":"", - "Default":"По умолчанию", - "Default (current image type)":"По умолчанию (текущий тип образа)", - "Default (dummy)":"По умолчанию (заглушка)", - "Defaults to template name when emtpy":"", - "Define a subnet by IP range":"Указать диапазон адресов", - "Delete":"Удалить", - "Delete host":"Удалить узел", - "Deploy":"Разместить на узле", - "Deploy ID":"№ размещения", - "Deploy # VMs":"Кол-во ВМ", - "Description":"Описание", - "Device prefix":"Префикс устройства", - "Device to be mounted as root":"Устройство, монтируемое как корневое", - "Device to map image disk. If set, it will overwrite the default device mapping":"Соответствие обозначения устройства образу диска. Опционально.", - "Disable":"Отключить", - "disabled":"откл", - "Disallow access to the VM through the specified ports in the TCP protocol":"Запретить доступ к ВМ через указанные порты для TCP протокола", - "Disallow access to the VM through the specified ports in the UDP protocol":"Запретить доступ к ВМ через указанные порты для UDP протокола", - "Disk":"Диск", - "Disk file location path or URL":"Маршрутное имя файла диска или URL", - "disk id":"№ диска", - "Disks":"Диски", - "Disk type":"Тип диска", - "Documentation":"Online-документация", - "Do you want to proceed?":"Хотите продолжить?", - "Driver":"Драйвер", - "Driver default":"Драйвер по умолчанию", - "Drivers":"Драйверы", - "Drop":"Сбросить", - "DS Mad":"", - "Dummy":"Заглушка", - "EC2":"EC2", - "Enable":"Включить", - "English":"English (EN)", - "Error":"Ошибка", - "Etables":"", - "failed":"дефектных", - "fd":"fd", - "Features":"Особенности", - "Fields marked with":"Поля, отмеченные символом ", - "File":"Файл", - "Filesystem":"", - "Filesystem type":"Тип файловой системы", - "Filesystem type for the fs images":"Тип файловой системы для образов ФС", - "Fill in a new password":"Введите новый пароль", - "Fixed network":"Фиксированные адреса", - "Floppy":"Floppy", - "Fold / Unfold all sections":"Свернуть/развернуть все разделы", - "Format":"Формат", - "FS":"FS", - "FS type":"Тип ФС", - "Graphics":"Средства графического доступа", - "Graphics type":"Обеспечить доступ через", - "Group":"Группа", - "Group ":"гр. ", - "Group name":"Название группы", - "Groups":"Группы", - "Hardware that will emulate this network interface. With Xen this is the type attribute of the vif.":"Аппаратное устройствое, которое будет отвечать за эмуляцию сетевого интерфейса. Для Xen это атрибут «vif».", - "hd":"hd", - "Historical monitoring information":"Мониторинг состояния", - "History information":"", - "hold":"запретить", - "Hold":"Запретить размещение", - "Hold lease":"Запретить выдачу адреса", - "Host":"Узел", - "Host information":"Состояние узла", - "Hostname":"Название узла", - "Host name missing!":"Не указано название узла", - "Host parameters":"Параметры узла", - "Hosts":"Узлы", - "Hosts CPU":"Загрузка ЦП", - "Host shares":"Ресурсы узла", - "Hosts memory":"Загрузка ОЗУ", - "Hosts (total/active)":"Узлы (всего/из них активных)", - "Host template":"Шаблон узла", - "Human readable description of the image for other users.":"Краткое описание образа.", - "HW address associated with the network interface":"MAC-адрес, связанный с сетевым интерфейсом", - "Icmp":"ICMP", - "ICMP policy":"Политика ICMP", - "id":"№", - "ID":"№", - "IDE":"IDE", - "Image":"Образ", - "Image information":"Информация об образе", - "Image location":"", - "Image name":"Название образа", - "Images":"Образы ВМ", - "Image template":"Шаблон образа", - "Image updated correctly":"", - "IM MAD":"Модуль средства мониторинга", - "Info":"Информация", - "information":" ", - "Information":"Информация", - "Information Manager":"Средство мониторинга", - "Infrastructure":"", - "Infrastructure resources":"", - "Initrd":"initrd", - "Inputs":"Устройства ввода", - "Instantiate":"Создать экземпляр ВМ", - "IP":"IP-адрес", - "IP End":"до", - "IPs":"", - "IP Start":"от", - "IP to listen on":"IP-адрес для прослушивания", - "iSCSI":"", - "Italian":"", - "Kernel":"Ядро", - "Kernel commands":"Команды ядра", - "Keyboard configuration locale to use in the VNC display":"Раскладка клавиатуры, используемая при работе с VNC-дисплеем", - "Keymap":"Раскладка клавиатуры", - "KVM":"KVM", - "Language":"Язык интерфейса", - "LCM State":"Текущее состояние ВМ", - "Lease IP":"IP адрес", - "Lease MAC (opt):":"MAC адрес (необ.):", - "Lease management":"Управление адресами виртуальной сети", - "Leases information":"Сведения по имеющимся адресам виртуальной сети", - "Listen IP":"Прослушивание IP-адреса", - "Live migrate":"Перенести запущенную ВМ", - "Loading":"Идет загрузка", - "Loading new language... please wait":"Выполняется загрузка языковых файлов...", - "MAC":"MAC-адрес", - "Make non persistent":"Сделать непостоянным", - "Make persistent":"Сделать постоянным", - "Manage":"Управление", - "Manage cluster datastores":"", - "Manage cluster hosts":"", - "Manage cluster virtual networks":"", - "Manage unclustered datastores":"", - "Manage unclustered hosts":"", - "Manage unclustered virtual networks":"", - "Manual":"Вручную", - "Max Mem":"Доступно ОЗУ", - "Memory":"Память", - "Memory monitoring information":"Мониторинг ОЗУ", - "Memory use":"Использование ОЗУ", - "Migrate":"Перенести ВМ", - "Model":"Модель", - "Monitoring information":"Мониторинг", - "Mount image as read-only":"Монтировать образ только для чтения", - "Mouse":"Мышь", - "Name":"Название", - "Name for the context variable":"Имя контекстной переменной", - "Name for the custom variable":"Имя пользовательской переменной", - "Name for the tun device created for the VM":"Имя сетевого туннеля, созданного для ВМ", - "Name of a shell script to be executed after creating the tun device for the VM":"shell-скрипт, который будет выполнен после создания сетевого туннеля для ВМ", - "Name of the bridge the network device is going to be attached to":"Шлюз, с которым будет связано сетевое устройство", - "Name of the image to use":"Название образа для использования", - "Name of the network to attach this device":"Сеть, подключаемая к данному устройству", - "Name that the Image will get. Every image must have a unique name.":"Название, которое получит образ. Каждый образ должен обладать уникальным названием.", - "Name that the VM will get for description purposes. If NAME is not supplied a name generated by one will be in the form of one-<VID>.":"Название, которое получит ВМ. Если название не будет указано, то оно будет сгенерировано в формате one-<№ ВМ>.", - "Net_RX":"Принято", - "Net_TX":"Отправлено", - "network":"network", - "Network":"Сеть", - "Network Address":"Адрес сети", - "Network is unreachable: is OpenNebula running?":"Сеть недоступна. Проверьте, запущена ли OpenNebula.", - "Network mask":"Маска подсети", - "Network Mask":"Маска подсети", - "Network mode":"", - "Network reception":"Сеть: принято", - "Network transmission":"Сеть: отправлено", - "Network type":"Тип сети", - "+ New":"Создать", - "+ New Group":"Создать группу", - "New password":"Новый пароль", - "No":"Нет", - "No datastores in this cluster":"", - "No disk id or image name specified":"Внимание! Следует указать № диска или имя образа.", - "No disks defined":"Дисков не обнаружено", - "No hosts in this cluster":"", - "No leases to show":"Список пуст", - "None":"Никакой", - "No virtual networks in this cluster":"", - "Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU.":"Количество виртуальных процессоров. Это значение опционально, используется поведение гипервизора по умолчанию - один виртуальный ЦП.", - "OK":"OK", - "Open VNC Session":"Открыть VNC-сессию", - "Open vSwitch":"", - "Optional, please select":"Опционально, пожалуйста выберите", - "OS":"ОС", - "OS and Boot options":"Опции загрузки и ОС", - "Other":"Все остальные", - "Owned by group":"Принадлежит группе", - "Owner":"Владелец", - "PAE":"PAE", - "Password":"Пароль", - "Password for the VNC server":"Пароль для VNC сервера", - "Path":"Путь к файлу", - "Path to the bootloader executable":"Путь к исполняемому файлу загрузчика", - "Path to the initrd image":"Путь к образу initrd", - "Path to the original file that will be copied to the image repository. If not specified for a DATABLOCK type image, an empty image will be created.":"Путь к исходному файлу, который будет скопирован в хранилище образов. Если путь не указан для типа образа БЛОК ДАННЫХ, то будет создан пустой образ.", - "Path to the OS kernel to boot the image":"Путь к ядру ОС для загрузки образа", - "Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5.":"Процент процессорного времени ЦП, предоставляемого ВМ, разделенный на 100. Например, для выделения половины процессорного времени следует указать 0.5.", - "Permissions":"Права", - "Permits access to the VM only through the specified ports in the TCP protocol":"Разрешить доступ к ВМ только через указанные порты протокола TCP", - "Permits access to the VM only through the specified ports in the UDP protocol":"Разрешить доступ к ВМ только через указанные порты протокола UPD", - "Persistence of the image":"Если образ является постоянным, то при каждом завершении работы с полученной на его основе виртуальной машиной все изменения будут сохранены в образе. Важно помнить, что сохранение выполнится только в случае завершения работы соответствующей ВМ при помощи операций «Выключить» и «Отменить». Постоянный образ всегда хранится в одном экземпляре.", - "Persistent":"Постоянный", - "Physical address extension mode allows 32-bit guests to address more than 4 GB of memory":"Режим расширенной физической адресации позволяет использовать 32-битным ВМ больше 4-х ГБ ", - "Physical device":"Устройство", - "Placement":"Размещение", - "Please choose":"Пожалуйста выберите", - "Please, choose and modify the datastore you want to update":"", - "Please, choose and modify the image you want to update":"Выберите образ и внесите необходимые изменения в его параметры", - "Please, choose and modify the template you want to update":"Выберите шаблон ВМ и внесите необходимые изменения в его параметры", - "Please, choose and modify the virtual machine you want to update":"Выберите ВМ и внесите необходимые изменения в его параметры", - "Please, choose and modify the virtual network you want to update":"Выберите виртуальную сеть и внесите необходимые изменения в ее параметры", - "Please choose path if you have a file-based image. Choose source otherwise or create an empty datablock disk.":"«Путь к эталонному файлу образа» — образ создается путем копирования эталонного файла образа в хранилище образов. «Источник» — в данное поле следует указывать местоположение образа (в качестве образа будет использован ресурс, непосредственно указанный в поле «Источник», а не копия этого ресурса).", - "Please choose the new type of authentication for the selected users":"Укажите новый способ аутентификации для выбранных пользователей", - "Please provide a lease IP":"Необходимо указать IP-адрес", - "Please provide a resource ID for the resource(s) in this rule":"Необходимо указать № ресурса(ов) для данного правила)", - "Please select":"выберите", - "Please select a datastore for this image":"", - "Please select at least one resource":"Необходимо выбрать по меньшей мере один ресурс", - "Please specify to who this ACL applies":"Необходимо указать, к кому применять данный список контроля", - "Port":"Порт", - "Port blacklist":"Список запрещенных портов", - "Port for the VNC server":"Порт для сервера VNC", - "Port whitelist":"Список разрешенных портов", - "Predefined":"По умолчанию", - "Prefix for the emulated device this image will be mounted at. For instance, “hd”, “sd”. If omitted, the default value is the one defined in oned.conf (installation default is “hd”).":"Префикс эмулируемого устройства, на которое будет смонтирован образ. Например, «hd» и «sd». Если не указать префикс, его значение будет считано из конфигурационного файла oned.conf (значение по умолчанию — «hd»).", - "Previous action":"Предыдущее действие", - "Prolog time":"", - "Provide a path":"Указать путь к эталонному файлу образа", - "Provide a source":"Указать источник для образа", - "PS2":"PS/2", - "Public":"Public", - "Quickstart":"Типовые операции", - "Ranged network":"Диапазон адресов", - "Rank":"Степень", - "Raw":"Исходная опция", - "Raw data to be passed directly to the hypervisor":"Исходные данные, передаваемые напрямую гипервизору", - "Read only":"только на чтение", - "Reason":"", - "Reboot":"Перезагрузить", - "Refresh list":"Обновить список", - "Register time":"Время регистрации", - "Registration time":"Время регистрации", - "release":"размещение", - "Release":"Разрешить размещение", - "Remove selected":"Удалить", - "Request an specific IP from the Network":"Запросить определенный IP-адрес из сети", - "Requirements":"Требования", - "Reset":"«Сбросить» все поля", - "Resource ID":"№ ресурса", - "Resource ID / Owned by":"№ ресурса / Принадлежит", - "Resource subset":"Подмножество ресурсов", - "Restart":"Перезапустить", - "Resubmit":"Разместить повторно", - "Resume":"Возобновить работу ВМ", - "Retrieving":"Запрос сведений", - "Root":"Корень", - "running":"запущенных", - "Running VMs":"Запущено ВМ", - "Running #VMS":"Кол-во запущенных ВМ", - "Russian":"Русский (RU)", - "Save":"Сохранить", - "Save as":"Сохранить как", - "Saveas for VM with ID":"Сохранить как для ВМ с №", - "Save this image after shutting down the VM":"Сохранить образ после выключения ВМ", - "Script":"Скрипт", - "SCSI":"SCSI", - "SDL":"SDL", - "Secure websockets connection":"", - "Select a datastore":"", - "Select a network":"Выберите виртуальную сеть", - "Select an image":"Выберите образ", - "Select a template":"Выберите шаблон", - "Select a VM":"Выберите вирт. машину", - "Select boot method":"Выберите метод загрузки", - "Select cluster":"", - "Select disk":"Выберите диск", - "Select template":"Шаблон", - "Select the datastore for this image":"", - "Select the destination cluster:":"", - "Select the new group":"Выберите новую группу", - "Select the new owner":"Выберите нового владельца", - "Sequence":"", - "Server (Cipher)":"Server (Cipher)", - "Server (x509)":"Server (x509)", - "Setup Networks":"Настройка сетей", - "Shared":"Общий каталог", - "shared,ssh,iscsi,dummy":"", - "Shutdown":"Выключить", - "Sign out":"Выйти из сервиса", - "Size":"Размер", - "Size in MB":"Размер в МБ", - "Size (Mb)":"Размер (МБ)", - "Size of the datablock in MB.":"Размер блока данных в МБ.", - "Skipping VM ":"Пропуск ВМ ", - "Source":"Источник", - "Source to be used in the DISK attribute. Useful for not file-based images.":"В качестве источника указывается местоположение образа, который планируется использовать непосредственно.", - "Specific ID":"Ресурс с конкретным №", - "Specific image mapping driver. KVM: raw, qcow2. XEN: tap:aio, file:":"Формат образа виртуального диска. Для KVM: raw, qcow2. Для Xen: tap:aio, file:", - "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported":"Формат образа виртуального диска. Для KVM: raw, qcow2. Для Xen: tap:aio:, file:. Форматы VMware не поддерживаются", - "SSH":"SSH", - "Start time":"Время запуска", - "Start Time":"Время запуска", - "State":"Состояние", - "State change time":"", - "Status":"Статус", - "Stop":"Остановить", - "style":"", - "Submitted":"Выполнено", - "Summary of infrastructure resources":"", - "Summary of resources":"Использование ресурсов", - "Summary of system resources":"", - "Summary of virtual resources":"", - "Sunstone UI Configuration":"Конфигурация интерфейса Sunstone", - "Support":"Сведения о поддержке", - "Suspend":"Приостановить работу ВМ", - "Swap":"Swap", - "System":"", - "System Resources":"", - "System resources management is only accesible to users of the oneadmin group. It comprises the operations regarding OpenNebula groups, users and ACLs.":"", - "Tablet":"Планшетный ПК", - "Target":"Цель", - "Tcp black ports":"Запрещенные TCP-порты", - "Tcp firewall mode":"Режим брандмауэра TCP", - "Tcp white ports":"Разрешенные TCP-порты", - "Template":"Шаблон", - "Template information":"Сведения о шаблоне", - "Templates":"Шаблоны ВМ", - "Template updated correctly":"Шаблон успешно обновлен", - "The Infrastructure menu allows management of Hosts, Datastores, Virtual Networks. Users in the oneadmin group can manage clusters as well.":"", - "There are mandatory fields missing in the capacity section":"В разделе «Производительность» не заполнены некоторые обязательные поля", - "There are mandatory fields missing in the OS Boot options section":"В разделе «Загрузка и тип ОС» не заполнены некоторые обязательные поля", - "There are mandatory parameters missing":"Указаны не все обязательные параметры.", - "There are mandatory parameters missing in this section":"В данном разделе указаны не все обязательные параметры", - "There are missing network parameters":"", - "The Virtual Resources menu allows management of Virtual Machine Templates, Instances and Images.":"", - "This field sets which attribute will be used to sort the suitable hosts for this VM. Basically, it defines which hosts are more suitable than others":"В данном поле устанавливается значение атрибута, используемое для ранжирования узлов, пригодных для размещения ВМ. Значение атрибута определяет, какие из узлов лучше подходят для размещения ВМ.", - "This rule applies to":"Область применения", - "This will cancel selected VMs":"Прервать работу выбранных ВМ", - "This will change the main group of the selected users. Select the new group":"Выберите основную группу для выбранных пользователей", - "This will change the password for the selected users":"Введите новый пароль для выбранных пользователей", - "This will delete the selected VMs from the database":"Удалить выбранные ВМ и связанные с ними образы дисков из базы данных и хранилища образов", - "This will deploy the selected VMs on the chosen host":"Разместить выбранные ВМ на определенном узле", - "This will hold selected pending VMs from being deployed":"Приостановить процедуру размещения ВМ на узле", - "This will initiate the shutdown process in the selected VMs":"Данное действие запустит процесс выключения выбранных ВМ.", - "This will live-migrate the selected VMs to the chosen host":"Перенести выбранные запущенные ВМ, не завершая их работы, с текущих узлов на выбранный", - "This will migrate the selected VMs to the chosen host":"Перенести выбранные остановленные ВМ с текущих узлов на выбранный", - "This will redeploy selected VMs (in UNKNOWN or BOOT state)":"Повторно выполнить процедуру размещения выбранных ВМ, находящихся в состоянии UNKNOWN или BOOT, на узле", - "This will release held machines":"Продолжить ранее приостановленное размещение ВМ на узле", - "This will resubmits VMs to PENDING state":"Повторно выполнить попытку размещения выбранных ВМ на одном из доступных узлов системы виртуализации (перевод в состояние PENDING)", - "This will resume selected stopped or suspended VMs":"Возобновить работу выбранных остановленных или приостановленных ВМ", - "This will send a reboot action to running VMs":"Отправить запущенным виртуальным машинам команду на перезагрузку", - "This will suspend selected machines":"Приостановить выбранные ВМ", - "TM Mad":"", - "TM MAD":"Модуль средства передачи", - "total":"всего", - "Total Leases":"Суммарное количество адресов", - "Total time":"", - "Total VM count":"Количество виртуальных машин", - "Total VM CPU":"Всего ЦП для ВМ", - "Total VM Memory":"Всего ОЗУ для ВМ", - "Transfer manager":"", - "Transfer Manager":"Средство передачи", - "Type":"Тип", - "Type of disk device to emulate.":"Тип эмулируемого дискового устройства", - "Type of disk device to emulate: ide, scsi":"Тип эмулируемого дискового устройства: ide, scsi", - "Type of file system to be built. This can be any value understood by mkfs unix command.":"Тип создаваемой ФС. Может быть указан любой тип, который используется в unix-команде mkfs.", - "Type of the image, explained in detail in the following section. If omitted, the default value is the one defined in oned.conf (install default is OS).":"Тип. Если не указать тип образа, его значение будет считано из конфигурационного файла oned.conf (значение по умолчанию — «OS»).", - "Udp black ports":"Запрещенные UDP-порты", - "Udp firewall mode":"Режим брандмауэра UDP", - "Udp white ports":"Разрешенные UDP-порты", - "Unauthorized":"Неавторизован", - "Update":"Сохранить изменения", - "Update a template":"Редактировать шаблон", - "Update Datastore properties":"", - "Update image properties":"Редактировать свойства образа", - "Update network properties":"Обновить свойства виртуальной сети", - "Update properties":"Редактировать свойства", - "Update template":"Редактировать шаблон", - "Update template properties":"Свойства шаблона", - "Update VM properties":"Свойства ВМ", - "Upload":"", - "Upload file":"", - "Uploading...":"", - "USB":"USB", - "Use":"Пользование", - "Used by VM":"Используется ВМ", - "Used CPU":"Используется ЦП", - "Used CPU (allocated)":"Использовано ОЗУ (реально)", - "Used CPU (real)":"Использовано ЦП (реально)", - "Used Mem (allocated)":"Использовано ОЗУ (выделено)", - "Used Memory":"Используется памяти", - "Used Mem (real)":"Использовано ОЗУ (реально)", - "Useful for power management, for example, normally required for graceful shutdown to work":"Требуется для корректного завершения работы ВМ средствами системы виртуализации", - "User":"Пользователь", - "User information":"", - "Username":"Имя пользователя", - "User name and password must be filled in":"Необходимо указать и имя пользователя, и пароль", - "Users":"Пользователи", - "User template":"", - "Value":"Значение", - "Value of the context variable":"Значение контекстной переменной", - "Value of the custom variable":"Значение пользовательской перменной", - "VCPU":"Кол-во вирт. ЦП", - "Virtio":"Virtio", - "Virtio (KVM)":"Virtio (KVM)", - "Virtualization Manager":"Средство виртуализации", - "Virtual Machine information":"Информация о виртуальной машине", - "Virtual Machines":"Вирт. машины", - "Virtual Network":"Виртуальная сеть", - "Virtual network information":"Информация о виртуальной сети", - "Virtual Network information":"Информация о виртуальной сети", - "Virtual Network name missing!":"Отсутствует название виртуальной сети!", - "Virtual Networks":"Вирт. сети", - "Virtual Network template (attributes)":"Шаблон виртуальной сети (атрибуты)", - "Virtual Resources":"", - "VLAN":"", - "VLAN ID":"", - "VM information":"Информация о ВМ", - "VM Instance":"Экземпляр ВМ", - "VM Instances":"Экземпляры ВМ", - "VM log":"Журнал ВМ", - "VM MAD":"Модуль средства виртуализации", - "VM Name":"Название ВМ", - "VM Network stats":"Статистика виртуальных сетей", - "#VMS":"Кол-во ВМ", - "VM Save As":"ВМ сохранить как", - "VM template":"Шаблон ВМ", - "VM Template":"Шаблон ВМ", - "VM Templates":"Шаблоны ВМ", - "VMware":"", - "VNC":"VNC", - "VNC Access":"Доступ по VNC", - "VNC connection":"VNC соединение", - "VNC Disabled":"VNC недоступно", - "VNC Session":"VNC сессия", - "VN MAD":"Модуль средства управления вирт. сетью", - "Welcome":"Текущий пользователь:", - "Wizard":"Мастер настройки", - "Wizard KVM":"Шаблон KVM", - "Wizard VMware":"Шаблон VMware", - "Wizard XEN":"Шаблон XEN", - "Write the image template here":"Отредактируйте параметры шаблона образа ВМ вручную", - "Write the Virtual Machine template here":"Отредактируйте параметры шаблона ВМ вручную", - "Write the Virtual Network template here":"Отредактируйте параметры шаблона вирт. сети вручную", - "x509":"x509", - "XEN":"XEN", - "Xen templates must specify a boot method":"В шаблон Xen необходимо указывать метод загрузки", - "yes":"да", - "Yes":"Да", - "You can find further information on the following links:":"", - "You can use the wildcard %i. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them":"", - "You have not selected a template":"Вы не выбрали шаблон", - "You have to confirm this action.":"Необходимо подтвердить данную операцию.", - "You need to select something.":"Вы должны что-нибудь выбрать.", -}; diff --git a/src/sunstone/public/vendor/FontAwesome/NOTICE b/src/sunstone/public/vendor/FontAwesome/NOTICE new file mode 100644 index 0000000000..9e757895cd --- /dev/null +++ b/src/sunstone/public/vendor/FontAwesome/NOTICE @@ -0,0 +1,5 @@ +THIRD-PARTY SOFTWARE + + * Author: Dave Gandy (dave@davegandy.com) + * Info: http://fortawesome.github.com/Font-Awesome/ + * License: Creative Commons-BY 3.0. See http://creativecommons.org/licenses/by/3.0/ diff --git a/src/sunstone/public/vendor/FontAwesome/css/font-awesome.css b/src/sunstone/public/vendor/FontAwesome/css/font-awesome.css new file mode 100644 index 0000000000..2e868934e4 --- /dev/null +++ b/src/sunstone/public/vendor/FontAwesome/css/font-awesome.css @@ -0,0 +1,239 @@ +/* Font Awesome + the iconic font designed for use with Twitter Bootstrap + ------------------------------------------------------- + The full suite of pictographic icons, examples, and documentation + can be found at: http://fortawesome.github.com/Font-Awesome/ + + License + ------------------------------------------------------- + The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0: + http://creativecommons.org/licenses/by/3.0/ A mention of + 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable + source code is considered acceptable attribution (most common on the web). + If human readable source code is not available to the end user, a mention in + an 'About' or 'Credits' screen is considered acceptable (most common in desktop + or mobile software). + + Contact + ------------------------------------------------------- + Email: dave@davegandy.com + Twitter: http://twitter.com/fortaweso_me + Work: http://lemonwi.se co-founder + + */ + +@font-face { + font-family: 'FontAwesome'; + src: url('../font/fontawesome-webfont.eot'); + src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'), url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg'); + font-weight: normal; + font-style: normal; +} +/* sprites.less reset */ +[class^="icon-"], [class*=" icon-"] { + display: inline; + width: auto; + height: auto; + line-height: inherit; + vertical-align: baseline; + background-image: none; + background-position: 0% 0%; + background-repeat: repeat; +} +li[class^="icon-"], li[class*=" icon-"] { + display: block; +} +/* Font Awesome styles + ------------------------------------------------------- */ +[class^="icon-"]:before, [class*=" icon-"]:before { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + display: inline-block; + text-decoration: inherit; +} +a [class^="icon-"], a [class*=" icon-"] { + display: inline-block; + text-decoration: inherit; +} +/* makes the font 33% larger relative to the icon container */ +.icon-large:before { + vertical-align: top; + font-size: 1.3333333333333333em; +} +.btn [class^="icon-"], .btn [class*=" icon-"] { + /* keeps button heights with and without icons the same */ + line-height: .9em; +} +li [class^="icon-"], li [class*=" icon-"] { + display: inline-block; + width: 1.25em; + text-align: center; +} +li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] { + /* 1.5 increased font size for icon-large * 1.25 width */ + width: 1.875em; +} +li[class^="icon-"], li[class*=" icon-"] { + margin-left: 0; + list-style-type: none; +} +li[class^="icon-"]:before, li[class*=" icon-"]:before { + text-indent: -2em; + text-align: center; +} +li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before { + text-indent: -1.3333333333333333em; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.icon-glass:before { content: "\f000"; } +.icon-music:before { content: "\f001"; } +.icon-search:before { content: "\f002"; } +.icon-envelope:before { content: "\f003"; } +.icon-heart:before { content: "\f004"; } +.icon-star:before { content: "\f005"; } +.icon-star-empty:before { content: "\f006"; } +.icon-user:before { content: "\f007"; } +.icon-film:before { content: "\f008"; } +.icon-th-large:before { content: "\f009"; } +.icon-th:before { content: "\f00a"; } +.icon-th-list:before { content: "\f00b"; } +.icon-ok:before { content: "\f00c"; } +.icon-remove:before { content: "\f00d"; } +.icon-zoom-in:before { content: "\f00e"; } + +.icon-zoom-out:before { content: "\f010"; } +.icon-off:before { content: "\f011"; } +.icon-signal:before { content: "\f012"; } +.icon-cog:before { content: "\f013"; } +.icon-trash:before { content: "\f014"; } +.icon-home:before { content: "\f015"; } +.icon-file:before { content: "\f016"; } +.icon-time:before { content: "\f017"; } +.icon-road:before { content: "\f018"; } +.icon-download-alt:before { content: "\f019"; } +.icon-download:before { content: "\f01a"; } +.icon-upload:before { content: "\f01b"; } +.icon-inbox:before { content: "\f01c"; } +.icon-play-circle:before { content: "\f01d"; } +.icon-repeat:before { content: "\f01e"; } + +/* \f020 is not a valid unicode character. all shifted one down */ +.icon-refresh:before { content: "\f021"; } +.icon-list-alt:before { content: "\f022"; } +.icon-lock:before { content: "\f023"; } +.icon-flag:before { content: "\f024"; } +.icon-headphones:before { content: "\f025"; } +.icon-volume-off:before { content: "\f026"; } +.icon-volume-down:before { content: "\f027"; } +.icon-volume-up:before { content: "\f028"; } +.icon-qrcode:before { content: "\f029"; } +.icon-barcode:before { content: "\f02a"; } +.icon-tag:before { content: "\f02b"; } +.icon-tags:before { content: "\f02c"; } +.icon-book:before { content: "\f02d"; } +.icon-bookmark:before { content: "\f02e"; } +.icon-print:before { content: "\f02f"; } + +.icon-camera:before { content: "\f030"; } +.icon-font:before { content: "\f031"; } +.icon-bold:before { content: "\f032"; } +.icon-italic:before { content: "\f033"; } +.icon-text-height:before { content: "\f034"; } +.icon-text-width:before { content: "\f035"; } +.icon-align-left:before { content: "\f036"; } +.icon-align-center:before { content: "\f037"; } +.icon-align-right:before { content: "\f038"; } +.icon-align-justify:before { content: "\f039"; } +.icon-list:before { content: "\f03a"; } +.icon-indent-left:before { content: "\f03b"; } +.icon-indent-right:before { content: "\f03c"; } +.icon-facetime-video:before { content: "\f03d"; } +.icon-picture:before { content: "\f03e"; } + +.icon-pencil:before { content: "\f040"; } +.icon-map-marker:before { content: "\f041"; } +.icon-adjust:before { content: "\f042"; } +.icon-tint:before { content: "\f043"; } +.icon-edit:before { content: "\f044"; } +.icon-share:before { content: "\f045"; } +.icon-check:before { content: "\f046"; } +.icon-move:before { content: "\f047"; } +.icon-step-backward:before { content: "\f048"; } +.icon-fast-backward:before { content: "\f049"; } +.icon-backward:before { content: "\f04a"; } +.icon-play:before { content: "\f04b"; } +.icon-pause:before { content: "\f04c"; } +.icon-stop:before { content: "\f04d"; } +.icon-forward:before { content: "\f04e"; } + +.icon-fast-forward:before { content: "\f050"; } +.icon-step-forward:before { content: "\f051"; } +.icon-eject:before { content: "\f052"; } +.icon-chevron-left:before { content: "\f053"; } +.icon-chevron-right:before { content: "\f054"; } +.icon-plus-sign:before { content: "\f055"; } +.icon-minus-sign:before { content: "\f056"; } +.icon-remove-sign:before { content: "\f057"; } +.icon-ok-sign:before { content: "\f058"; } +.icon-question-sign:before { content: "\f059"; } +.icon-info-sign:before { content: "\f05a"; } +.icon-screenshot:before { content: "\f05b"; } +.icon-remove-circle:before { content: "\f05c"; } +.icon-ok-circle:before { content: "\f05d"; } +.icon-ban-circle:before { content: "\f05e"; } + +.icon-arrow-left:before { content: "\f060"; } +.icon-arrow-right:before { content: "\f061"; } +.icon-arrow-up:before { content: "\f062"; } +.icon-arrow-down:before { content: "\f063"; } +.icon-share-alt:before { content: "\f064"; } +.icon-resize-full:before { content: "\f065"; } +.icon-resize-small:before { content: "\f066"; } +.icon-plus:before { content: "\f067"; } +.icon-minus:before { content: "\f068"; } +.icon-asterisk:before { content: "\f069"; } +.icon-exclamation-sign:before { content: "\f06a"; } +.icon-gift:before { content: "\f06b"; } +.icon-leaf:before { content: "\f06c"; } +.icon-fire:before { content: "\f06d"; } +.icon-eye-open:before { content: "\f06e"; } + +.icon-eye-close:before { content: "\f070"; } +.icon-warning-sign:before { content: "\f071"; } +.icon-plane:before { content: "\f072"; } +.icon-calendar:before { content: "\f073"; } +.icon-random:before { content: "\f074"; } +.icon-comment:before { content: "\f075"; } +.icon-magnet:before { content: "\f076"; } +.icon-chevron-up:before { content: "\f077"; } +.icon-chevron-down:before { content: "\f078"; } +.icon-retweet:before { content: "\f079"; } +.icon-shopping-cart:before { content: "\f07a"; } +.icon-folder-close:before { content: "\f07b"; } +.icon-folder-open:before { content: "\f07c"; } +.icon-resize-vertical:before { content: "\f07d"; } +.icon-resize-horizontal:before { content: "\f07e"; } + +.icon-bar-chart:before { content: "\f080"; } +.icon-twitter-sign:before { content: "\f081"; } +.icon-facebook-sign:before { content: "\f082"; } +.icon-camera-retro:before { content: "\f083"; } +.icon-key:before { content: "\f084"; } +.icon-cogs:before { content: "\f085"; } +.icon-comments:before { content: "\f086"; } +.icon-thumbs-up:before { content: "\f087"; } +.icon-thumbs-down:before { content: "\f088"; } +.icon-star-half:before { content: "\f089"; } +.icon-heart-empty:before { content: "\f08a"; } +.icon-signout:before { content: "\f08b"; } +.icon-linkedin-sign:before { content: "\f08c"; } +.icon-pushpin:before { content: "\f08d"; } +.icon-external-link:before { content: "\f08e"; } + +.icon-signin:before { content: "\f090"; } +.icon-trophy:before { content: "\f091"; } +.icon-github-sign:before { content: "\f092"; } +.icon-upload-alt:before { content: "\f093"; } +.icon-lemon:before { content: "\f094"; } diff --git a/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.eot b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.eot new file mode 100755 index 0000000000..3f669a7eb6 Binary files /dev/null and b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.eot differ diff --git a/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svg b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svg new file mode 100755 index 0000000000..73c0ad9a91 --- /dev/null +++ b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svg @@ -0,0 +1,175 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Designer : Dave Gandy +Foundry : Fort Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svgz b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svgz new file mode 100755 index 0000000000..2a73cd7c10 Binary files /dev/null and b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svgz differ diff --git a/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.ttf b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.ttf new file mode 100755 index 0000000000..4972eb453f Binary files /dev/null and b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.ttf differ diff --git a/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.woff b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.woff new file mode 100755 index 0000000000..6e4cb41f51 Binary files /dev/null and b/src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.woff differ diff --git a/src/sunstone/public/vendor/flot/jquery.flot.pie.min.js b/src/sunstone/public/vendor/flot/jquery.flot.pie.min.js new file mode 100644 index 0000000000..b7bf870d75 --- /dev/null +++ b/src/sunstone/public/vendor/flot/jquery.flot.pie.min.js @@ -0,0 +1 @@ +(function(b){function c(D){var h=null;var L=null;var n=null;var B=null;var p=null;var M=0;var F=true;var o=10;var w=0.95;var A=0;var d=false;var z=false;var j=[];D.hooks.processOptions.push(g);D.hooks.bindEvents.push(e);function g(O,N){if(N.series.pie.show){N.grid.show=false;if(N.series.pie.label.show=="auto"){if(N.legend.show){N.series.pie.label.show=false}else{N.series.pie.label.show=true}}if(N.series.pie.radius=="auto"){if(N.series.pie.label.show){N.series.pie.radius=3/4}else{N.series.pie.radius=1}}if(N.series.pie.tilt>1){N.series.pie.tilt=1}if(N.series.pie.tilt<0){N.series.pie.tilt=0}O.hooks.processDatapoints.push(E);O.hooks.drawOverlay.push(H);O.hooks.draw.push(r)}}function e(P,N){var O=P.getOptions();if(O.series.pie.show&&O.grid.hoverable){N.unbind("mousemove").mousemove(t)}if(O.series.pie.show&&O.grid.clickable){N.unbind("click").click(l)}}function G(O){var P="";function N(S,T){if(!T){T=0}for(var R=0;Rh.width-n){B=h.width-n}}}function v(O){for(var N=0;N0){R.push({data:[[1,P]],color:N,label:a.series.pie.combine.label,angle:(P*(Math.PI*2))/M,percent:(P/M*100)})}return R}function r(S,Q){if(!L){return}ctx=Q;I();var T=S.getData();var P=0;while(F&&P0){n*=w}P+=1;N();if(a.series.pie.tilt<=0.8){O()}R()}if(P>=o){N();L.prepend('
Could not draw pie with labels contained inside canvas
')}if(S.setSeries&&S.insertLegend){S.setSeries(T);S.insertLegend()}function N(){ctx.clearRect(0,0,h.width,h.height);L.children().filter(".pieLabel, .pieLabelBackground").remove()}function O(){var Z=5;var Y=15;var W=10;var X=0.02;if(a.series.pie.radius>1){var U=a.series.pie.radius}else{var U=n*a.series.pie.radius}if(U>=(h.width/2)-Z||U*a.series.pie.tilt>=(h.height/2)-Y||U<=W){return}ctx.save();ctx.translate(Z,Y);ctx.globalAlpha=X;ctx.fillStyle="#000";ctx.translate(B,p);ctx.scale(1,a.series.pie.tilt);for(var V=1;V<=W;V++){ctx.beginPath();ctx.arc(0,0,U,0,Math.PI*2,false);ctx.fill();U-=V}ctx.restore()}function R(){startAngle=Math.PI*a.series.pie.startAngle;if(a.series.pie.radius>1){var U=a.series.pie.radius}else{var U=n*a.series.pie.radius}ctx.save();ctx.translate(B,p);ctx.scale(1,a.series.pie.tilt);ctx.save();var Y=startAngle;for(var W=0;W1e-9){ctx.moveTo(0,0)}else{if(b.browser.msie){ab-=0.0001}}ctx.arc(0,0,U,Y,Y+ab,false);ctx.closePath();Y+=ab;if(aa){ctx.fill()}else{ctx.stroke()}}function V(){var ac=startAngle;if(a.series.pie.label.radius>1){var Z=a.series.pie.label.radius}else{var Z=n*a.series.pie.label.radius}for(var ab=0;ab=a.series.pie.label.threshold*100){aa(T[ab],ac,ab)}ac+=T[ab].angle}function aa(ap,ai,ag){if(ap.data[0][1]==0){return}var ar=a.legend.labelFormatter,aq,ae=a.series.pie.label.formatter;if(ar){aq=ar(ap.label,ap)}else{aq=ap.label}if(ae){aq=ae(aq,ap)}var aj=((ai+ap.angle)+ai)/2;var ao=B+Math.round(Math.cos(aj)*Z);var am=p+Math.round(Math.sin(aj)*Z)*a.series.pie.tilt;var af=''+aq+"";L.append(af);var an=L.children("#pieLabel"+ag);var ad=(am-an.height()/2);var ah=(ao-an.width()/2);an.css("top",ad);an.css("left",ah);if(0-ad>0||0-ah>0||h.height-(ad+an.height())<0||h.width-(ah+an.width())<0){F=true}if(a.series.pie.label.background.opacity!=0){var ak=a.series.pie.label.background.color;if(ak==null){ak=ap.color}var al="top:"+ad+"px;left:"+ah+"px;";b('
').insertBefore(an).css("opacity",a.series.pie.label.background.opacity)}}}}}function J(N){if(a.series.pie.innerRadius>0){N.save();innerRadius=a.series.pie.innerRadius>1?a.series.pie.innerRadius:n*a.series.pie.innerRadius;N.globalCompositeOperation="destination-out";N.beginPath();N.fillStyle=a.series.pie.stroke.color;N.arc(0,0,innerRadius,0,Math.PI*2,false);N.fill();N.closePath();N.restore();N.save();N.beginPath();N.strokeStyle=a.series.pie.stroke.color;N.arc(0,0,innerRadius,0,Math.PI*2,false);N.stroke();N.closePath();N.restore()}}function s(Q,R){for(var S=false,P=-1,N=Q.length,O=N-1;++P1?O.series.pie.radius:n*O.series.pie.radius;for(var Q=0;Q1?P.series.pie.radius:n*P.series.pie.radius;R.save();R.translate(B,p);R.scale(1,P.series.pie.tilt);for(i=0;i1e-9){R.moveTo(0,0)}R.arc(0,0,N,S.startAngle,S.startAngle+S.angle,false);R.closePath();R.fill()}}}var a={series:{pie:{show:false,radius:"auto",innerRadius:0,startAngle:3/2,tilt:1,offset:{top:0,left:"auto"},stroke:{color:"#FFF",width:1},label:{show:"auto",formatter:function(d,e){return'
'+d+"
"+Math.round(e.percent)+"%
"},radius:1,background:{color:null,opacity:0},threshold:0},combine:{threshold:-1,color:null,label:"Other"},highlight:{opacity:0.5}}}};b.plot.plugins.push({init:c,options:a,name:"pie",version:"1.0"})})(jQuery); \ No newline at end of file diff --git a/src/sunstone/sunstone-server.rb b/src/sunstone/sunstone-server.rb index 1dbd19c367..ff52832f6c 100755 --- a/src/sunstone/sunstone-server.rb +++ b/src/sunstone/sunstone-server.rb @@ -289,24 +289,18 @@ end ############################################################################## get '/:resource/monitor' do - @SunstoneServer.get_monitoring( - nil, + @SunstoneServer.get_pool_monitoring( params[:resource], - params[:monitor_resources], - :uid => session[:user_id].to_i, - :gid => session[:user_gid].to_i) + params[:monitor_resources]) end get '/:resource/:id/monitor' do - @SunstoneServer.get_monitoring( + @SunstoneServer.get_resource_monitoring( params[:id], params[:resource], - params[:monitor_resources], - :uid => session[:user_id].to_i, - :gid => session[:user_gid].to_i) + params[:monitor_resources]) end - ############################################################################## # GET Pool information ############################################################################## diff --git a/src/sunstone/views/index.erb b/src/sunstone/views/index.erb index 1e155060c9..62abea7888 100644 --- a/src/sunstone/views/index.erb +++ b/src/sunstone/views/index.erb @@ -10,7 +10,7 @@ - + @@ -20,6 +20,7 @@ + @@ -37,6 +38,7 @@ + <% @plugins["plugins"].each do |plugin| %> diff --git a/src/template/Template.cc b/src/template/Template.cc index acc0487a39..bfe8f1ec78 100644 --- a/src/template/Template.cc +++ b/src/template/Template.cc @@ -229,11 +229,28 @@ void Template::set(Attribute * attr) /* -------------------------------------------------------------------------- */ int Template::replace(const string& name, const string& value) -{ - SingleAttribute * sattr = new SingleAttribute(name,value); +{ + pair::iterator, + multimap::iterator> index; - erase(name); - set(sattr); + index = attributes.equal_range(name); + + if (index.first != index.second ) + { + multimap::iterator i; + + for ( i = index.first; i != index.second; i++) + { + Attribute * attr = i->second; + delete attr; + } + + attributes.erase(index.first, index.second); + } + + SingleAttribute * sattr = new SingleAttribute(name,value); + + attributes.insert(make_pair(sattr->name(), sattr)); return 0; } @@ -255,7 +272,7 @@ int Template::remove(const string& name, vector& values) values.push_back(i->second); } - attributes.erase(index.first,index.second); + attributes.erase(index.first, index.second); return j; } diff --git a/src/test/NebulaTest.cc b/src/test/NebulaTest.cc index 1527e57982..2a23f8212c 100644 --- a/src/test/NebulaTest.cc +++ b/src/test/NebulaTest.cc @@ -24,13 +24,13 @@ VirtualMachinePool* NebulaTest::create_vmpool(SqlDB* db, string hook_location, vector hooks; vector restricted_attrs; - return new VirtualMachinePool(db, hooks, hook_location, vloc, restricted_attrs); + return new VirtualMachinePool(db, hooks, hook_location, vloc, restricted_attrs, 0); } HostPool* NebulaTest::create_hpool(SqlDB* db, string hook_location, string vloc) { vector hooks; - return new HostPool(db, hooks, hook_location, vloc); + return new HostPool(db, hooks, hook_location, vloc, 0); } VirtualNetworkPool* NebulaTest::create_vnpool(SqlDB* db, string mac_prefix, int size) diff --git a/src/tm_mad/vmware/clone b/src/tm_mad/vmware/clone index b23bd4746c..0bead9f979 100755 --- a/src/tm_mad/vmware/clone +++ b/src/tm_mad/vmware/clone @@ -57,8 +57,8 @@ log "Cloning $SRC_PATH in $DST" CLONESCRIPT=$(cat <::iterator it; + VectorAttribute * q; + + istringstream iss(id); + int id_i; + + *va = 0; + + if ( id.empty() ) + { + return -1; + } + + iss >> id_i; + + if (iss.fail() || !iss.eof()) + { + return -1; + } + + for ( it = attributes.begin(); it != attributes.end(); it++) + { + q = static_cast(it->second); + + if (q->vector_value("ID") == id) + { + *va = q; + return 0; + } + } + + return 0; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void Quota::add_to_quota(VectorAttribute * attr, const string& va_name, int num) +{ + istringstream iss; + ostringstream oss; + float total; + + iss.str(attr->vector_value(va_name.c_str())); + + iss >> total; + + total += num; + + oss << total; + + attr->replace(va_name, oss.str()); +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int Quota::set(vector * new_quotas, string& error) +{ + vector::iterator it; + + VectorAttribute * iq; + VectorAttribute * tq; + string id; + + for ( it = new_quotas->begin(); it != new_quotas->end(); it++) + { + iq = dynamic_cast(*it); + + if ( iq == 0 ) + { + goto error_limits; + } + + id = iq->vector_value("ID"); + + if ( get_quota(id, &tq) == -1 ) + { + goto error_limits; + } + + if ( tq == 0 ) + { + VectorAttribute * nq; + + if ((nq = new_quota(iq)) == 0) + { + goto error_limits; + } + + add(nq); + } + else + { + if (update_limits(tq, iq) != 0) + { + goto error_limits; + } + } + } + + return 0; + +error_limits: + ostringstream oss; + + oss << "Negative limits or bad format in quota " << template_name; + + if ( iq != 0 ) + { + string * quota_str = iq->marshall(","); + + oss << " = [ " << *quota_str << " ]"; + + delete quota_str; + } + + error = oss.str(); + + return -1; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +bool Quota::check_quota(const string& qid, + map& usage_req, + string& error) +{ + VectorAttribute * q; + map::iterator it; + + bool check; + int limit; + int usage; + + if ( get_quota(qid, &q) == -1 ) + { + return false; + } + + // ------------------------------------------------------------------------- + // Quota does not exist, create a new one + // ------------------------------------------------------------------------- + if ( q == 0 ) + { + map values; + + for (int i=0; i < num_metrics; i++) + { + ostringstream usage_req_str; + string metrics_used = metrics[i]; + + metrics_used += "_USED"; + + it = usage_req.find(metrics[i]); + + if (it == usage_req.end()) + { + usage_req_str << "0"; + } + else + { + usage_req_str << it->second; + } + + values.insert(make_pair(metrics[i], "0")); + values.insert(make_pair(metrics_used, usage_req_str.str())); + } + + if (!qid.empty()) + { + values.insert(make_pair("ID", qid)); + } + + add(new VectorAttribute(template_name, values)); + + return true; + } + + // ------------------------------------------------------------------------- + // Check the quotas for each usage request + // ------------------------------------------------------------------------- + for (int i=0; i < num_metrics; i++) + { + string metrics_used = metrics[i]; + + metrics_used += "_USED"; + + it = usage_req.find(metrics[i]); + + if (it == usage_req.end()) + { + continue; + } + + q->vector_value(metrics[i], limit); + q->vector_value(metrics_used.c_str(), usage); + + check = ( limit == 0 ) || ( ( usage + it->second ) <= limit ); + + if ( !check ) + { + ostringstream oss; + + oss << "Limit of " << limit << " reached for " << metrics[i] + << " quota in " << template_name; + + if ( !qid.empty() ) + { + oss << " with ID: " << qid; + } + + error = oss.str(); + + return false; + } + } + + // ------------------------------------------------------------------------- + // Add resource usage to quotas + // ------------------------------------------------------------------------- + for (int i=0; i < num_metrics; i++) + { + string metrics_used = metrics[i]; + + metrics_used += "_USED"; + + it = usage_req.find(metrics[i]); + + if (it == usage_req.end()) + { + continue; + } + + add_to_quota(q, metrics_used, it->second); + } + + return true; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void Quota::del_quota(const string& qid, map& usage_req) +{ + VectorAttribute * q; + map::iterator it; + + if ( get_quota(qid, &q) == -1) + { + return; + } + + if ( q == 0 ) + { + return; + } + + for (int i=0; i < num_metrics; i++) + { + string metrics_used = metrics[i]; + + metrics_used += "_USED"; + + it = usage_req.find(metrics[i]); + + if (it == usage_req.end()) + { + continue; + } + + add_to_quota(q, metrics_used, -it->second); + } +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int Quota::update_limits(VectorAttribute * quota, const VectorAttribute * va) +{ + string limit; + int limit_i; + + for (int i=0; i < num_metrics; i++) + { + limit = va->vector_value_str(metrics[i], limit_i); + + if ( limit_i < 0 ) //No quota, NaN or negative + { + return -1; + } + else + { + quota->replace(metrics[i], limit); + } + } + + return 0; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +VectorAttribute * Quota::new_quota(VectorAttribute * va) +{ + map limits; + + string limit; + int limit_i; + + for (int i=0; i < num_metrics; i++) + { + string metrics_used = metrics[i]; + + metrics_used += "_USED"; + + limit = va->vector_value_str(metrics[i], limit_i); + + if ( limit_i < 0 ) //No quota, NaN or negative + { + limit = "0"; + } + + limits.insert(make_pair(metrics[i], limit)); + limits.insert(make_pair(metrics_used, "0")); + } + + string id = va->vector_value("ID"); + + if ( !id.empty() ) + { + limits.insert(make_pair("ID", id)); + } + + return new VectorAttribute(template_name,limits); +} + diff --git a/src/um/QuotaDatastore.cc b/src/um/QuotaDatastore.cc new file mode 100644 index 0000000000..833919f9fa --- /dev/null +++ b/src/um/QuotaDatastore.cc @@ -0,0 +1,85 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#include "QuotaDatastore.h" + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +const char * QuotaDatastore::DS_METRICS[] = {"SIZE", "IMAGES"}; + +const int QuotaDatastore::NUM_DS_METRICS = 2; + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +bool QuotaDatastore::check(Template * tmpl, string& error) +{ + map ds_request; + + string ds_id; + int size; + + tmpl->get("DATASTORE", ds_id); + + if ( ds_id.empty() ) + { + error = "Datastore not defined for image"; + return false; + } + + if ( tmpl->get("SIZE", size) == false ) + { + error = "Size not defined for image"; + return false; + } + + ds_request.insert(make_pair("IMAGES",1)); + ds_request.insert(make_pair("SIZE", size)); + + return check_quota(ds_id, ds_request, error); +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void QuotaDatastore::del(Template * tmpl) +{ + map ds_request; + + string ds_id; + int size; + + tmpl->get("DATASTORE", ds_id); + + if ( ds_id.empty() ) + { + return; + } + + if ( tmpl->get("SIZE", size) == false ) + { + return; + } + + ds_request.insert(make_pair("IMAGES",1)); + ds_request.insert(make_pair("SIZE", size)); + + del_quota(ds_id, ds_request); +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ diff --git a/src/um/QuotaImage.cc b/src/um/QuotaImage.cc new file mode 100644 index 0000000000..84d7d859f3 --- /dev/null +++ b/src/um/QuotaImage.cc @@ -0,0 +1,97 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#include "QuotaImage.h" + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +const char * QuotaImage::IMAGE_METRICS[] = {"RVMS"}; + +const int QuotaImage::NUM_IMAGE_METRICS = 1; + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +bool QuotaImage::check(Template * tmpl, string& error) +{ + vector disks; + VectorAttribute * disk; + + string image_id; + int num; + + map image_request; + + image_request.insert(make_pair("RVMS",1)); + + num = tmpl->get("DISK", disks); + + for (int i = 0 ; i < num ; i++) + { + disk = dynamic_cast(disks[i]); + + if ( disk == 0 ) + { + continue; + } + + image_id = disk->vector_value("IMAGE_ID"); + + if ( !check_quota(image_id, image_request, error) ) + { + return false; + } + } + + return true; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void QuotaImage::del(Template * tmpl) +{ + + vector disks; + VectorAttribute * disk; + + string image_id; + int num; + + map image_request; + + image_request.insert(make_pair("RVMS",1)); + + num = tmpl->get("DISK", disks); + + for (int i = 0 ; i < num ; i++) + { + disk = dynamic_cast(disks[i]); + + if ( disk == 0 ) + { + continue; + } + + image_id = disk->vector_value("IMAGE_ID"); + + del_quota(image_id, image_request); + } +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ diff --git a/src/um/QuotaNetwork.cc b/src/um/QuotaNetwork.cc new file mode 100644 index 0000000000..97433d952c --- /dev/null +++ b/src/um/QuotaNetwork.cc @@ -0,0 +1,97 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#include "QuotaNetwork.h" + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +const char * QuotaNetwork::NET_METRICS[] = {"LEASES"}; + +const int QuotaNetwork::NUM_NET_METRICS = 1; + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +bool QuotaNetwork::check(Template * tmpl, string& error) +{ + vector nics; + VectorAttribute * nic; + + string net_id; + int num; + + map net_request; + + net_request.insert(make_pair("LEASES",1)); + + num = tmpl->get("NIC", nics); + + for (int i = 0 ; i < num ; i++) + { + nic = dynamic_cast(nics[i]); + + if ( nic == 0 ) + { + continue; + } + + net_id = nic->vector_value("NETWORK_ID"); + + if ( !check_quota(net_id, net_request, error) ) + { + return false; + } + } + + return true; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void QuotaNetwork::del(Template * tmpl) +{ + + vector nics; + VectorAttribute * nic; + + string net_id; + int num; + + map net_request; + + net_request.insert(make_pair("LEASES",1)); + + num = tmpl->get("NIC", nics); + + for (int i = 0 ; i < num ; i++) + { + nic = dynamic_cast(nics[i]); + + if ( nic == 0 ) + { + continue; + } + + net_id = nic->vector_value("NETWORK_ID"); + + del_quota(net_id, net_request); + } +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ diff --git a/src/um/QuotaVirtualMachine.cc b/src/um/QuotaVirtualMachine.cc new file mode 100644 index 0000000000..deb07ea196 --- /dev/null +++ b/src/um/QuotaVirtualMachine.cc @@ -0,0 +1,105 @@ +/* -------------------------------------------------------------------------- */ +/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may */ +/* not use this file except in compliance with the License. You may obtain */ +/* a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* -------------------------------------------------------------------------- */ + +#include "QuotaVirtualMachine.h" + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +const char * QuotaVirtualMachine::VM_METRICS[] = {"VMS", "CPU", "MEMORY"}; + +const int QuotaVirtualMachine::NUM_VM_METRICS = 3; + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int QuotaVirtualMachine::get_quota(const string& id, VectorAttribute **va) +{ + vector values; + int num; + + *va = 0; + + num = get(template_name, values); + + if ( num == 0 ) + { + return 0; + } + + *va = dynamic_cast(values[0]); + + return 0; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +bool QuotaVirtualMachine::check(Template * tmpl, string& error) +{ + map vm_request; + + int memory; + int cpu; + + if ( tmpl->get("MEMORY", memory) == false ) + { + error = "MEMORY not defined for VM"; + return false; + } + + if ( tmpl->get("CPU", cpu) == false ) + { + error = "CPU not defined for VM"; + return false; + } + + vm_request.insert(make_pair("VMS",1)); + vm_request.insert(make_pair("MEMORY", memory)); + vm_request.insert(make_pair("CPU", cpu)); + + return check_quota("", vm_request, error); +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +void QuotaVirtualMachine::del(Template * tmpl) +{ + map vm_request; + + int memory; + int cpu; + + if ( tmpl->get("MEMORY", memory) == false ) + { + return; + } + + if ( tmpl->get("CPU", cpu) == false ) + { + return; + } + + vm_request.insert(make_pair("VMS",1)); + vm_request.insert(make_pair("MEMORY", memory)); + vm_request.insert(make_pair("CPU", cpu)); + + del_quota("", vm_request); +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ diff --git a/src/um/SConstruct b/src/um/SConstruct index 175d2c58ee..893811e548 100644 --- a/src/um/SConstruct +++ b/src/um/SConstruct @@ -23,7 +23,12 @@ lib_name='nebula_um' # Sources to generate the library source_files=[ 'User.cc', - 'UserPool.cc' + 'UserPool.cc', + 'Quota.cc', + 'QuotaDatastore.cc', + 'QuotaNetwork.cc', + 'QuotaVirtualMachine.cc', + 'QuotaImage.cc' ] # Build library diff --git a/src/um/User.cc b/src/um/User.cc index 7e6d78855b..0dfc86cc8f 100644 --- a/src/um/User.cc +++ b/src/um/User.cc @@ -136,8 +136,10 @@ error_common: string& User::to_xml(string& xml) const { - ostringstream oss; - string template_xml; + ostringstream oss; + + string template_xml; + string quota_xml; int enabled_int = enabled?1:0; @@ -151,6 +153,7 @@ string& User::to_xml(string& xml) const "" << auth_driver <<""<< "" << enabled_int <<"" << obj_template->to_xml(template_xml) << + quota.to_xml(quota_xml) << ""; xml = oss.str(); @@ -194,6 +197,8 @@ int User::from_xml(const string& xml) rc += obj_template->from_xml_node(content[0]); ObjectXML::free_nodes(content); + + rc += quota.from_xml(this); if (rc != 0) { diff --git a/src/um/UserPool.cc b/src/um/UserPool.cc index 5f1b89813e..90afc539a8 100644 --- a/src/um/UserPool.cc +++ b/src/um/UserPool.cc @@ -762,4 +762,3 @@ int UserPool::authorize(AuthRequest& ar) return rc; } - diff --git a/src/vm/VirtualMachine.cc b/src/vm/VirtualMachine.cc index f3db0feb78..c06f552293 100644 --- a/src/vm/VirtualMachine.cc +++ b/src/vm/VirtualMachine.cc @@ -99,9 +99,18 @@ const char * VirtualMachine::db_names = "owner_u, group_u, other_u"; const char * VirtualMachine::db_bootstrap = "CREATE TABLE IF NOT EXISTS " - "vm_pool (oid INTEGER PRIMARY KEY, name VARCHAR(128), body TEXT, uid INTEGER, " - "gid INTEGER, last_poll INTEGER, state INTEGER, lcm_state INTEGER, " - "owner_u INTEGER, group_u INTEGER, other_u INTEGER)"; + "vm_pool (oid INTEGER PRIMARY KEY, name VARCHAR(128), body TEXT, uid INTEGER, " + "gid INTEGER, last_poll INTEGER, state INTEGER, lcm_state INTEGER, " + "owner_u INTEGER, group_u INTEGER, other_u INTEGER)"; + + +const char * VirtualMachine::monit_table = "vm_monitoring"; + +const char * VirtualMachine::monit_db_names = "vmid, last_poll, body"; + +const char * VirtualMachine::monit_db_bootstrap = "CREATE TABLE IF NOT EXISTS " + "vm_monitoring (vmid INTEGER, last_poll INTEGER, body TEXT, " + "PRIMARY KEY(vmid, last_poll))"; /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ @@ -203,8 +212,8 @@ int VirtualMachine::insert(SqlDB * db, string& error_str) int rc; string name; - string value; - ostringstream oss; + string value; + ostringstream oss; // ------------------------------------------------------------------------ // Set a name if the VM has not got one and VM_ID @@ -232,6 +241,24 @@ int VirtualMachine::insert(SqlDB * db, string& error_str) this->name = name; + // ------------------------------------------------------------------------ + // Check for CPU and MEMORY attributes + // ------------------------------------------------------------------------ + + get_template_attribute("MEMORY", value); + + if ( value.empty()) + { + goto error_no_memory; + } + + get_template_attribute("CPU", value); + + if ( value.empty()) + { + goto error_no_cpu; + } + // ------------------------------------------------------------------------ // Get network leases // ------------------------------------------------------------------------ @@ -312,9 +339,16 @@ error_leases_rollback: release_network_leases(); goto error_common; +error_no_cpu: + error_str = "CPU attribute missing."; + goto error_common; + +error_no_memory: + error_str = "MEMORY attribute missing."; + goto error_common; + error_name_length: - oss << "NAME is too long; max length is 128 chars."; - error_str = oss.str(); + error_str = "NAME is too long; max length is 128 chars."; goto error_common; error_common: @@ -640,22 +674,14 @@ int VirtualMachine::insert_replace(SqlDB *db, bool replace, string& error_str) int rc; string xml_body; - char * sql_deploy_id; char * sql_name; char * sql_xml; - sql_deploy_id = db->escape_str(deploy_id.c_str()); - - if ( sql_deploy_id == 0 ) - { - goto error_generic; - } - sql_name = db->escape_str(name.c_str()); if ( sql_name == 0 ) { - goto error_name; + goto error_generic; } sql_xml = db->escape_str(to_xml(xml_body).c_str()); @@ -692,7 +718,6 @@ int VirtualMachine::insert_replace(SqlDB *db, bool replace, string& error_str) << group_u << "," << other_u << ")"; - db->free_str(sql_deploy_id); db->free_str(sql_name); db->free_str(sql_xml); @@ -701,7 +726,6 @@ int VirtualMachine::insert_replace(SqlDB *db, bool replace, string& error_str) return rc; error_xml: - db->free_str(sql_deploy_id); db->free_str(sql_name); db->free_str(sql_xml); @@ -710,14 +734,9 @@ error_xml: goto error_common; error_body: - db->free_str(sql_deploy_id); db->free_str(sql_name); goto error_generic; -error_name: - db->free_str(sql_deploy_id); - goto error_generic; - error_generic: error_str = "Error inserting VM in DB."; error_common: @@ -727,6 +746,60 @@ error_common: /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ +int VirtualMachine::update_monitoring(SqlDB * db) +{ + ostringstream oss; + int rc; + + string xml_body; + string error_str; + char * sql_xml; + + sql_xml = db->escape_str(to_xml(xml_body).c_str()); + + if ( sql_xml == 0 ) + { + goto error_body; + } + + if ( validate_xml(sql_xml) != 0 ) + { + goto error_xml; + } + + oss << "INSERT INTO " << monit_table << " ("<< monit_db_names <<") VALUES (" + << oid << "," + << last_poll << "," + << "'" << sql_xml << "')"; + + db->free_str(sql_xml); + + rc = db->exec(oss); + + return rc; + +error_xml: + db->free_str(sql_xml); + + error_str = "could not transform the VM to XML."; + + goto error_common; + +error_body: + error_str = "could not insert the VM in the DB."; + +error_common: + oss.str(""); + oss << "Error updating VM monitoring information, " << error_str; + + NebulaLog::log("ONE",Log::ERROR, oss); + + return -1; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + void VirtualMachine::add_history( int hid, const string& hostname, diff --git a/src/vm/VirtualMachinePool.cc b/src/vm/VirtualMachinePool.cc index 7f7fa7d207..8b0ac72538 100644 --- a/src/vm/VirtualMachinePool.cc +++ b/src/vm/VirtualMachinePool.cc @@ -24,11 +24,18 @@ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ -VirtualMachinePool::VirtualMachinePool(SqlDB * db, - vector hook_mads, - const string& hook_location, - const string& remotes_location, - vector& restricted_attrs) +time_t VirtualMachinePool::_monitor_expiration; + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +VirtualMachinePool::VirtualMachinePool( + SqlDB * db, + vector hook_mads, + const string& hook_location, + const string& remotes_location, + vector& restricted_attrs, + time_t expire_time) : PoolSQL(db, VirtualMachine::table, false) { const VectorAttribute * vattr; @@ -42,6 +49,13 @@ VirtualMachinePool::VirtualMachinePool(SqlDB * db, bool state_hook = false; + _monitor_expiration = expire_time; + + if ( _monitor_expiration == 0 ) + { + clean_all_monitoring(); + } + for (unsigned int i = 0 ; i < hook_mads.size() ; i++ ) { vattr = static_cast(hook_mads[i]); @@ -221,7 +235,7 @@ int VirtualMachinePool::allocate ( // Insert the Object in the pool // ------------------------------------------------------------------------ - *oid = PoolSQL::allocate(vm,error_str); + *oid = PoolSQL::allocate(vm, error_str); return *oid; } @@ -300,3 +314,66 @@ int VirtualMachinePool::dump_acct(ostringstream& oss, return PoolSQL::dump(oss, "HISTORY_RECORDS", cmd); }; + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int VirtualMachinePool::clean_expired_monitoring() +{ + if ( _monitor_expiration == 0 ) + { + return 0; + } + + time_t max_last_poll; + int rc; + ostringstream oss; + + max_last_poll = time(0) - _monitor_expiration; + + oss << "DELETE FROM " << VirtualMachine::monit_table + << " WHERE last_poll < " << max_last_poll; + + rc = db->exec(oss); + + return rc; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int VirtualMachinePool::clean_all_monitoring() +{ + ostringstream oss; + int rc; + + oss << "DELETE FROM " << VirtualMachine::monit_table; + + rc = db->exec(oss); + + return rc; +} + +/* -------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ + +int VirtualMachinePool::dump_monitoring( + ostringstream& oss, + const string& where) +{ + ostringstream cmd; + + cmd << "SELECT " << VirtualMachine::monit_table << ".body FROM " + << VirtualMachine::monit_table + << " INNER JOIN " << VirtualMachine::table + << " WHERE vmid = oid"; + + if ( !where.empty() ) + { + cmd << " AND " << where; + } + + cmd << " ORDER BY vmid, " << VirtualMachine::monit_table << ".last_poll;"; + + return PoolSQL::dump(oss, "MONITORING_DATA", cmd); +} diff --git a/src/vm/test/VirtualMachinePoolTest.cc b/src/vm/test/VirtualMachinePoolTest.cc index 8f5f7a9ac7..7de93a3707 100644 --- a/src/vm/test/VirtualMachinePoolTest.cc +++ b/src/vm/test/VirtualMachinePoolTest.cc @@ -90,7 +90,8 @@ public: SqlDB * db, vector hook_mads, vector restricted_attrs): - VirtualMachinePool(db, hook_mads, "./", "./", restricted_attrs) + VirtualMachinePool(db, hook_mads, + "./", "./", restricted_attrs, 0) {}; diff --git a/src/vmm/LibVirtDriverKVM.cc b/src/vmm/LibVirtDriverKVM.cc index 4952f733f6..b307f96103 100644 --- a/src/vmm/LibVirtDriverKVM.cc +++ b/src/vmm/LibVirtDriverKVM.cc @@ -131,11 +131,6 @@ int LibVirtDriver::deployment_description_kvm( vm->get_template_attribute("MEMORY",memory); - if (memory.empty()) - { - get_default("MEMORY",memory); - } - if (!memory.empty()) { memory_in_kb = atoi(memory.c_str()) * 1024; diff --git a/src/vmm/LibVirtDriverVMware.cc b/src/vmm/LibVirtDriverVMware.cc index 5161011caf..05b4cff863 100644 --- a/src/vmm/LibVirtDriverVMware.cc +++ b/src/vmm/LibVirtDriverVMware.cc @@ -119,11 +119,6 @@ int LibVirtDriver::deployment_description_vmware( vm->get_template_attribute("MEMORY",memory); - if (memory.empty()) - { - get_default("MEMORY",memory); - } - if (!memory.empty()) { memory_in_kb = atoi(memory.c_str()) * 1024; diff --git a/src/vmm/VirtualMachineManager.cc b/src/vmm/VirtualMachineManager.cc index 7f666d31a0..e676f3524f 100644 --- a/src/vmm/VirtualMachineManager.cc +++ b/src/vmm/VirtualMachineManager.cc @@ -1182,6 +1182,9 @@ void VirtualMachineManager::timer_action() mark = 0; } + // Clear the expired monitoring records + vmpool->clean_expired_monitoring(); + // Monitor only VMs that hasn't been monitored for 'poll_period' seconds. rc = vmpool->get_running(oids, vm_limit, thetime - poll_period); diff --git a/src/vmm/VirtualMachineManagerDriver.cc b/src/vmm/VirtualMachineManagerDriver.cc index bb130cbc12..651d9bbefe 100644 --- a/src/vmm/VirtualMachineManagerDriver.cc +++ b/src/vmm/VirtualMachineManagerDriver.cc @@ -435,6 +435,7 @@ void VirtualMachineManagerDriver::protocol( vmpool->update(vm); vmpool->update_history(vm); + vmpool->update_monitoring(vm); if (state != '-' && (vm->get_lcm_state() == VirtualMachine::RUNNING || diff --git a/src/vmm/XenDriver.cc b/src/vmm/XenDriver.cc index 0add29a1d9..7ffa4fa944 100644 --- a/src/vmm/XenDriver.cc +++ b/src/vmm/XenDriver.cc @@ -109,11 +109,6 @@ int XenDriver::deployment_description( vm->get_template_attribute("MEMORY",memory); - if (memory.empty()) - { - get_default("MEMORY",memory); - } - if (!memory.empty()) { file << "memory = '" << memory << "'" << endl; diff --git a/src/vmm_mad/exec/vmm_exec_kvm.conf b/src/vmm_mad/exec/vmm_exec_kvm.conf index e3984f7971..5f3ef0d752 100644 --- a/src/vmm_mad/exec/vmm_exec_kvm.conf +++ b/src/vmm_mad/exec/vmm_exec_kvm.conf @@ -19,8 +19,6 @@ # be overridden in each VM template. Valid atributes are: # - emulator # - os [kernel,initrd,boot,root,kernel_cmd,arch] -# - memory -# - cpu # - vcpu # - features [acpi, pae] # - disk [driver, cache] @@ -29,7 +27,6 @@ #EMULATOR = /usr/libexec/qemu-kvm #VCPU = 1 -#MEMORY = 128 OS = [ boot = "hd", arch = "i686" ] FEATURES = [ PAE = "no", ACPI = "yes" ] diff --git a/src/vmm_mad/exec/vmm_exec_vmware.conf b/src/vmm_mad/exec/vmm_exec_vmware.conf index 5d15d9d114..f0e3e1040e 100644 --- a/src/vmm_mad/exec/vmm_exec_vmware.conf +++ b/src/vmm_mad/exec/vmm_exec_vmware.conf @@ -17,14 +17,13 @@ # Default configuration attributes for the VMware driver # (all domains will use these values as defaults) # Valid atributes: -# - memory -# - cpu +# - vcpu # - os[arch] # - disk[dirver] # - datastore -CPU = 1 -MEMORY = 256 +#VCPU = 1 + OS = [ ARCH = i686 ] DISK = [ DRIVER = file ] diff --git a/src/vmm_mad/exec/vmm_exec_xen.conf b/src/vmm_mad/exec/vmm_exec_xen.conf index d818abbe23..3d4ac94fba 100644 --- a/src/vmm_mad/exec/vmm_exec_xen.conf +++ b/src/vmm_mad/exec/vmm_exec_xen.conf @@ -19,12 +19,11 @@ # be overridden in each VM template. Valid atributes are: # - credit # - os [kernel,initrd,root,kernel_cmd] -# - memory # - vcpu # - disk[driver] -#VCPU = 1 -#MEMORY = 128 -#OS = [ kernel="/vmlinuz", initrd="/initrd.img", root="sda1", kernel_cmd="ro" ] +#VCPU = 1 +#OS = [ kernel="/vmlinuz", initrd="/initrd.img", root="sda1", kernel_cmd="ro" ] + CREDIT = 256 DISK = [ driver = "tap:aio:" ] diff --git a/src/vmm_mad/remotes/xen/deploy b/src/vmm_mad/remotes/xen/deploy index 7252a5f2ce..026144b50f 100755 --- a/src/vmm_mad/remotes/xen/deploy +++ b/src/vmm_mad/remotes/xen/deploy @@ -50,7 +50,9 @@ if [ "x$?" = "x0" ]; then $XM_CREDITS -d $name -w $credits - error_exit $? "Unable to set VM credits" + if [ "x$?" != "x0" ]; then + log_error "Unable to set VM credits" + fi fi echo $domain_name diff --git a/src/vmm_mad/remotes/xen/xenrc b/src/vmm_mad/remotes/xen/xenrc index 76631ce207..5d7b52f392 100644 --- a/src/vmm_mad/remotes/xen/xenrc +++ b/src/vmm_mad/remotes/xen/xenrc @@ -29,6 +29,10 @@ export XM_LIST="sudo $XM_PATH list" export XM_SHUTDOWN="sudo $XM_PATH shutdown" export XM_POLL="sudo /usr/sbin/xentop -bi2" +# In xen 4.1 the credit scheduler command is called sched-credit, +# uncomment this line if you are using this version +#export XM_CREDITS="sudo $XM_PATH sched-credit" + # Seconds to wait after shutdown until timeout export SHUTDOWN_TIMEOUT=300 diff --git a/src/vnm/VirtualNetworkPool.cc b/src/vnm/VirtualNetworkPool.cc index 4a1ca02857..3f0efef8f6 100644 --- a/src/vnm/VirtualNetworkPool.cc +++ b/src/vnm/VirtualNetworkPool.cc @@ -286,6 +286,11 @@ void VirtualNetworkPool::authorize_nic(VectorAttribute * nic, if (!(network = nic->vector_value("NETWORK")).empty()) { vnet = get_nic_by_name (nic, network, uid, error); + + if ( vnet != 0 ) + { + nic->replace("NETWORK_ID", vnet->get_oid()); + } } else if (!(network = nic->vector_value("NETWORK_ID")).empty()) {
'+this.title+'