OpenSLP - rlaich/avctrec GitHub Wiki

OpenSLP

Purpose

To support slp protocol test for function test

Command

After download OpenSLP source file

  1. Unzip and install
tar -xvf openslp-2.0.0.tar.gz
cd openslp-2.0.0/
./configure
make
make install
  1. Create lib link if required.

    a. Remove old soft link if required

    rm /usr/lib/libslp.so.1
    

    b. Create new soft link if required

    ln -s /usr/local/lib/libslp.so.1 /usr/lib/libslp.so.1
    
  2. Install OpenSSL 1.1.1.x verison (On Ubuntu 22.04)

    a. reference to wiki page (Install and test with multiple version OpenSSL)

    • The lastest version is 1.1.1.t (2023/02/07 release)

    b. after install OpenSSL, create soft link of libcrypto.so.1.1

    ln -s  /usr/local/openssl_1.1.1t/lib/libcrypto.so.1.1 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
    

Test

  • Run unicast to get specified IP SLP protocol data
slptool -u ${IP} findsrvs service:management-hardware.Lenovo:lenovo-xclarity-controller

Note

  1. Build OpenSLP using OpenSSL 1.1.1.x
  2. Ubuntu 20.04 using OpenSSL 1.1.1.x, Build OpenSLP can work
  3. Ubuntu 22.04 using OpenSSL 3.0.2 or later, it required to install multi version of OpenSSL to support OpenSSL 1.1.1.x

Ref