Re: [Ryu-devel] How to send data from controller to the host

2016-08-26 Thread Pynbiang Hadem
Hi, There is never a direct communication from Controller to the Host. The controller speaks only to the switch. So i don't think its possible to send data to the host directly. However, your application may create a new packet with "*the data you want to send*" as the *payload* and set the *nw_d

[Ryu-devel] ECN field and ip_tos field of IPv4

2016-10-04 Thread Pynbiang Hadem
Dear All, I have set values to the *ECN* field of IPv4 packet Header at the *ingress switch* using the *SET_FIELD* action in Ryu. At the controller(using *packet_in from egress switch*), I want to read the ECN field. However reading the packet header using RYU library (*ryu.lib.packet import ipv4*

[Ryu-devel] Testing BGP in ryu

2017-04-02 Thread Pynbiang Hadem
Hi, I want to run the RYU BGP application(ryu/ryu/services/protocols/application.py) for a network with three AS. Do i need to run 3 instances of the application, one instance for each AS?. OR am i having a wrong idea about this?. Pls advice. I am not able to proceed with the test. Thanks Hadem

Re: [Ryu-devel] Testing BGP in ryu

2017-04-03 Thread Pynbiang Hadem
On Mon, Apr 3, 2017 at 6:22 AM, Fujimoto Satoshi < satoshi.fujimo...@gmail.com> wrote: > Hi, Pynbiang. > > > Yes, you need to run at least 3 instances of the application for a network > with three AS. > If you want to run more BGP instances in an AS, you need to run more &

Re: [Ryu-devel] Testing BGP in ryu

2017-04-03 Thread Pynbiang Hadem
; > Thanks > > Hadem > > On Mon, Apr 3, 2017 at 6:22 AM, Fujimoto Satoshi < > satoshi.fujimo...@gmail.com> wrote: >> >> Hi, Pynbiang. Yes, you need to run at least 3 instances of the >> application for a network with three AS. If you want to run more BGP >> in

Re: [Ryu-devel] Testing BGP in ryu

2017-04-07 Thread Pynbiang Hadem
as below: ryu-manager /home/mininet/BGP3/application1.py --config-file /home/mininet/BGP3/ryu.conf Do i need to run it on higher version of ryu?. Pls advice Thanks Hadem On Tue, Apr 4, 2017 at 9:28 AM, Pynbiang Hadem wrote: > Thanks Fujimoto for the insightful reply. > I wil

Re: [Ryu-devel] Testing BGP in ryu

2017-06-21 Thread Pynbiang Hadem
connections... Error creating socket: [Errno 97] Address family not supported by protocol Pls advice Thanks Hadem On Fri, Apr 7, 2017 at 1:01 PM, Pynbiang Hadem wrote: > Hi, > > I'm running the above BGP test applications on ryu 3.30 and am getting > some errors: > &g

Re: [Ryu-devel] Testing BGP in ryu

2017-06-22 Thread Pynbiang Hadem
; I'm sorry for that I've overlooked your reply. > > I think something may be wrong with your ryu.conf, especially about IP > address or port settings. > Please check your ryu.conf, or could you let me see your ryu.conf? > > Thanks, > Fujimoto > > > On 2017年06月22日 01:

Re: [Ryu-devel] Testing BGP in ryu

2017-06-22 Thread Pynbiang Hadem
Hi Fujimoto, *Pls ignore the last mail. I have corrected the command as below as pointed out by you in one of the other Forum blogs:* ryu-manager ryu/services/protocols/bgp/application.py --bgp-app-config-file ryu/services/protocols/bgp/bgp_sample_conf.py *Output:* lzma module is not available Re

Re: [Ryu-devel] Testing BGP in ryu

2017-06-24 Thread Pynbiang Hadem
wn port 179, > which is used for BGP protocol. > > Please run your command with "sudo", that is: > sudo ryu-manager ryu/services/protocols/bgp/application.py > --bgp-app-config-file > ryu/services/protocols/bgp/bgp_sample_conf.py > > > Thanks, > Fujimoto &

Re: [Ryu-devel] Testing BGP in ryu

2017-06-27 Thread Pynbiang Hadem
nstallation. > > https://github.com/mininet/mininet/blob/aa8901268dbb04e11d46 > 6732a354b3533e0e138e/util/install.sh#L615-L639 > > Could you confirm the IPv6 settings (e.g., "/etc/sysctl.conf" and > "/etc/default/grub") > on your machine? > > Thanks, > I

Re: [Ryu-devel] Testing BGP in ryu

2017-07-01 Thread Pynbiang Hadem
;: {'icmp_code': 6, 'tcp_flags': 'SYN+ACK & !=URGENT', 'fragment': 'LF | ==FF', 'flow_label': 100, 'dscp': '22 | 24', 'packet_len': 1000, 'icmp_type': 0, 'port': '80 | 8000', &

[Ryu-devel] how to create and send BGP Update Messages in ryu

2017-07-20 Thread Pynbiang Hadem
Hi, I have set up two Autonomous Systems in mininet AS1 & AS2. I want to create an inter-AS communication between the two AS using BGP Update Messages. Pls guide me how to achieve this. a) How to create the BGP Update Message. b) How to send it from AS1 to AS2 and vice-versa. c) Any available docu

[Ryu-devel] How to process BGP Update message in ryu application

2017-11-24 Thread Pynbiang Hadem
Hi, I have two Autonomous Systems AS1 and AS2. I am able to send BGP update message from AS1 to AS2 and vice versa. I want to process the BGP update messages in my RYU application. I'm a little confused how to achieve that. Pls help. Thanks Hadem -

Re: [Ryu-devel] How to process BGP Update message in ryu application

2017-11-27 Thread Pynbiang Hadem
1cdd6 > db6bf578ec609/ryu/services/protocols/bgp/application.py#L141-L171 > > Thanks, > Iwase > > > On 2017年11月24日 21:32, Pynbiang Hadem wrote: > >> Hi, >> >> I have two Autonomous Systems AS1 and AS2. I am able to send BGP update >> message from AS

Re: [Ryu-devel] How to process BGP Update message in ryu application

2017-11-28 Thread Pynbiang Hadem
nging Ryu source, > you might be able to add some "hooks" for your application. > (I don't think it better way though...) > > > Thanks, > Iwase > > > On 2017年11月27日 18:15, Pynbiang Hadem wrote: > >> Hi Iwase, >> >> Actually, i w

Re: [Ryu-devel] How to process BGP Update message in ryu application

2017-11-28 Thread Pynbiang Hadem
d the socket approach?. Thanks Hadem On Tue, Nov 28, 2017 at 2:16 PM, Pynbiang Hadem wrote: > Hi Iwase, > > Thanks for the response. Changing the source code may not be the best > option as there are disadvantages involved. > What about using the *"EventBestPathChanged

Re: [Ryu-devel] How to process BGP Update message in ryu application

2017-12-11 Thread Pynbiang Hadem
think it better way though...) >> > > Sorry, I've missed the link to the source code in my previous mail. > The link should point to the following; > > https://github.com/osrg/ryu/blob/7f6d8730ab321412e410f0eb65b > 8fba6947cd380/ryu/services/protocols/bgp/speaker.py#L35

[Ryu-devel] Unable to display BGPSpeaker routes/details using show_vrf, show_rib, show_neighbor

2018-01-11 Thread Pynbiang Hadem
*Hi,* *I am getting blank output for BGPSpeaker show_vrf, show_rib, show_neighbor. The partial output is as below:* -- *Sending MED Update Message...* *Send BGP UPDATE Message for changing MED[100]* *API method neighbor.update called with args: {'ip_add

Re: [Ryu-devel] Unable to display BGPSpeaker routes/details using show_vrf, show_rib, show_neighbor

2018-01-12 Thread Pynbiang Hadem
APIs. > For example, to getting all VRF configurations, you need to specify > "summary" > instead of "routes". > http://ryu.readthedocs.io/en/latest/library_bgp_speaker_ref. > html#ryu.services.protocols.bgp.bgpspeaker.BGPSpeaker.vrfs_get > > Thanks,

Re: [Ryu-devel] Unable to display BGPSpeaker routes/details using show_vrf, show_rib, show_neighbor

2018-01-15 Thread Pynbiang Hadem
_get > > With "neighbor_get()" with "route_type='received-routes'", Ryu should > return the > adj-RIB-in information and I guess it is always an empty list when > starting up > (connections are not established with neighbors). > > > Thanks, &g

Re: [Ryu-devel] Unable to display BGPSpeaker routes/details using show_vrf, show_rib, show_neighbor

2018-01-19 Thread Pynbiang Hadem
fying "application.py". > http://ryu-iwase.readthedocs.io/en/doc-services_protocols_bg > p_application/app/bgp_application.html#integration-with-other-applications > > Please note the above link is temporary, because this document is under > reviewing on Ryu-devel and not yet

Re: [Ryu-devel] Unable to display BGPSpeaker routes/details using show_vrf, show_rib, show_neighbor

2018-01-21 Thread Pynbiang Hadem
gth=1,type=1,value=2), > 2: BGPPathAttributeAsPath(flags=64,length=6,type=2,value=[[65002]]), 3: > BGPPathAttributeNextHop(flags=64,length=4,type=3,value='10.0.0.2')}, > nexthop: 10.0.0.2, is_withdraw: False), peer_ip=10.0.0.2, peer_as=65002 > ...(snip)... > > > Thanks, &

[Ryu-devel] Ryu module Import issue

2018-02-26 Thread Pynbiang Hadem
Hi, I have a ryu module/file(* mybgpapp1.py*) in the path */home/mininet/ryu/ryu/services/protocols/bgp* 1) When i am importing from file *application.py* as below it works fine: from ryu.services.protocols.bgp import application as bgp_application 2)However when i import from another fil

Re: [Ryu-devel] Ryu module Import issue

2018-02-26 Thread Pynbiang Hadem
" > modifying > Ryu's codes. Please refer to the following. > http://ryu.readthedocs.io/en/latest/app/bgp_application.html > #integration-with-other-applications > > Thanks, > Iwase > > > On 2018年02月27日 14:49, Pynbiang Hadem wrote: > >> Hi, >>

[Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-09 Thread Pynbiang Hadem
Hi, I want to simulate BGP connectivity between 3 ASes in Mininet with one host in each AS as below: h1 -- AS1 -- AS2 -- AS3 -- h3 h2 How can i create the topology so that each AS is represented by a switch/router and each router is in a separate namespa

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-09 Thread Pynbiang Hadem
Hi Suresh, 1) KNet should be installed on Mininet or without Mininet?. 2) To achieve independent namespaces for each switches, do we need Quagga and Zebra?. Thanks Hadem On Sat, Mar 10, 2018 at 10:24 AM, Pynbiang Hadem wrote: > Thanks Suresh from KNet. > > I will read the documenta

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-11 Thread Pynbiang Hadem
need openvswitch in separate namespace / docker container . > Currently KNet doesnt support this. > > Thanks > Suresh. > > > > > > > On Sat, Mar 10, 2018 at 11:22 AM, Pynbiang Hadem > wrote: > >> Hi Suresh, >> >> 1) KNet should be installed on Mi

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-12 Thread Pynbiang Hadem
ion using BGP message > https://github.com/TakeshiTseng/SDN-Work/blob/master/mininet/bgp-3as/ > > Yi > > 2018-03-11 16:21 GMT+08:00 Pynbiang Hadem : > >> Hi, >> >> Can anyone suggest how i can achieve the target objective in mininet and >> ryu. >>

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-03-15 Thread Pynbiang Hadem
-- *Is this normal?.* *2) How can i login to r1 console?. I want to run some bgpd command like* * bgpd-R1# sh ip bgp* Thanks Hadem On Tue, Mar 13, 2018 at 10:07 PM, Yi Tseng wrote: > Hi, > > Please don't drop mailing list > > I just update it,

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-11 Thread Pynbiang Hadem
quagga > console > > To enter the namespace, you can use *m* command > https://github.com/mininet/mininet/blob/master/util/m > > 2018-03-16 0:20 GMT+08:00 Pynbiang Hadem : > >> Hi Takeshi, >> >> I am able to run it now, however, there are

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-11 Thread Pynbiang Hadem
mple_conf.py *or the configuration done on r1 and r2 by your script is sufficient?. Thanks Hadem On Wed, Apr 11, 2018 at 6:32 PM, Pynbiang Hadem wrote: > Hi Takeshi, > > Would you mind showing some example to enter the namespace of r1. I can't > seemed to figure it out. > >

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-12 Thread Pynbiang Hadem
ore information, please > follow instruction here: > https://ryu.readthedocs.io/en/latest/app/bgp_application.html > > Yi > > > 2018-04-11 21:46 GMT+08:00 Pynbiang Hadem : > >> Hi Takeshi, >> >> I Think i have managed to enter the namespace of r1 using the* m >> comman

Re: [Ryu-devel] RYU BGP Application

2018-04-12 Thread Pynbiang Hadem
Thanks Knet, Will try it out and let you know. Thanks Hadem On Fri, Apr 13, 2018 at 9:35 AM, knet solutions wrote: > Hi, > > In another mail thread, there is a discussion around mininet testbed > setup(with quagga) for RYU BGP Application. > > I did this RYU BGP App + 4 BGP Routers demo with

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-13 Thread Pynbiang Hadem
Hi Takeshi, No, i have not shutdown Quagga daemon before starting Ryu. Do i need to stop it?. Thanks Hadem On Thu, Apr 12, 2018 at 9:35 PM, Yi Tseng wrote: > Hi > > please see comment inline: > > 2018-04-12 23:10 GMT+08:00 Pynbiang Hadem : > >> Hi Takeshi, >> >

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-13 Thread Pynbiang Hadem
when i run the BGP application, i am still getting the same error as before. Thanks Hadem On Fri, Apr 13, 2018 at 5:38 PM, Yi Tseng wrote: > Yes, > > I think because Ryu and Quagga uses same port for bgp protocol > > 2018-04-13 19:44 GMT+08:00 Pynbiang Hadem : > >> Hi T

Re: [Ryu-devel] RYU BGP Application

2018-04-14 Thread Pynbiang Hadem
SpentLeft Speed 100 2965 100 29650 0 4632 0 --:--:-- --:--:-- --:--:-- 4640 sh: 6: Syntax error: "(" unexpected Pls advice. Do you need to make corrections in the install script?. Thanks Hadem On Fri, Apr 13, 2018 at 11:55 AM, Pynbiang Hadem wrote: >

Re: [Ryu-devel] RYU BGP Application

2018-04-14 Thread Pynbiang Hadem
?. Thanks Hadem On Sat, Apr 14, 2018 at 12:59 PM, Pynbiang Hadem wrote: > Hi KNet, > > Getting the below error while installing KNet: > > mininet@mininet-vm:~$ curl https://raw.githubusercontent. > com/knetsolutions/KNet/master/install.sh -L | sh > % Total% Received

Re: [Ryu-devel] RYU BGP Application

2018-04-15 Thread Pynbiang Hadem
e 'docker run --help'.* -- Pls Guide. Thanks Hadem On Sat, Apr 14, 2018 at 4:56 PM, knet solutions wrote: > Use this command. > > > curl https://raw.githubusercontent.com/knetsolutions/KNet/master/install.sh | > bash > > > > > On Sat, Apr 14, 2018 at 1:00

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-17 Thread Pynbiang Hadem
; > 2018-04-13 22:31 GMT+08:00 Pynbiang Hadem : > >> Hi Takeshi, >> >> I tried stopping quagga as below: >> >> *root@mininet-vm:~/ryu# sudo service quagga stop* >> *Stopping Quagga monitor daemon: (watchquagga).* >> *Stopping Quagga daemons (prio

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-04-19 Thread Pynbiang Hadem
. Thanks Hadem On Wed, Apr 18, 2018 at 9:29 AM, Yi Tseng wrote: > I tested it with 16.04, but it should also works on 14.04 > > 2018-04-18 0:34 GMT+08:00 Pynbiang Hadem : > >> Hi Takeshi, >> Will your topology work only in Ubuntu 16 or will it also work in Ubuntu >&

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-05-01 Thread Pynbiang Hadem
advice how to resolve the problem. Thanks Hadem On Thu, Apr 19, 2018 at 6:22 PM, Yi Tseng wrote: > Hi, > > I use apt-get to install quagga > > can you check all listen port on your OS before you start Ryu ? > > 2018-04-19 20:28 GMT+08:00 Pynbiang Hadem : > >> Hi Takesh

[Ryu-devel] Ryu inter-AS BGP communication using multiple VMs.

2018-05-23 Thread Pynbiang Hadem
Hi, I created the following Topology with 2 routers(*each router is in separate VMs*) in VirtualBox. R1-R2 AS1AS2 I want to establish communication between the two routers in two ASes using the Ryu BGP

Re: [Ryu-devel] Ryu inter-AS BGP communication using multiple VMs.

2018-05-24 Thread Pynbiang Hadem
PM, Pynbiang Hadem wrote: > Hi, > > I created the following Topology with 2 routers(*each router is in > separate VMs*) in VirtualBox. > > R1-R2 > AS1AS2 > > I want to esta

Re: [Ryu-devel] Ryu inter-AS BGP communication using multiple VMs.

2018-05-24 Thread Pynbiang Hadem
> difference if you use VMs. it should work. > > https://www.youtube.com/watch?v=PEdc6uwNkr0&t=196s > > Thanks > suresh > > On Thu, May 24, 2018 at 5:41 PM, Pynbiang Hadem > wrote: > >> Hi, >> >> Can anybody confirm whether i can get the RYU BGP to commnicate in

[Ryu-devel] MPLS flow is getting installed in OVS switch(mininet) however hosts are unreachable

2015-10-19 Thread Pynbiang Hadem
*Dear All,* *I am testing the test_mpls.py ryu application in mininet. The application is executing fine: MPLS flow is getting installed in OVS switch, however the hosts are unreachable when ping.* *Starting the ryu test_mpls application:* ubuntu@sdnhubvm:~/ryu[07:27] (master)$ ./bin/ryu-manager -

Re: [Ryu-devel] MPLS flow is getting installed in OVS switch(mininet) however hosts are unreachable

2015-10-19 Thread Pynbiang Hadem
usuke Iwase wrote: > Hi, > > On 2015年10月19日 23:45, Pynbiang Hadem wrote: > > *Dear All, > > > > * > > *I am testing the test_mpls.py ryu application in mininet. The > application is executing fine: MPLS flow is getting installed in OVS > switch,

[Ryu-devel] How does Ryu class OFPActionPushMpls communicate with OpenvSwitch flow_push_mpls class function

2016-01-06 Thread Pynbiang Hadem
Dear all, How does the Ryu class *OFPActionPushMpls(OFPAction)* communicate with OpenvSwitch *flow_push_mpls* (in openvswitch/lib/flow.c) class function. In other words how does ryu calls the *flow_push_mpls* function in *openvswitch*?. How is the label value, TTL, mpls_tc and bos get inserted int

[Ryu-devel] unable to install ryu 3.28 onwards in ubuntu for building from the source

2016-02-25 Thread Pynbiang Hadem
unable to install ryu 3.28 .. 3.30 in ubuntu 14.04 LTS for building from the source. It gives errors like "no theme found shpinx_rtd_theme missing". However i am able to install ryu 3.12. Pls suggest what could be the issue. Thanking you Hadem --

Re: [Ryu-devel] unable to install ryu 3.28 onwards in ubuntu for building from the source

2016-02-25 Thread Pynbiang Hadem
I think if i install it like you suggested($ sudo python setup.py install), there will not be any issue. However i need to re-compile the code. Thanks On Fri, Feb 26, 2016 at 6:46 AM, Yusuke Iwase wrote: > Hi, > > > On 2016年02月25日 19:47, Pynbiang Hadem wrote: > > unable to

Re: [Ryu-devel] unable to install ryu 3.28 onwards in ubuntu for building from the source

2016-02-25 Thread Pynbiang Hadem
from the deb . I need to do this as i want to make changes in ryu source and re-compile the code. Kindly suggest. Thanks Hadem On Fri, Feb 26, 2016 at 10:19 AM, Pynbiang Hadem wrote: > Dear Iwase, > > I wanted to build ryu into a *.deb first and then install from the deb . I > need to

[Ryu-devel] Unable to install ryu in ubuntu 14.04

2016-02-26 Thread Pynbiang Hadem
when i run the command *python ./setup.py install *the following error messages is encountered. *error in ryu setup command: 'tests_require' must be a string or list of strings containing valid project/version requirement specifiers* Pls help. Regards Hadem ---

Re: [Ryu-devel] unable to install ryu 3.28 onwards in ubuntu for building from the source

2016-02-28 Thread Pynbiang Hadem
Thanks for your valuable pointers, Iwase. Regards Hadem On Mon, Feb 29, 2016 at 5:52 AM, Yusuke Iwase wrote: > Hi, > > > On 2016年02月26日 15:17, Pynbiang Hadem wrote: > > Pls suggest. can i use this step/guides Building Ryu packages for Ubuntu > 14.04 LTS - Ewe

Re: [Ryu-devel] Unable to install ryu in ubuntu 14.04

2016-02-29 Thread Pynbiang Hadem
fiers when i install using python3 ./setup.py install it gives error: ImportError: No module named 'setuptools' Pls suggest. Thanks Hadem On Mon, Feb 29, 2016 at 6:43 AM, Yusuke Iwase wrote: > Hi, > > > On 2016年02月26日 20:10, Pynbiang Hadem wrote: > > when i run

[Ryu-devel] How to set IP address to the interfaces/ports of openflow switches(openvswitch) from RYU

2016-03-23 Thread Pynbiang Hadem
Dear All, How to set IP address of our own choice to the interfaces/ports of openflow switches(openvswitch) from RYU program without using CLI commands. Is REST service the best method?. Thanks Hadem -- Transform Data int

Re: [Ryu-devel] How to set IP address to the interfaces/ports of openflow switches(openvswitch) from RYU

2016-03-29 Thread Pynbiang Hadem
i have not been able to do this as well. Pls help. Thanks Hadem On Mon, Mar 28, 2016 at 6:35 AM, Iwase Yusuke wrote: > Hi, > > On 2016年03月24日 00:10, Pynbiang Hadem wrote: > >> Dear All, >> >> How to set IP address of our own choice to the interfaces/ports of >&

[Ryu-devel] How can i get switch's port details like port_no, mac_address etc from ryu.

2016-04-06 Thread Pynbiang Hadem
Dear all, I need to get port details (e.g port_no, mac_address etc) of all ports of a switch from ryu application. How can i get these details. Pls help. Hadem. -- ___ Ryu-devel

Re: [Ryu-devel] How can i get switch's port details like port_no, mac_address etc from ryu.

2016-04-07 Thread Pynbiang Hadem
et_ports) of class ryu.controller.dpset.DPSet. > > > http://ryu-zhdoc.readthedocs.org/en/latest/api_ref.html?highlight=Get_port#ryu.controller.dpset.DPSet.get_ports > > > Thanks, > > > On 2016年04月07日 14:08, Pynbiang Hadem wrote: > >> Dear all, >> >> I

[Ryu-devel] How to get the MAC address of all ports for each switch connected to the controller.

2016-04-18 Thread Pynbiang Hadem
Dear All, The output of "sudo ovs-ofctl show s1" is as below: *---* *mininet@mininet-vm:~$ sudo ovs-ofctl show s1 OFPT_FEATURES_REPLY (xid=0x2): dpid:0001* *n_tables:254, n_buffers:256* ** *actions: output

Re: [Ryu-devel] How to get the MAC address of all ports for each switch connected to the controller.

2016-04-18 Thread Pynbiang Hadem
app ryu.controller.ofp_handler of OFPHandler > port_info.name=s1-eth2 > port_info.hw_addr=de:bd:64:0f:cb:0f > packet in 1 6a:50:d8:2c:cb:dc 33:33:00:00:00:02 2 > port_info.name=s1-eth1 > port_info.hw_addr=4e:31:d2:9a:80:39 > packet in 1 96:2b:f0:c2:3a:d9 33:33:00:00:00:02 1 > port_

Re: [Ryu-devel] How to get the MAC address of all ports for each switch connected to the controller.

2016-04-19 Thread Pynbiang Hadem
andler > port_info.name=s1-eth2 > port_info.hw_addr=de:bd:64:0f:cb:0f > packet in 1 6a:50:d8:2c:cb:dc 33:33:00:00:00:02 2 > port_info.name=s1-eth1 > port_info.hw_addr=4e:31:d2:9a:80:39 > packet in 1 96:2b:f0:c2:3a:d9 33:33:00:00:00:02 1 > port_

Re: [Ryu-devel] How to get the MAC address of all ports for each switch connected to the controller.

2016-04-20 Thread Pynbiang Hadem
supported=0,peer=0,curr_speed=1000,max_speed=0), > OFPPort(port_no=2,hw_addr='8e:0a:b6:62:3a:92',name='s1-eth2',config=0,state=0,curr=2112,advertised=0,supported=0,peer=0,curr_speed=1000,max_speed=0), > OFPPort(port_no=4294967294,hw_addr='de:8a:50:fd:42:43

Re: [Ryu-devel] How to get the MAC address of all ports for each switch connected to the controller.

2016-05-01 Thread Pynbiang Hadem
adem On Thu, Apr 21, 2016 at 10:25 AM, Pynbiang Hadem wrote: > Thanks Iwase, very helpful and appropriate example indeed. > > Thanks > Hadem > > > On Thu, Apr 21, 2016 at 6:32 AM, Iwase Yusuke > wrote: > >> Hi, >> >> With EventOFPSwitchFeatures,

Re: [Ryu-devel] How to get the MAC address of all ports for each switch connected to the controller.

2016-05-01 Thread Pynbiang Hadem
er way kindly indicate. Thanks Hadem On Mon, May 2, 2016 at 10:49 AM, Pynbiang Hadem wrote: > Hi, > > Can i also get the corresponding *datapath id* for a switch in addition > to the above parameters?: > > *ev.ports=[OFPPort(port_no=1,hw_addr='ce:f3:fc:94:a5:a9&#

[Ryu-devel] How can I get IP address of the switch interface like s1-eth1 s1-eth2 etc

2016-05-03 Thread Pynbiang Hadem
Hi, I need to get the *IP addresses* of *switch interfaces* like *s1-eth1, s1-eth2* etc in my RYU application. How can this be done?. Any help in this regard is highly appreciated. Thanks Hadem -- Find and fix applicatio

[Ryu-devel] How to create MAC-to-IP mapping in RYU application without depending on Packets

2016-05-13 Thread Pynbiang Hadem
Dear All, I want to create a python Directory in RYU of MAC-to-IP mapping without depending on the IP and MAC addresses from Packets. Kindly guide or suggest, how to achieve this. Thanks Hadem -- Mobile security can be en

Re: [Ryu-devel] How to create MAC-to-IP mapping in RYU application without depending on Packets

2016-05-16 Thread Pynbiang Hadem
Thanks Iwase On Mon, May 16, 2016 at 11:34 AM, Iwase Yusuke wrote: > Hi, > > On 2016年05月13日 18:23, Pynbiang Hadem wrote: > >> Dear All, >> >> I want to create a python Directory in RYU of MAC-to-IP mapping without >> depending on the IP and MAC addresses from

[Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-21 Thread Pynbiang Hadem
Dear All, I executed the following commands for rest_router.py: curl -X POST -d '{"address":"10.0.1.100/24"}' http://localhost:8080/router/0001 curl -X POST -d '{"address": "10.10.10.1/24"}' http://localhost:8080/router/0001 After which my AddressData object for *switch_id

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-22 Thread Pynbiang Hadem
wrote: > Hi, > > > On 2016年06月21日 21:06, Pynbiang Hadem wrote: > >> Dear All, >> >> I executed the following commands for rest_router.py: >> curl -X POST -d '{"address":"10.0.1.100/24 <http://10.0.1.100/24>"}' >> http://l

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-22 Thread Pynbiang Hadem
Thanks Iwase, Do you think it is possible to bind an IP address to a specific switch interface from a REST program?. Thanks Hadem On Thu, Jun 23, 2016 at 11:01 AM, Iwase Yusuke wrote: > Hi, > > On 2016年06月22日 17:43, Pynbiang Hadem wrote: > >> But in this case, there are two

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-23 Thread Pynbiang Hadem
Thanks Iwase, Very helpful pointers... Regards Hadem On Thu, Jun 23, 2016 at 1:53 PM, Iwase Yusuke wrote: > Hi, > > On 2016年06月23日 15:41, Pynbiang Hadem wrote: > >> Thanks Iwase, >> Do you think it is possible to bind an IP address to a specific switch >>

Re: [Ryu-devel] IPs and Switch-interfaces in RYU rest_router.py

2016-06-23 Thread Pynbiang Hadem
Thanks Iwase, Is there any presently existing RYU application that does a binding of IP address to switch interfaces?. Regards Hadem On Thu, Jun 23, 2016 at 3:12 PM, Pynbiang Hadem wrote: > Thanks Iwase, > Very helpful pointers... > > Regards > Hadem > > On Thu, Jun 23, 2

[Ryu-devel] How to establish a connectivity between two mininet topologies in two separate VMs using virtualbox in a single PC

2018-10-03 Thread Pynbiang Hadem
Hi, I want to setup two mininet topologies in two VMs(Ubuntu 16LTS) within the same physical system using VirtualBox as below. VM1: VM2: h1 s1 -- s2-h3 ||

Re: [Ryu-devel] How to establish a connectivity between two mininet topologies in two separate VMs using virtualbox in a single PC

2018-10-12 Thread Pynbiang Hadem
m On Thu, Oct 11, 2018 at 8:12 AM IWAMOTO Toshihiro wrote: > On Wed, 03 Oct 2018 21:38:26 +0900, > Pynbiang Hadem wrote: > > > > [1 ] > > [1.1 ] > > Hi, > > > > I want to setup two mininet topologies in two VMs(Ubuntu 16LTS) within > the > &g

[Ryu-devel] rest_router issue: unable to ping across two VMs connected with GRE Tunnels

2018-10-19 Thread Pynbiang Hadem
Hi, I am running two VMs; *VM1* and *VM2*. Each VM has a simple topology as follows. *VM1:* * VM2:* h1--s1s2 <> s4s3-h3 | |

Re: [Ryu-devel] rest_router issue: unable to ping across two VMs connected with GRE Tunnels

2018-10-24 Thread Pynbiang Hadem
Hi Toshihiro, Thanks for your meaningful reply. Will try again. Hope mean while more help/advice/pointers will come regarding this issue. Thanks Hadem On Wed, Oct 24, 2018 at 2:30 PM IWAMOTO Toshihiro wrote: > On Fri, 19 Oct 2018 23:56:38 +0900, > Pynbiang Hadem wrote: > > > &

Re: [Ryu-devel] rest_router issue: unable to ping across two VMs connected with GRE Tunnels

2018-11-18 Thread Pynbiang Hadem
3:56:38 +0900, > Pynbiang Hadem wrote: > > > > [1 ] > > [1.1 ] > > Hi, > > > > I am running two VMs; *VM1* and *VM2*. Each VM has a simple topology as > > follows. > > > >*VM1:* * VM2:* > >

Re: [Ryu-devel] How to setup multiple ASes in Mininet represented by switches in independent namespaces

2018-12-07 Thread Pynbiang Hadem
osts, AS exchanges > prefix information using BGP message > https://github.com/TakeshiTseng/SDN-Work/blob/master/mininet/bgp-3as/ > > Yi > > 2018-03-11 16:21 GMT+08:00 Pynbiang Hadem : > >> Hi, >> >> Can anyone suggest how i can achieve the target objective in mi

[Ryu-devel] Help needed on the SDX-RYU project.

2019-05-14 Thread Pynbiang Hadem
Hi Guys, I am presently testing the SDX-RYU project. https://github.com/sdn-ixp/sdx-ryu/tree/master/ Can some expert here confirm whether BGP update messages are being sent from QuaggaHosts a1, b1 etc... to the Route Server? If so, can you you shed some light on this? Thanks in advance. Regards

Re: [Ryu-devel] Help needed on the SDX-RYU project.

2019-05-15 Thread Pynbiang Hadem
Hadem On Tue, May 14, 2019 at 7:58 PM Pynbiang Hadem wrote: > Hi Guys, > > I am presently testing the SDX-RYU project. > https://github.com/sdn-ixp/sdx-ryu/tree/master/ > > Can some expert here confirm whether BGP update messages are being sent > from QuaggaHosts a1, b1

[Ryu-devel] Ryu REST API-based inter-controller communication

2019-06-19 Thread Pynbiang Hadem
Hi, Is there an implementation of a REST API-based inter-controller communication in Ryu?. If so, kindly share necessary information. Thanks Hadem ___ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ry

Re: [Ryu-devel] Ryu REST API-based inter-controller communication

2019-06-19 Thread Pynbiang Hadem
Hi, What i meant is that: A controller requesting some information from another controller through REST API. Thanks Hadem On Wed, Jun 19, 2019 at 5:12 PM Alon Dotan wrote: > what you mean in "inter controller"? > there is rest application > --

Re: [Ryu-devel] Ryu REST API-based inter-controller communication

2019-06-19 Thread Pynbiang Hadem
, BGP and so on. > > Thanks, > Iwase > > 2019年6月19日(水) 20:46 Pynbiang Hadem : > >> Hi, >> >> What i meant is that: A controller requesting some information from >> another controller through REST API. >> >> Thanks >> Hadem >> >&g

Re: [Ryu-devel] Ryu REST API-based inter-controller communication

2019-06-20 Thread Pynbiang Hadem
er words, you can implement your own way for your requirements. For > example, REST, RPC, BGP and so on. > > Thanks, > Iwase > > 2019年6月19日(水) 20:46 Pynbiang Hadem : > >> Hi, >> >> What i meant is that: A controller requesting some information from >> another c

Re: [Ryu-devel] Ryu REST API-based inter-controller communication

2019-06-20 Thread Pynbiang Hadem
suitable way to use the message > queue like pyzmq. > https://pyzmq.readthedocs.io/en/latest/ > > !!! please note Ryu uses "eventlet" networking library, you need to import > "zmq" module from "eventlet.green.zmq" which is the eventlet customized > version of

[Ryu-devel] How to write/update the IP Option field of IPv4 header without disturbing the other header fields

2019-07-30 Thread Pynbiang Hadem
Hi, How can I write or update the IP Option field of IPv4 header of a packet without changing the other header fields of the packet?. Thanks Hadem ___ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ry

Re: [Ryu-devel] How to write/update the IP Option field of IPv4 header without disturbing the other header fields

2019-07-31 Thread Pynbiang Hadem
gt; > Optionally, Nicira extended match fields: > > https://ryu.readthedocs.io/en/latest/nicira_ext_ref.html#module-ryu.ofproto.nicira_ext > > Regards, > Iwase > > > 2019年7月30日(火) 21:15 Pynbiang Hadem : > >> Hi, >> >> How can I write or update the IP Opt

[Ryu-devel] sending inter-application messages

2019-09-25 Thread Pynbiang Hadem
Hi, What is the simplest but efficient way of sending messages between two Ryu applications? Thanks Hadem ___ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel

Re: [Ryu-devel] sending inter-application messages

2019-10-03 Thread Pynbiang Hadem
, 2019 at 6:28 PM Yusuke Iwase > wrote: > >> Hi, >> >> It is depending on your situation though, I guess REST or message queue >> are generally >> convint way. >> >> https://osrg.github.io/ryu-book/en/html/rest_api.html >> >> https://eventl