diff options
author | Yong Liu <yong.liu@intel.com> | 2016-01-20 09:47:41 +0800 |
---|---|---|
committer | sys_stv <sys_stv@intel.com> | 2016-01-20 10:42:06 +0800 |
commit | 696c2b5b96c5297da5ec699bd7dbc7302a919e22 (patch) | |
tree | f4699eaebb0432bd69b8fed4792eb26f93026793 /nics | |
parent | 934abe54e34fb45f305163108fb4edadda6892c0 (diff) |
framework dut: add port stop when execution exit
Some nic like RRC required additional setup like testpoint start-up. So
when execution done, need call additional stop function.
Signed-off-by: Marvin Liu <yong.liu@intel.com>
Diffstat (limited to 'nics')
-rw-r--r-- | nics/net_device.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nics/net_device.py b/nics/net_device.py index 2b0517b..c3b3755 100644 --- a/nics/net_device.py +++ b/nics/net_device.py @@ -64,6 +64,9 @@ class NetDevice(object): self.get_interface_name() self.socket = self.get_nic_socket() + def stop(self): + pass + def close(self): pass |