Skip to content
Permalink
Browse files

fix(middleward/network): fake all state entries for inexistent interface

  • Loading branch information...
william-gr committed Apr 3, 2019
1 parent a7a921e commit 48a4b6e41391c4752358d24dfd0393002d085e97
Showing with 11 additions and 0 deletions.
  1. +11 −0 src/middlewared/middlewared/plugins/network.py
@@ -314,6 +314,17 @@ def query(self, filters, options):
'link_address': '',
'cloned': True,
'mtu': 1500,
'flags': [],
'nd6_flags': [],
'capabilities': [],
'link_state': '',
'media_type': '',
'media_subtype': '',
'active_media_type': '',
'active_media_subtype': '',
'supported_media': [],
'media_options': [],
'carp_config': [],
}, configs, is_freenas, fake=True)
return filter_list(list(data.values()), filters, options)

0 comments on commit 48a4b6e

Please sign in to comment.
You can’t perform that action at this time.