Hi Jaime,


I have set up the SFC with below details. I don’t see  any  error in the ODL 
log and Now when I test this topology and I ping from Source (20.0.0.3) to 
Destination (20.0.0.8). Then it should go through Port P2 ,P3,P4,P5 . But I 
don’t see that it is going  through these port.



I did tcp dump on ports P2 ,P3,P4,P5 for ICMP request , I don’t find any ICMP 
request on these port.



Topology Set up :-



1)            Set up Network and subnet with 20.0.0.0/24

2)            Created Port P1,P2,P3,P4,P5,P6 with fixed ip from 20.0.0.3 to 
20.0.0.8.

3)            Then create VM Source with port P1 , SF1 ( P2,P3) ,SF2(P4,P5) , 
Destination (P6).

4)            Now I set up SFC with

a)            port-pair-create PP1 --ingress p2 --egress p3

b)            port-pair-create PP2 --ingress p4 --egress p5

c)            port-pair-group-create --port-pair PP1 PPG1

d)            port-pair-group-create --port-pair PP2 PPG2

e)            flow-classifier-create --source-ip-prefix 20.0.0.3/32 
--destination-ip-prefix 20.0.0.8/32 --logical-source-port p1 FC1

f)            port-chain-create --port-pair-group PPG1 --port-pair-group PPG2 
--flow-classifier FC1 PC1





MDSAL data from ODL are here :-



1.      Config Topology :- http://paste.openstack.org/show/722882/

2.      Operational Topology :- http://paste.openstack.org/show/722883/

3.      Config Inventory :-

4.      ITEF Interface :- http://paste.openstack.org/show/722884/

5.      Config Neutron:- http://paste.openstack.org/show/722885/

6.      Operational Neutron :- http://paste.openstack.org/show/722886/

7.      Service Function :- http://paste.openstack.org/show/722888/

8.      Service Function Forwarder :- http://paste.openstack.org/show/722889/

9.      Service Function Chain :- http://paste.openstack.org/show/722890/

10.   Service Function Path:- http://paste.openstack.org/show/722891/

11.   Rendered Service Path:- http://paste.openstack.org/show/722892/



ubuntu@master:~/stack$ sudo ovs-vsctl list Open_vSwitch .

_uuid               : 440aba87-5a46-471f-a561-9df19aa709f0

bridges             : [315c88bb-dc39-4861-a16f-29d016e931ab, 
5f65c6db-2ba8-487f-bf16-93e74b5722ee]

cur_cfg             : 14

datapath_types      : [netdev, system]

db_version          : "7.15.0"

external_ids        : {hostname=localhost, 
"odl_os_hostconfig_config_odl_l2"="{\"allowed_network_types\": [\"local\", 
\"flat\", \"vlan\", \"vxlan\", \"gre\"], \"bridge_mappings\": {}, 
\"datapath_type\": \"system\", \"supported_vnic_types\": [{\"vif_type\": 
\"ovs\", \"vnic_type\": \"normal\", \"vif_details\": {\"support_vhost_user\": 
false, \"has_datapath_type_netdev\": false, \"uuid\": 
\"440aba87-5a46-471f-a561-9df19aa709f0\", \"host_addresses\": 
[\"master\"]}}]}", odl_os_hostconfig_hostid=master, of-tunnel="true", 
rundir="/var/run/openvswitch", system-id="a153ae4c-a6d7-43f0-a600-445b0a33d392"}

iface_types         : [geneve, gre, internal, lisp, patch, stt, system, tap, 
vxlan]

manager_options     : [1f20145c-4ed4-4bd0-bca7-6d8c86e7a4a9, 
e857242e-7836-4dd3-96dc-9a742d990de2]

next_cfg            : 14

other_config        : {local_ip="10.10.90.43"}

ovs_version         : "2.8.1"

ssl                 : []

statistics          : {}

system_type         : ubuntu

system_version      : "16.04"

ubuntu@master:~/stack$



ubuntu@master:~/stack$ neutron port-list

neutron CLI is deprecated and will be removed in the future. Use openstack CLI 
instead.

+--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------+

| id                                   | name | tenant_id                       
 | mac_address       | fixed_ips                                                
                       |

+--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------+

| 048a6f54-019f-43a9-a632-4dcb65954cad | P6   | 
ae47d733553e4c1082186cce9648716e | fa:16:3e:c5:58:e8 | {"subnet_id": 
"974b58c6-e922-46d8-8d67-e8f6723c632f", "ip_address": "20.0.0.8"} |

| 2908d920-66ca-4cc3-adb7-b622bfd7a925 | P3   | 
ae47d733553e4c1082186cce9648716e | fa:16:3e:ff:d6:dd | {"subnet_id": 
"974b58c6-e922-46d8-8d67-e8f6723c632f", "ip_address": "20.0.0.5"} |

| 32476d44-07b2-4f48-b479-59f2e666db59 |      | 
ae47d733553e4c1082186cce9648716e | fa:16:3e:df:2d:73 | {"subnet_id": 
"974b58c6-e922-46d8-8d67-e8f6723c632f", "ip_address": "20.0.0.2"} |

| 5ac497a9-571c-412d-acb7-7bbc07c0a1c8 | P5   | 
ae47d733553e4c1082186cce9648716e | fa:16:3e:79:fb:72 | {"subnet_id": 
"974b58c6-e922-46d8-8d67-e8f6723c632f", "ip_address": "20.0.0.7"} |

| 5bdcf69f-270c-4f6b-a436-593003f12b97 | P4   | 
ae47d733553e4c1082186cce9648716e | fa:16:3e:fd:96:68 | {"subnet_id": 
"974b58c6-e922-46d8-8d67-e8f6723c632f", "ip_address": "20.0.0.6"} |

| 64fe5527-c5c2-4c86-b6b4-e4b08e493637 | P2   | 
ae47d733553e4c1082186cce9648716e | fa:16:3e:d2:b2:5e | {"subnet_id": 
"974b58c6-e922-46d8-8d67-e8f6723c632f", "ip_address": "20.0.0.4"} |

| d5bcacce-64ae-4f7c-b10e-d84102225454 | P1   | 
ae47d733553e4c1082186cce9648716e | fa:16:3e:96:4f:b3 | {"subnet_id": 
"974b58c6-e922-46d8-8d67-e8f6723c632f", "ip_address": "20.0.0.3"} |

+--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------+

ubuntu@master:~/stack$ nova list

+--------------------------------------+-------------+--------+------------+-------------+----------------------------+

| ID                                   | Name        | Status | Task State | 
Power State | Networks                   |

+--------------------------------------+-------------+--------+------------+-------------+----------------------------+

| 008a15ce-f76d-4450-84fc-f7988a60ae8c | Destination | ACTIVE | -          | 
Running     | vx-net0=20.0.0.8           |

| b4724690-ac60-466f-ade1-206f04f85537 | SF1         | ACTIVE | -          | 
Running     | vx-net0=20.0.0.4, 20.0.0.5 |

| 9b9c4612-5d13-410f-ad8f-5bb0982e91bf | SF2         | ACTIVE | -          | 
Running     | vx-net0=20.0.0.6, 20.0.0.7 |

| 50f73d5a-e229-4834-890f-c4180830ff71 | Source      | ACTIVE | -          | 
Running     | vx-net0=20.0.0.3           |

+--------------------------------------+-------------+--------+------------+-------------+----------------------------+

ubuntu@master:~/stack$ sudo ovs-vsctl show

440aba87-5a46-471f-a561-9df19aa709f0

    Manager "ptcp:6641:127.0.0.1"

        is_connected: true

    Manager "tcp:10.10.90.43:6640"

        is_connected: true

    Bridge br-int

        Controller "tcp:10.10.90.43:6653"

            is_connected: true

        fail_mode: secure

        Port "tap048a6f54-01"

            Interface "tap048a6f54-01"

        Port "tap5bdcf69f-27"

            Interface "tap5bdcf69f-27"

        Port "tun1c3c5d00d3f"

            Interface "tun1c3c5d00d3f"

                type: vxlan

                options: {exts=gpe, key=flow, local_ip="10.10.90.43", 
remote_ip=flow}

        Port br-int

            Interface br-int

                type: internal

        Port "tap2908d920-66"

            Interface "tap2908d920-66"

        Port "tap64fe5527-c5"

            Interface "tap64fe5527-c5"

        Port "tapd5bcacce-64"

            Interface "tapd5bcacce-64"

        Port "tap5ac497a9-57"

            Interface "tap5ac497a9-57"

        Port "tap32476d44-07"

            tag: 4095

            Interface "tap32476d44-07"

                type: internal

    Bridge "br-enp0s9"

        Port "br-enp0s9"

            Interface "br-enp0s9"

                type: internal

    ovs_version: "2.8.1"

ubuntu@master:~/stack$ sudo ovs-vsctl list Interface | grep -E '^name|^ofport 
|^mac_in_use|^external_id'

external_ids        : {attached-mac="fa:16:3e:df:2d:73", 
iface-id="32476d44-07b2-4f48-b479-59f2e666db59", iface-status=active}

mac_in_use          : []

name                : "tap32476d44-07"

ofport              : 2

external_ids        : {attached-mac="fa:16:3e:fd:96:68", 
iface-id="5bdcf69f-270c-4f6b-a436-593003f12b97", iface-status=active, 
vm-id="9b9c4612-5d13-410f-ad8f-5bb0982e91bf"}

mac_in_use          : "fe:16:3e:fd:96:68"

name                : "tap5bdcf69f-27"

ofport              : 6

external_ids        : {attached-mac="fa:16:3e:ff:d6:dd", 
iface-id="2908d920-66ca-4cc3-adb7-b622bfd7a925", iface-status=active, 
vm-id="b4724690-ac60-466f-ade1-206f04f85537"}

mac_in_use          : "fe:16:3e:ff:d6:dd"

name                : "tap2908d920-66"

ofport              : 5

external_ids        : {attached-mac="fa:16:3e:96:4f:b3", 
iface-id="d5bcacce-64ae-4f7c-b10e-d84102225454", iface-status=active, 
vm-id="50f73d5a-e229-4834-890f-c4180830ff71"}

mac_in_use          : "fe:16:3e:96:4f:b3"

name                : "tapd5bcacce-64"

ofport              : 3

external_ids        : {}

mac_in_use          : "9a:39:c2:bc:22:88"

name                : "tun1c3c5d00d3f"

ofport              : 1

external_ids        : {attached-mac="fa:16:3e:79:fb:72", 
iface-id="5ac497a9-571c-412d-acb7-7bbc07c0a1c8", iface-status=active, 
vm-id="9b9c4612-5d13-410f-ad8f-5bb0982e91bf"}

mac_in_use          : "fe:16:3e:79:fb:72"

name                : "tap5ac497a9-57"

ofport              : 7

external_ids        : {attached-mac="fa:16:3e:c5:58:e8", 
iface-id="048a6f54-019f-43a9-a632-4dcb65954cad", iface-status=active, 
vm-id="008a15ce-f76d-4450-84fc-f7988a60ae8c"}

mac_in_use          : "fe:16:3e:c5:58:e8"

name                : "tap048a6f54-01"

ofport              : 8

external_ids        : {}

mac_in_use          : "da:c6:65:5f:7f:48"

name                : "br-enp0s9"

ofport              : 65534

external_ids        : {}

mac_in_use          : "b0:48:26:3c:93:5a"

name                : br-int

ofport              : 65534

external_ids        : {attached-mac="fa:16:3e:d2:b2:5e", 
iface-id="64fe5527-c5c2-4c86-b6b4-e4b08e493637", iface-status=active, 
vm-id="b4724690-ac60-466f-ade1-206f04f85537"}

mac_in_use          : "fe:16:3e:d2:b2:5e"

name                : "tap64fe5527-c5"

ofport              : 4

ubuntu@master:~/stack$



Thanks

Om Prakash








_______________________________________________
sfc-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/sfc-dev

Reply via email to