onos | Open Network Operating System | Networking library
kandi X-RAY | onos Summary
kandi X-RAY | onos Summary
ONOS is the only SDN controller platform that supports the transition from legacy “brown field” networks to SDN “green field” networks. This enables exciting new capabilities, and disruptive deployment and operational cost points for network operators.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Builds a Match .
- Parse path attributes .
- Handle set field .
- Maps an action to an action .
- Verifies the next group .
- Reverses the traffic treatment .
- Private method used to process etherType specific items
- Update the forward objectives for an interface .
- Process a DHCP packet from the client .
- Process a BGP open message .
onos Key Features
onos Examples and Code Snippets
Community Discussions
Trending Discussions on onos
QUESTION
I'm new to Terraform and just did all the Tutorials i could find about it. I have set up Multiple Docker Containers and a Network, Currently starting it with a shell skript. The general plan would be, to be able to start my testbed and all its components with Terraform (Like ONOS with containernet, Routers, ...).
My First Question would, is Terraform made for that kind of Question? Or would you suggest anything different. I thought using Terraform would make it Easy to write new Scenarios. AT this Point I use the Shell skripts to build and run the Docker Containers. Does it make sense to let Terraform do the RUN (not build) task?
Thanks for your Help & Opinions
I'm new to Stack, it would be awesome if you explain a downvote - so i can learn to do it better.
edit ( Build file deleted - unnecassary)
...ANSWER
Answered 2020-Aug-26 at 10:17Tl;DrThe general plan would be, to be able to start my testbed and all its components with Terraform
Don't do this.
This isn't what terraform is for. Terraform provisions infrastructure. So (as an example) if you want an azure function, you write a terraform file that describes what this looks like then run terraform to create it. It doesn't (nor should it) run your function. It simply describes how Azure should create these structures prior to them being ran.
It seems you actually want a build pipline that uses terraform as part of that process to provision the infrastructure. The build script would then run the containers once terraform had done it's job
QUESTION
I have a custom GUI app created using onos-create-app
cli which uses ui2
maven archetype for creating the application.
The first time I run mvn clean install
on it, it threw error:-
Generic type 'FactoryDef' requires 1 type argument(s)
I searched online and found that to fix this I need to upgrade from Angular 9.0 to Angular 9.1. After doing so, mvn clean install
generated the oar
file which I installed into onos 2.4.0. The installation and it's activation succeeded.
I could see my custom gui's VIEW_TEXT
being displayed in the navigation menu. Once I click on it, the following error comes:-
Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'foo-app-app'
.
The VIEW_ID
is foo-app-app
in my generated gui app. I am not sure how to solve this. I have downloaded onos 2.4.0 and not built it from source using bazel.
ANSWER
Answered 2020-Jul-14 at 06:12After doing thorough research through onos wiki docs and github README's, these are the following ways I have found to be working for me:-
ONOS source code changes for custom gui2 application (Run Time implementation)(Do these changes after ensuring you're in in the correct version of onos - checkout onos-2.4 branch in this case ):-
Let us say that our application has two parts, one is the backend and one is the frontend.
The backend application code can be made independent of onos source code and then we can install it in our compiled onos application as we had been doing for version prior to 2.0.
For the frontend application code, all changes will be made under onos/web/gui2/ directory of onos source code. This ensures that we only need to build new gui2 oar when frontend code changes and not the whole source code. This allows us to reinstall gui2 oar in our compiled onos application.
Let frontend application’s directory be called customApp.
In your onos source code,
Go to onos/web/gui2/src/main/webapp/app/view and create customApp directory.
customApp directory can have the following structure:-
- Create a directory named custom-app which will include following files:-
- customApp.component.ts
- customApp.component.html
- customApp.component.css
- A file named customApp.module.ts which is our top level Angular module.
- A BUILD bazel file.
- Create a directory named custom-app which will include following files:-
Note:- You’re free to follow your own directory structure for the angular app as more and more components are added. This structure is what onos gui follows by default (See device for reference). The naming convention is not strict.
Go to onos/web/gui2/src/main/webapp/app and open BUILD file.
Go to deps section of ng_module and add //web//gui2/src/main/webapp/app/view/customApp:gui2-view-customApp in it. Go to onos/web/gui2/src/main/webapp/onos-routing.module.ts and inside the onosRoutes list, add the following: -
QUESTION
When I used the ONOS Controller, which uses the OpenFlow Discovery Protocol, each switch had send a PacketIN encapsulated LLDP message back to the controller. These PacketINs are answering the LLDP messages the controller has send to discover the network. This was checked using wireshark. I wanted to check if OpenDayLight had the same behaviour, but there were no PacketINs.
Thats why I wanted to know how ODL gets topology information without receiving any LLDP packages ?
...ANSWER
Answered 2020-Apr-17 at 16:39Try installing these three features:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
Install onos
Clone the code from the ONOS Gerrit repository
Optionally, you can add the ONOS developer environment to your bash profile. This will provide access to a number of handy commands to run, test and debug ONOS. No need to do this step again if you had done this before:
Build ONOS with Bazel
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page