Hi ,all
I deploy OpenStack mitaka with networking-sfc (-b stable/mitaka) and modify
neutron.conf with
service_plugins=router,metering,networking_sfc.services.sfc.plugin.SfcPlugin
and new section [sfc] drivers=ovs ,and then next mitigrate neutron DB and
restart all neutron and nova services,all seem all right.
next I create my basic network :
net-create net1
net-create --router:external=true --shared net2
subnet-create --name subnet1 --enable-dhcp net1 10.0.1.0/24
subnet-create --name subnet2 --enable-dhcp net2 130.140.150.0/24
router-create r1
router-interface-add r1 subnet1
router-gateway-set r1 net2
and then create 4 ports within net1 :
port-create --name p1 net1
port-create --name p2 net1
port-create --name p3 net1
port-create --name p4 net1
then boot two servers respectively on two servers through assigning
--availability-zone :
openstack server create --image cirros --flavor m1.tiny --nic port-id={p1}
--nic port-id={p2} --availability-zone nova::host1 testvm1
openstack server create --image cirros --flavor m1.tiny --nic port-id={p3}
--nic port-id={p4} --availability-zone nova::host2 testvm2
and then create port-chain
port-pair-create --ingress p1 --egress p2 pp1
port-pair-create --ingress p3 --egress p4 pp2
port-pair-group-create --port-pair pp1 --port-pair pp2 ppg1
port-chain-create --port-pair-group ppg1 pc1
last,we dump ovs flows table ,we only find table 0 and 10 in br-int with mpls
rules ,no other places we can find more mpls rules .
[root@host173 ~(keystone_admin)]# ovs-ofctl dump-flows br-int |grep mpls
cookie=0x9c6ea94ea755534a, duration=412203.263s, table=0, n_packets=0,
n_bytes=0, idle_age=65534, hard_age=65534, priority=20,mpls
actions=resubmit(,10)
cookie=0x9c6ea94ea755534a, duration=344324.930s, table=10, n_packets=0,
n_bytes=0, idle_age=65534, hard_age=65534,
priority=1,mpls,dl_vlan=1,dl_dst=fa:16:3e:9d:89:1f,mpls_label=511
actions=strip_vlan,pop_mpls:0x0800,output:15
there is no flow which can push mpls lables at all
does any body know what's wrong with my steps or anything else ?
Thanks & Regards
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev