original_docstring: Idempotently ensure that a bridge contains an interface
  
          The interface must exist, but we ensure the bridge exists and
          that the interface is in it
          
docstring: Idempotently ensure that a bridge contains an interface
  The interface must exist, but we ensure the bridge exists and
  that the interface is in it
docstring_tokens: Idempotently ensure that a bridge contains an interface The interface must exist but we ensure the bridge exists and that the interface is in it
code: def ensure_interface_in_vpp_bridge(self, net_br_idx, iface_idx):
          """Idempotently ensure that a bridge contains an interface
  
          The interface must exist, but we ensure the bridge exists and
          that the interface is in it
          """
          self.ensure_bridge_domain_in_vpp(net_br_idx)
  
          # Adding an interface to a bridge does nothing if it's
          # already in there, and moves it if it's in another
          self.vpp.add_to_bridge(net_br_idx, iface_idx)
code_tokens: def ensure_interface_in_vpp_bridge ( self , net_br_idx , iface_idx ) : self . ensure_bridge_domain_in_vpp ( net_br_idx ) self . vpp . add_to_bridge ( net_br_idx , iface_idx )
short_docstring: Idempotently ensure that a bridge contains an interface
  The interface must exist, but we ensure the bridge exists and
  that the interface is in it
short_docstring_tokens: Idempotently ensure that a bridge contains an interface The interface must exist but we ensure the bridge exists and that the interface is in it
comment: """Idempotently ensure that a bridge contains an interface
  
          The interface must exist, but we ensure the bridge exists and
          that the interface is in it
          """$SEP$# Adding an interface to a bridge does nothing if it's$SEP$# already in there, and moves it if it's in another