I have a question related to omnetpp.ini.
Currently I'm implementing some experiments with INET framework but
maybe the my question is valid in general.
By the way, I created a very simple TCP example named NetworkTest:
client - router1 - router2 - server
In omnetpp.ini I have two configurations: "General" and "Config
NetworkTest".
I have doubts on how to fill in the parametres into "Config
Networktest" into omnetpp.ini file in fact for example I added the
parameter:
**.client.tcpAppType
but where I can find the values of this parameter?
I didn't find any documents where I can read which values are
tolerated. I suppose that these values are directly linked to the
source code, but where?
Of course this question is the same for each parameter that I'd set
into omnetpp.ini
Please is there any person that could help me?
Thank you in advance.
Go to inetmanet/src/applications/tcpapp and look at .ned files. Names of
these files are the values which you can set.
Parameters which you should set depend on type of application which you use.
In .ned you have name of parameters which can be set in ini file.
I.e. in TCPBasicClientApp parameters section you have all names of
parameters which can be set in ini files. Of course if default value is set
there you can skip it in ini file.
simple TCPBasicClientApp like TCPApp
{
parameters:
string address = default(""); // may be left empty ("")
int port = default(-1); // port number to listen on
string connectAddress = default(""); // server address (may be
symbolic)
int connectPort = default(1000); // port number to connect to
double startTime @unit("s") = default(1s); // time first session
begins
volatile int numRequestsPerSession = default(1); // number of
requests sent per session
volatile int requestLength @unit(B) = default(200B); // length of a
request
volatile int replyLength @unit("B") = default(1MB); // length of a
reply
volatile double thinkTime @unit("s"); // time gap between requests
volatile double idleInterval @unit(s); // time gap between sessions
volatile double reconnectInterval @unit("s") = default(30s); // if
connection breaks, waits this much before trying to reconnect
@display("i=block/app");
gates:
input tcpIn @labels(TCPCommand/up);
output tcpOut @labels(TCPCommand/down);
}
If you have open ini file, try to use IntelliSense. It helps because you
don't need to remember long parameters names.
You can find other parameters names in rest of .ned files.
Hope it helps.
Rgds
-----------------------------------------
Łukasz Łyjak
hi all,
**.client.tcpAppType
Thank you in advance.
--
You received this message because you are subscribed to the Google Groups
"omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to
omnetpp+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/omnetpp?hl=en.
thanks for your answer but I don't understood.
The values of the parameters are the name of the .ned files or I do
have to search inside to these files.
In any case for TCPAppType I got it.
May I ask in general which is the rule to fill in the parameters into
the INI file?
I mean which are the values?
Which are the parameters that I do have to set?
For example:
**.queue.frameCapacity (string or contsant?)
**.eth[*].queueType (?)
Thank you for any suggestion.
Regards.
> £ukasz £yjak
Last, in your previous post you suggested the IntelliSense.
How may I enbale that one? I'm using OMNET++ installed on linux.
thanks.
Regards.
On 17 Mar, 10:22, Lukas Lyjak <lukas.ly...@gmail.com> wrote:
> Hello,
>
> I also experienced some inconvenience when I was setting the parameters.
>
> >The values of the parameters are the name of the .ned files or I do
> >have to search inside to these files.
>
> It depends on parameter which you have to set up. If the parameter is
> another module you should put the name of .ned file i.e TCPBasicClientApp.
> It is worth to look inside compund module .ned file to see where you should
> find the names of possible values.
> Also inet-manet doc can help.http://www.omnetpp.org/doc/INETMANET-20080920/neddoc/index.html
> example with TCPApphttp://www.omnetpp.org/doc/INETMANET-20080920/neddoc/inet.application...
> > > omnetpp+u...@googlegroups.com<omnetpp%2Bunsu...@googlegroups.com>
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/omnetpp?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "omnetpp" group.
> > To post to this group, send email to omn...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > omnetpp+u...@googlegroups.com<omnetpp%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
Do I have to enable something? Or include something into the example
that I created?
thank you.
On 17 Mar, 11:07, Lukas Lyjak <lukas.ly...@gmail.com> wrote:
> Hello,
>
> I am using Eclipse IDE.
> CTRL+SPACE is shortcut for Intellisense
> For more info how to use it look athttp://www.omnetpp.org/documentation
>
> rgds,
> luka
>
> 2010/3/17 smtux <sml...@libero.it>
>
>
>
> > Ok.
>
> > Last, in your previous post you suggested the IntelliSense.
> > How may I enbale that one? I'm using OMNET++ installed on linux.
>
> > thanks.
>
> > Regards.
>
> > On 17 Mar, 10:22, Lukas Lyjak <lukas.ly...@gmail.com> wrote:
> > > Hello,
>
> > > I also experienced some inconvenience when I was setting the parameters.
>
> > > >The values of the parameters are the name of the .ned files or I do
> > > >have to search inside to these files.
>
> > > It depends on parameter which you have to set up. If the parameter is
> > > another module you should put the name of .ned file i.e
> > TCPBasicClientApp.
> > > It is worth to look inside compund module .ned file to see where you
> > should
> > > find the names of possible values.
> > > Also inet-manet doc can help.
> >http://www.omnetpp.org/doc/INETMANET-20080920/neddoc/index.html
> > > example with TCPApphttp://
> > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
>
> > > > .
> > > > > For more options, visit this group athttp://
> > > > groups.google.com/group/omnetpp?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "omnetpp" group.
> > > > To post to this group, send email to omn...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > omnetpp+u...@googlegroups.com<omnetpp%2Bunsu...@googlegroups.com>
> > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/omnetpp?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "omnetpp" group.
> > To post to this group, send email to omn...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > omnetpp+u...@googlegroups.com<omnetpp%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/omnetpp?hl=en.
>
> --
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
Thank you very much!
> > > > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
> > <omnetpp%252Buns...@googlegroups.com<omnetpp%25252Bun...@googlegroups.com>
>
> > > > > > .
> > > > > > > For more options, visit this group athttp://
> > > > > > groups.google.com/group/omnetpp?hl=en.
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "omnetpp" group.
> > > > > > To post to this group, send email to omn...@googlegroups.com.
> > > > > > To unsubscribe from this group, send email to
> > > > > > omnetpp+u...@googlegroups.com<omnetpp%2Bunsu...@googlegroups.com>
> > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
>
> > > > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
> > <omnetpp%252Buns...@googlegroups.com<omnetpp%25252Bun...@googlegroups.com>
>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/omnetpp?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "omnetpp" group.
> > > > To post to this group, send email to omn...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > omnetpp+u...@googlegroups.com<omnetpp%2Bunsu...@googlegroups.com>
> > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/omnetpp?hl=en.
>
> > > --
Thank you very much!
On 17 Mar, 11:40, Lukas Lyjak <lukas.ly...@gmail.com> wrote:
> > > > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
> > <omnetpp%252Buns...@googlegroups.com<omnetpp%25252Bun...@googlegroups.com>
>
> > > > > > .
> > > > > > > For more options, visit this group athttp://
> > > > > > groups.google.com/group/omnetpp?hl=en.
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "omnetpp" group.
> > > > > > To post to this group, send email to omn...@googlegroups.com.
> > > > > > To unsubscribe from this group, send email to
> > > > > > omnetpp+u...@googlegroups.com<omnetpp%2Bunsu...@googlegroups.com>
> > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
>
> > > > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
> > <omnetpp%252Buns...@googlegroups.com<omnetpp%25252Bun...@googlegroups.com>
>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/omnetpp?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "omnetpp" group.
> > > > To post to this group, send email to omn...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > omnetpp+u...@googlegroups.com<omnetpp%2Bunsu...@googlegroups.com>
> > <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/omnetpp?hl=en.
>
> > > --