class UnexpectedApiReturnValueError(Exception):
""" exception raised when the API return value is unexpected """
pass
class UnexpectedApiReturnValueError(Exception):
""" exception raised when the API return value is unexpected """
pass
return self.api(self.papi.l2fib_flush_all, {})
def sw_interface_set_l2_bridge(self, sw_if_index, bd_id,
return self.api(self.papi.l2fib_flush_all, {})
def sw_interface_set_l2_bridge(self, sw_if_index, bd_id,
"""Add/remove interface to/from bridge domain.
:param int sw_if_index: Software interface index of the interface.
"""Add/remove interface to/from bridge domain.
:param int sw_if_index: Software interface index of the interface.
'enable': enable})
def bridge_flags(self, bd_id, is_set, feature_bitmap):
'enable': enable})
def bridge_flags(self, bd_id, is_set, feature_bitmap):
:param int bd_id: Bridge domain ID.
:param int is_set: Set to 1 to enable, set to 0 to disable the feature.
:param int bd_id: Bridge domain ID.
:param int is_set: Set to 1 to enable, set to 0 to disable the feature.