REST API as an ONOS app

1,886 views
Skip to first unread message

Matt Long

unread,
Jul 27, 2016, 9:15:56 AM7/27/16
to ONOS Developers
Hello, I would like to write an app that exposes a REST API when activated. My thought was to use the Spring Framework, as I've gone through their tutorials to create standalone JAR files.

Unfortunately, I'm rather new to Maven (and build tools in general), so I don't really know what I'm doing. I tried to add all of the Spring dependencies to the pom.xml that is created by the onos-app tool, and it builds fine. I can even run the app if I put in a main method and add the "application.run()" call to the main method. However, when I try to activate the app through ONOS, I see this error in the logs:

"Could not start bundle mvn:local.matt/test-api/1.0-SNAPSHOT in feature(s) test-api-1.0-SNAPSHOT: Unresolved constraint in bundle test-api [182]: Unable to resolve 182.0: missing requirement [182.0] osgi.wiring.package; (osgi.wiring.package=org.springframework.boot)"

From what I've found online, it seems that org.springframework.boot cannot be run inside an OSGI container. I've found conflicting information about that though, so I'm not sure if it's true or not.

So, can someone give me some guidance as to how I can expose a REST API when an app is activated? I am not married to Spring, I just chose it because I once went through their tutorials in the past. At this point, I just need to figure out how to accomplish the end-goal; I'm not too worried about the technologies I'll have to use to get there.

Thanks!

Andrea Campanella

unread,
Jul 27, 2016, 9:38:20 AM7/27/16
to Matt Long, ONOS Developers
Hi Matt,

I would suggest you take a look at the onos template application tutorial
it will make you create and build the application and then you can add overlays. If you scroll down to the bottom of the page it shows how to add the UI or CLI overlay. You can also add a REST overlay simply by chianging the 'cli' to 'rest' in the command:

onos-create-app rest org.foo.app foo-app 1.0.0

Please let me know if there is anything else I can help you with.
Cheers,
Andrea Campanella

and...@onlab.us




--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/030b9e92-3719-41f8-91f4-97f1f62ec844%40onosproject.org.

Matt Long

unread,
Jul 27, 2016, 12:28:09 PM7/27/16
to ONOS Developers, matthew...@gmail.com
Great, thank you Andrea. This looks promising. I'm having trouble finding the endpoint that the overlay exposes, though. In the code, it seems that the path is set to "sample", which makes me think that the endpoint is /onos/sample. I've tried that, /onos/test-api/sample, /onos/testapi/sample, but all of them give a 404.

Do you know off-hand what the endpoint is? I haven't found any documentation for it either.

Thomas Vachuska

unread,
Jul 27, 2016, 12:30:38 PM7/27/16
to Matt Long, ONOS Developers
http://<ip-address>:8181/onos/test-app/sample


> On Jul 27, 2016, at 9:28 AM, Matt Long <matthew...@gmail.com> wrote:
>
> Great, thank you Andrea. This looks promising. I'm having trouble finding the endpoint that the overlay exposes, though. In the code, it seems that the path is set to "sample", which makes me think that the endpoint is /onos/sample. I've tried that, /onos/test-api/sample, /onos/testapi/sample, but all of them give a 404.
>
> Do you know off-hand what the endpoint is? I haven't found any documentation for it either.
>
> --
> You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
> To post to this group, send email to onos...@onosproject.org.
> Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
> To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/52581732-5c37-4337-84d4-24de9e601d24%40onosproject.org.

Thomas Vachuska

unread,
Jul 27, 2016, 12:33:31 PM7/27/16
to Matt Long, ONOS Developers
Web context is /onos/test-app (defined in pom.xml) and the resource path is sample (specified in AppWebResource.java)

Thomas

Matt Long

unread,
Jul 27, 2016, 12:34:32 PM7/27/16
to ONOS Developers, matthew...@gmail.com
Interesting, it was giving me a 404 earlier, but I reinstalled the app and it's working fine now. Thank you!

Jeenath

unread,
Mar 14, 2017, 11:23:51 AM3/14/17
to ONOS Developers, matthew...@gmail.com
Hi,

I have created sample application using REST reference to https://wiki.onosproject.org/display/ONOS/Template+Application+Tutorial.

I am facing issue to activate dependency application like restsb. when my application is loaded and activated at ONOS, it is not automatically activating restSB. right now i am activating manually.


If I look at Ciena, Arista drivers, when the respective drivers are activated, corresponding dependency restSB also getting activated. Highly appreciated your help to resolve the issue.

Regards
Nisha

Andrea Campanella

unread,
Mar 15, 2017, 6:25:36 AM3/15/17
to Jeenath, ONOS Developers, matthew...@gmail.com
Hi Jeenath,

the restsb and the northbound REST interfaces are two very different things.:

-restsb is the southbound provider to comunicate with a REST capable device and push it into the ONOS DeviceManager and consequently in the DeviceStore. In this case ONOS is the Client of the request.
- the REST northbound is to expose REST endpoints from your application in order to consume request such as GET/POST/DELETE react and reply to them. In this case ONOS is the server.

The Ciena drivers are related to southbound interaction with devices. 

An example of application that has some REST northbound endpoints isn the DHCP one.

What is the goal of your application ?

Cheers,
Andrea Campanella

Member of Technical Staff at ON.Lab



--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Jeenath Nisha

unread,
Mar 16, 2017, 6:44:18 AM3/16/17
to Andrea Campanella, ONOS Developers, matthew...@gmail.com
Hi Andrea,

Thanks for clarification. 

The goal of the application similar to Ciena developed a XXdriver ( which will communicate to device) which needs to load the dependency XXprovider. 
The dependency issue with restSb protocol has been resolved. 

Thanks and Regards
Nisha

On Wed, Mar 15, 2017 at 11:25 AM, Andrea Campanella <and...@onlab.us> wrote:
Hi Jeenath,

the restsb and the northbound REST interfaces are two very different things.:

-restsb is the southbound provider to comunicate with a REST capable device and push it into the ONOS DeviceManager and consequently in the DeviceStore. In this case ONOS is the Client of the request.
- the REST northbound is to expose REST endpoints from your application in order to consume request such as GET/POST/DELETE react and reply to them. In this case ONOS is the server.

The Ciena drivers are related to southbound interaction with devices. 

An example of application that has some REST northbound endpoints isn the DHCP one.

What is the goal of your application ?

Cheers,
Andrea Campanella

Member of Technical Staff at ON.Lab


On Mar 14, 2017, at 4:23 PM, Jeenath <nisha....@gmail.com> wrote:

Hi,

I have created sample application using REST reference to https://wiki.onosproject.org/display/ONOS/Template+Application+Tutorial.

I am facing issue to activate dependency application like restsb.  when my application is loaded and activated at ONOS, it is not automatically activating restSB. right now i am activating manually.


If I look at Ciena, Arista drivers, when the respective drivers are activated, corresponding dependency restSB also getting activated. Highly appreciated your help to resolve the issue.

Regards
Nisha

--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.

Sonali Chandna

unread,
Mar 16, 2017, 8:13:09 AM3/16/17
to Andrea Campanella, ONOS Developers
Hi,

I have been trying to install onos from scratch from the developer guide wiki steps 

I am getting following errors
1.  No buckd is set.. I am watching the video by Thomas even his steps says no buckd is set

2. When I try to follow the step in the wiki page 'running onos locally' with command 
 It strucks in between and with the force killing and moving to next step  give me the error when I install GUI command saying onos GUI not rady yet 

Can any one pls help 

Regards
Sonali
$ONOS_ROOT/tools/build/onos-buck run onos-local -- clean debug

Thomas Vachuska

unread,
Mar 16, 2017, 12:00:03 PM3/16/17
to Sonali Chandna, Andrea Campanella, ONOS Developers
No buck is set is a just a notification that the buckd has been suppressed; it’s not an error.  Where exactly is it stuck? Can you post the output or a screen shot?

Thomas

--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Thomas Vachuska

unread,
Mar 16, 2017, 2:36:16 PM3/16/17
to Sonali Chandna, ONOS Developers
Hmmm… OK. It appears that not all core services started up correctly. Can you make share the output of running “scr:list” from the CLI? I suspect there will be a slew of components that are in UNSATISFIED state. One reason for this could be that the org.onosproject.drivers app is not activated. Can you also run “apps -a -s” command and share its output?

Thomas

On Mar 16, 2017, at 11:30, Sonali Chandna <sonalich...@gmail.com> wrote:

Hi Thomas,

I m getting following error in the CLI when we trying to access GUI.

2017-03-16 12:55:32,502 | ERROR | qtp743067603-38  | onos-gui                         | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] unbind method [unbindStorageService] not found
2017-03-16 12:55:32,502 | ERROR | qtp743067603-38  | onos-gui                         | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] unbind method [unbindMastershipService] not found
2017-03-16 12:55:32,502 | ERROR | qtp743067603-38  | onos-gui                         | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] Failed creating the component instance; see log for reason

On Thu, Mar 16, 2017 at 11:59 AM, Thomas Vachuska <t...@onlab.us> wrote:
No buck is set is a just a notification that the buckd has been suppressed; it’s not an error.  Where exactly is it stuck? Can you post the output or a screen shot?

Thomas

On Mar 16, 2017, at 05:12, Sonali Chandna <sonalich...@gmail.com> wrote:

Hi,

I have been trying to install onos from scratch from the developer guide wiki steps 

I am getting following errors
1.  No buckd is set.. I am watching the video by Thomas even his steps says no buckd is set

2. When I try to follow the step in the wiki page 'running onos locally' with command 
 It strucks in between and with the force killing and moving to next step  give me the error when I install GUI command saying onos GUI not rady yet 

Can any one pls help 

Regards
Sonali
$ONOS_ROOT/tools/build/onos-buck run onos-local -- clean debug


--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.

Sonali Chandna

unread,
Mar 16, 2017, 5:21:51 PM3/16/17
to Thomas Vachuska, Harpreet Shemar, ONOS Developers
Hi Thomas,

I have run the “scr:list” and "apps -a -s" commands.  Please suggest me!



onos> apps -a -s
*  12 org.onosproject.hostprovider         1.10.0.SNAPSHOT Host Location Provider
*  16 org.onosproject.optical-model        1.10.0.SNAPSHOT Optical information model
*  25 org.onosproject.fwd                  1.10.0.SNAPSHOT Reactive Forwarding App
*  49 org.onosproject.drivers              1.10.0.SNAPSHOT Default device drivers
*  51 org.onosproject.proxyarp             1.10.0.SNAPSHOT Proxy ARP/NDP App
*  61 org.onosproject.lldpprovider         1.10.0.SNAPSHOT LLDP Link Provider
*  62 org.onosproject.openflow-base        1.10.0.SNAPSHOT OpenFlow Provider
*  63 org.onosproject.openflow             1.10.0.SNAPSHOT OpenFlow Meta App
*  81 org.onosproject.mobility             1.10.0.SNAPSHOT Host Mobility App






onos> scr:list
ID  | State      | Component Name                                                                    
-----------------------------------------------------------------------------------------------------
-1  | DISABLED   | org.onosproject.proxyarp.ProxyArp                                                 
4   | ACTIVE     | org.onosproject.cluster.impl.LeadershipManager                                    
5   | ACTIVE     | org.onosproject.net.intent.impl.compiler.MultiPointToSinglePointIntentCompiler    
6   | ACTIVE     | org.onosproject.net.intent.impl.compiler.VirtualNetworkIntentCompiler             
7   | ACTIVE     | org.onosproject.net.resource.impl.ResourceManager                                 
8   | ACTIVE     | org.onosproject.cluster.impl.DefaultClusterMetadataProvider                       
9   | ACTIVE     | org.onosproject.net.intent.impl.IntentManager                                     
10  | ACTIVE     | org.onosproject.net.topology.impl.PathManager                                     
11  | ACTIVE     | org.onosproject.cluster.impl.ClusterMetadataManager                               
12  | ACTIVE     | org.onosproject.net.intent.impl.compiler.LinkCollectionIntentFlowObjectiveCompiler
13  | ACTIVE     | org.onosproject.net.intent.impl.compiler.PointToPointIntentCompiler               
14  | ACTIVE     | org.onosproject.net.intent.impl.compiler.TwoWayP2PIntentCompiler                  
15  | ACTIVE     | org.onosproject.net.flow.impl.FlowRuleManager                                     
16  | ACTIVE     | org.onosproject.cluster.impl.ConfigFileBasedClusterMetadataProvider               
17  | ACTIVE     | org.onosproject.cluster.impl.MastershipManager                                    
18  | ACTIVE     | org.onosproject.net.intent.impl.compiler.MplsIntentCompiler                       
19  | ACTIVE     | org.onosproject.net.key.impl.DeviceKeyManager                                     
20  | ACTIVE     | org.onosproject.net.config.impl.NetworkConfigManager                              
21  | ACTIVE     | org.onosproject.net.group.impl.GroupManager                                       
22  | ACTIVE     | org.onosproject.net.intent.impl.compiler.HostToHostIntentCompiler                 
23  | ACTIVE     | org.onosproject.cluster.impl.ComponentsMonitor                                    
24  | ACTIVE     | org.onosproject.net.driver.impl.DriverManager                                     
25  | ACTIVE     | org.onosproject.net.statistic.impl.StatisticManager                               
26  | ACTIVE     | org.onosproject.net.edgeservice.impl.EdgeManager                                  
27  | ACTIVE     | org.onosproject.net.intent.impl.ObjectiveTracker                                  
28  | ACTIVE     | org.onosproject.net.proxyarp.impl.ProxyArpManager                                 
29  | ACTIVE     | org.onosproject.cfg.impl.ComponentConfigManager                                   
30  | ACTIVE     | org.onosproject.net.flowobjective.impl.FlowObjectiveManager                       
31  | ACTIVE     | org.onosproject.app.impl.ApplicationManager                                       
32  | ACTIVE     | org.onosproject.net.host.impl.HostManager                                         
33  | ACTIVE     | org.onosproject.event.impl.CoreEventDispatcher                                    
34  | ACTIVE     | org.onosproject.net.intent.impl.compiler.PathIntentCompiler                       
35  | ACTIVE     | org.onosproject.net.topology.impl.DefaultTopologyProvider                         
36  | ACTIVE     | org.onosproject.net.intent.impl.compiler.LinkCollectionIntentCompiler             
37  | ACTIVE     | org.onosproject.net.topology.impl.TopologyManager                                 
38  | ACTIVE     | org.onosproject.net.intent.impl.compiler.IntentConfigurableRegistrator            
39  | ACTIVE     | org.onosproject.net.packet.impl.PacketManager                                     
40  | ACTIVE     | org.onosproject.net.config.impl.BasicNetworkConfigs                               
41  | ACTIVE     | org.onosproject.net.config.impl.NetworkConfigLoader                               
42  | ACTIVE     | org.onosproject.cfg.impl.ComponentConfigLoader                                    
43  | ACTIVE     | org.onosproject.net.config.impl.DeviceInjectionConfigMonitor                      
44  | ACTIVE     | org.onosproject.net.intent.impl.compiler.PathIntentFlowObjectiveCompiler          
45  | ACTIVE     | org.onosproject.net.intent.impl.compiler.MplsPathIntentCompiler                   
46  | ACTIVE     | org.onosproject.net.device.impl.DeviceManager                                     
47  | ACTIVE     | org.onosproject.net.intent.impl.ProtectionConfigMonitor                           
48  | ACTIVE     | org.onosproject.net.link.impl.LinkManager                                         
49  | ACTIVE     | org.onosproject.core.impl.CoreManager                                             
50  | ACTIVE     | org.onosproject.net.region.impl.RegionManager                                     
51  | ACTIVE     | org.onosproject.net.statistic.impl.FlowStatisticManager                           
52  | ACTIVE     | org.onosproject.core.impl.HybridLogicalClockManager                               
53  | ACTIVE     | org.onosproject.net.intent.impl.IntentCleanup                                     
54  | ACTIVE     | org.onosproject.core.impl.MetricsManagerComponent                                 
55  | ACTIVE     | org.onosproject.net.intent.impl.compiler.ProtectedTransportIntentCompiler         
56  | ACTIVE     | org.onosproject.net.intent.impl.compiler.SinglePointToMultiPointIntentCompiler    
57  | ACTIVE     | org.onosproject.cluster.impl.ClusterManager                                       
58  | ACTIVE     | org.onosproject.net.resource.impl.ResourceRegistrar                               
59  | ACTIVE     | org.onosproject.codec.impl.CodecManager                                           
60  | ACTIVE     | org.onosproject.store.topology.impl.DistributedTopologyStore                      
61  | ACTIVE     | org.onosproject.store.mastership.impl.ConsistentDeviceMastershipStore             
62  | ACTIVE     | org.onosproject.store.statistic.impl.DistributedFlowStatisticStore                
63  | ACTIVE     | org.onosproject.store.core.impl.LogicalClockManager                               
64  | ACTIVE     | org.onosproject.store.flow.impl.ReplicaInfoManager                                
65  | ACTIVE     | org.onosproject.store.core.impl.DistributedApplicationIdStore                     
66  | ACTIVE     | org.onosproject.store.key.impl.DistributedDeviceKeyStore                          
67  | ACTIVE     | org.onosproject.store.region.impl.DistributedRegionStore                          
68  | ACTIVE     | org.onosproject.store.resource.impl.ConsistentResourceStore                       
69  | ACTIVE     | org.onosproject.store.group.impl.DistributedGroupStore                            
70  | ACTIVE     | org.onosproject.store.cluster.messaging.impl.NettyMessagingManager                
71  | ACTIVE     | org.onosproject.store.core.impl.DistributedIdBlockStore                           
72  | ACTIVE     | org.onosproject.store.flowobjective.impl.DistributedFlowObjectiveStore            
73  | ACTIVE     | org.onosproject.store.intent.impl.GossipIntentStore                               
74  | ACTIVE     | org.onosproject.store.intent.impl.WorkPartitionManager                            
75  | ACTIVE     | org.onosproject.store.flow.impl.DistributedFlowRuleStore                          
76  | ACTIVE     | org.onosproject.store.host.impl.DistributedHostStore                              
77  | ACTIVE     | org.onosproject.store.cfg.DistributedComponentConfigStore                         
78  | ACTIVE     | org.onosproject.store.config.impl.DistributedNetworkConfigStore                   
79  | ACTIVE     | org.onosproject.store.device.impl.GossipDeviceStore                               
80  | ACTIVE     | org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager          
81  | ACTIVE     | org.onosproject.store.intent.impl.ConsistentIntentSetMultimap                     
82  | ACTIVE     | org.onosproject.store.device.impl.DeviceClockManager                              
83  | ACTIVE     | org.onosproject.store.cluster.impl.DistributedLeadershipStore                     
84  | ACTIVE     | org.onosproject.store.link.impl.ECLinkStore                                       
85  | ACTIVE     | org.onosproject.store.cluster.impl.DistributedClusterStore                        
86  | ACTIVE     | org.onosproject.store.proxyarp.impl.DistributedProxyArpStore                      
87  | ACTIVE     | org.onosproject.store.statistic.impl.DistributedStatisticStore                    
88  | ACTIVE     | org.onosproject.store.packet.impl.DistributedPacketStore                          
89  | ACTIVE     | org.onosproject.store.app.DistributedApplicationStore                             
90  | ACTIVE     | org.onosproject.store.primitives.impl.PartitionManager                            
91  | ACTIVE     | org.onosproject.store.primitives.impl.StorageManager                              
92  | ACTIVE     | org.onosproject.persistence.impl.PersistenceManager                               
93  | ACTIVE     | org.onosproject.incubator.net.routing.impl.ConfigurationRouteSource               
94  | ACTIVE     | org.onosproject.incubator.net.virtual.impl.provider.DefaultVirtualGroupProvider   
95  | ACTIVE     | org.onosproject.incubator.net.tunnel.impl.TunnelManager                           
96  | ACTIVE     | org.onosproject.incubator.net.virtual.impl.provider.DefaultVirtualPacketProvider  
97  | ACTIVE     | org.onosproject.incubator.net.neighbour.impl.NeighbourResolutionManager           
98  | ACTIVE     | org.onosproject.incubator.net.resource.label.impl.LabelResourceManager            
99  | ACTIVE     | org.onosproject.incubator.net.virtual.impl.VirtualNetworkManager                  
100 | ACTIVE     | org.onosproject.incubator.net.meter.impl.MeterManager                             
101 | ACTIVE     | org.onosproject.incubator.net.config.impl.ExtraNetworkConfigs                     
102 | ACTIVE     | org.onosproject.incubator.net.dpi.impl.DpiStatisticsManager                       
103 | ACTIVE     | org.onosproject.incubator.net.impl.PortStatisticsManager                          
104 | ACTIVE     | org.onosproject.incubator.net.mcast.impl.MulticastRouteManager                    
105 | ACTIVE     | org.onosproject.incubator.net.virtual.impl.provider.DefaultVirtualNetworkProvider 
106 | ACTIVE     | org.onosproject.incubator.net.intf.impl.InterfaceManager                          
107 | ACTIVE     | org.onosproject.incubator.net.domain.impl.IntentDomainManager                     
108 | ACTIVE     | org.onosproject.incubator.net.routing.impl.RouteManager                           
109 | ACTIVE     | org.onosproject.incubator.net.virtual.impl.provider.DefaultVirtualFlowRuleProvider
110 | ACTIVE     | org.onosproject.incubator.net.virtual.impl.provider.VirtualProviderManager        
111 | ACTIVE     | org.onosproject.incubator.component.impl.ComponentManager                         
112 | ACTIVE     | org.onosproject.incubator.store.virtual.impl.SimpleVirtualPacketStore             
113 | ACTIVE     | org.onosproject.incubator.store.virtual.impl.SimpleVirtualGroupStore              
114 | ACTIVE     | org.onosproject.incubator.store.meter.impl.DistributedMeterStore                  
115 | ACTIVE     | org.onosproject.incubator.store.routing.impl.RouteStoreImpl                       
116 | ACTIVE     | org.onosproject.incubator.store.tunnel.impl.DistributedTunnelStore                
117 | ACTIVE     | org.onosproject.incubator.store.resource.impl.DistributedLabelResourceStore       
118 | ACTIVE     | org.onosproject.incubator.store.virtual.impl.DistributedVirtualNetworkStore       
119 | ACTIVE     | org.onosproject.incubator.store.virtual.impl.SimpleVirtualFlowObjectiveStore      
120 | ACTIVE     | org.onosproject.incubator.store.virtual.impl.SimpleVirtualFlowRuleStore           
121 | ACTIVE     | org.onosproject.incubator.store.mcast.impl.DistributedMcastStore                  
122 | ACTIVE     | org.onosproject.incubator.rpc.impl.LocalRemoteServiceProvider                     
123 | ACTIVE     | org.onosproject.incubator.rpc.impl.RemoteServiceManager                           
124 | ACTIVE     | org.onosproject.cli.CliComponent                                                  
125 | ACTIVE     | org.onosproject.rest.impl.ApiDocRegistrator                                       
126 | ACTIVE     | org.onosproject.rest.impl.ApiDocManager                                           
127 | REGISTERED | org.onosproject.ui.impl.topo.UiTopoLayoutManager                                  
128 | REGISTERED | org.onosproject.ui.impl.UiExtensionManager                                        
129 | REGISTERED | org.onosproject.ui.impl.topo.model.UiSharedTopologyModel                          
130 | ACTIVE     | org.onosproject.fwd.ReactiveForwarding                                            
131 | ACTIVE     | org.onosproject.proxyarp.DefaultProxyArp                                          
132 | ACTIVE     | org.onosproject.provider.host.impl.HostLocationProvider                           
133 | ACTIVE     | org.onosproject.provider.lldp.impl.LldpLinkProvider                               
134 | ACTIVE     | org.onosproject.net.optical.intent.impl.compiler.OpticalCircuitIntentCompiler     
135 | ACTIVE     | org.onosproject.net.optical.intent.impl.compiler.OpticalConnectivityIntentCompiler
136 | ACTIVE     | org.onosproject.net.optical.intent.impl.compiler.OpticalPathIntentCompiler        
137 | ACTIVE     | org.onosproject.net.optical.intent.impl.compiler.OpticalOduIntentCompiler         
138 | ACTIVE     | org.onosproject.net.optical.internal.OpticalModelLoader                           
139 | ACTIVE     | org.onosproject.openflow.controller.impl.OpenFlowControllerImpl                   
140 | ACTIVE     | org.onosproject.provider.of.device.impl.OpenFlowDeviceProvider                    
141 | ACTIVE     | org.onosproject.provider.of.packet.impl.OpenFlowPacketProvider                    
142 | ACTIVE     | org.onosproject.provider.of.flow.impl.OpenFlowRuleProvider                        
143 | ACTIVE     | org.onosproject.provider.of.group.impl.OpenFlowGroupProvider                      
144 | ACTIVE     | org.onosproject.provider.of.meter.impl.OpenFlowMeterProvider                      
145 | ACTIVE     | org.onosproject.mobility.HostMobility                                             
146 | ACTIVE     | org.onosproject.driver.DefaultDriversLoader                                       
147 | ACTIVE     | org.onosproject.driver.DefaultCodecRegister               

Thomas

To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.

Thomas Vachuska

unread,
Mar 16, 2017, 5:23:58 PM3/16/17
to Sonali Chandna, Harpreet Shemar, ONOS Developers
This is very strange. Are there any errors in the logs that would explain why the GUI components are not starting up into ACTIVE state?

Thomas

Sonali Chandna

unread,
Mar 16, 2017, 5:44:49 PM3/16/17
to ONOS Developers, Thomas Vachuska
Hi Thomas,

Please find the errors attached
Erro_log

Thomas Vachuska

unread,
Mar 16, 2017, 5:48:57 PM3/16/17
to ONOS Developers
Maybe Simon or Steven can take a look at this…

Thomas

Begin forwarded message:
Erro_log

Sonali Chandna

unread,
Mar 16, 2017, 6:14:33 PM3/16/17
to ONOS Developers
Hi Thomas and Sonali,

I just gone through logs and found this errors:

2017-03-16 17:26:06,160 | INFO | -message-handler | ApplicationManager | 127 - org.onosproject.onos-core-net - 1.10.0.SNAPSHOT | Application org.onosproject.drivermatrix has been installed
2017-03-16 17:26:06,164 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] bind method [bindMastershipService] not found; Component will fail
2017-03-16 17:26:06,169 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] bind method [bindStorageService] not found; Component will fail
2017-03-16 17:26:06,176 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] bind method [bindMastershipService] not found
2017-03-16 17:26:06,185 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] bind method [bindStorageService] not found
2017-03-16 17:26:06,185 | INFO | -message-handler | ApplicationManager | 127 - org.onosproject.onos-core-net - 1.10.0.SNAPSHOT | Application org.onosproject.openflow-message has been installed
2017-03-16 17:26:06,222 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] The activate method has thrown an exception
java.lang.NullPointerException


2017-03-16 17:26:06,235 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] unbind method [unbindStorageService] not found; Component will fail
2017-03-16 17:26:06,227 | INFO | -message-handler | ApplicationManager | 127 - org.onosproject.onos-core-net - 1.10.0.SNAPSHOT | Application org.onosproject.flow-perf has been installed
2017-03-16 17:26:06,240 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] unbind method [unbindStorageService] not found
2017-03-16 17:26:06,249 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] unbind method [unbindMastershipService] not found; Component will fail
2017-03-16 17:26:06,250 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] unbind method [unbindMastershipService] not found
2017-03-16 17:26:06,254 | ERROR | FelixStartLevel | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] Failed creating the component instance; see log for reason




2017-03-16 17:26:12,706 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindLayoutService] not found; Component will fail
2017-03-16 17:26:12,707 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindClusterService] not found; Component will fail
2017-03-16 17:26:12,717 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindMastershipService] not found; Component will fail
2017-03-16 17:26:12,718 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindRegionService] not found; Component will fail
2017-03-16 17:26:12,719 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindDeviceService] not found; Component will fail
2017-03-16 17:26:12,720 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindLinkService] not found; Component will fail
2017-03-16 17:26:12,721 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindHostService] not found; Component will fail
2017-03-16 17:26:12,728 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindIntentService] not found; Component will fail
2017-03-16 17:26:12,729 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindFlowService] not found; Component will fail
2017-03-16 17:26:12,729 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindFlowStatsService] not found; Component will fail
2017-03-16 17:26:12,730 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindPortStatsService] not found; Component will fail
2017-03-16 17:26:12,731 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindTopologyService] not found; Component will fail
2017-03-16 17:26:12,732 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindTunnelService] not found; Component will fail
2017-03-16 17:26:12,734 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindLayoutService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindClusterService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindMastershipService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindRegionService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindDeviceService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindLinkService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindHostService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindIntentService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindFlowService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindFlowStatsService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindPortStatsService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindTopologyService] not found
2017-03-16 17:26:12,735 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] bind method [bindTunnelService] not found
2017-03-16 17:26:12,756 | ERROR | -message-handler | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.topo.model.UiSharedTopologyModel(129)] The activate method has thrown an exception
java.lang.NullPointerException


May be these could help you.

Thanks!
Harpreet





Thomas Vachuska

unread,
Mar 16, 2017, 6:21:51 PM3/16/17
to Sonali Chandna, ONOS Developers
Is this running on the latest ONOS master branch? The NullPointerException seems to occur in place that implies the network config registry is not available. However, from the scr:list it appears that NetworkConfigManager (which implements the registry service) is active. So I just want to make sure that the line number is indeed correct.

Thomas

<Erro_log>

Sonali Chandna

unread,
Mar 16, 2017, 6:23:36 PM3/16/17
to Thomas Vachuska, ONOS Developers
Yes it's running on the latest Onos master branch.

Simon Hunt

unread,
Mar 16, 2017, 6:33:11 PM3/16/17
to Sonali Chandna, Thomas Vachuska, ONOS Developers
Yeah - I just confirmed that it does appear that the NetworkConfigRegistry was not injected (ie. cfgService == null).

~Simon

--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Simon Hunt

unread,
Mar 16, 2017, 6:41:03 PM3/16/17
to Sonali Chandna, Thomas Vachuska, ONOS Developers
The second NPE suggests that the StorageService was also null.

java.lang.NullPointerException
at org.onosproject.ui.impl.UiExtensionManager.activate(UiExtensionManager.java:215)

@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
protected StorageService storageService;

prefsConsistentMap = storageService.<String, ObjectNode>consistentMapBuilder() <---- line 215
.withName(ONOS_USER_PREFERENCES)
.withSerializer(serializer)
.withRelaxedReadConsistency()
.build();

The third NPE suggests the clusterService was also null.

java.lang.NullPointerException
at org.onosproject.ui.impl.topo.model.UiSharedTopologyModel.activate(UiSharedTopologyModel.java:152)

@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
private ClusterService clusterService;
clusterService.addListener(clusterListener);            <---- line 152
mastershipService.addListener(mastershipListener);
regionService.addListener(regionListener);


~Simon

Thomas Vachuska

unread,
Mar 16, 2017, 6:45:19 PM3/16/17
to Simon Hunt, Sonali Chandna, ONOS Developers
It’s as though the GUI components attempt start up before being fully wired up with required references.

Thomas

Sonali Chandna

unread,
Mar 16, 2017, 6:46:26 PM3/16/17
to Simon Hunt, Thomas Vachuska, ONOS Developers
What do u suggest how should I proceed 
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Simon Hunt

unread,
Mar 16, 2017, 6:56:38 PM3/16/17
to Sonali Chandna, Thomas Vachuska, ONOS Developers
Not sure that this is a particularly helpful comment, but I've just pulled latest from master (8c05c9b3e681c958c7686fb8fe2d9f431c028418) and rebuilt and run..

buck run onos-local -- clean debug

No such issues seen.

Inline image 1

~Simon



To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Sonali Chandna

unread,
Mar 16, 2017, 7:05:20 PM3/16/17
to Simon Hunt, ONOS Developers, Thomas Vachuska
Hi simon 

That's awesome .. does not work for me though .. is there any particaular command or instructions for pulling latest from master 


To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Simon Hunt

unread,
Mar 16, 2017, 7:24:40 PM3/16/17
to Sonali Chandna, ONOS Developers, Thomas Vachuska
Hi Sonali,

Hmmm, I didn't do anything special - just "Update Project" from IntelliJ. 

I'm not sure what the CLI command is (git pull ?) -- someone more used to using git/gerrit from the command line may be able to help.

Cheers,
~Simon


To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Sonali Chandna

unread,
Mar 16, 2017, 7:25:31 PM3/16/17
to Simon Hunt, ONOS Developers, Thomas Vachuska
Ok thanks 
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Andrea Campanella

unread,
Mar 17, 2017, 5:10:56 AM3/17/17
to Sonali Chandna, Simon Hunt, ONOS Developers, Thomas Vachuska
Hi Sonali, all,

yes if you are on the master branch and do git pull it will update it. If you are on your own branch and did some changes and committed them you can do git pull --rebase to pull the latest changes and apply your commits on top. 

Cheers,
Andrea Campanella

Member of Technical Staff at ON.Lab



On Mar 17, 2017, at 12:25 AM, Sonali Chandna <sonalich...@gmail.com> wrote:

Ok thanks 
On Thu, Mar 16, 2017 at 7:24 PM Simon Hunt <si...@onlab.us> wrote:
Hi Sonali,

Hmmm, I didn't do anything special - just "Update Project" from IntelliJ. 

I'm not sure what the CLI command is (git pull ?) -- someone more used to using git/gerrit from the command line may be able to help.

Cheers,
~Simon

On Thu, Mar 16, 2017 at 4:05 PM, Sonali Chandna <sonalich...@gmail.com> wrote:
Hi simon 

That's awesome .. does not work for me though .. is there any particaular command or instructions for pulling latest from master 
On Thu, Mar 16, 2017 at 6:56 PM Simon Hunt <si...@onlab.us> wrote:
Not sure that this is a particularly helpful comment, but I've just pulled latest from master (8c05c9b3e681c958c7686fb8fe2d9f431c028418) and rebuilt and run..

buck run onos-local -- clean debug

No such issues seen.

<image.png>

Sonali Chandna

unread,
Mar 17, 2017, 7:14:55 AM3/17/17
to Andrea Campanella, Thomas Vachuska, ONOS Developers, Harpreet Shemar, Pankaj Goyal
Hi Andrea,

I have the git code from gerrit command as 

git clone https://gerrit.onosproject.org/onos

i think it picks up from master branch 

Also the error for GUI is  as below   



Inline images 1


Here is the java file with the line number 215. 


Inline images 2

Ok thanks 

~Simon



To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.

To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.

Andrea Campanella

unread,
Mar 17, 2017, 7:20:43 AM3/17/17
to Jeenath Nisha, ONOS Developers, matthew...@gmail.com
Hi Nisha,

glad you were able to resolve your issue. 

For any further assistance please don't hesitate to ask and also upload your code for review on gerrit so we can take a look together.

Cheers,
Andrea Campanella

Member of Technical Staff at ON.Lab



Andrea Campanella

unread,
Mar 17, 2017, 7:26:26 AM3/17/17
to Sonali Chandna, Thomas Vachuska, ONOS Developers, Harpreet Shemar, Pankaj Goyal
Did you try pulling latest before rebuilding ?

git pull

then 

buck run onos-local -- clean debug

Cheers,
Andrea Campanella

Member of Technical Staff at ON.Lab



On Mar 17, 2017, at 12:14 PM, Sonali Chandna <sonalich...@gmail.com> wrote:

Hi Andrea,

I have the git code from gerrit command as 

git clone https://gerrit.onosproject.org/onos

i think it picks up from master branch 

Also the error for GUI is  as below   



<image.png>


Here is the java file with the line number 215. 


<image.png>

Sonali Chandna

unread,
Mar 17, 2017, 8:45:25 AM3/17/17
to Thomas Vachuska, Harpreet Shemar, ONOS Developers
Yeah so I just pulled the latest using

$ git clone https://gerrit.onosproject.org/onos

Is there something I am missing here or that's the only command to pull onos from onos masters branch in github?

On Fri, Mar 17, 2017 at 8:33 AM Sonali Chandna <sonalich...@gmail.com> wrote:
Hi Thomas,

I have run the 
$ONOS_ROOT/tools/build/onos-buckrun onos-local -- clean debug

It shows me some errors in attached file.
On Thu, Mar 16, 2017 at 5:25 PM Sonali Chandna <sonalich...@gmail.com> wrote:

Sonali Chandna

unread,
Mar 17, 2017, 11:16:13 AM3/17/17
to Thomas Vachuska, Harpreet Shemar, ONOS Developers

Hi Andrea,


Just a quick question should i install onos from git clone https://github.com/opennetworkinglab/onos.git    Or $ git clone https://gerrit.onosproject.org/onos

Sonali Chandna

unread,
Mar 17, 2017, 11:16:13 AM3/17/17
to Thomas Vachuska, Harpreet Shemar, ONOS Developers
Hi Andrea,


Just a quick question should i install onos from git clone https://github.com/opennetworkinglab/onos.git    Or $ git clone https://gerrit.onosproject.org/onos

Harpreet

unread,
Mar 18, 2017, 1:57:20 AM3/18/17
to ONOS Developers, t...@onlab.us, harpree...@gmail.com
Hello Andrea,

Thanks, for your help. Now the error has been resolved.But we are facing a new error message.

$ONOS_ROOT/tools/test/bin/onos localhost

Unable to negotiate with 127.0.0.1 port 8101: no matching cipher found. Their offer:

can you please help

Regards
Harpreet

Eiman Mohiuddin (F-Name Ghulam Mohiuddin)

unread,
Aug 12, 2021, 8:15:50 PM8/12/21
to ONOS Developers, Harpreet, t...@onlab.us
Hi guys, I hope you are doing well.
I am trying to build foo-app on the onos VM provided by the onos.wiki, but unfortunately app is not working fine anymore.
At first the commands are working fine, builds are successful, app is showing activated in foo-app but whenever I try to run its sample commands either in CLI or in RestAPI, it is not working. Can anyone please help.
Thankyou.

Eder

unread,
Aug 13, 2021, 4:02:45 AM8/13/21
to Eiman Mohiuddin (F-Name Ghulam Mohiuddin), ONOS Developers
Hi Eiman,

I recommend to open a new thread with your topic. 

If your program is not of private content, you can also try to attach it to your new thread as it could be a problem with your CLI and/or REST code.

Cheers,


--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
Reply all
Reply to author
Forward
0 new messages