| |
| # Copyright 2017-present Open Networking Foundation |
| # |
| # 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. |
| |
| |
| # |
| # 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 initTlsAuthHolderFsmTable(obj,St,Ev): |
| return { |
| |
| ## CurrentState Event Actions NextState |
| |
| (St.ST_EAP_TLS_HELLO_REQ, Ev.EVT_EAP_TLS_HELLO_REQ ):( (obj._eapTlsHelloReq,), St.ST_EAP_TLS_CERT_REQ), |
| |
| ## CurrentState Event Actions NextState |
| |
| (St.ST_EAP_ID_REQ, Ev.EVT_EAP_ID_REQ ):( (obj._eapIdReq,), St.ST_EAP_TLS_HELLO_REQ), |
| |
| ## 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_TLS_FINISHED, Ev.EVT_EAP_TLS_FINISHED ):( (obj._eapTlsFinished,), St.ST_EAP_TLS_DONE), |
| |
| ## CurrentState Event Actions NextState |
| |
| (St.ST_EAP_START, Ev.EVT_EAP_START ):( (obj._eapStart,), St.ST_EAP_ID_REQ), |
| |
| ## CurrentState Event Actions NextState |
| |
| (St.ST_EAP_TLS_CHANGE_CIPHER_SPEC, Ev.EVT_EAP_TLS_CHANGE_CIPHER_SPEC ):( (obj._eapTlsChangeCipherSpec,), St.ST_EAP_TLS_FINISHED), |
| |
| ## CurrentState Event Actions NextState |
| |
| (St.ST_EAP_TLS_CERT_REQ, Ev.EVT_EAP_TLS_CERT_REQ ):( (obj._eapTlsCertReq,), St.ST_EAP_TLS_CHANGE_CIPHER_SPEC), |
| |
| } |
| |