User Tools

Site Tools


sfc_brahmaputra_testing

This is an old revision of the document!


Brahmaputra Testing: Service Function Chaining

This wiki details the identified test cases for the OPNFV SFC Brahmaputra release.

Common testing setup

Use the following slide for a logical overview of the testing scenario: Logical Testing Overview

  1. Create 2 Service Chains via Tacker: Chain1 and Chain2
    1. Chain1 will only traverse SF1, which will block HTTP and allow everything else to pass
    2. Chain2 will only traverse SF2, which will block SSH and allow everything else to pass
    3. The 2 Service Functions (SF1 and SF2) will be created by Tacker
  2. Create the setup in the aforementioned slide with the following:
    1. 2 Client VMs, in the respective Group Based Policy End Point Groups, EpgClient1 and EpgClient2 (This is done by creating Security Groups in OpenStack, which GBP will map to EPGs)
    2. 1 Server VM in the Group Based Policy End Point Group, EpgServer
    3. Configure the GBP policy for EpgClient1 to EpgServer to be Chain1
    4. Configure the GBP policy for EpgClient2 to EpgServer to be Chain2

Test Cases

Test Case: TC1 - VM Creation

Id Name Description Jira
TC029 VM Creation Verify that only 2 Service Function VMs are created for Service Chains Chain1 and Chain2 https://jira.opnfv.org/browse/YARDSTICK-189

The Service Function VMs will be created by Tacker when the Service Chains Chain1 and Chain2 are created. This test verifies that the VMs are indeed created, but only 2.

Test Case TC2 - Block HTTP

IdNameDescriptionJira
TC2 Block HTTP Verify that Client1 can not do HTTP traffic, but can do SSH traffic https://jira.opnfv.org/browse/YARDSTICK-190

Client1 should be using Chain1, which will only send traffic through Service Function SF1 before sending the traffic on o the server. SF1 is a firewall configured to block all HTTP traffic, but let everything else pass through.

Test Case TC3 - Block SSH

IdNameDescriptionJira
TC3 Block SSH Verify that Client2 can not do SSH traffic, but can do HTTP traffic https://jira.opnfv.org/browse/YARDSTICK-191

Client2 should be using Chain2, which will only send traffic through Service Function SF2 before sending the traffic on o the server. SF2 is a firewall configured to block all SSH traffic, but let everything else pass through.

sfc_brahmaputra_testing.1457537860.txt.gz · Last modified: 2016/03/09 15:37 by Al Morton