Chetan Gaonker | e2b7872 | 2016-02-22 17:27:09 -0800 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | |
| 3 | def initPAPAuthHolderFsmTable(obj,St,Ev): |
| 4 | return { |
| 5 | |
| 6 | ## CurrentState Event Actions NextState |
| 7 | |
| 8 | (St.ST_EAP_SETUP, Ev.EVT_EAP_SETUP ):( (obj._eapSetup,), St.ST_EAP_START), |
| 9 | |
| 10 | ## CurrentState Event Actions NextState |
| 11 | |
| 12 | (St.ST_EAP_PAP_PASSWD_REQ, Ev.EVT_EAP_PAP_PASSWD_REQ ):( (obj._eapPAPPassReq,), St.ST_EAP_PAP_DONE), |
| 13 | |
| 14 | ## CurrentState Event Actions NextState |
| 15 | |
| 16 | (St.ST_EAP_PAP_USER_REQ, Ev.EVT_EAP_PAP_USER_REQ ):( (obj._eapPAPUserReq,), St.ST_EAP_PAP_PASSWD_REQ), |
| 17 | |
| 18 | ## CurrentState Event Actions NextState |
| 19 | |
| 20 | (St.ST_EAP_ID_REQ, Ev.EVT_EAP_ID_REQ ):( (obj._eapIdReq,), St.ST_EAP_PAP_USER_REQ), |
| 21 | |
| 22 | ## CurrentState Event Actions NextState |
| 23 | |
| 24 | (St.ST_EAP_START, Ev.EVT_EAP_START ):( (obj._eapStart,), St.ST_EAP_ID_REQ), |
| 25 | |
| 26 | } |
| 27 | |