Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

E1.33 SLP SA Tests

From wiki.openlighting.org

Revision as of 09:30, 5 February 2013 by Nomis52 (talk | contribs) (Created page with "As E1.33 (RDMNet) draws closer, I thought it would be good to start releasing some testing tools. The first of these are some simple tests to check a RDMNet device's SLP SA …")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

As E1.33 (RDMNet) draws closer, I thought it would be good to start releasing some testing tools. The first of these are some simple tests to check a RDMNet device's SLP SA implementation. The SLP RFC can be rather hard to read so I build up a set of tests to check a variety of corner cases.

The test program is part of OLA and can be found in tools/slp . It isn't included in the binary packages so you'll need to build from tarball or a git clone.

Running the tests

Running the test is as easy as passing the IP Address and (optional) port of the host to test. For example:

./slp_sa_test 192.168.10.80 

The default port is 427, you can change it with:

./slp_sa_test 192.168.10.80:5570

Restricting the set of tests to run

You can get a list of all test cases with

./slp_sa_test --list

You can then restrict which tests to run:

./slp_sa_test 0 --tests CaseSensitiveScopeSrvRqstTest 192.168.10.80 

Limitations

Right now the tests don't cover any DA interactions. I'll try to add this in a future release.