#!/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 assoc with group id support on bridge and station.
# Send many VIDs (filter format VID/MAC/GPID) and expect no VID replacement.
#

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

../../../vdptest -v -v -v -F vm2.cfg -i veth0 -Cnew=vm2_xx1,name=vm2_1,map=13-52:bb:cc:dd:ee:ff-1024,map=14-52:bb:cc:dd:ee:10-1025,map=15-52:bb:cc:dd:ee:00-1025 -s,w=30 -a vm2_xx1 -s,w=30 -d vm2_xx1 -s,w=10
exit $?
