blob: 30960a1a846ee696bfe03e68afd9dac78729ab6e [file] [log] [blame]
Chetan Gaonkercfcce782016-05-10 10:10:42 -07001#
2# Copyright 2016-present Ciena Corporation
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#
A R Karthicka2e53d62016-02-19 17:38:30 -080016
17def initTlsAuthHolderFsmTable(obj,St,Ev):
18 return {
19
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080020 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -080021
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080022 (St.ST_EAP_TLS_HELLO_REQ, Ev.EVT_EAP_TLS_HELLO_REQ ):( (obj._eapTlsHelloReq,), St.ST_EAP_TLS_CERT_REQ),
A R Karthicka2e53d62016-02-19 17:38:30 -080023
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080024 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -080025
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080026 (St.ST_EAP_ID_REQ, Ev.EVT_EAP_ID_REQ ):( (obj._eapIdReq,), St.ST_EAP_TLS_HELLO_REQ),
A R Karthicka2e53d62016-02-19 17:38:30 -080027
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080028 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -080029
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080030 (St.ST_EAP_SETUP, Ev.EVT_EAP_SETUP ):( (obj._eapSetup,), St.ST_EAP_START),
A R Karthicka2e53d62016-02-19 17:38:30 -080031
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080032 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -080033
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080034 (St.ST_EAP_TLS_FINISHED, Ev.EVT_EAP_TLS_FINISHED ):( (obj._eapTlsFinished,), St.ST_EAP_TLS_DONE),
A R Karthicka2e53d62016-02-19 17:38:30 -080035
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080036 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -080037
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080038 (St.ST_EAP_START, Ev.EVT_EAP_START ):( (obj._eapStart,), St.ST_EAP_ID_REQ),
39
40 ## CurrentState Event Actions NextState
41
42 (St.ST_EAP_TLS_CHANGE_CIPHER_SPEC, Ev.EVT_EAP_TLS_CHANGE_CIPHER_SPEC ):( (obj._eapTlsChangeCipherSpec,), St.ST_EAP_TLS_FINISHED),
43
44 ## CurrentState Event Actions NextState
45
46 (St.ST_EAP_TLS_CERT_REQ, Ev.EVT_EAP_TLS_CERT_REQ ):( (obj._eapTlsCertReq,), St.ST_EAP_TLS_CHANGE_CIPHER_SPEC),
A R Karthicka2e53d62016-02-19 17:38:30 -080047
48}
49