public class InfluxDbMetricsConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected org.onosproject.cfg.ComponentConfigService |
cfgService |
protected org.onosproject.core.CoreService |
coreService |
protected String |
database |
protected InfluxDbMetricsReporter |
influxDbMetricsReporter |
protected InfluxDbMetricsRetriever |
influxDbMetricsRetriever |
protected String |
password |
protected int |
port |
protected String |
username |
| Constructor and Description |
|---|
InfluxDbMetricsConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
void |
modified(org.osgi.service.component.ComponentContext context) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected InfluxDbMetricsReporter influxDbMetricsReporter
@Reference(cardinality=MANDATORY_UNARY) protected InfluxDbMetricsRetriever influxDbMetricsRetriever
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cfg.ComponentConfigService cfgService
@Property(name="address",
value="localhost",
label="IP address of influxDB server; default is localhost")
protected String address
@Property(name="port",
intValue=8086,
label="Port number of influxDB server; default is 8086")
protected int port
@Property(name="database",
value="onos",
label="Database name of influxDB server; default is onos")
protected String database
@Property(name="username",
value="onos",
label="Username of influxDB server; default is onos")
protected String username
@Property(name="password",
value="onos.password",
label="Password of influxDB server; default is onos.password")
protected String password
Copyright © 2016. All rights reserved.