#NEWLINE# def _bind_port( self , orig_context ) : #NEWLINE# #INDENT# port = orig_context . current #NEWLINE# orig_binding = orig_context . _binding #NEWLINE# new_binding = models . PortBinding ( host = orig_binding . host , vnic_type = orig_binding . vnic_type , profile = orig_binding . profile , vif_type = portbindings . VIF_TYPE_UNBOUND , vif_details = '' ) #NEWLINE# self . _update_port_dict_binding ( port , new_binding ) #NEWLINE# new_context = driver_context . PortContext ( self , orig_context . _plugin_context , port , orig_context . network . current , new_context , None ) #NEWLINE# self . mechanism_manager . bind_port ( new_context ) #NEWLINE# return new_context