code: def teardown_link(self, interface):
          
          cmd = ['ip', 'link', 'delete', interface]
          stdcode, stdout = agent_utils.execute(cmd, root=True)
          if stdcode == 0:
              return agent_utils.make_response(code=stdcode)
          # execute failed.
          message = stdout.pop(0)
          return agent_utils.make_response(code=stdcode, message=message)
docs: ip link