X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fhoneycomb%2Fport_mirroring.robot;h=5ae0c46ae178dd49360ceffb5e737e9ea24b1f88;hb=7ac38855defc0cf8140180d3abc1f5afeb467a74;hp=64faa5e233edf6e0f4e150d2f6e4036b6a8a5135;hpb=b7f0c133f672b39b49e0480f71dd0629986bcf72;p=csit.git diff --git a/resources/libraries/robot/honeycomb/port_mirroring.robot b/resources/libraries/robot/honeycomb/port_mirroring.robot index 64faa5e233..5ae0c46ae1 100644 --- a/resources/libraries/robot/honeycomb/port_mirroring.robot +++ b/resources/libraries/robot/honeycomb/port_mirroring.robot @@ -15,8 +15,7 @@ | Library | resources.libraries.python.honeycomb.HcAPIKwInterfaces.InterfaceKeywords | Library | resources.libraries.python.telemetry.SPAN | Library | resources.libraries.python.InterfaceUtil -| Library | resources.libraries.python.IPv4Util -| Library | resources.libraries.python.IPv4Setup +| Library | resources.libraries.python.IPUtil | Library | resources.libraries.python.Trace *** Keywords *** @@ -192,7 +191,7 @@ | | ${data}= | Get sub interface oper data | | ... | ${node} | ${dst_interface} | ${index} | | ${data}= | Set Variable -| | ... | ${data['subinterface-span:span-state']['mirrored-interfaces']['mirrored-interface']} +| | ... | ${data['subinterface-span:span']['mirrored-interfaces']['mirrored-interface']} | | Sort list | ${data} | | Sort list | ${src_interfaces} | | Lists should be equal | ${data} | ${src_interfaces} @@ -214,7 +213,7 @@ | | ${data}= | Get sub interface oper data | | ... | ${node} | ${dst_interface} | ${index} | | Variable should not exist -| | ... | ${data['subinterface-span:span-state']['mirrored-interfaces']['mirrored-interface']} +| | ... | ${data['subinterface-span:span']['mirrored-interfaces']['mirrored-interface']} | Honeycomb removes sub-interface SPAN configuration | | [Documentation] | Uses Honeycomb API to remove SPAN Operational Data\ @@ -252,4 +251,4 @@ | | ${data}= | Get sub interface oper data | | ... | ${node} | ${dst_interface} | ${index} | | Run keyword and expect error | *KeyError* | Set Variable -| | ... | ${data['subinterface-span:span-state']['mirrored-interfaces']['mirrored-interface']} \ No newline at end of file +| | ... | ${data['subinterface-span:span']['mirrored-interfaces']['mirrored-interface']} \ No newline at end of file