I am using Robot framework (RFW) to test protocol testing stuff. I am planning to send Protocol (BGP, OSPF, DNS, DHCPv6, STP, SIP etc) traffic to my device under test (DUT).
I have analyzed "Rammbock Library". But I am familiar with Scapy to send protocol traffic. So I am planning to use Scapy library in RFW.
I got following links:
But I am not getting idea on how to use this in RFW. I mean the keywords.
Anybody have idea on following questions.
How to build a packet in this library?
How to view the packet?
How to send that packet?
Could anyone please guide me on this.
Thanks in advance.
packet = IP(dst=host)/ICMP()
for x in range(count):
ans = sr1(packet)
ans.show2()