#!/bin/bash
#
# Test case for LLDPAD VDP Testing according to IEEE 802.1Qbg
#
# Copyright (c) International Business Machines Corp., 2013
#
# Author(s): Thomas Richter <tmricht at linux.vnet.ibm.com>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
#

# 
# Thomas Richter, IBM Research & Development, Boeblingen, Germany, 20-Apr-2014
#
# Execute a simple pre-assoc-rr with error returned after 1. keep alive message.
# Expect unsolicited message from lldpad.
#

sleep 30	# Must: Wait some time for lldpad to start up and initialize
outfile=$(basename $0)
dirfile=$(dirname $0)
cd $dirfile

../../../vdptest -v -v -v -F vm.cfg -Cnew=vm999,name=vm201,typeidver=2 -i veth0 -r vm999 -g,e=1,w=60 -s,w=20
rc=$?
exit $rc
