Change-Id: Ib7c21353cff267b847a4d1d7fdcb322e22772062
Issue-ID: INT-1312
Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
services:
netopeer2:
- image: registry.gitlab.com/blue-onap/docker/sysrepo-netopeer2:v0.7-r2-5
- container_name: netopeer2
+ image: nexus3.onap.org:10001/onap/integration/simulators/netconf-pnp-simulator:2.6.1
+ container_name: netconf-pnp-pmsh
restart: always
ports:
- "830:830"
- "6513:6513"
volumes:
- - ./:/config/models/pnf-subscriptions
+ - ./:/config/modules/pnf-subscriptions
sftp:
container_name: sftpserver
image: atmoz/sftp
--- /dev/null
+requests
+schedule
\ No newline at end of file
+#!/usr/bin/env python3
+
import time
import schedule
from pnf import PNF
if __name__ == "__main__":
try:
pnf = PNF()
- schedule.every(pnfconfig.rop).seconds.do(lambda: pnf.pm_job(pnfconfig.VES_IP, pnfconfig.VES_PORT))
+ schedule.every(pnfconfig.ROP).seconds.do(pnf.pm_job)
while True:
schedule.run_pending()
time.sleep(1)
-#!/usr/bin/env python
+#!/usr/bin/env python3
+
import re
import sysrepo as sr
from pnf import PNF