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#Building_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

Reply via email to