Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
etc
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

parodus2mockTr181

Simple interface provide a mock TR-181 object model

Build Status codecov.io Coverity Apache V2 License

Building and Testing Instructions

mkdir build
cd build
cmake ..
make
make test

To Test the parodus2mockTr181:

1. Run parodus as stand alone. e.g.

     ~$ sudo ./parodus --hw-model=TGXXX --hw-serial-number=E8GBUEXXXXXXXXX --hw-manufacturer=ARRIS --hw-mac=aabbcc123456 --hw-last-reboot-reason=unknown --fw-name=TG1682_DEV_master_2017xxxxxxxxsdy --boot-time=1494590301 --webpa-ping-time=180 --webpa-interface-used=<eth interface> --webpa-url=<URL> --webpa-backoff-max=9 --parodus-local-url=tcp://127.0.0.1:6666 --partner-id=xxxxxx --ssl-cert-path=/etc/ssl/certs/ca-certificates.crt --webpa-token=/usr/ccsp/parodus/parodus_token.sh --force-ipv4 --secure-flag=https --port=8080

2. Run parodus2mockTr181 as stand alone. e.g.

    ~$ ./mock_tr181

3. Issue curl commands to test. e.g.

    ~$ curl -H "Authorization: Bearer $WEBPA_SAT" https://xxx.yyy.zzz:ppp/api/v2/device/mac:aabbcc123456/config?names=Device.Hosts.Host.1.Name,Device.Hosts.Host.1.MAC,Device.Hosts.Host.2.Name,Device.Hosts.Host.2.MAC

About

A mock implementation of TR-181 objects through Parodus

Resources

License

Releases

No releases published

Packages

No packages published