perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5962 - trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/or g/perfsonar/service/measurementArchive/rrdType/storage/per sistence
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r5962 - trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/or g/perfsonar/service/measurementArchive/rrdType/storage/per sistence
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5962 - trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/or g/perfsonar/service/measurementArchive/rrdType/storage/per sistence
- Date: Fri, 17 Aug 2012 12:49:06 +0100 (BST)
Author: nordunet.behrmann
Date: 2012-08-17 12:49:06 +0100 (Fri, 17 Aug 2012)
New Revision: 5962
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/persistence/MetadaKeyResponse.java
Log:
perfsonar-java-rrd-ma-SQL_backend: Do not hard code interface name
The interface name for meta data queries was hardcoded rather than
using the name stored in mysql.
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/persistence/MetadaKeyResponse.java
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/persistence/MetadaKeyResponse.java
2012-08-17 10:25:56 UTC (rev 5961)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/persistence/MetadaKeyResponse.java
2012-08-17 11:49:06 UTC (rev 5962)
@@ -79,7 +79,7 @@
metadata.append("<nmwgt:ifAddress
type=\""+intf.getIfAddressType()+"\">"
+ intf.getIfAddress() +
"</nmwgt:ifAddress>" + "\n");
metadata.append(
-
"<nmwgt:ifName>TenGigabitEthernet1/1</nmwgt:ifName>"
+ "<nmwgt:ifName>" + intf.getIfName() +
"</nmwgt:ifName>"
+ "\n");
metadata.append("<nmwgt:ifDescription>"
+ intf.getIfDescription() +
"</nmwgt:ifDescription>"
- [pS-dev] [GEANT/SA2/ps-java-services] r5962 - trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/or g/perfsonar/service/measurementArchive/rrdType/storage/per sistence, svn-noreply, 08/17/2012
Archive powered by MHonArc 2.6.16.