Questions tagged [onos]

ONOS (Open Network Operating System) is an open source SDN controller platform.

61 questions
1
vote
0 answers

Connecting ONOS web application with MariaDB . ClassNotFoundException

I am trying to make a custom web application on top of ONOS and I am having a difficulty to connect my application to the MariaDB server located on my localhost. What I've done is applying MariaDB dependencies to the POM.xml file of my application.I…
r0xx4nne
  • 33
  • 2
  • 6
1
vote
1 answer

ONOS not detecting hosts with multiple links in network created using Mininet

I am new with Mininet and ONOS, so I have trouble with really simple things. In this case, I have created the following topology in Mininet. Mininet topology The script that is generated is the following. #!/usr/bin/python from mininet.net import…
josiplayer
  • 15
  • 7
1
vote
0 answers

Onos host event is not working

I wrote an application in which I need to handle HOST_REMOVED events. I activated the Host Mobility application, but I receive 2017-06-07 21:59:13,565 | WARN | tp1493291118-324 | UiWebSocket | 158 - org.onosproject.onos-gui - 1.11.0.SNAPSHOT |…
1
vote
1 answer

How can I get current bundle's BundleContext instance while using declarative services in karaf 3.0.2

In ONOS on karaf 3.0.2, I wish to get current bundle's BundleContext instance for tracking bundle's status and configuring it. But ONOS uses declarative service, so I cannot use function like BundleContext.getServiceReference() to get it. Could…
闫伯元
  • 445
  • 1
  • 4
  • 9
1
vote
1 answer

unable to start ONOS SDN controller from root user

I'm doing a POC on SDN using miniedit (UI of mininet) and ONOS as a SDN controller, I want to invoke ONOS from miniedit when we run the topology so used the following line of code in python os.system("gnome-terminal -e 'bash -c…
Nisha
  • 11
  • 1
1
vote
0 answers

HttpClient maven dependency issue, "missing requirement [175.0] osgi.wiring.package; (osgi.wiring.package=org.apache.http)"

I am trying to add http-client to my maven project, and I have not managed to do so. I have added the http-core, commons-codec and commons-logging and it is not working. That is the error I get: java.lang.IllegalStateException: Can't install…
Nick
  • 11
  • 2
1
vote
2 answers

Mininet with ONOS: ARP works fine, Ping wont start

I build a custom mininet topology: 2 hosts with 2 switches between them: Host1====Switch1====Switch2====Host2 After filling the flowtables with ONOS, the setup works fine. But I have trouble with handling packets that are forwarded to the…
Vlorian
  • 89
  • 10
1
vote
4 answers

Exception in thread "main" java.lang.NoClassDefFoundError:

I am trying to run a java program and I am getting the following run time error.The error is shown below. Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/params/SyncBasicHttpParams at…
liv2hak
  • 14,472
  • 53
  • 157
  • 270
0
votes
0 answers

Errors creating Onos project with maven archetype

I used the following command and created a default Onos application = mvn archetype:generate -DarchetypeGroupId=org.onosproject -DarchetypeArtifactId=onos-bundle-archetype -DarchetypeVersion=2.4.0 -DgroupId=com.example -DartifactId=onos-app…
0
votes
0 answers

Cluster fomation of onos docker

Now I want to create an onos cluster with docker and I followed the tutorial on the onos wiki: https://wiki.onosproject.org/display/ONOS/Notes+on+cluster+formation+for+Docker+instances tutorial on the onos wiki I have a problem: how can I get the ip…
VCCC
  • 1
  • 1
0
votes
0 answers

How to connect a host inside Containernet to a VM outside it (but still in one PC)?

I have the following configurations: Inside one PC, I have 3 VMs as follows: VM-1 has Containernet, VM-2 has ONOS Controller, and VM-3 is standard Ubuntu 20.04. Naturally, these 3 VMs can ping each other. I successfully ran the Containernet and…
saadh17
  • 11
  • 2
0
votes
1 answer

Is there any netool to declare a maximum bandwidth (etc 2Gbits/sec) and make measurements between two nodes (client-server) without to exceed it?

iam working with sdn controllers and more spesific with ONOS. When i run a topology iam trying with the help of iperf tool to take some measurements between two nodes at TCP mode, as far as bandwidth is concerned, and declare it to have a maximum…
0
votes
0 answers

ONOS NBI extension

I would like to lead my custom ONOS application through NBI. How can I extend ONOS Core Rest APIs to command my application? I didn't find any tutorial where Rest APIs extension in ONOS is explained. Does ONOS support this kind of extension or do I…
0
votes
0 answers

How do I use mininet connect to a onos cluster builded in docker?

Now I want to create an onos cluster with docker and connect remotely with Mininet. I followed the tutorial on the onos wiki, https://wiki.onosproject.org/display/ONOS/Notes+on+cluster+formation+for+Docker+instances. onos cluster Next I want to use…
kuaikk
  • 1
0
votes
0 answers

mininet controller remote to onos

Now I use the mininet controller remote to onos. They could work rightly several days ago. However, today when I try to pingall hosts, it appears 100% dropped. And the web ui of onos shows nothing.
kuaikk
  • 1