X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fsuites%2Fhoneycomb%2F1%20-%20interface_management.robot;fp=tests%2Fsuites%2Fhoneycomb%2F1%20-%20interface_management.robot;h=ae4fec9685463f280b6b2d186e23c1716dddd131;hp=50eaa4edeb6db32a818486e13982baef0c5929eb;hb=481744b2732ab840a00129bacb5994baa19e125c;hpb=f48d2c859e6dd4d03e28db45d60beb182664ab16 diff --git a/tests/suites/honeycomb/1 - interface_management.robot b/tests/suites/honeycomb/1 - interface_management.robot index 50eaa4edeb..ae4fec9685 100644 --- a/tests/suites/honeycomb/1 - interface_management.robot +++ b/tests/suites/honeycomb/1 - interface_management.robot @@ -16,17 +16,18 @@ | ${node}= | ${nodes['DUT1']} | ${interface}= | ${node['interfaces'].values()[0]['name']} # Configuration which will be set and verified during tests. -| @{ipv4_address}= | 192.168.0.2 | 255.255.255.0 -| @{ipv4_neighbor}= | 192.168.0.3 | 08:00:27:c0:5d:37 -| &{ipv4_settings}= | enabled=${True} | forwarding=${True} | mtu=9000 -| @{ipv6_address}= | 10::10 | 64 +| @{ipv4_address_mask}= | 192.168.0.2 | 255.255.255.0 +| @{ipv4_address_prefix}= | 192.168.0.3 | ${16} +| @{ipv4_neighbor}= | 192.168.0.4 | 08:00:27:c0:5d:37 +| &{ipv4_settings}= | enabled=${True} | forwarding=${True} | mtu=${9000} +| @{ipv6_address}= | 10::10 | ${64} | @{ipv6_neighbor}= | 10::11 | 08:00:27:c0:5d:37 -| &{ipv6_settings}= | enabled=${True} | forwarding=${True} | mtu=9000 -| ... | dup-addr-detect-transmits=5 -| &{ethernet}= | mtu=9000 -| &{routing}= | vrf-id=27 -| &{vxlan_settings}= | src=10.0.1.20 | dst=10.0.3.20 | vni=1000 -| ... | encap-vrf-id=1000 +| &{ipv6_settings}= | enabled=${True} | forwarding=${True} | mtu=${9000} +| ... | dup-addr-detect-transmits=${5} +| &{ethernet}= | mtu=${9000} +| &{routing}= | vrf-id=${27} +| &{vxlan_settings}= | src=10.0.1.20 | dst=10.0.3.20 | vni=${1000} +| ... | encap-vrf-id=${1000} *** Settings *** | Resource | resources/libraries/robot/default.robot @@ -57,13 +58,20 @@ | | [Documentation] | Check if Honeycomb API can configure interfaces for ipv4. | | [Tags] | honeycomb_sanity | | When Honeycomb sets interface ipv4 configuration -| | ... | ${node} | ${interface} | @{ipv4_address} | @{ipv4_neighbor} +| | ... | ${node} | ${interface} | @{ipv4_address_mask} | @{ipv4_neighbor} | | ... | ${ipv4_settings} | | Then IPv4 config from Honeycomb should be -| | ... | ${node} | ${interface} | @{ipv4_address} | @{ipv4_neighbor} +| | ... | ${node} | ${interface} | @{ipv4_address_mask} | @{ipv4_neighbor} | | ... | ${ipv4_settings} | | And IPv4 config from VAT should be -| | ... | ${node} | ${interface} | @{ipv4_address} +| | ... | ${node} | ${interface} | @{ipv4_address_mask} +| | When Honeycomb sets interface ipv4 address with prefix +| | ... | ${node} | ${interface} | @{ipv4_address_prefix} +| | Then IPv4 config from Honeycomb should be +| | ... | ${node} | ${interface} | @{ipv4_address_prefix} | @{ipv4_neighbor} +| | ... | ${ipv4_settings} +| | And IPv4 config from VAT should be +| | ... | ${node} | ${interface} | @{ipv4_address_prefix} | Honeycomb modifies interface configuration - ipv6 | | [Documentation] | Check if Honeycomb API can configure interfaces for ipv6.