Hi Ali,

First thing (and I think I have said to you a few times now),
OpenFlowVMS is a deprecated package.  Take a look at mininet.

OpenFlowVMS uses a read-only filesystem so that all the VM can share
an image.  So, you have two choice.  Make VMS run in read-write mode
(i.e., remove the -snapshot option) or make your code only read and
send, and not write to the filesystem.

Hope that helps.

Regards
KK

On 25 May 2011 07:50, Ali hussain <[email protected]> wrote:
> Hey,
>        Well i am having trouble running my own client-server code on
> Openflow VMS. i have created an xml topology(giveb below) in which there are
> 2 clients a server and an openflow switch.i have stored the .c files of
> server and client in the Client1.cd and Server1.cd folder in openflow vms
> respectively.After giving the command vms-start.py i try to run the
> gcc-server -o server command after going in the /cdrom directory but it
> gives an error as file cannot be file:Read only file system.But by
> copying(moving) both client .c and server .c  in a /tmp directory the
> command runs but the server is unable to transfer any data to any of the
> client.Running packet dump shows no packet.
>
> Commands on Serverside
> gcc server -o server
> ./server 23456(port)
>
> Command on CLient side
> gcc client -o client
> ./client localhost 23456(port)
>
> Whereas if u run the same client server code on the linux terminal it works
> fine.
>
> Thank you
> Ali Hussain
>
> XML
> <network name="Handover Network">
> <of_mem>32</of_mem>
>
> <openflowswitch name="of1">
> <xterm>true</xterm>
> </openflowswitch>
> -
>
> <host name="Server">
> <xterm>true</xterm>
> <!-- <cd><dir>myhost1.cd</dir></cd> -->
> -
> <ip>
> <static>192.168.0.1</static>
> </ip>
> </host>
>
> -
> <host name="Client1">
> <xterm>true</xterm>
> -
> <ip>
> <static>192.168.0.10</static>
> </ip>
> </host>
> -
>
> <host name="Client2">
> <xterm>true</xterm>
> -
> <ip>
> <static>192.168.0.100</static>
> </ip>
> </host>
> -
>
> <link end1="Client2" end2="of1"/>
> <link end1="Server" end2="of1"/>
> <link end1="of1" end2="Client1"/>
>
>
> </network>
>
>
>
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to