[NETVIRT-1389] assign port range does not install entries for all ports Created: 03/Jul/18  Updated: 27/Sep/18  Resolved: 27/Sep/18

Status: Verified
Project: netvirt
Component/s: None
Affects Version/s: None
Fix Version/s: Fluorine, Neon

Type: Improvement Priority: Medium
Reporter: Y Ananth Assignee: Y Ananth
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

If we create a port range from 80 to 82
sfc flow classifier create --ethertype IPv4 --source-ip-prefix 10.0.0.1/32 --destination-ip-prefix 10.0.0.2/32 --protocol tcp --destination-port 80:82 --logical-source-port source_vm_port FC1

It does not install entries for all ports

steps to reproduce:
1. create network
2. create three ports sf_port, source_port, dest_port
3. create three instances with ports.
4. create flowclassifier (without --logical-source-port option flow classifier doesn't work)
(openstack) sfc flow classifier create --ethertype IPv4 --source-ip-prefix 10.0.0.5/32 --destination-ip-prefix 10.0.0.6/32 --protocol tcp --destination-port 80:82 logical-source-port source_vm_port FC_1
5. create port pairs using
(openstack) sfc port pair create --ingress=sf_port --egress=sf_port PP1
6. create port pair group
(openstack) sfc port pair group create --port-pair PP1 PG1
7. create port chain
(openstack) sfc port chain create --port-pair-group PG1 --flow-classifier FC_1 PC1
8 check installed entries (It does not install entries for all ports from 80 to 82)

note: create ports with security group allow all rules



 Comments   
Comment by Y Ananth [ 27/Sep/18 ]

Issue has been fixed and patch merged to
master:
https://git.opendaylight.org/gerrit/#/c/74457/

stable/fluorine:
https://git.opendaylight.org/gerrit/#/c/76122/

Generated at Wed Feb 07 20:23:56 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.