I am currently working on software defined networking project. I wanted to know how can we add flows using opendaylight controller.
I tried adding flows using opendaylight controller with postman but they are failing due to 405 method not supported Error message.
There are restAPI available to do this task. Go through opendaylight documentation to find restAPI matching your need.
Maybe this link would help.
Related
Does anyone tell me the proper integration of opendaylight with GNS3
Actually, I want to enable NETCONF in switch for that I use GNS3 but unable to find any proper document for GNS3 integration with opendaylight.
I will recommend that you check the videos by David Bombal on youtube or on Udemy. They provide great resource to integrate Opendaylight with GNS3.
Although I don't know what your project is all about, why not try using RYU controller instead?
I find RYU controller easire to use because of its use of python.
I have a spring integration project that sends data to various sources via gateway and also fetching data from databases and updating certain tables.
It is working fine just there are so many points of failure and wish I could wrap the calls to these gateways with Netflix's Hystrix framework and have it displayed the Hystrix DashBoard.
All Ideas and Suggestions are welcomed.
Thanks
You can find all the info you need in the Hystrix GitHub repo page here.
Documentation regarding the dashboard is found in the same place, but in the master branch here
There are several ways to use the framework, but most commonly, you would wrap your service/call inside a HystrixCommand object, and fill the run() and fallback() methods. You can find an example here
Regarding the dashboard, you need to build the project and you can use it "out of the box"; that is if you don't want to go deep into its configuration. You will then be able to access it through your web explorer, and trace the calls from the service(s) that are wrapped up with Hystrix, by entering their URL in the dashboard homepage.
You can find additional documentation about the dashboard in the Hystrix wiki.
I would like to set up a standalone swagger-ui application, to view the different APIs from different servers in one central place.
In a second step I would like to customise swagger-ui to show multiple APIs at once.
I don't want to add swagger-ui to all the servers that provide swagger api-docs though.
To do so I would like to use spring boot and thought this should be an easy task. However, I have trouble getting it to work.
Here is what I did:
Generated a Spring Boot application using https://start.spring.io
included spring-boot-starter-web
added io.springfox:springfox-swagger-ui:2.3.1 dependency
When opening http://localhost:8080/swagger-ui.html I see a 404 error and UI seems broken:
Is there any reason for using Spring-boot instead of a simple web server for this?
See for example here with Nginx, including some basic authentication (pretty old link but still looking alright), or in the ReadMe of the swagger-ui github reposiory directly for easily serving with Connect/gulp-serve inside Docker (the setup can also be reproduced directly without Docker if wanted).
Also I have no idea why you're getting resources requested by the page on a different port... Just ask in case you still need help now on this topic.
I am creating OData endpoints using ASP.NET Web API using v5.8.0 of this NuGet package. I have everything working and I can retrieve simple data such as strings and ints without an issue. However I would now like to extend one of the endpoints so that one of the items that can be retrieved is a binary image file. Having read up on OData I have decided to use named resource streams to achieve this.
The problem I have is that I can find very little information on how to implement this using the ODataController. The closest I can find is this blog post but it is using an older version of Web API and the code does not compile when I use it in my project.
So can somebody please supply a working example of how this should be implemented please.
Named streams (aka stream properties) are not currently supported in Web API OData (for OData v4). See the following issues:
Clarify the situation for streams
Document for Stream Support in OData V4
I'm new to SDN and I'm trying the opendaylight controller.
I have set it up with running web API and I can't add flows but it recognizes my topology.
I use mininet to create the topology.
Opendaylight helium 2.0.
Does anybody know why i can't select nodes to create my flow?
Here are some images:
Opendaylight can't select node to create flow
I have the same issue, there seem to be more people with the same problem. Here you can find an answer:
https://ask.opendaylight.org/question/862/static-flow/
They say that it's better to use the REST Interface.