Hi, What did rest_vtep.py response for "1. Creates a new BGPSpeaker instance on each host."? Did you get the message as expected? http://ryu.readthedocs.io/en/latest/app/rest_vtep.html#ryu.app.rest_vtep.RestVtepController.add_speaker
Thanks, Iwase On 2017年04月11日 14:31, Tessy Thomas wrote: > hi..i run the rest_vtep with 2 systems... > the BGP speaker is started..but i'm getting error as follows > > "error": "500.3 - CoreManager is not active.", > "status": 500 > > kindly reply,, > thankyou > > > On Tue, Apr 11, 2017 at 10:00 AM, Tessy Thomas <tessyma...@gmail.com > <mailto:tessyma...@gmail.com>> wrote: > > hi .thankyou for the reply....i run both controller in same machine(in 2 > terminal) > will do it in 2 vm > thankyou > > On Tue, Apr 11, 2017 at 5:42 AM, Iwase Yusuke <iwase.yusu...@gmail.com > <mailto:iwase.yusu...@gmail.com>> wrote: > > Hi, > > First, please let me make your question clear. > Are you trying to start ryu1 and ryu2 on the same host(or the same > VM)? > > rest_vtep.py suppose to be executed on the different host for each > other. > http://ryu.readthedocs.io/en/latest/app/rest_vtep.html#environment > <http://ryu.readthedocs.io/en/latest/app/rest_vtep.html#environment> > e.g.) On Host A, Ryu1 and s1(OVS) should be executed, and on Host B, > Ryu2 and s2(OVS) should be executed. > Also, s1h1 and s1h2 shows VMs or network namespaces (like > container). > > I added some description to the following: > > +----------------------+ +----------------------+ > | Host A (172.17.0.1) | | Host B (172.17.0.2) | > |+--------------------+| |+--------------------+| > || Ryu1 |---- BGP(EVPN) ----| Ryu2 || > |+--------------------+| |+--------------------+| > | | | | | | > |+--------------------+| |+--------------------+| > || s1(OVS):dpid=1 |====== vxlan ======| s2(OVS):dpid=1 || > |+--------------------+| |+--------------------+| > |(s1-eth1) (s1-eth2)| |(s2-eth1) (s2-eth2)| > | | | | | | | | > |+--------+ +--------+| |+--------+ +--------+| > || s1h1 | | s1h2 || || s2h1 | | s2h2 || > |+--------+ +--------+| |+--------+ +--------+| > +----------------------+ +----------------------+ > > Because rest_vtep.py will create BGP instance, which listening on the > well-known port 179, and it is difficult to run it on the same host > (some additional configuration will be required, and rest_vtep does > not > support it). > > > For the error message "No such datapath: 1", please confirm your OVS > instance's datapath-id(=dpid). > > Thanks, > Iwase > > > On 2017年04月10日 23:34, Tessy Thomas wrote: > > halo,thankyou so much for reply..attaching the screen shots of how > i run it...i got error message when i run > > > > "Creates a new BGPSpeaker instance on each host" ... > > > > where do i went wrong?? Kindly help > > > > thankyou > > > > > > > > Creates a new BGPSpeaker instance on each host. > > > > On Host A: > > > > (Host A)$ curl -X POST -d '{ > > "dpid": 1, > > "as_number": 65000, > > "router_id": "172.17.0.1" > > }' http://localhost:8080/vtep/speakers > <http://localhost:8080/vtep/speakers> | python -m json.tool > > > > > > On Mon, Apr 10, 2017 at 7:22 AM, Iwase Yusuke > <iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com> > <mailto:iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com>>> wrote: > > > > Hi, > > > > Thank you for reporting! > > > > > > On 2017年04月09日 20:31, Tessy Thomas wrote: > > > hi. > > > i followed > http://ryu.readthedocs.io/en/latest/app/rest_vtep.html > <http://ryu.readthedocs.io/en/latest/app/rest_vtep.html> > <http://ryu.readthedocs.io/en/latest/app/rest_vtep.html > <http://ryu.readthedocs.io/en/latest/app/rest_vtep.html>> .. but i am very > new to ryu,..can someone kindly help me to run it..... > > > > > > cd ryu1 > > > ryu-manager ryu/app/rest_vtep.py > > > > > > cd ryu2 > > > ryu-manager ryu/app/rest_vtep.py > > > > > > > > > ovs-vsctl add-br s1-ovs > > > ovs-vsctl set-controller s1-ovs tcp:172.17.0.1:6633 > <http://172.17.0.1:6633> <http://172.17.0.1:6633> <http://172.17.0.1:6633> > > > > > > ovs-vsctl add-br s2-ovs > > > ovs-vsctl set-controller s2-ovs tcp:172.17.0.2:6633 > <http://172.17.0.2:6633> <http://172.17.0.2:6633> <http://172.17.0.2:6633> > > > > > > i did these....but i got error """ "error": "BGPSpeaker could > not be found", > > > "status": 404"""\ > > > > First, which command returned this message? > > The above message shows Ryu's BGP instance was not started yet > or could not be > > started as expected. > > > > > > Thanks, > > Iwase > > > > > > > > > > > kindly help > > > thankyou > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Check out the vibrant tech community on one of the world's > most > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > > > > > > > > > _______________________________________________ > > > Ryu-devel mailing list > > > Ryu-devel@lists.sourceforge.net > <mailto:Ryu-devel@lists.sourceforge.net> > <mailto:Ryu-devel@lists.sourceforge.net > <mailto:Ryu-devel@lists.sourceforge.net>> > > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > <https://lists.sourceforge.net/lists/listinfo/ryu-devel> > <https://lists.sourceforge.net/lists/listinfo/ryu-devel > <https://lists.sourceforge.net/lists/listinfo/ryu-devel>> > > > > > > > > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel