[lnst trac] #69: on-demand template functions
by fedora-badges
#69: on-demand template functions
-------------------------+------------------
Reporter: olichtne | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: lnst-ctl | Version:
Keywords: | Blocked By:
Blocking: |
-------------------------+------------------
At the moment our template functions are just extracting information from
the parsed recipe. The information can however change during recipe
execution.
We would like to evaluate the template functions at the last possible
moment and from current information of the slaves.
--
Ticket URL: <https://fedorahosted.org/lnst/ticket/69>
lnst <https://fedorahosted.org/lnst/>
Linux Network Stack Test
10 years, 8 months
[lnst trac] #54: Documentation: clean up LnstIntro
by fedora-badges
#54: Documentation: clean up LnstIntro
----------------------+------------------------------------------
Reporter: olichtne | Owner:
Type: task | Status: new
Priority: major | Milestone: Complete Wiki Documentation
Component: wiki | Version:
Keywords: | Blocked By:
Blocking: |
----------------------+------------------------------------------
The document is a little bit outdated. It contains a lot of information
because when it was created the wiki didn't exist.
First we want to move the first part to be a separate page. This contains
information about the project and the community. The new page should
either be the front-page or an About page where the user goes first.
Then we need to clean up the entire document so that it doesn't contain
redundant information that will be located in other documents created in
this milestone.
--
Ticket URL: <https://fedorahosted.org/lnst/ticket/54>
lnst <https://fedorahosted.org/lnst/>
Linux Network Stack Test
10 years, 8 months
[lnst trac] #53: Documentation: using 3rd party test tools
by fedora-badges
#53: Documentation: using 3rd party test tools
----------------------+------------------------------------------
Reporter: olichtne | Owner:
Type: task | Status: new
Priority: major | Milestone: Complete Wiki Documentation
Component: wiki | Version:
Keywords: | Blocked By:
Blocking: |
----------------------+------------------------------------------
This is a new feature that was implemented recently. You can now use any
number of test tools, and all you need to do is place them in the correct
directory.
This is an advanced topic so the article should be located accordingly.
Documentation should contain information about where and in what format
you need to put the tools. How they are transferred to the slave machines.
And how to use them from the recipe.
--
Ticket URL: <https://fedorahosted.org/lnst/ticket/53>
lnst <https://fedorahosted.org/lnst/>
Linux Network Stack Test
10 years, 8 months
[PATCH 0/3] minor fixes found by smoke tests
by Ondrej Lichtner
From: Ondrej Lichtner <olichtne(a)redhat.com>
The following 3 patches fix a few bug I found while trying to run smoke tests
to check my netlink implementation. These are related to the recent change in
the xml format, and one that was overlooked when I was implementing the NM
support.
Ondrej Lichtner (3):
NmConfigDevice: fix vlan is_nm_managed method
smoke tests: fix expect values
variables.conf: value change from true/false to pass/fail
lnst/Slave/NmConfigDevice.py | 2 +-
recipes/smoke/lib/task-bg.xml | 4 ++--
recipes/smoke/lib/task-ping.xml | 4 ++--
recipes/smoke/lib/variables.conf | 14 +++++++-------
4 files changed, 12 insertions(+), 12 deletions(-)
--
1.8.3.1
10 years, 8 months
[PATCH 0/5] netlink extensions
by Ondrej Lichtner
From: Ondrej Lichtner <olichtne(a)redhat.com>
The following patch series adds support for hw address updates passed from slave
machines to the controller.
The updates are based on notification messages recieved from the kernel through
a netlink socket. This means that the Slave server now has an additional netlink
socket created and placed into it's select read list.
The other addition related to netlink is the function scan_netdevs which now
queries the kernel for the device list through netlink instead of reading files
in the /sys interface.
Communication through netlink is implemented with the use of pyroute2 library.
Please note that it is now a DEPENDENCY and lnst will NOT WORK without it.
For fedora users, installing the package python-pyroute2 should work.
For everyone else please consult the pyroute2 pages:
https://github.com/svinota/pyroute2
https://pypi.python.org/pypi/pyroute2
Ondrej Lichtner (5):
NetTestSlave: listen for netlink notifications
ConnectionHandler: handle NetlinkSockets
Controller: add handling of update messages
Machine: fix minor bugs
NetUtils: rewrite scan_netdevs function
lnst/Common/ConnectionHandler.py | 9 +++++-
lnst/Common/NetUtils.py | 57 ++++++++++++++++++++++++++++--------
lnst/Controller/Machine.py | 19 ++++++++----
lnst/Controller/NetTestController.py | 9 +++++-
lnst/Slave/NetTestSlave.py | 37 +++++++++++++++++++++++
5 files changed, 111 insertions(+), 20 deletions(-)
--
1.8.3.1
10 years, 8 months
[lnst trac] #78: Corner cases of machine matching
by fedora-badges
#78: Corner cases of machine matching
----------------------+-----------------------------
Reporter: rpazdera | Owner:
Type: defect | Status: new
Priority: major | Milestone: Stable Release
Component: lnst-ctl | Version: git
Keywords: | Blocked By:
Blocking: |
----------------------+-----------------------------
Recently, we have run into problems with corner cases of our machine
matching algorithm. LNST (at the moment) cannot handle recipes with:
* a single machine
* two (or more) machines not connected to each
Generally, there is a problem with machines that don't have any
connections to any other machines within the recipe. Do we want to support
this type of configuration? In many cases, this will be an accidental
misconfiguration, although there might be some cases in which this could
be useful.
Maybe we could support this, but print a warning every time this is
detected during the matching phase?
--
Ticket URL: <https://fedorahosted.org/lnst/ticket/78>
lnst <https://fedorahosted.org/lnst/>
Linux Network Stack Test
10 years, 8 months
[lnst trac] #74: New command class for setting interfaces up/down
by fedora-badges
#74: New command class for setting interfaces up/down
-------------------------+------------------
Reporter: rpazdera | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Component: lnst-ctl | Version:
Keywords: | Blocked By:
Blocking: |
-------------------------+------------------
`lnst-ctl` should be able to turn an interface up or down during the
runtime of a command sequence. This feature could be used to easily
simulate networking failures in test cases.
The command could also have an option called 'after' or 'interval' which
would be a time range, after which would the controller turn the interface
off.
See the example bellow:
{{{
<command machine="peanut" type="ifctl" value="iface2">
<options>
<option name="state" value="down"/>
<option name="wait_min" value="10"/>
<option name="wait_max" value="15"/>
</options>
</command>
}}}
--
Ticket URL: <https://fedorahosted.org/lnst/ticket/74>
lnst <https://fedorahosted.org/lnst/>
Linux Network Stack Test
10 years, 8 months