blob: 4e2fb355ebd944bc00aa0063b596fb4c87e7e2ea [file] [log] [blame]
Chetan Gaonkere2b78722016-02-22 17:27:09 -08001#!/usr/bin/env python
A R Karthicka2e53d62016-02-19 17:38:30 -08002
3def initTlsAuthHolderFsmTable(obj,St,Ev):
4 return {
5
Chetan Gaonkerf8f77182016-03-11 15:34:57 -08006 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -08007
Chetan Gaonkerf8f77182016-03-11 15:34:57 -08008 (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 -08009
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080010 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -080011
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080012 (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 -080013
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080014 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -080015
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080016 (St.ST_EAP_SETUP, Ev.EVT_EAP_SETUP ):( (obj._eapSetup,), St.ST_EAP_START),
A R Karthicka2e53d62016-02-19 17:38:30 -080017
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080018 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -080019
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080020 (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 -080021
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080022 ## CurrentState Event Actions NextState
A R Karthicka2e53d62016-02-19 17:38:30 -080023
Chetan Gaonkerf8f77182016-03-11 15:34:57 -080024 (St.ST_EAP_START, Ev.EVT_EAP_START ):( (obj._eapStart,), St.ST_EAP_ID_REQ),
25
26 ## CurrentState Event Actions NextState
27
28 (St.ST_EAP_TLS_CHANGE_CIPHER_SPEC, Ev.EVT_EAP_TLS_CHANGE_CIPHER_SPEC ):( (obj._eapTlsChangeCipherSpec,), St.ST_EAP_TLS_FINISHED),
29
30 ## CurrentState Event Actions NextState
31
32 (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 -080033
34}
35