Skip to content
Browse files

Rename evum_data -> evum_switch

  • Loading branch information...
1 parent 936aaf9 commit d4633ad1747ebbdfe663733716579285298f45d2 @msantos committed
Showing with 4 additions and 4 deletions.
  1. +1 −1 README
  2. +1 −1 ebin/evum.app
  3. +1 −1 src/evum_ctl.erl
  4. +1 −1 src/{evum_data.erl → evum_switch.erl}
View
2 README
@@ -29,7 +29,7 @@ using Erlang bindings to libvirt.
EXAMPLE
% Start the network
-1> {ok,Switch} = evum_data:start().
+1> {ok,Switch} = evum_switch:start().
{ok,<0.43.0>}
% Start the system console server
View
2 ebin/evum.app
@@ -6,7 +6,7 @@
evum,
evum_mcons,
evum_ctl,
- evum_data,
+ evum_switch,
mcons
]},
{registered, []},
View
2 src/evum_ctl.erl
@@ -152,7 +152,7 @@ recv(Server, Switch, Socket) ->
procket:close(Socket);
{ok, <<?SWITCH_MAGIC:32/native, ?UML_VERSION:32/native, ?REQ_NEW_CONTROL:32/native, Sun/binary>>} ->
error_logger:info_report([{connect_from, Sun}]),
- Name = evum_data:name(Switch),
+ Name = evum_switch:name(Switch),
case procket:sendto(Socket, Name, 0, <<>>) of
ok ->
% data(Server, Socket, Buf),
View
2 src/evum_data.erl → src/evum_switch.erl
@@ -28,7 +28,7 @@
%% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
%% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
%% POSSIBILITY OF SUCH DAMAGE.
--module(evum_data).
+-module(evum_switch).
-behaviour(gen_server).
-include("pkt.hrl").

0 comments on commit d4633ad

Please sign in to comment.
Something went wrong with that request. Please try again.