Skip to content
Snippets Groups Projects
Commit 75009657 authored by Yas Naoi's avatar Yas Naoi
Browse files

by yas: added a description for additional AWS regions.

parent bbdbca81
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,6 @@ CHANGE HISTORY
Copyright
=========
Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
End of CHANGELOG.txt
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @file
* An SSH private key transfer applet (from server to client)
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
BASIC INFO
==========
- Provides common functionalites for cloud management.
- Provides common functionaliites for cloud management.
- Cloud module is a heart of cloud package. This requires at least one
"cloud support module" such as AWS module, XCP and so on.
- Once you install the 'Cloud' module be sure to grant the 'access dashboard' permission.
......@@ -25,8 +25,8 @@ e.g. (For an administrator)
SYSTEM REQUIREMENTS
===================
- PHP 5.2 or Higher
- MySQL 5.1 or Higher
- PHP 5.3.3 or Higher
- MySQL 5.1 or Higher
- Drupal 6.x
- 512MB Memory: If you use Amazon EC2 module, the running host of this
system requires more than 512MB memory to download a list of images
......@@ -99,6 +99,7 @@ CHANGE HISTORY
Copyright
=========
Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
End of README.txt
\ No newline at end of file
......@@ -5,7 +5,7 @@
* Hooks provided by Cloud.
* This is a documentation file
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
......@@ -25,13 +25,13 @@ DOXYFILE_ENCODING = UTF-8
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
# by quotes) that should identify the project.
PROJECT_NAME = "Clanavi ver.1.1"
PROJECT_NAME = "Clanavi ver.1.2"
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER = ver.1.1
PROJECT_NUMBER = ver.1.2
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
......
......@@ -4,7 +4,7 @@
* @file
* Provides common functionalites for cloud.module.
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
......@@ -4,7 +4,7 @@
* @file
* Install for cloud.module
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
......@@ -5,7 +5,7 @@
* Enables users to access the Privately managed clouds.
* Provides common functionalites for cloud management.
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
......@@ -5,7 +5,7 @@
* This is the base class of all Cloud module family.
* Basically this test case does nothing.
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
......@@ -4,6 +4,6 @@
* @file
* This is a supplemental file for launching a SSH console.
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......@@ -4,7 +4,7 @@
* @file
* Defines constants for cloud.module
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
......@@ -5,7 +5,7 @@
* Test Cases for Cloud Module.
* This test case is the base class of all Cloud module family.
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
......@@ -4,7 +4,7 @@
* @file
* Provides common database-related functionalites for cloud management.
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
......@@ -4,7 +4,7 @@
* @file
* Used for this module
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
......
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
*
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
function switchOptions()
{
var filterOption = document.getElementById("filterOption").value;
if (filterOption=="location") {
document.getElementById("moduleFilter").style.display="";
document.getElementById("otherFilter").style.display="none";
}
else{
document.getElementById("otherFilter").style.display="";
document.getElementById("moduleFilter").style.display="none";
}
function switchOptions()
{
var filterOption = document.getElementById("filterOption").value;
if (filterOption=="location") {
document.getElementById("moduleFilter").style.display="";
document.getElementById("otherFilter").style.display="none";
}
else{
document.getElementById("otherFilter").style.display="";
document.getElementById("moduleFilter").style.display="none";
}
}
\ No newline at end of file
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
*
*/
var refresh_in_sec = 10 ;
if ( Drupal.jsEnabled ) {
$(document).ready(function() {
setInterval('autoupdate_all_instances_list()', refresh_in_sec * 1000);
});
}
function autoupdate_all_instances_list() {
var sort_col_val = $("img[alt$='sort icon']").parent().text() ;
var sort_img_src = $("img[alt$='sort icon']").attr('src') ;
var order = sort_col_val.substr( 0 , sort_col_val.length / 2 ) ;
var sort = 'desc' ;
if ( sort_img_src != ''
&& sort_img_src.indexOf('desc') != -1 ) {
sort = 'asc' ;
}
var tgt_url = $("img[alt$='sort icon']").parent().attr('href') ;
var opr_index = tgt_url.indexOf('operation=') ;
var operation = '' ;
var filter = '' ;
if ( opr_index != - 1) {
operation = tgt_url.charAt( opr_index + 'operation='.length ) ;
// Operation exists check filter value
var fltr_start_index = tgt_url.indexOf('filter=') ;
var fltr_end_index = tgt_url.indexOf('&' , fltr_start_index ) ;
if ( fltr_start_index != -1
&& fltr_end_index != -1 ) {
filter = tgt_url.substring( fltr_start_index + 'filter='.length , fltr_end_index ) ;
filter = unescape( filter) ;
}
}
// In case we need to use the current values
// var operation = $('select[name=operation]').val() ;
// var filter = $('input[name=filter]').val() ;
$url = $('#all_instances_list_table').attr('autoupdate_url') ;
$.get($url , { 'order' : order,
'sort' : sort,
'operation' : operation,
'filter' : filter,
}
,
update_all_instances_list );
}
function update_all_instances_list(response) {
var result = Drupal.parseJson(response).normalize();
var head_present = $('#all_instances_list_table').children('thead').length ;
var body_present = $('#all_instances_list_table').children('tbody').length ;
if (result.html != 'NULL' ) { // Returned empty string. skip the output
if (head_present) { // Head already present
if (body_present) {
$('#all_instances_list_table tbody').replaceWith(result.html);
}
else { // Body not present
$('#all_instances_list_table').append(result.html);
}
}
else {
var head_str = $('#all_instances_list_table').html() ;
head_str = head_str.replace( '<tbody>' , '<thead>' ) ;
head_str = head_str.replace( '</tbody>' , '</thead>' ) ;
$('#all_instances_list_table tbody').replaceWith(head_str);
$('#all_instances_list_table tbody').append(result.html);
}
Drupal.behaviors.showActionButtons() ;
}
else {
if (head_present && body_present) {
$('#all_instances_list_table tbody').remove() ;
}
}
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
var refresh_in_sec = 10 ;
if ( Drupal.jsEnabled ) {
$(document).ready(function() {
setInterval('autoupdate_all_instances_list()', refresh_in_sec * 1000);
});
}
function autoupdate_all_instances_list() {
var sort_col_val = $("img[alt$='sort icon']").parent().text() ;
var sort_img_src = $("img[alt$='sort icon']").attr('src') ;
var order = sort_col_val.substr( 0 , sort_col_val.length / 2 ) ;
var sort = 'desc' ;
if ( sort_img_src != ''
&& sort_img_src.indexOf('desc') != -1 ) {
sort = 'asc' ;
}
var tgt_url = $("img[alt$='sort icon']").parent().attr('href') ;
var opr_index = tgt_url.indexOf('operation=') ;
var operation = '' ;
var filter = '' ;
if ( opr_index != - 1) {
operation = tgt_url.charAt( opr_index + 'operation='.length ) ;
// Operation exists check filter value
var fltr_start_index = tgt_url.indexOf('filter=') ;
var fltr_end_index = tgt_url.indexOf('&' , fltr_start_index ) ;
if ( fltr_start_index != -1
&& fltr_end_index != -1 ) {
filter = tgt_url.substring( fltr_start_index + 'filter='.length , fltr_end_index ) ;
filter = unescape( filter) ;
}
}
// In case we need to use the current values
// var operation = $('select[name=operation]').val() ;
// var filter = $('input[name=filter]').val() ;
$url = $('#all_instances_list_table').attr('autoupdate_url') ;
$.get($url , { 'order' : order,
'sort' : sort,
'operation' : operation,
'filter' : filter,
}
,
update_all_instances_list );
}
function update_all_instances_list(response) {
var result = Drupal.parseJson(response).normalize();
var head_present = $('#all_instances_list_table').children('thead').length ;
var body_present = $('#all_instances_list_table').children('tbody').length ;
if (result.html != 'NULL' ) { // Returned empty string. skip the output
if (head_present) { // Head already present
if (body_present) {
$('#all_instances_list_table tbody').replaceWith(result.html);
}
else { // Body not present
$('#all_instances_list_table').append(result.html);
}
}
else {
var head_str = $('#all_instances_list_table').html() ;
head_str = head_str.replace( '<tbody>' , '<thead>' ) ;
head_str = head_str.replace( '</tbody>' , '</thead>' ) ;
$('#all_instances_list_table tbody').replaceWith(head_str);
$('#all_instances_list_table tbody').append(result.html);
}
Drupal.behaviors.showActionButtons() ;
}
else {
if (head_present && body_present) {
$('#all_instances_list_table tbody').remove() ;
}
}
}
\ No newline at end of file
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
*
*/
var refresh_in_sec = 10 ;
if ( Drupal.jsEnabled ) {
$(document).ready(function() {
setInterval("autoupdate_cluster_server_list()", refresh_in_sec * 1000);
});
}
function autoupdate_cluster_server_list() {
var sort_col_val = $("img[alt$='sort icon']").parent().text() ;
order = sort_col_val.substr( 0 , sort_col_val.length/2 ) ;
var sort_img_src = $("img[alt$='sort icon']").attr('src') ;
var sort = 'desc' ;
if ( sort_img_src != '' && sort_img_src.indexOf('desc') != -1 ) {
sort = 'asc' ;
}
var cluster_id = $('input[name=cluster_id]').val() ;
var $url = $('#cluster_servers_list_table').attr('autoupdate_url') ;
$.get($url , { 'order' : order,
'sort' : sort,
'cluster_id' : cluster_id,
}
,
update_cluster_servers_list );
}
function update_cluster_servers_list(response) {
var result = Drupal.parseJson(response).normalize();
var head_present = $('#cluster_servers_list_table').children('thead').length ;
var body_present = $('#cluster_servers_list_table').children('tbody').length ;
if (result.html != 'NULL' ) { // Returned empty string. skip the output
if (head_present) { // Head already present
if (body_present) {
$('#cluster_servers_list_table tbody').replaceWith(result.html);
}
else { // Body not present
$('#cluster_servers_list_table').append(result.html);
}
}
else {
var head_str = $('#cluster_servers_list_table').html() ;
head_str = head_str.replace( '<tbody>' , '<thead>' ) ;
head_str = head_str.replace( '</tbody>' , '</thead>' ) ;
$('#cluster_servers_list_table tbody').replaceWith(head_str);
$('#cluster_servers_list_table tbody').append(result.html);
}
Drupal.behaviors.showActionButtons() ;
}
else {
if (head_present && body_present) {
$('#cluster_servers_list_table tbody').remove() ;
}
}
}
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
var refresh_in_sec = 10 ;
if ( Drupal.jsEnabled ) {
$(document).ready(function() {
setInterval("autoupdate_cluster_server_list()", refresh_in_sec * 1000);
});
}
function autoupdate_cluster_server_list() {
var sort_col_val = $("img[alt$='sort icon']").parent().text() ;
order = sort_col_val.substr( 0 , sort_col_val.length/2 ) ;
var sort_img_src = $("img[alt$='sort icon']").attr('src') ;
var sort = 'desc' ;
if ( sort_img_src != '' && sort_img_src.indexOf('desc') != -1 ) {
sort = 'asc' ;
}
var cluster_id = $('input[name=cluster_id]').val() ;
var $url = $('#cluster_servers_list_table').attr('autoupdate_url') ;
$.get($url , { 'order' : order,
'sort' : sort,
'cluster_id' : cluster_id,
}
,
update_cluster_servers_list );
}
function update_cluster_servers_list(response) {
var result = Drupal.parseJson(response).normalize();
var head_present = $('#cluster_servers_list_table').children('thead').length ;
var body_present = $('#cluster_servers_list_table').children('tbody').length ;
if (result.html != 'NULL' ) { // Returned empty string. skip the output
if (head_present) { // Head already present
if (body_present) {
$('#cluster_servers_list_table tbody').replaceWith(result.html);
}
else { // Body not present
$('#cluster_servers_list_table').append(result.html);
}
}
else {
var head_str = $('#cluster_servers_list_table').html() ;
head_str = head_str.replace( '<tbody>' , '<thead>' ) ;
head_str = head_str.replace( '</tbody>' , '</thead>' ) ;
$('#cluster_servers_list_table tbody').replaceWith(head_str);
$('#cluster_servers_list_table tbody').append(result.html);
}
Drupal.behaviors.showActionButtons() ;
}
else {
if (head_present && body_present) {
$('#cluster_servers_list_table tbody').remove() ;
}
}
}
......@@ -4,7 +4,7 @@
* @file
* For displaying Pie Chart and Bar Graph in Cloud Dashboard module
*
* Copyright (c) 2010-2011 DOCOMO Communications Laboratories USA, Inc.
* Copyright (c) 2010-2012 DOCOMO Communications Laboratories USA, Inc.
*
*/
Drupal.behaviors.cloudDashboard = function (context) {
......
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
*
*/
function switchOptions() {
var fAction = document.getElementById("fAction").value;
if (fAction == 1) {
document.getElementById("fScript").style.display = "";
}
else{
document.getElementById("fScript").style.display = "none";
}
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
function switchOptions() {
var fAction = document.getElementById("fAction").value;
if (fAction == 1) {
document.getElementById("fScript").style.display = "";
}
else{
document.getElementById("fScript").style.display = "none";
}
}
\ No newline at end of file
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2011 DOCOMO Innovations, Inc.
*
*/
function switchOptions(paramID)
{
var inputType = document.getElementById(paramID + "_inputType").value;
if (document.getElementById(paramID + "_inputEnv"))
document.getElementById(paramID + "_inputEnv").style.display = "none";
if (inputType == "text") {
//alert('here');
document.getElementById(paramID + "_inputText").style.display = "";
document.getElementById(paramID + "_inputKey").style.display = "none";
document.getElementById(paramID + "_instance_select").style.display = "none";
}
elseif (inputType == 'key') {
//alert(paramID+"_inputKey");
document.getElementById(paramID + "_inputKey").style.display = "";
document.getElementById(paramID + "_inputText").style.display = "none";
document.getElementById(paramID + "_instance_select").style.display = "none";
}
else {
//alert('here');
if (document.getElementById(paramID + "_inputEnv"))
{
document.getElementById(paramID + "_inputEnv").style.display = "";
document.getElementById(paramID + "_instance_select").style.display = "";
}
if (document.getElementById(paramID + "_inputText"))
document.getElementById(paramID + "_inputText").style.display = "none";
if (document.getElementById(paramID + "_inputKey"))
document.getElementById(paramID + "_inputKey" ).style.display = "none";
}
// $Id$
/**
* @file
* Used for this module
*
* Copyright (c) 2010-2012 DOCOMO Innovations, Inc.
*
*/
function switchOptions(paramID)
{
var inputType = document.getElementById(paramID + "_inputType").value;
if (document.getElementById(paramID + "_inputEnv"))
document.getElementById(paramID + "_inputEnv").style.display = "none";
if (inputType == "text") {
//alert('here');
document.getElementById(paramID + "_inputText").style.display = "";
document.getElementById(paramID + "_inputKey").style.display = "none";
document.getElementById(paramID + "_instance_select").style.display = "none";
}
elseif (inputType == 'key') {
//alert(paramID+"_inputKey");
document.getElementById(paramID + "_inputKey").style.display = "";
document.getElementById(paramID + "_inputText").style.display = "none";
document.getElementById(paramID + "_instance_select").style.display = "none";
}
else {
//alert('here');
if (document.getElementById(paramID + "_inputEnv"))
{
document.getElementById(paramID + "_inputEnv").style.display = "";
document.getElementById(paramID + "_instance_select").style.display = "";
}
if (document.getElementById(paramID + "_inputText"))
document.getElementById(paramID + "_inputText").style.display = "none";
if (document.getElementById(paramID + "_inputKey"))
document.getElementById(paramID + "_inputKey" ).style.display = "none";
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment