blob: ace2f5e4ff23888903ad73da8390fa575066c81c [file] [log] [blame]
A R Karthick1fa66542017-08-10 14:15:29 -07001#!/bin/bash
Matteo Scandolo48d3d2d2017-08-08 13:05:27 -07002# 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 -080017odir="$1"
18if [ -z "$odir" ]; then
19 odir = "./"
20fi
A R Karthick85ed65e2016-02-22 09:49:57 -080021
Chetan Gaonkereb2b24b2016-03-01 14:04:45 -080022##Generate TLS authentication Test state machine
A R Karthicka2e53d62016-02-19 17:38:30 -080023python yamlFsm.py -p TlsAuthHolder -f noseTlsAuthTest.yaml > ${odir}/noseTlsAuthHolder.py
Chetan Gaonkere2b78722016-02-22 17:27:09 -080024
25##Generate PAP authentication state machine
26python yamlFsm.py -p PAPAuthHolder -f nosePAPTest.yaml > ${odir}/nosePAPAuthHolder.py
Chetan Gaonkereb2b24b2016-03-01 14:04:45 -080027
28
29##Generate DNS test state machine
Chetan Gaonkercd974cd2016-03-04 14:56:58 -080030#python yamlFsm.py -p DnsHolder -f noseDnsTest.yaml > ${odir}/noseDnsHolder.py
Chetan Gaonkereb2b24b2016-03-01 14:04:45 -080031
Chetan Gaonker4a25e2b2016-03-04 14:45:15 -080032#Generate EAP MD5 authentication state machine
Chetan Gaonkercd974cd2016-03-04 14:56:58 -080033python yamlFsm.py -p Md5AuthHolder -f noseMD5AuthTest.yaml > ${odir}/noseMd5AuthHolder.py
Chetan Gaonker4a25e2b2016-03-04 14:45:15 -080034
35