Hello Sunnyuan The SFC 103 demo setup requires that each OVS instance connects to the manager through a distinct IP address. It looks you are running ODL out of the NAT'ed VM where the containers run so that it will appear to ODL that all the OVS instances connect from the same IP address 10.0.2.15.
Try to run ODL within the VM. BR Jaime. -----Original Message----- From: "天亮说晚安" <[email protected]> To: sfc-dev <[email protected]>, [email protected] Subject: 回复: [sfc-dev] running sfc-stable-nitrogen sfc-demo sfc103 problems Date: Sat, 17 Mar 2018 20:11:05 +0800 Hi Jaime, I have checked the containers,my ip address is 10.0.2.15,and following attachment is my pictures about my containers .The sff and classifier have connected to the manager while can not connected the controller. I don't know how to connect the odl and ovs successfully. By the way, when I setup the file ./setup_sfc.py,and at the point of creating the RSP, the odl will throw an exception as described in my attachment. Please help me. I will be greatly appreciated for your help. Thank you, Sunnyuan. ------------------ 原始邮件 ------------------ 发件人: "Jaime Caamaño Ruiz"<[email protected]>; 发送时间: 2018年3月15日(星期四) 晚上6:52 收件人: "天亮说晚安"<[email protected]>; 抄送: "sfc-dev"<[email protected]>; 主题: Re: [sfc-dev] running sfc-stable-nitrogen sfc-demo sfc103 problems Sunnyuan, Have you checked that you can reach ODL from the containers through the ip address configured as manager on those OVS? Also, be advised that there are some fixes for sfc103 on the pipeline [1]. You may need a subset of those. I would suggest to run the demo "as is" and confirm it working before adapting it to a different environment. [1] https://git.opendaylight.org/gerrit/#/c/68813/ BR Jaime. On 2018-03-15 10:05, 天亮说晚安 wrote: > Hi,all > I have tried to run the sfc103 demo in sfc-stable-nitrogen version and > encountered problems. > First of all, I am going to elaborate on my experimental environment as > follows. > I started ubuntu14.04 in my virtualbox. I learned the run_demo.sh in > sfc/sfc-demo/sfc103 and manually configured the docker-compose,ovs > according to the requierments of the sfc103 demo. > The version of my own installation ovs is based on the requirements in > the connection, > https://wiki.opendaylight.org/view/Service_Function_Chaining:Main#Bui lding_Open_vSwitch_with_VxLAN-GPE_and_NSH_support > . > The docker-compose version is 1.19.0. > In the directory of sfc/sfc-demo/sfc103, I create a folder named > ovs-debs. I copy two ovs deb file > :openvswitch-common_2.6.1-1_amd64.deb and > openvswitch-switch_2.6.1-1_amd64.deb. > I also copy the sfc-py folder to the directory of sfc/sfc- demo/sfc103. > I have modified all the controller ip to my own eth0 ip adddress in > the files in the directory of sfc/sfc-demo/sfc103. Specifically,in the > file of Dockerfile line 1 , I changed the "FROM ubuntu:15.01" to "FROM > ubuntu:14.04". And in the file of docker-compose.yml ,I changed the > sf1, sf2 volumes from "- /sfc:/sfc-py" to "- ./sfc-py:/sfc/sfc-py". > When I stared odl-sfc, I installed all the features related to sfc and > openflow. > After all above preparations, I started > sfc-karaf/target/assembly/bin.karaf,sudo docker-compose up, > ./setup_sfc.py in order successfully. > In the terminal of setup_sfc.py ,I can see the result of 201. > In the web interface of sfc-ui, I can see all > sf,sff,classifier,SPF,RSP,NSH and so on. > But I encountered a serious problem that I can not see flow tables > anymore when I use the command : > sudo docker exec -it classifier1 ovs-ofctl dump-flows -OOpenflow13 > br-sfc > sudo docker exec -it classifier2 ovs-ofctl dump-flows -OOpenflow13 > br-sfc > sudo docker exec -it sff1 ovs-ofctl dump-flows -OOpenflow13 br-sfc > sudo docker exec -it sff2 ovs-ofctl dump-flows -OOpenflow13 br-sfc > sudo docker exec -it classifier1 ip nets exec app wget http:192.168.2.2 > I checked the container in classifier1,classifier2,sff1,sff2,and use > the command ovs-vsctl show > I found that they all did not connect the controller at all. > I don't know why ,please help my solve these problems. > > > > > > > > Thank you! > > > Sunnyuan. > _______________________________________________ > sfc-dev mailing list > [email protected] > https://lists.opendaylight.org/mailman/listinfo/sfc-dev _______________________________________________ sfc-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/sfc-dev
