mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
2ec2da0cf9
Ticket: CM-3525 Reviewed By: CCR-3326 Testing Done: Tested creating dummy devices using ifupdown2 This is modification to gospos loopback module. It solves the same purpose ie using linux dummy device like a loopback device but there were objections on calling it loopback so i have renamed it to link and i have changed it into a generic module that can do any 'ip link'. Can be extended for link args in the future. below example creates a loopy device $ifquery loopy auto loopy iface loopy link-type dummy $ifup loopy $ifquery -c loopy auto loopy iface loopy [pass] link-type dummy [pass] (cherry picked from commit 1151420408a53c106d29183a1e0da5562c8b03a3)