X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fvxlan.robot;h=7b9776948ebdd791493d9ff74d0c01b8065ea54e;hp=ebf5d351cac666e2500c0ce5b137e74284b8269f;hb=6000b2abc3d6b8bb8ff2941aacf005a04a33be60;hpb=6d9fe9bb4bd353b1d4fec3b2569bcd743f87fc4a diff --git a/resources/libraries/robot/vxlan.robot b/resources/libraries/robot/vxlan.robot index ebf5d351ca..7b9776948e 100644 --- a/resources/libraries/robot/vxlan.robot +++ b/resources/libraries/robot/vxlan.robot @@ -24,51 +24,6 @@ | Library | resources.libraries.python.NodePath *** Keywords *** -| Path for VXLAN testing is set -| | [Documentation] | *Compute path for VXLAN testing on nodes.* -| | ... -| | ... | _Set testcase variables with interfaces and nodes:_ -| | ... | - ${tgs_to_dut1} -| | ... | - ${dut1s_to_tg} -| | ... | - ${tgs_to_dut2} -| | ... | - ${dut2s_to_tg} -| | ... | - ${dut1s_to_dut2} -| | ... | - ${dut2s_to_dut1} -| | ... | - ${tg} -| | ... | - ${dut1} -| | ... | - ${dut2} -| | ... -| | [Arguments] | ${TG} | ${DUT1} | ${DUT2} -| | Append Nodes | ${TG} | ${DUT1} | ${DUT2} | ${TG} -| | Compute Path -| | ${tgs_to_dut1} | ${tg}= | Next Interface -| | ${dut1s_to_tg} | ${dut1}= | Next Interface -| | ${dut1s_to_dut2} | ${dut1}= | Next Interface -| | ${dut2s_to_dut1} | ${dut2}= | Next Interface -| | ${dut2s_to_tg} | ${dut2}= | Next Interface -| | ${tgs_to_dut2} | ${tg}= | Next Interface -| | Set Test Variable | ${tgs_to_dut1} -| | Set Test Variable | ${dut1s_to_tg} -| | Set Test Variable | ${tgs_to_dut2} -| | Set Test Variable | ${dut2s_to_tg} -| | Set Test Variable | ${dut1s_to_dut2} -| | Set Test Variable | ${dut2s_to_dut1} -| | Set Test Variable | ${tg} -| | Set Test Variable | ${dut1} -| | Set Test Variable | ${dut2} - -| Interfaces in path are up -| | [Documentation] | *Set UP state on interfaces in path on nodes.* -| | ... -| | Set Interface State | ${tg} | ${tgs_to_dut1} | up -| | Set Interface State | ${tg} | ${tgs_to_dut2} | up -| | Set Interface State | ${dut1} | ${dut1s_to_tg} | up -| | Set Interface State | ${dut1} | ${dut1s_to_dut2} | up -| | Set Interface State | ${dut2} | ${dut2s_to_tg} | up -| | Set Interface State | ${dut2} | ${dut2s_to_dut1} | up -| | Vpp Node Interfaces Ready Wait | ${dut1} -| | Vpp Node Interfaces Ready Wait | ${dut2} - | IP addresses are set on interfaces | | [Documentation] | *Set IPv4 addresses on interfaces on DUTs.* | | ... | If interface index is None then is determines with Get Interface Sw Index @@ -107,7 +62,7 @@ | Interfaces are added to xconnect | | [Arguments] | ${DUT} | ${INTERFACE_1} | ${INTERFACE_2} -| | L2 setup xconnect on DUT | ${DUT} | ${INTERFACE_1} | ${INTERFACE_2} +| | L2 setup xconnect on DUT | ${DUT} | ${INTERFACE_1} | ${INTERFACE_2} | Vlan interfaces for VXLAN are created | | [Documentation] | *Create VLAN subinterface on interfaces on DUTs with given VLAN ID.*