diff options
author | John Estabrook <jestabro@vyos.io> | 2020-08-31 11:19:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 11:19:02 -0500 |
commit | 2078f5ceffa2918d6797cb96e14d76c38735eebd (patch) | |
tree | 9fce2b6bd8eac3eaabf8b5972b61062e2144c3d1 /scripts/check-qemu-install | |
parent | 32f1516d2ae1fa422b8b4966a6c61cbef1729aa2 (diff) | |
parent | 2fd5898643d075857ef0bdb4e24db3c7fdd79863 (diff) | |
download | vyos-build-2078f5ceffa2918d6797cb96e14d76c38735eebd.tar.gz vyos-build-2078f5ceffa2918d6797cb96e14d76c38735eebd.zip |
Merge pull request #120 from jestabro/vyos-configd
configd: T2582: support for vyos config script daemon
configd: T2582: add option to run testsuite with daemon (default off)
configd: T2582: enable vyos-configd.service
configd: T2582: add build dependency
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-x | scripts/check-qemu-install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index b79ed03f..3d182dbe 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -67,6 +67,9 @@ parser.add_argument('--logfile', help='Log to file') parser.add_argument('--no-kvm', help='Disable use of kvm', action='store_true', default=False) +parser.add_argument('--configd', help='Execute testsuite with config daemon', + action='store_true', + default=False) args = parser.parse_args() @@ -277,6 +280,16 @@ try: time.sleep(20) ################################################# + # Start/stop config daemon + ################################################# + if args.configd: + c.sendline('sudo systemctl start vyos-configd.service &> /dev/null') + c.expect(r'vyos@vyos:~\$') + else: + c.sendline('sudo systemctl stop vyos-configd.service &> /dev/null') + c.expect(r'vyos@vyos:~\$') + + ################################################# # Basic Configmode/Opmode switch ################################################# log.info("Basic CLI configuration mode test") |