blob: f1e309e0862635845b58b10765e5e2b77b333573 [file] [log] [blame]
Matteo Scandolo48d3d2d2017-08-08 13:05:27 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
A R Karthicka2e53d62016-02-19 17:38:30 -080017#!/bin/bash
18odir="$1"
19if [ -z "$odir" ]; then
20 odir = "./"
21fi
A R Karthick85ed65e2016-02-22 09:49:57 -080022
Chetan Gaonkereb2b24b2016-03-01 14:04:45 -080023##Generate TLS authentication Test state machine
A R Karthicka2e53d62016-02-19 17:38:30 -080024python yamlFsm.py -p TlsAuthHolder -f noseTlsAuthTest.yaml > ${odir}/noseTlsAuthHolder.py
Chetan Gaonkere2b78722016-02-22 17:27:09 -080025
26##Generate PAP authentication state machine
27python yamlFsm.py -p PAPAuthHolder -f nosePAPTest.yaml > ${odir}/nosePAPAuthHolder.py
Chetan Gaonkereb2b24b2016-03-01 14:04:45 -080028
29
30##Generate DNS test state machine
Chetan Gaonkercd974cd2016-03-04 14:56:58 -080031#python yamlFsm.py -p DnsHolder -f noseDnsTest.yaml > ${odir}/noseDnsHolder.py
Chetan Gaonkereb2b24b2016-03-01 14:04:45 -080032
Chetan Gaonker4a25e2b2016-03-04 14:45:15 -080033#Generate EAP MD5 authentication state machine
Chetan Gaonkercd974cd2016-03-04 14:56:58 -080034python yamlFsm.py -p Md5AuthHolder -f noseMD5AuthTest.yaml > ${odir}/noseMd5AuthHolder.py
Chetan Gaonker4a25e2b2016-03-04 14:45:15 -080035
36