Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-1389

assign port range does not install entries for all ports

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • Fluorine, Neon
    • None
    • None
    • None

      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

            ananth.y Y Ananth
            ananth.y Y Ananth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: