blob: e8bca1cd93b9af1e0c035976600e9e20503b351c [file] [log] [blame]
#!/usr/bin/env python
#
# Copyright 2016-present Ciena Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
def initPAPAuthHolderFsmTable(obj,St,Ev):
return {
## CurrentState Event Actions NextState
(St.ST_EAP_SETUP, Ev.EVT_EAP_SETUP ):( (obj._eapSetup,), St.ST_EAP_START),
## CurrentState Event Actions NextState
(St.ST_EAP_PAP_PASSWD_REQ, Ev.EVT_EAP_PAP_PASSWD_REQ ):( (obj._eapPAPPassReq,), St.ST_EAP_PAP_DONE),
## CurrentState Event Actions NextState
(St.ST_EAP_PAP_USER_REQ, Ev.EVT_EAP_PAP_USER_REQ ):( (obj._eapPAPUserReq,), St.ST_EAP_PAP_PASSWD_REQ),
## CurrentState Event Actions NextState
(St.ST_EAP_ID_REQ, Ev.EVT_EAP_ID_REQ ):( (obj._eapIdReq,), St.ST_EAP_PAP_USER_REQ),
## CurrentState Event Actions NextState
(St.ST_EAP_START, Ev.EVT_EAP_START ):( (obj._eapStart,), St.ST_EAP_ID_REQ),
}