Skip to content
LabNConsultingPublic

About

A simple munet config that launches free version of YumaWorks

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

README on setting up YumaWorks with RESTCONF

Install YumaWorks on Ubuntu

The following steps were taken to get minimum RESTCONF server working under munet on Ubuntu 22.04 using nginx.

  1. Install requirements (if needed)
  2. Download free version of YumaWorks pro (basic SDK) deb and install.
$ sudo apt-get install nginx fcgiwrap nginx-doc spawn-fcgi
$ sudo systemctl stop nginx
$ sudo systemctl disable nginx
$ adduser ywuser
$ passwd ywuser # [ enter "admin" ]
$ sudo dpkg -i yumapro-sdk-basic-22.10-11.1.u2204.amd64.deb

Run

$ sudo munet
...
munet> curl -q -s http://localhost/restconf/data/system |jq
------ Host: r1 ------
{
  "yuma-system:system": {
    "sysName": "localhost",
    "sysCurrentDateTime": "2023-12-13T13:22:31Z",
    "sysBootDateTime": "2023-12-13T13:20:43Z",
    "sysLogLevel": "debug",
    ...

Important File Locations:

fileinside munetoutside of munet
base directory/var/log/netconfd-pro/tmp/munet/r1/var.log.netconfd-pro
server logserver.log
audit logaudit.log
base directory/var/lib/netconfd-pro./r1/var.lib.netconfd-pro
config filestartup-cfg.xml
factory config filefactory-startup-cfg.xml
transaction ID tilestartup-cfg-txid.txt
backup config filesbackups/
base directory/var/run/netconfd-pro/tmp/munet/r1/var.run.netconfd-pro
PID filenetconfd-pro.pid
AF_LOCAL socketncxserver.sock

References

About

A simple munet config that launches free version of YumaWorks

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages