avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
345 stars 343 forks source link

Remove IPv4 Addresses of network interface. #6042

Closed FarooqAbdulla02 closed 1 month ago

FarooqAbdulla02 commented 1 month ago

when IP addresses are confiugred from a config file, the generic "ip flush" command does not removes the IP address and IP's will be remain intact.

when user wanted to remove all IP addresses of interface which user doesnot aware of it, this code will helps to find all the assigned IP addresses and removes it.