← Back to team overview

marionnet-dev team mailing list archive

Re: [Bug 1135507] [NEW] mapping between switch name and socket ( feature request)

 

Here's a small patch (1 line) by Andriy Paskevych to create switchs 
managements sockets with name as :
switch-NAME_OF_THE_SWITCH-socket-mgmt-XXXX

For example for the switch S1 the name of the socket would be :
switch-S1-socket-mgmt-XXXXX



** Patch added: "socket_name.patch"
   https://bugs.launchpad.net/bugs/1135507/+attachment/3627064/+files/socket_name.patch

-- 
You received this bug notification because you are a member of
marionnet-dev, which is subscribed to marionnet.
https://bugs.launchpad.net/bugs/1135507

Title:
  mapping between switch name and socket (feature request)

Status in Marionnet - A virtual network laboratory:
  New

Bug description:
  
  It's easy to apply commands on virtual switch from outside Marionnet (using vdecmd).
  vdecmd use a management socket in /tmp/marionnet (like switch-socket-mgmt-176117873) but I didn't find a way to find from outside Marionnet a mapping between switchs names and theses sockets (in case there is more than one switch).

  We can think about a directory "switchs" with a file per switch
  listing their management socket for example.

To manage notifications about this bug go to:
https://bugs.launchpad.net/marionnet/+bug/1135507/+subscriptions


References