opendaylight

How to set custom REST port for apache ignite when ignite is started as a service in Opendaylight apache karaf?

与世无争的帅哥 提交于 2020-01-03 05:04:05
问题 Opendaylight uses port 8080 which is the same as the default ignite REST http port. So i tried to change the port on which ignite listens for REST requests. Here is a java code snippet for this. System.setProperty("IGNITE_JETTY_PORT","7111"); System.setProperty("IGNITE_JETTY_HOST","localhost"); ignite = Ignition.start(config); The above works fine and changes the ignite REST port when i run in eclipse. But fails when i start an ignite instance in apache karaf. 回答1: I think you may try with

OpenDayLight Helium实验三 OpenDaylight二层转发机制实验

青春壹個敷衍的年華 提交于 2019-12-28 13:44:18
本文基于 OpenDaylight二层转发机制实验 而成 在SDN网络中,处于末端的主机并不知道其连接的网络是SDN,某台主机要发送数据包到另一台主机,仍然需要进行IP到MAC地址的ARP解析。SDN网络中由于引入了控制器的角色,其二层数据转发的机制与普通二层以太交换机洪泛+MAC地址学习机制存在很大的差异。当源IP要与目的IP通信时,会将ARP请求转发到控制器,由控制器帮助询问目的主机的MAC并将结果返回给源主机。 本实验在SDN环境中配置相同网段的两台主机,通过测试二者之间的数据转发来理解和掌握二层转发机制。 实验topu: 实验过程 启动OpenDaylight Helium 版本,进入目录,执行:./karaf。 等待五分钟左右,出现如上提示。 执行以下命令查看进程,默认监听端口为6633。 ps -ef|grep opendaylight netstat -anp|grep 6633 访问网站 通过游览器访问ODL的可视化网站,Helium版本: http://[ODL_host_ip]:8181/dlux/index.html。在运行ODL的主机上运行ifconfig获得ODL_host_ip 。 账户和密码,都是admin。 Mininet操作 登录Mininet虚拟机,检查/home/mininet目录下是否有topo-2sw_2host.py实验脚本

2019 SDN上机第4次作业

非 Y 不嫁゛ 提交于 2019-12-27 18:49:23
1. 解压安装OpenDayLight控制器(本次实验统一使用Beryllium版本)以及features安装 在做这次作业之前安装好了,没有截图emm 2. 用 Python脚本 搭建如下拓扑,连接OpenDayLight控制器 使用如下py文件创建拓扑。 #!/usr/bin/python from mininet.topo import Topo class MyTopo(Topo): def __init__(self): Topo.__init__(self) sw=self.addSwitch("s1") count=1; for i in range(3): h = self.addHost("h{}".format(count)) self.addLink(sw, h) count += 1 topos = {"mytopo": (lambda : MyTopo()) } 运行该拓扑,并将其连接至本地ODL控制器。6633指的是默认交换机端口。 进行pingall操作后控制器检测到主机,成功显示预期的拓扑图。 3. 在控制器提供的WEB UI中下发流表使h2 20s内ping不通h3,20s后恢复 下发流表项id为12的流表,hardtime设置为20 h1 ping h3中断20s 4. 借助Postman通过OpenDayLight的北向接口下发流表

How to filter out or stop getting data field within Opendaylight(Oxygen) BGP-LS data change event

折月煮酒 提交于 2019-12-25 18:58:08
问题 Following is the example of topology i have for BGP-LS updates: { "topology": [ { "topology-id": "bgp-example-linkstate-topology", "link": [ { "link-id": "bgpls://IsisLevel2:0/type=link&local-as=65038&local- router=0000.0000.0010.07&remote-as=65038&remote-router=0000.0000.0005", "source": { "source-tp": "bgpls://IsisLevel2:0/type=tp", "source-node": "bgpls://IsisLevel2:0/type=node&as=65038&router=0000.0000.0010.07" }, "destination": { "dest-tp": "bgpls://IsisLevel2:0/type=tp", "dest-node":

Opendaylight BORON packet handling ( Hydrogen's IListenDataPacket class)

和自甴很熟 提交于 2019-12-25 08:49:23
问题 What API to use to handle packets that arrive at the ODL Controller? In the Hydrogen version, I could implement the IListenDataPacket class, and it did the job. I searched the documentation for quite a while, but I cant figure it out. 回答1: Since Beryllium IListenDataPacket is replaced with PacketProcessingListener as part of moving towards MDSAL from ADSAL Create listener by extending PacketProcsessingListener. and register this listener. If you need to send packets from controller to OVS,

How to add DLUX to new OpenDayLight application?

元气小坏坏 提交于 2019-12-25 02:29:32
问题 DLUX is dropped from upstream releases, so I have to compile DLUX and add back to my application. Firstly, I need to download & compile DLUX (odl-dlux-core, odl-dluxapps-*): git clone -b stable/oxygen https://github.com/opendaylight/dlux.git mvn clean install Then create new ODL application: mvn archetype:generate -DarchetypeGroupId=org.opendaylight.archetypes -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeCatalog=remote -DarchetypeVersion=1.1.0-SNAPSHOT mvn clean install .

use pojos generated from yang to configure device using odl netconf client

痴心易碎 提交于 2019-12-24 01:54:36
问题 I managed to generate Pojos from yang files, using OpenDayLight YangTools. Next stage i managed to import netconf client to my application (using gradle), how do i use the generated pojos with netconfClient in my application to configure a device? 回答1: Would be good if you explain what you want to achieve so I can help you more accurately, but if you want to configure your box programmatically using yang, you need to follow the steps below: From yang models generate your runtime configuration

can i use opendaylight functionality same as jnc?

折月煮酒 提交于 2019-12-24 01:13:27
问题 I want to write an application to configure network element using netconf and I’m looking for an open source netconf client I can use to achieve it. I already tried and succeeded doing so using Jnc. the problem is that jnc doesn’t support netconf 1.1 and I’m looking for another solution. Is it even possible to use the same functionality via opendaylight? In jnc i converted yang files to java classes, filled them and then configured the device. what steps should i do in opendaylight for the

Can't see custom topology on DLUX

雨燕双飞 提交于 2019-12-23 03:18:31
问题 I created a custom topology in mininet and added flows rules to the switches. I can ping the hosts but cannot see the topology on DLUX. I tried with other topology such as single and linear, these work fine. I do not understand what is the problem with the custom topology. If someone could shed some light. 回答1: try restarting ODL, like this person is doing. I would be suspect that you are hitting some bug in the l2switch project. But, you can debug further by inspecting the flows on each

Maven MojoExecutionException

偶尔善良 提交于 2019-12-21 09:18:02
问题 I am facing this issue , when i am deploying my application using Maven, please suggest some solution. Error log, [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19.790s [INFO] Finished at: Wed Apr 23 10:44:13 IST 2014 [INFO] Final Memory: 54M/131M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile