def METHOD_NAME(self, name):
    """Create a dummy interface."""
    with pyroute2.IPRoute() as ipr:
        ipr.link("add", ifname=name, kind="dummy")
        idx = ipr.link_lookup(ifname=name)[0]
        ipr.link("set", index=idx, state="up")
        return idx