X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fhoneycomb%2Finterfaces.robot;h=3eef9f1b2d3f61e134d7187b9c5ad0c60b7c0e91;hp=2ab97e0d9622f4cb1c175c03fc3e370b730dbd5d;hb=54021405af918f9b6ee2fc8c0d531903f579e930;hpb=b92b5be7d4bbbf523812f774bb2e539ab2081cf6 diff --git a/resources/libraries/robot/honeycomb/interfaces.robot b/resources/libraries/robot/honeycomb/interfaces.robot index 2ab97e0d96..3eef9f1b2d 100644 --- a/resources/libraries/robot/honeycomb/interfaces.robot +++ b/resources/libraries/robot/honeycomb/interfaces.robot @@ -718,7 +718,7 @@ | | ... | *Example:* | | ... | | ... | \| Honeycomb should show disabled interface in oper data \ -| | ... | \|${nodes['DUT1']} \| ${vx_interface} \| +| | ... | \| ${nodes['DUT1']} \| ${vx_interface} \| | | [Arguments] | ${node} | ${index} | | interfaceAPI.check disabled interface | ${node} | ${index} @@ -733,7 +733,7 @@ | | ... | *Example:* | | ... | | ... | \| Honeycomb should not show disabled interface in oper data \ -| | ... | \|${nodes['DUT1']} \| ${vx_interface} \| +| | ... | \| ${nodes['DUT1']} \| ${vx_interface} \| | | [Arguments] | ${node} | ${index} | | Run keyword and expect error | * | | ... | Honeycomb should show disabled interface in oper data @@ -775,3 +775,37 @@ | | ... | --timeout | ${5} | | Run Traffic Script On Node | send_icmp_wait_for_reply.py | | ... | ${tg_node} | ${args} + +| Honeycomb adds unnumbered configuration to interface +| | [Documentation] | Adds unnumbered configuration to interface, borrowing IP +| | ... | address from the other specified interface. +| | ... +| | ... | *Arguments:* +| | ... | - node - information about a DUT node. Type: dictionary +| | ... | - interface - Name of the interface to be configured. Type: string +| | ... | - interface_src - Name of the interface to borrow IP address from.\ +| | ... | Type: string +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Honeycomb adds unnumbered configuration to interface \ +| | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| GigabitEthernet0/9/0 \| +| | ... +| | [Arguments] | ${node} | ${Interface} | ${interface_src} +| | Configure interface unnumbered | ${node} | ${interface} | ${interface_src} + +| Honeycomb removes unnumbered configuration from interface +| | [Documentation] | Removes unnumbered configuration from the specified +| | ... | interface. +| | ... +| | ... | *Arguments:* +| | ... | - node - information about a DUT node. Type: dictionary +| | ... | - interface - Name of the interface to be configured. Type: string +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Honeycomb adds unnumbered configuration to interface \ +| | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| +| | ... +| | [Arguments] | ${node} | ${Interface} +| | Configure interface unnumbered | ${node} | ${interface}