From: chrubis@suse.cz
To: Alexey Kodanev <alexey.kodanev@oracle.com>
Cc: vasily.isaenko@oracle.com, ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH RFC] testscripts/network: uniform network parameters
Date: Tue, 24 Jun 2014 13:27:23 +0200 [thread overview]
Message-ID: <20140624112722.GA6647@rei> (raw)
In-Reply-To: <53A950BC.2050203@oracle.com>
Hi!
> > A bit more documentation how to setup these would not harm. Do we have a
> > document that describes this?
>
> Yes, there's a file which describes them, 'testcases/network/stress/README'.
Ok, looks good. What about we add this path in a comment to the script
with the settings?
> > Moreover we may want to create a script to query interface IP and HWaddr
> > (and possibly others we may need) because ifconfig is deprecated and
> > some distros does not install it by default. If we move it to a library
> > we may write a code to use either ifconfig of ip depending on what is
> > available.
>
> Yes, e.g. many tests setting ipv4 and ipv6 addresses which can also be
> moved to the library. Anyway, do you mean test-case library
> 'test_net.sh'? If yes we will require setting TCID, ... variables in
> configuration scripts, perhaps we can use "net_config" or other names
> for ID. Will it be OK?
Yes, test_net.sh sounds like a good place for such functions.
Hmm, all the configuration and library scripts are in the end sourced to
some testcase which defines TCID and TST_TOTAL, or do I miss something?
> Most network tests use both 'ip' and 'ifconfig', so if we don't have one
> of them, most tests will be broken. I would stay with 'ip' and try to
> not using 'ifconfig'. What do you think?
Agreed.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2014-06-24 11:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-28 14:12 [LTP] [PATCH RFC] testscripts/network: uniform network parameters Alexey Kodanev
2014-06-23 15:49 ` chrubis
[not found] ` <53A950BC.2050203@oracle.com>
2014-06-24 11:27 ` chrubis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140624112722.GA6647@rei \
--to=chrubis@suse.cz \
--cc=alexey.kodanev@oracle.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=vasily.isaenko@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox