You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
384 B
27 lines
384 B
#
|
|
# Copyright (c) 2011 Thomas Graf <tgraf@suug.ch>
|
|
#
|
|
|
|
"""Dummy
|
|
|
|
"""
|
|
from __future__ import absolute_import
|
|
|
|
__version__ = '1.0'
|
|
__all__ = [
|
|
'init',
|
|
]
|
|
|
|
|
|
class DummyLink(object):
|
|
def __init__(self, link):
|
|
self._rtnl_link = link
|
|
|
|
@staticmethod
|
|
def brief():
|
|
return 'dummy'
|
|
|
|
def init(link):
|
|
link.dummy = DummyLink(link._rtnl_link)
|
|
return link.dummy
|