go.ligato.io/vpp-agent/v3@v3.5.0/tests/robot/suites/trafficIPv6/3x_vpp_traffic/3x_vpp_trafficIPv6.robot (about)

     1  *** Settings ***
     2  
     3  Library      OperatingSystem
     4  #Library      String
     5  
     6  Resource     ../../../variables/${VARIABLES}_variables.robot
     7  
     8  Resource     ../../../libraries/all_libs.robot
     9  Resource     ../../../libraries/pretty_keywords.robot
    10  
    11  Force Tags        traffic     IPv6    ExpectedFailure
    12  Suite Setup       Testsuite Setup
    13  Suite Teardown    Testsuite Teardown
    14  Test Setup        TestSetup
    15  Test Teardown     TestTeardown
    16  
    17  *** Variables ***
    18  ${VARIABLES}=          common
    19  ${ENV}=                common
    20  ${SYNC_SLEEP}=       12s
    21  ${IP_1}=               fd30::1:b:0:0:1
    22  ${IP_2}=               fd30::1:b:0:0:10
    23  ${IP_3}=               fd31::1:b:0:0:10
    24  
    25  *** Test Cases ***
    26  Configure Environment 1
    27      [Tags]    setup
    28      Add Agent VPP Node    agent_vpp_1
    29      Add Agent VPP Node    agent_vpp_3
    30  
    31  Create Infs And BD1 On VPP1
    32      Create loopback interface bvi_loop0 on agent_vpp_1 with ip ${IP_1}/64 and mac 8a:f1:be:90:00:00
    33      Create Master memif0 on agent_vpp_1 with MAC 02:f1:be:90:00:00, key 1 and m0.sock socket
    34      Create Bridge Domain bd1 With Autolearn On agent_vpp_1 with interfaces bvi_loop0, memif0
    35  
    36  Add Intf And Update BD1 On VPP1
    37      Create Master memif1 on agent_vpp_1 with MAC 02:f1:be:90:02:00, key 2 and m1.sock socket
    38      Create Bridge Domain bd1 With Autolearn On agent_vpp_1 with interfaces bvi_loop0, memif0, memif1
    39  
    40  Create Intfs And BD1 On VPP3
    41      Create loopback interface bvi_loop0 on agent_vpp_3 with ip ${IP_2}/64 and mac 8a:f1:be:90:00:03
    42      Create Slave memif0 on agent_vpp_3 with MAC 02:f1:be:90:00:03, key 2 and m1.sock socket
    43      Create Bridge Domain bd1 With Autolearn On agent_vpp_3 with interfaces bvi_loop0, memif0
    44      Sleep    ${SYNC_SLEEP}
    45  
    46  Ping VPP3 From VPP1 And VPP2
    47      Ping6 from agent_vpp_1 to ${IP_2}
    48  
    49  Moving Memif1 From BD1 To BD2 on VPP1
    50      Create Bridge Domain bd1 With Autolearn On agent_vpp_1 with interfaces bvi_loop0, memif0
    51      Create Bridge Domain bd2 With Autolearn On agent_vpp_1 with interfaces bvi_loop1, memif1, memif2
    52  
    53  Modify Loopback IP on VPP3
    54      Create loopback interface bvi_loop0 on agent_vpp_3 with ip ${IP_3}/64 and mac 8a:f1:be:90:00:03
    55      vpp_term: Show Interfaces    agent_vpp_3
    56  
    57  Modify Loopback IP on VPP3 Back
    58      Create loopback interface bvi_loop0 on agent_vpp_3 with ip ${IP_2}/64 and mac 8a:f1:be:90:00:03
    59      vpp_term: Show Interfaces    agent_vpp_3
    60  
    61  Moving Memif1 From BD2 To BD1 on VPP1
    62      Create Bridge Domain bd1 With Autolearn On agent_vpp_1 with interfaces bvi_loop0, memif0, memif1
    63      Create Bridge Domain bd2 With Autolearn On agent_vpp_1 with interfaces bvi_loop1, memif2
    64      Sleep    ${SYNC_SLEEP}
    65  
    66  Ping VPP3 From VPP1 And VPP2 Again
    67      Ping6 from agent_vpp_1 to ${IP_2}
    68  
    69  *** Keywords ***
    70  
    71  TestSetup
    72      Make Datastore Snapshots    ${TEST_NAME}_test_setup
    73  
    74  TestTeardown
    75      Make Datastore Snapshots    ${TEST_NAME}_test_teardown