1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Wrong initialization of iface link kind (still puzzled how i had it this

way)

Ticket:
Reviewed By: trivial
Testing Done: Tested interface upperiface bring up

This was causing the auto upperiface bringup to pick all upperifaces on
malliks setup. This is a large number in a 500 svi setup.
This commit is contained in:
Roopa Prabhu
2015-02-26 14:26:58 -08:00
parent f28e72e544
commit c65c2ccde1

View File

@@ -228,7 +228,7 @@ class iface():
self.priv_data = None
self.realname = None
self.link_type = ifaceLinkType.LINK_UNKNOWN
self.link_kind = ifaceLinkKind.BRIDGE
self.link_kind = ifaceLinkKind.UNKNOWN
def _set_attrs_from_dict(self, attrdict):
self.auto = attrdict.get('auto', False)