[SEBA-918][VOL-2984] Allowing DHCP without completing eapol
For DT and TT workflow is required that DHCP is triggered without doing
anything for EAPOL. If you start BBSim with only the "-dhcp" option that
is now possible.
Change-Id: Iacfb75e70c47a2f7cfa64af58d6d848881f54974
diff --git a/docs/source/onu-state-machine.rst b/docs/source/onu-state-machine.rst
index 7117e57..a7adb9e 100644
--- a/docs/source/onu-state-machine.rst
+++ b/docs/source/onu-state-machine.rst
@@ -32,18 +32,10 @@
- discovered, disabled, pon_disabled
- enabled
-
- * - receive_eapol_flow
- - enabled, gem_port_added
- - eapol_flow_received
- -
- * - add_gem_port
- - enabled, eapol_flow_received
- - gem_port_added
- - We need to wait for both the flow and the gem port to come before moving to ``auth_started``
* - start_auth
- - eapol_flow_received, gem_port_added, eap_start_sent, eap_response_identity_sent, eap_response_challenge_sent, eap_response_success_received, auth_failed, dhcp_ack_received, dhcp_failed
+ - enabled, eap_start_sent, eap_response_identity_sent, eap_response_challenge_sent, eap_response_success_received, auth_failed, dhcp_ack_received, dhcp_failed
- auth_started
- -
+ - Requires that both the EAPOL flow has been received and the GemPort added
* - eap_start_sent
- auth_started
- eap_start_sent
@@ -65,9 +57,9 @@
- auth_failed
-
* - start_dhcp
- - eap_response_success_received, dhcp_discovery_sent, dhcp_request_sent, dhcp_ack_received, dhcp_failed
+ - enabled, eap_response_success_received, dhcp_discovery_sent, dhcp_request_sent, dhcp_ack_received, dhcp_failed
- dhcp_started
- -
+ - Requires that both the DHCP flow has been received and the GemPort added. In addition the transtition from the ``enabled`` state is only allowed if Auth is set to false
* - dhcp_discovery_sent
- dhcp_started
- dhcp_discovery_sent
@@ -169,7 +161,6 @@
enabled
disabled [fillcolor="#f9d6ff"]
}
- gem_port_added
{created, disabled} -> initialized -> discovered -> enabled
}
@@ -179,7 +170,6 @@
style=dotted
node [fillcolor="#e6ffc2"]
- eapol_flow_received
auth_started
eap_start_sent
eap_response_identity_sent
@@ -229,8 +219,8 @@
dhcp_ack_received -> dhcp_started
dhcp_failed -> dhcp_started
}
- enabled -> gem_port_added -> eapol_flow_received -> auth_started
- enabled -> eapol_flow_received -> gem_port_added -> auth_started
+ enabled -> auth_started
+ enabled -> dhcp_started
{dhcp_ack_received, dhcp_failed} -> auth_started