Rewrite the cron configuration script in Python
Open, NormalPublic

Description

We need a starting point for migration to Python, something simple enough to allow quick testing of the Python config API library, and then serve as an example for new contributors.

The cron script sounds like a perfect candidate since it's short, straightforward, and self-contained.

It should use the Python library: https://github.com/vyos/vyatta-cfg/blob/current/python/vyos/config.py

I must follow these guidelines: http://blog.vyos.net/vyos-2-dot-0-development-digest-number-5-doing-1-dot-2-x-and-2-dot-0-development-in-parallel

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
This request is:
Service Request
dmbaturin created this object with visibility "Public (No Login Required)".
Tania added a comment.Aug 21 2017, 4:05 PM

Hi! I have to install those packages http://dev.packages.vyos.net/vyos/pool/main/v/vyatta-cfg/?C=M;O=A.

I set up version VyOS 999.201708102137 with Architecture x86_64 for my test router. I have installed one of packages vyatta-cfg for my Architecture "libvyatta-cfg1_0.102.0+vyos2+current3_amd64.deb" . Should I install two others? But I have issues with other two package for x86_64:

  1. dependency problems prevent configuration of libvyatta-cfg-dev: libvyatta-cfg-dev depends on libboost-filesystem1.55-dev
  2. failed to create symbolic link ‘/etc/commit/pre-hooks.d/99vyos-user-precommit-hooks’: File exists dpkg: error processing package vyatta-cfg (--install): subprocess installed post-installation script returned error exit status 1\