mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-15 17:31:31 +02:00
[ONOS-6615] Configuration service doesn't add rest and netconf devices together
Change-Id: I40daa2800109e2ed7e42b4cc6507a200b4d440a8
This commit is contained in:
parent
a439afe320
commit
c3ffad9073
@ -166,7 +166,7 @@ public class NetconfDeviceProvider extends AbstractProvider
|
||||
},
|
||||
new ConfigFactory<ApplicationId, NetconfProviderConfig>(APP_SUBJECT_FACTORY,
|
||||
NetconfProviderConfig.class,
|
||||
"devices",
|
||||
"netconf_devices",
|
||||
true) {
|
||||
@Override
|
||||
public NetconfProviderConfig createConfig() {
|
||||
|
@ -129,7 +129,7 @@ public class RestDeviceProvider extends AbstractProvider
|
||||
protected final List<ConfigFactory> factories = ImmutableList.of(
|
||||
new ConfigFactory<ApplicationId, RestProviderConfig>(APP_SUBJECT_FACTORY,
|
||||
RestProviderConfig.class,
|
||||
"devices",
|
||||
"rest_devices",
|
||||
true) {
|
||||
@Override
|
||||
public RestProviderConfig createConfig() {
|
||||
|
@ -109,7 +109,7 @@ public class SnmpDeviceProvider extends AbstractProvider
|
||||
protected final List<ConfigFactory> factories = ImmutableList.of(
|
||||
new ConfigFactory<ApplicationId, SnmpProviderConfig>(APP_SUBJECT_FACTORY,
|
||||
SnmpProviderConfig.class,
|
||||
"devices",
|
||||
"snmp_devices",
|
||||
true) {
|
||||
@Override
|
||||
public SnmpProviderConfig createConfig() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"apps":{
|
||||
"org.onosproject.bmv2":{
|
||||
"devices":[{
|
||||
"bmv2_devices":[{
|
||||
"ip":"192.168.57.100",
|
||||
"port":9090
|
||||
}]
|
||||
|
@ -8,7 +8,7 @@
|
||||
},
|
||||
"apps":{
|
||||
"org.onosproject.netconf":{
|
||||
"devices":[{
|
||||
"netconf_devices":[{
|
||||
"username":"mininet",
|
||||
"password":"mininet",
|
||||
"ip":"192.168.56.104",
|
||||
|
@ -8,7 +8,7 @@
|
||||
},
|
||||
"apps": {
|
||||
"org.onosproject.restsb": {
|
||||
"devices": [{
|
||||
"rest_devices": [{
|
||||
"username": "dev",
|
||||
"password": "",
|
||||
"ip": "127.0.0.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user