• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (c) 2011 Thomas Graf <tgraf@suug.ch>
3#
4
5"""Dummy
6
7"""
8from __future__ import absolute_import
9
10__version__ = '1.0'
11__all__ = [
12    'init',
13]
14
15
16class DummyLink(object):
17    def __init__(self, link):
18        self._rtnl_link = link
19
20    @staticmethod
21    def brief():
22        return 'dummy'
23
24def init(link):
25    link.dummy = DummyLink(link._rtnl_link)
26    return link.dummy
27