X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plekit%2Ftable%2Fcolumns.js;h=32dbbf3d5e98383e07885c6e71a53ed291cff46e;hb=d694eb9fdfe0a7bcb9d8fc7b571751475f4227be;hp=daf64d604adef4fabf1cb87c3ca04fbc0af93919;hpb=bbdd2d949c4f1dc8db02dcc184d651f534a7b2a5;p=plewww.git diff --git a/plekit/table/columns.js b/plekit/table/columns.js index daf64d6..32dbbf3 100644 --- a/plekit/table/columns.js +++ b/plekit/table/columns.js @@ -6,272 +6,299 @@ var normal_color = "black"; //Descriptions overriding the default ones set in Accessors_site.py and configuration -var sourceComon = 'CoMon'; -var sourceTophat = 'TopHat'; -var sourceTophatAPI = 'TopHat API'; -var sourceMySlice = 'MySlice'; -var sourceCymru = 'Team Cymru'; -var sourceMyPLC = 'MyPLC API'; -var sourceManiacs = 'MANIACS'; -var sourceMaxmind = 'MaxMind'; -var sourceMonitor = 'Monitor'; -var hardwareReqs = 'current PlanetLab hardware requirement'; -var selectReferenceNode ='Select reference node: '; -//var addButton = ''; -//var deleteButton = ''; +var sourceComon = 'CoMon'; +var sourceTophat = 'TopHat'; +var sourceTophatAPI = 'TopHat API'; +var sourceMySlice = 'MySlice'; +var sourceCymru = 'Team Cymru'; +var sourceSonoma = 'SONoMA'; +var sourceMyPLC = 'MyPLC API'; +var sourceManiacs = 'MANIACS'; +var sourceMaxmind = 'MaxMind'; +var sourceMonitor = 'Monitor'; +var hardwareReqs = 'current PlanetLab hardware requirement'; +var selectReferenceNode ='
'; +var selectReferenceNodeRTT ='
'; var descHOSTNAME = "test"; - var titleAU = 'Authority'; -var detailAU = 'The authority of the global PlanetLab federation that the site of the node belongs to.'; -var valuesAU = 'Values: PLC (PlanetLab Central), PLE (PlanetLab Europe)'; +var detailAU = 'The authority of the global PlanetLab federation that the site of the node belongs to.'; +var valuesAU = 'PLC (PlanetLab Central), PLE (PlanetLab Europe)'; var sourceAU = 'Source: '+sourceMyPLC; -var descAU = ''+titleAU+'

'+detailAU+'

'+valuesAU+'

'+sourceAU; +var descAU = ''+titleAU+'

'+detailAU+'

Values: '+valuesAU+'

Source: '+sourceMyPLC+'

'; var titleST = 'Status'; var sourceST = 'Source: '+sourceMonitor; -var valuesST = 'Values: online (up and running), good (up and running recently), offline (unreachable today), down (node unreachable for more than one day), failboot (reachable, but only by administrators for debugging purposes).'; -var descST = ''+titleST+'

'+valuesST+'

'+sourceST; +var valuesST = 'Values: online (up and running), good (up and running recently), offline (unreachable today), down (node unreachable for more than one day), failboot (reachable, but only by administrators for debugging purposes).'; +var descST = ''+titleST+'

'+valuesST+'

'+sourceST+'

'; var titleA = 'Architecture name'; -var detailA = 'The node architecture.'; +var detailA = 'The node architecture.'; var sourceA = 'Source: '+sourceMyPLC; -var valuesA = 'Values: x86_64, i386, n/a'; -var descA = ''+titleA+'

'+detailA+'

'+valuesA+'

'+sourceA; +var valuesA = 'x86_64, i386, n/a'; +var descA = ''+titleA+'

'+detailA+'

Values: '+valuesA+'

'+sourceA+'

'; var titleAS = 'Autonomous system ID'; var sourceAS = 'Source: '+sourceCymru+' (via '+sourceTophat+')'; -var valuesAS = 'Values: Integer between 0 and 65535, n/a'; -var descAS = ''+titleAS+'

'+valuesAS+'

' + sourceAS; +var valuesAS = 'Values: Integer between 0 and 65535, n/a'; +var descAS = ''+titleAS+'

'+valuesAS+'

' + sourceAS+'

'; var titleAST = 'Autonomous system type'; var sourceAST = 'Source: '+sourceManiacs; -var valuesAST = 'Values: t1 (tier-1), t2 (tier-2), edu (university), comp (company), nic (network information centre -- old name for a domain name registry operator), ix (IXP), n/a'; -var descAST = ''+titleAST+'

'+valuesAST+'

'+sourceAST; +var valuesAST = 'Values: t1 (tier-1), t2 (tier-2), edu (university), comp (company), nic (network information centre -- old name for a domain name registry operator), ix (IXP), n/a'; +var descAST = ''+titleAST+'

'+valuesAST+'

'+sourceAST+'

'; var titleASN = 'Autonomous system name'; var sourceASN = 'Source: '+sourceTophat; -var descASN = ''+titleASN+'

'+sourceASN; +var descASN = ''+titleASN+'

'+sourceASN+'

'; var selectPeriodBU = 'Select period: '; var titleBU = 'Bandwidth utilization '; var sourceBU = 'Source: '+sourceComon+' (via '+sourceMySlice+')'; -var valuesBU ='Unit: Kbps'; -var detailBU = 'The average transmited bandwidh over the selected period. The period is the most recent for which data is available, with CoMon data being collected by MySlice daily.' -var descBU = ''+titleBU+'

'+detailBU+'

'+selectPeriodBU+'

'+valuesBU+'

'+sourceBU; +var valuesBU ='Unit: Kbps'; +var detailBU = 'The average transmited bandwidh over the selected period. The period is the most recent for which data is available, with CoMon data being collected by MySlice daily.' +var descBU = ''+titleBU+'

'+detailBU+'

'+selectPeriodBU+'

'+valuesBU+'

'+sourceBU+'

'; var titleBW= 'Bandwidth limit'; var sourceBW = 'Source: '+sourceComon; -var valuesBW = 'Unit: Kbps'; -var detailBW = 'The bandwidth limit is a cap on the total outbound bandwidth usage of a node. It is set by the site administrator (PI). For more details see Bandwidth Limits (planet-lab.org).'; -var descBW = ''+titleBW+'

'+detailBW+'

'+valuesBW+'

'+sourceBW; +var valuesBW = 'Unit: Kbps'; +var detailBW = 'The bandwidth limit is a cap on the total outbound bandwidth usage of a node. It is set by the site administrator (PI). For more details see Bandwidth Limits (planet-lab.org).'; +var descBW = ''+titleBW+'

'+detailBW+'

'+valuesBW+'

'+sourceBW+'

'; var titleCC = 'Number of CPU cores'; var sourceCC = 'Source: '+sourceComon; -var valuesCC = 'The number of CPU cores on the node. For reference, the '+hardwareReqs+' is 4 cores min.
(Older nodes may have fewer cores)
.'; -var descCC = ''+titleCC+'

'+valuesCC+'

'+sourceCC; +var detailCC = 'The number of CPU cores on the node. For reference, the '+hardwareReqs+' is 4 cores min. (Older nodes may have fewer cores).'; +var descCC = ''+titleCC+'

'+detailCC+'

'+sourceCC+'

'; var titleCN = 'Number of CPUs'; var sourceCN = 'Source: '+sourceComon; -var valuesCN = 'The number of CPUs on the node. For reference, the '+hardwareReqs+' is 1 (if quad core) or 2 (if dual core).'; -var descCN = ''+titleCN+'

'+valuesCN+'

'+sourceCN; +var detailCN = 'The number of CPUs on the node. For reference, the '+hardwareReqs+' is 1 (if quad core) or 2 (if dual core).'; +var descCN = ''+titleCN+'

'+detailCN+'

'+sourceCN+'

'; + +var titleCPC = 'Number of cores per CPU'; +var sourceCPC = 'Source: '+sourceComon; +var detailCPC = 'The number of cores per CPU on the node.'; +var descCPC = ''+titleCPC+'

'+detailCPC+'

'+sourceCPC+'

'; var titleCR = 'CPU clock rate'; -var detailCR = 'The clock rate for the CPUs on the node. For reference, the '+hardwareReqs+' is 2.4 GHz.'; +var detailCR = 'The clock rate for the CPUs on the node. For reference, the '+hardwareReqs+' is 2.4 GHz.'; var sourceCR = 'Source: '+sourceComon; -var valuesCR = 'Unit: GHz'; -var descCR = ''+titleCR+'

'+detailCR+'

'+valuesCR+'

'+sourceCR; +var valuesCR = 'Unit: GHz'; +var descCR = ''+titleCR+'

'+detailCR+'

'+valuesCR+'

'+sourceCR+'

'; var selectPeriodCF = 'Select period: '; var titleCF = 'Free CPU'; var sourceCF = 'Source: '+sourceComon+' (via '+sourceMySlice+')'; -var valuesCF = 'Unit: %'; -var detailCF = ' The average CPU percentage that gets allocated to a test slice named burb that is periodically run by CoMon.'; -var descCF = ''+titleCF+'

'+detailCF+'

'+selectPeriodCF+'

'+valuesCF+'

'+sourceCF; +var valuesCF = 'Unit: %'; +var detailCF = 'The average CPU percentage that gets allocated to a test slice named burb that is periodically run by CoMon.'; +var descCF = ''+titleCF+'

'+detailCF+'

'+selectPeriodCF+'

'+valuesCF+'

'+sourceCF+'

'; var titleDN = 'Toplevel domain name'; var sourceDN = 'Source: '+sourceMyPLC; -var descDN = ''+titleDN+'

'+sourceDN; +var descDN = ''+titleDN+'

'+sourceDN+'

'; var titleDA = 'Date added'; var sourceDA = 'Source: '+sourceMyPLC; -var detailDA = ' The date that the noded was added to PlanetLab.'; -var descDA = ''+titleDA+'

'+detailDA+'

'+sourceDA; +var detailDA = 'The date that the node was added to PlanetLab.'; +var descDA = ''+titleDA+'

'+detailDA+'

'+sourceDA+'

'; + +var titleDL = 'Deployment'; +var detailDL = 'The deployment status.'; +var valuesDL = 'Values: alpha, beta, production, n/a'; +var sourceDL = 'Source: '+sourceMyPLC; +var descDL = ''+titleDL+'

'+detailDL+'

'+valuesDL+'

'+sourceDL+'

'; var titleDS = 'Disk size'; -var detailDS = 'The size of the hard disk available on the node. For reference, the '+hardwareReqs+' is 500 GB.'; +var detailDS = 'The size of the hard disk available on the node. For reference, the '+hardwareReqs+' is 500 GB.'; var sourceDS = 'Source: '+sourceComon; -var valuesDS = 'Unit: GB'; -var descDS = ''+titleDS+'

'+detailDS+'

'+valuesDS+'

'+sourceDS; +var valuesDS = 'Unit: GB'; +var descDS = ''+titleDS+'

'+detailDS+'

'+valuesDS+'

'+sourceDS+'

'; var titleDU = 'Current disk utilization'; -var sourceDU = 'Source: '+sourceComon+' (via '+sourceMySlice+')'; -var valuesDU = 'Unit: GB'; -var detailDU = ' The amount of disk space currently consumed (checked daily).'; -var descDU = ''+titleDU+'

'+detailDU+'

'+valuesDU+'

'+sourceDU; +var sourceDU = 'Source: '+sourceComon; +var valuesDU = 'Unit: GB'; +var detailDU = 'The amount of disk space currently consumed.'; +var descDU = ''+titleDU+'

'+detailDU+'

'+valuesDU+'

'+sourceDU+'

'; var titleDF = 'Disk space free'; -var sourceDF = 'Source: '+sourceComon+' (via '+sourceMySlice+')'; -var valuesDF = 'Unit: GB'; -var detailDF = ' The amount of disk space currently available (checked daily).'; -var descDF = ''+titleDF+'

'+detailDF+'

'+valuesDF+'

'+sourceDF; +var sourceDF = 'Source: '+sourceComon; +var valuesDF = 'Unit: GB.'; +var detailDF = 'The amount of disk space currently available.'; +var descDF = ''+titleDF+'

'+detailDF+'

'+valuesDF+'

'+sourceDF+'

'; var titleHC = 'Hop count (pairwise)'; var sourceHC = 'Source: '+sourceTophat; -var detailHC = 'TopHat conducts traceroutes every five minutes in a full mesh between all PlanetLab nodes. The hop count is the length of the traceroute from the node to the reference node, based upon the most recently reported traceroute.'; -var descHC = ''+titleHC+'

'+detailHC+'

'+selectReferenceNode+'

'+sourceHC; +var detailHC = 'TopHat conducts traceroutes every five minutes in a full mesh between all PlanetLab nodes. The hop count is the length of the traceroute from the node to the reference node, based upon the most recently reported traceroute.'; +var descHC = ''+titleHC+'

'+detailHC+'

'+selectReferenceNode+'

'+sourceHC+'

'; var titleIP = 'IP address'; var sourceIP = 'Source: '+sourceMyPLC; -var descIP = ''+titleIP+'

'+sourceIP; +var descIP = ''+titleIP+'

'+sourceIP+'

'; var selectPeriodL = 'Select period: '; var titleL= 'Load '; var sourceL = 'Source: '+sourceComon; -var valuesL = 'Unit: 5-minute load'; -var detailL = 'The average 5-minute load (as reported by the Unix uptime command) over the selected period.'; -var descL = ''+titleL+'

'+detailL+'

'+selectPeriodL+'

'+valuesL+'

'+sourceL; +var valuesL = 'Unit: 5-minute load'; +var detailL = 'The average 5-minute load (as reported by the Unix uptime command) over the selected period.'; +var descL = ''+titleL+'

'+detailL+'

'+selectPeriodL+'

'+valuesL+'

'+sourceL+'

'; var titleLON= 'Longitude'; var sourceLON = 'Source: '+sourceTophat; -var descLON = ''+titleLON+'

'+sourceLON; +var descLON = ''+titleLON+'

'+sourceLON+'

'; var titleLAT= 'Latitude'; var sourceLAT = 'Source: '+sourceTophat; -var descLAT = ''+titleLAT+'

'+sourceLAT; +var descLAT = ''+titleLAT+'

'+sourceLAT+'

'; var titleLCN= 'Location (Country)'; var sourceLCN = 'Source: '+sourceMaxmind+' (via '+sourceTophat+')'; -var detailLCN = 'Based on the latitude and longitude information.'; -var descLCN = ''+titleLCN+'

'+detailLCN+'

'+sourceLCN; +var detailLCN = 'Based on the latitude and longitude information.'; +var descLCN = ''+titleLCN+'

'+detailLCN+'

'+sourceLCN+'

'; var titleLCT= 'Location (Continent)'; var sourceLCT = 'Source: '+sourceMaxmind+' (via '+sourceTophat+')'; -var detailLCT = 'Based on the latitude and longitude information.'; -var descLCT = ''+titleLCT+'

'+detailLCT+'

'+sourceLCT; +var detailLCT = 'Based on the latitude and longitude information.'; +var descLCT = ''+titleLCT+'

'+detailLCT+'

'+sourceLCT+'

'; var titleLCY= 'Location (City)'; var sourceLCY = 'Source: '+sourceMaxmind+' (via '+sourceTophat+')'; -var detailLCY = 'Based on the latitude and longitude information.'; -var descLCY = ''+titleLCY+'

'+detailLCY+'

'+sourceLCY; +var detailLCY = 'Based on the latitude and longitude information.'; +var descLCY = ''+titleLCY+'

'+detailLCY+'

'+sourceLCY+'

'; var titleLPR= 'Location precision radius'; var sourceLPR = 'Source: '+sourceTophat; -var valuesLPR = 'Unit: float.'; -var detailLPR = 'The radius of the circle corresponding to the error in precision of the geolocalization estimate.'; -var descLPR = ''+titleLPR+'

'+detailLPR+'

'+valuesLPR+'

'+sourceLPR; +var valuesLPR = 'Unit: float.'; +var detailLPR = 'The radius of the circle corresponding to the error in precision of the geolocalization estimate.'; +var descLPR = ''+titleLPR+'

'+detailLPR+'

'+valuesLPR+'

'+sourceLPR+'

'; var titleLRN= 'Location (Region)'; var sourceLRN = 'Source: '+sourceMaxmind+' (via '+sourceTophat+')'; -var detailLRN = 'Based on the latitude and longitude information.'; -var descLRN = ''+titleLRN+'

'+detailLRN+'

'+sourceLRN; +var detailLRN = 'Based on the latitude and longitude information.'; +var descLRN = ''+titleLRN+'

'+detailLRN+'

'+sourceLRN+'

'; var titleMS= 'Memory size'; -var detailMS = 'The memory size (RAM) available on the node. For reference, the '+hardwareReqs+' is 4 GB.'; +var detailMS = 'The memory size (RAM) available on the node. For reference, the '+hardwareReqs+' is 4 GB.'; var sourceMS = 'Source: '+sourceComon; -var valuesMS = 'Unit: GB.'; -var descMS = ''+titleMS+'

'+valuesMS+'

'+sourceMS; +var valuesMS = 'Unit: GB.'; +var descMS = ''+titleMS+'

'+detailMS+'

'+valuesMS+'

'+sourceMS+'

'; var selectPeriodMU = 'Select period: '; var titleMU = 'Memory utilization'; var sourceMU = 'Source: '+sourceComon; -var valuesMU = '

Unit: %'; -var detailMU = 'The average active memory utilization as reported by CoMon.'; -var descMU = ''+titleMU+'

'+detailMU+'

'+selectPeriodMU+'

'+valuesMU+'

'+sourceMU; - -var titleNEC= 'Network information (ETOMIC)'; -var sourceNEC = 'Source: '+sourceTophat; -var valuesNEC = 'Values: yes/no'; -var detailNEC = 'The existence of a colocated ETOMIC box. When an ETOMIC box is present, you have the possibility to conduct high-precision measurements through the '+sourceTophatAPI+'.'; -var descNEC = ''+titleNEC+'

'+detailNEC+'

'+valuesNEC+'

'+sourceNEC; - -var titleNSN= 'Network information (SONoMA)'; -var sourceNSN = 'Source: '+sourceTophat; -var valuesNSN = 'Values: yes/no'; -var detailNSN = 'The existence of a SONoMA agent. When an SONoMA is present, you have the possibility to have access to high-precision measurements through the '+sourceTophatAPI+'.'; -var descNSN = ''+titleNSN+'

'+detailNSN+'

'+valuesNSN+'

'+sourceNSN; - -var titleNTH= 'Network information (TopHat)'; -var sourceNTH = 'Source: '+sourceTophat; -var valuesNTH = 'Values: yes/no'; -var detailNTH = 'The existence of a colocated TDMI (TopHat Dedicated Measurement Infrastructure) agent. When a TDMI agent is present, you have access to a wide variety of network topology measurements through the '+sourceTophatAPI+'.'; -var descNTH = ''+titleNTH+'

'+detailNTH+'

'+valuesNTH+'

'+sourceNTH; - -var titleNDS= 'Network information (DIMES)'; -var sourceNDS = 'Source: '+sourceTophat; -var valuesNDS = 'Values: yes/no'; -var detailNDS = 'The existence of a colocated DIMES agent. When a DIMES agent is present, you have access to DIMES measurements through the '+sourceTophatAPI+'.'; -var descNDS = ''+titleNDS+'

'+detailNDS+'

'+valuesNDS+'

'+sourceNDS; +var valuesMU = 'Unit: %'; +var detailMU = 'The average active memory utilization as reported by CoMon.'; +var descMU = ''+titleMU+'

'+detailMU+'

'+selectPeriodMU+'

'+valuesMU+'

'+sourceMU+'

'; + +var titleMA= 'Measurement agents'; +var sourceMA = 'Source: '+sourceTophat; +var valuesMA = 'Values: ETOMIC, SONoMA, TDMI, DIMES.'; +var detailMA = 'Co-located measurement agents.'; +var descMA = ''+titleMA+'

'+detailMA+'

'+valuesMA+'

'+sourceMA+'

'; + +var titleMAS= 'Measurement agent SONoMA'; +var sourceMAS = 'Source: '+sourceTophat; +var valuesMAS = 'Values: Node type (e.g., PLE, APE)'; +var detailMAS = 'The existence of a SONoMA agent. When an SONoMA is present, you have the possibility to have access to high-precision measurements through the '+sourceTophatAPI+'.'; +var descMAS = ''+titleMAS+'

'+detailMAS+'

'+valuesMAS+'

'+sourceMAS+'

'; + +var titleMAE= 'Measurement agent ETOMIC'; +var sourceMAE = 'Source: '+sourceTophat; +var valuesMAE = 'Values: yes/no'; +var detailMAE = 'The existence of a colocated ETOMIC box. When an ETOMIC box is present, you have the possibility to conduct high-precision measurements through the '+sourceTophatAPI+'.'; +var descMAE = ''+titleMAE+'

'+detailMAE+'

'+valuesMAE+'

'+sourceMAE+'

'; + +var titleMAT= 'Measurement agent TDMI'; +var sourceMAT = 'Source: '+sourceTophat; +var valuesMAT = 'Values: yes/no'; +var detailMAT = 'The existence of a colocated TDMI (TopHat Dedicated Measurement Infrastructure) agent. When a TDMI agent is present, you have access to a wide variety of network topology measurements through the '+sourceTophatAPI+'.'; +var descMAT = ''+titleMAT+'

'+detailMAT+'

'+valuesMAT+'

'+sourceMAT+'

'; + +var titleMAD= 'Measurement agent DIMES'; +var sourceMAD = 'Source: '+sourceTophat; +var valuesMAD = 'Values: yes/no'; +var detailMAD = 'The existence of a colocated DIMES agent. When a DIMES agent is present, you have access to DIMES measurements through the '+sourceTophatAPI+'.'; +var descMAD = ''+titleMAD+'

'+detailMAD+'

'+valuesMAD+'

'+sourceMAD+'

'; var titleNSF= 'Network information (spoof)'; var sourceNSF = 'Source: '+sourceTophat; -var valuesNSF = '

Values: yes/no'; -var detailNSF = ' Whether the node can send packets successfully (or not) with a spoofed IP source address.'; -var descNSF = ''+titleNSF+'

'+detailNSF+'

'+valuesNSF+'

'+sourceNSF; +var valuesNSF = 'Values: yes/no'; +var detailNSF = 'Whether the node can send packets successfully (or not) with a spoofed IP source address.'; +var descNSF = ''+titleNSF+'

'+detailNSF+'

'+valuesNSF+'

'+sourceNSF+'

'; var titleNSR= 'Network information (source route)'; var sourceNSR = 'Source: '+sourceTophat; -var valuesNSR = '

Values: yes/no'; -var detailNSR = ' Whether the node can send packets packets using the IP source route option. See herefor more info.'; -var descNSR = ''+titleNSR+'

'+detailNSR+'

'+valuesNSR+'

'+sourceNSR; +var valuesNSR = 'Values: yes/no'; +var detailNSR = 'Whether the node can send packets packets using the IP source route option. See herefor more info.'; +var descNSR = ''+titleNSR+'

'+detailNSR+'

'+valuesNSR+'

'+sourceNSR+'

'; var titleNTP= 'Network information (timestamp)'; var sourceNTP = 'Source: '+sourceTophat; -var valuesNTP = '

Values: yes/no'; -var detailNTP = ' Whether the node can send packets packets using the IP timestamp option. See herefor more info.'; -var descNTP = ''+titleNTP+'

'+detailNTP+'

'+valuesNTP+'

'+sourceNTP; +var valuesNTP = 'Values: yes/no'; +var detailNTP = 'Whether the node can send packets packets using the IP timestamp option. See herefor more info.'; +var descNTP = ''+titleNTP+'

'+detailNTP+'

'+valuesNTP+'

'+sourceNTP+'

'; var titleNRR= 'Network information (record route)'; var sourceNRR = 'Source: '+sourceTophat; -var valuesNRR = '

Values: yes/no'; -var detailNRR = ' Whether the node can send packets packets using the IP record route option. See herefor more info.'; -var descNRR = ''+titleNRR+'

'+detailNRR+'

'+valuesNRR+'

'+sourceNRR; +var valuesNRR = 'Values: yes/no'; +var detailNRR = 'Whether the node can send packets packets using the IP record route option. See herefor more info.'; +var descNRR = ''+titleNRR+'

'+detailNRR+'

'+valuesNRR+'

'+sourceNRR+'

'; var titleOS = 'Operating system'; -var detailOS = 'Fedora or CentOS distribution to use for node or slivers.'; +var detailOS = 'Fedora or CentOS distribution to use for node or slivers.'; var sourceOS = 'Source: '+sourceMyPLC; -var valuesOS = 'Values: f8, f12, Cent/OS, other, n/a'; -var descOS = ''+titleOS+'

'+valuesOS+'

'+sourceOS; +var valuesOS = 'Values: f8, f12, Cent/OS, other, n/a'; +var descOS = ''+titleOS+'

'+detailOS+'

'+valuesOS+'

'+sourceOS+'

'; + +var titleRTT = 'Round Trip Time (pairwise)'; +var detailRTT = 'The round trip time between a selected SONoMA agent and PlanetLab nodes.'; +var sourceRTT = 'Source: '+sourceSonoma+' (via '+sourceTophat+ ')'; +var descRTT = ''+titleRTT+'

'+detailRTT+'

'+selectReferenceNodeRTT+'

'+sourceRTT+'

'; var selectPeriodR = 'Select period: '; var titleR = 'Reliability'; var sourceR = 'Source: '+sourceComon+' (via '+sourceMySlice+')'; -var detailR = 'CoMon queries nodes every 5 minutes, for 255 queries per day. The average reliability is the percentage of queries over the selected period for which CoMon reports a value. The period is the most recent for which data is available, with CoMon data being collected by MySlice daily.'; -var valuesR = 'Unit: %'; -var descR = ''+titleR+'

'+detailR+'

'+selectPeriodR+'

'+valuesR+'

'+sourceR; +var detailR = 'CoMon queries nodes every 5 minutes, for 255 queries per day. The average reliability is the percentage of queries over the selected period for which CoMon reports a value. The period is the most recent for which data is available, with CoMon data being collected by MySlice daily.'; +var valuesR = 'Unit: %'; +var descR = ''+titleR+'

'+detailR+'

'+selectPeriodR+'

'+valuesR+'

'+sourceR+'

'; var titleRES = 'Reservation capabilities'; var sourceRES = 'Source: '+sourceMyPLC; -//var valuesRES = 'Values: yes/no'; -var valuesRES = 'Values: -R- (if yes)'; -var detailRES = ' Whether the node can be reserved for a certain duration.
Your slivers will be available only during timeslots where you have obtained leases (see tab above)
.

Please note that as of August 2010 this feature is experimental. Feedback is appreciated at devel@planet-lab.org'; -var descRES = ''+titleRES+'

'+detailRES+'

'+valuesRES+'

'+sourceRES; +//var valuesRES = 'Values: yes/no'; +var valuesRES = 'Values: -R- (if yes)'; +var detailRES = 'Whether the node can be reserved for a certain duration. Your slivers will be available only during timeslots where you have obtained leases (see tab above).

Please note that as of August 2010 this feature is experimental. Feedback is appreciated at devel@planet-lab.org

'; +var descRES = ''+titleRES+'

'+detailRES+'

'+valuesRES+'

'+sourceRES+'

'; var selectPeriodS = 'Select period: '; var titleS = 'Active slices'; var sourceS = 'Source: '+sourceComon+' (via '+sourceMySlice+')'; -var valuesS = 'Unit: %'; -var detailS = 'Average number of active slices over the selected period for which CoMon reports a value. The period is the most recent for which data is available, with CoMon data being collected by MySlice daily.'; -var descS = ''+titleS+'

'+detailS+'

'+selectPeriodS+'

'+valuesS+'

'+sourceS; +var valuesS = 'Unit: %'; +var detailS = 'Average number of active slices over the selected period for which CoMon reports a value. The period is the most recent for which data is available, with CoMon data being collected by MySlice daily.'; +var descS = ''+titleS+'

'+detailS+'

'+selectPeriodS+'

'+valuesS+'

'+sourceS+'

'; + +var titleSM= 'Slices in memory'; +var detailSM = 'The total number of slices in memory (both active and inactive).'; +var sourceSM = 'Source: '+sourceComon; +var descSM = ''+titleSM+'

'+detailSM+'

'+sourceSM+'

'; var titleSN = 'Site name'; var sourceSN = 'Source: '+sourceMyPLC; -var descSN = ''+titleSN+'

'+sourceSN; +var descSN = ''+titleSN+'

'+sourceSN+'

'; var selectPeriodSSH = 'Select period: '; var titleSSH = 'Average SSH response delay'; -var valuesSSH = 'Unit: %'; -var detailSSH = 'The average response delay of the node to SSH logins over the selected period for which CoMon reports a value. The period is the most recent for which data is available, with CoMon data being collected by MySlice daily.'; +var valuesSSH = 'Unit: msecs'; +var detailSSH = 'The average response delay of the node to SSH logins over the selected period for which CoMon reports a value. The period is the most recent for which data is available, with CoMon data being collected by MySlice daily.'; var sourceSSH ='Source: '+sourceComon+' (via '+sourceMySlice+')'; -var descSSH = ''+titleSSH+'

'+detailSSH+'

'+selectPeriodSSH+'

'+valuesSSH+'

'+sourceSSH; +var descSSH = ''+titleSSH+'

'+detailSSH+'

'+selectPeriodSSH+'

'+valuesSSH+'

'+sourceSSH+'

'; var titleUT = 'Uptime'; var sourceUT = 'Source: '+sourceComon; -var valuesUT = 'Unit: days'; +var valuesUT = 'Unit: days'; var detailUT = 'The continuous uptime until the moment that the page is loaded, as reported by the CoMon html query API.'; -var descUT = ''+titleUT+'

'+detailUT+'

'+valuesUT+'

'+sourceUT; +var descUT = ''+titleUT+'

'+detailUT+'

'+valuesUT+'

'+sourceUT+'

'; + //Categorization of columns in different types, useful for filtering @@ -308,8 +335,6 @@ function debugfilter(s) { function highlightOption(divid) { - //debugfilter("highlighting option "+divid); - var columns = document.getElementsByName('columnlist'); for(var j = 0; j < columns.length; j++) columns[j].className = 'out'; @@ -329,19 +354,20 @@ function highlightOption(divid) { function showDescription(h) { - //debugfilter("showing description "+h); - -//Checks if the detailed description div exists if (document.getElementById('selectdescr')) { //Checks if there is a detailed description defined if (window['desc'+h]) document.getElementById('selectdescr').innerHTML = ""+window['desc'+h]; - //else if (document.getElementById('fdesc'+h)) - //document.getElementById('selectdescr').innerHTML = document.getElementById('fdesc'+h).value; else document.getElementById('selectdescr').innerHTML = "No detailed description provided"; } + + if (document.getElementById('refnodes_div')) + document.getElementById('refnodes_div').innerHTML = ref_nodes_select; + + if (document.getElementById('refnodes_rtt_div')) + document.getElementById('refnodes_rtt_div').innerHTML = ref_nodes_select_rtt; } @@ -357,6 +383,8 @@ function overrideTitles() { if (window['title'+kk]) document.getElementById('htitle'+kk).innerHTML = window['title'+kk]; } + + } //When the checkbox is clicked. Adds/removes column respectively @@ -405,19 +433,27 @@ function changeSelectStatus(column) { } } -function updateReferenceNode(new_ref_node) { +function updateReferenceNode(select_id, new_ref_node) { - var old_ref_node = document.getElementById('selected_reference_node').value; - document.getElementById('selected_reference_node').value=new_ref_node; + var old_ref_node = document.getElementById(select_id).value; + document.getElementById(select_id).value=new_ref_node; - //debugfilter("changed "+old_ref_node+" with "+new_ref_node); + //debugfilter("changed "+old_ref_node+" with "+new_ref_node+" and column is "+document.getElementById('checkHC').checked); - if (document.getElementById('checkHC').checked) + if (select_id == 'refnodeHC' && document.getElementById('checkHC').checked) { + document.getElementById('fetchedHC').value = "false"; addColumnAjax('HC', 'HC'); //debugfilter("replacing "+old_ref_node+" with "+new_ref_node); replaceColumnConfiguration('HC:'+old_ref_node,'HC:'+new_ref_node); } + else if (select_id == 'refnodeRTT' && document.getElementById('checkRTT').checked) + { + document.getElementById('fetchedRTT').value = "false"; + addColumnAjax('RTT', 'RTT'); + //debugfilter("replacing "+old_ref_node+" with "+new_ref_node); + replaceColumnConfiguration('RTT:'+old_ref_node,'RTT:'+new_ref_node); + } } @@ -442,6 +478,7 @@ function updatePeriod(h, new_period) { /* RESET/SAVE CONFIGURATION + */ function getHTTPObject() @@ -667,7 +704,6 @@ ADD/REMOVE COLUMNS */ - function convert_data(value, data_source, data_type, tagname) { //debugfilter("v["+tagname+"]="+value+"-"); @@ -723,12 +759,11 @@ var data_table = data.split("|"); //debugfilter("

data[2] = "+data_table[2]); //debugfilter("data = "+data + " with type "+data_type + " and source "+data_source); +//debugfilter("

data table length = "+data_table.length); -if (data != "") +if (data_table.length > 1) { -//debugfilter("GOT SOME DATA"); - var node_data; var table_id1 = 'nodes'; @@ -774,6 +809,7 @@ if (data != "") } } + //debugfilter("Reset sorting ....."); //tablePaginater.init(table_id1); fdTableSort.init(table_id1); @@ -826,10 +862,10 @@ if (data_table[node_index] == '---potential---') //fdTableSort.removeTableCache(table_id2); //document.getElementById('loading'+column).innerHTML = ""; - //debugfilter("Reset sorting ....."); } + document.getElementById('loading'+column).innerHTML = ""; } @@ -859,13 +895,12 @@ function addColumnAjax(column, header) { var slice_id = document.getElementById('slice_id').value; var selectedperiod = document.getElementById('period'+column).value; - var fetched = document.getElementById('fetched'+column).value; var data_source = document.getElementById('source'+column).value; var data_type = document.getElementById('type'+column).value; var to_load = false; - //debugfilter("
adding "+column+","+header+','+fetched+','+t); + //debugfilter("
adding "+column+","+header+','+fetched+','+t+','+data_source+','+data_type); if (fetched.indexOf("false")!=-1) { @@ -880,8 +915,12 @@ function addColumnAjax(column, header) { if (to_load) { + //debugfilter("ready to load ... "); document.getElementById('loading'+column).innerHTML = ""; var url = "/plekit/php/updateColumn.php?slice_id="+slice_id+"&tagName="+t+"&data_type="+data_type+"&data_source="+data_source; + if (t == "hopcount") + url = url+"&ref_node="+document.getElementById('selected_reference_node').value; + //debugfilter("calling "+url); load_data(column, header, url, data_source, data_type, t); } } @@ -905,8 +944,10 @@ function addColumn(column, fetch) { if (inTypeD(column)!=-1) { - conf = header+":"+document.getElementById('reference_node').value; - document.getElementById('selected_reference_node').value=document.getElementById('reference_node').value; + //conf = header+":"+document.getElementById('reference_node').value; + //document.getElementById('selected_reference_node').value=document.getElementById('reference_node').value; + conf = header+":"+document.getElementById('refnodeHC').value; + document.getElementById('selected_reference_node').value=document.getElementById('refnodeHC').value; } else conf = header; @@ -947,8 +988,8 @@ function deleteColumn(column) { } -/* +/* EXTRA