-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 2.1 includes data ingestion and query execution optimisations…
…, as well as new UDR and CDR envelope formats
- Loading branch information
skov
committed
Sep 16, 2016
1 parent
6e98ebe
commit 4ff610c
Showing
258 changed files
with
8,668 additions
and
4,801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Version: 1.1.0 | ||
Date: 16/September/2016 | ||
Notes: New output format for Usage Data | ||
|
||
Version: 1.0.0 | ||
Date: 1/July/2016 | ||
Notes: Initial release of the RCB Cyclops CloudStack collector |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
collectors/cloudstack/src/main/java/ch/icclab/cyclops/model/NetworkReceived.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
* Copyright (c) 2015. Zuercher Hochschule fuer Angewandte Wissenschaften | ||
* All Rights Reserved. | ||
* | ||
* 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. | ||
*/ | ||
package ch.icclab.cyclops.model; | ||
|
||
import java.util.Map; | ||
|
||
/** | ||
* Author: Martin Skoviera | ||
* Created on: 15-Oct-15 | ||
* Description: POJO object for Network Usage Data, both type 4 (Sent) and 5 (Received) | ||
*/ | ||
public class NetworkReceived extends UsageData { | ||
|
||
// Device type (domain router, external load balancer, etc.) | ||
private String type; | ||
|
||
// Its network ID | ||
private String networkid; | ||
|
||
///////////////////////////// | ||
// Getters and Setters | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public void setType(String type) { | ||
this.type = type; | ||
} | ||
|
||
public String getNetworkid() { | ||
return networkid; | ||
} | ||
|
||
public void setNetworkid(String networkid) { | ||
this.networkid = networkid; | ||
} | ||
|
||
@Override | ||
protected void additionalMetadata(Map map) { | ||
if (type != null) | ||
map.put("type", type); | ||
if (networkid != null) | ||
map.put("networkId", networkid); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
collectors/cloudstack/src/main/java/ch/icclab/cyclops/model/PortForwarding.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (c) 2015. Zuercher Hochschule fuer Angewandte Wissenschaften | ||
* All Rights Reserved. | ||
* | ||
* 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. | ||
*/ | ||
package ch.icclab.cyclops.model; | ||
|
||
import java.util.Map; | ||
|
||
/** | ||
* Author: Martin Skoviera | ||
* Created on: 15-Oct-15 | ||
* Description: POJO object for Load Balancer Policy (type 11) or Port Forwarding Rule Usage Data (type 12) | ||
*/ | ||
public class PortForwarding extends UsageData { | ||
@Override | ||
protected void additionalMetadata(Map map) { | ||
// nothing to do here | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
collectors/cloudstack/src/main/java/ch/icclab/cyclops/model/Template.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* Copyright (c) 2015. Zuercher Hochschule fuer Angewandte Wissenschaften | ||
* All Rights Reserved. | ||
* | ||
* 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. | ||
*/ | ||
package ch.icclab.cyclops.model; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
/** | ||
* Author: Martin Skoviera | ||
* Created on: 15-Oct-15 | ||
* Description: POJO object for Template and ISO Usage Data, both type 7 (Template) and 8 (ISO) | ||
*/ | ||
public class Template extends UsageData { | ||
|
||
// Size of the template, or ISO | ||
private Long size; | ||
private Long virtualsize; | ||
|
||
///////////////////////////// | ||
// Getters and Setters | ||
|
||
public Long getSize() { | ||
return size; | ||
} | ||
|
||
public void setSize(Long size) { | ||
this.size = size; | ||
} | ||
|
||
public Long getVirtualsize() { | ||
return virtualsize; | ||
} | ||
|
||
public void setVirtualsize(Long virtualsize) { | ||
this.virtualsize = virtualsize; | ||
} | ||
|
||
@Override | ||
protected void additionalMetadata(Map map) { | ||
if (size != null) | ||
map.put("size", size); | ||
if (virtualsize != null) | ||
map.put("virtualSize", virtualsize); | ||
} | ||
} |
Oops, something went wrong.