Skip to content

Review L2VPN state machine #184

@italovalcy

Description

@italovalcy

Reviewing the L2VPN state machine due to the problem observed on Issue atlanticwave-sdx/sdx-controller#461, we need to augment the state machine (states and transition) to accommodate situations already documented on the Provision Data Model Spec and Network Use cases file.

Here are some updates needed:

  1. When on the DOWN state, we should allow a transition to MODIFYING state through the action MODIFY
  2. When on the DOWN state, we should allow a transition to DELETED state through the action DELETE
  3. When on the ERROR state, we should allow a transition to MODIFYING state through the action MODIFY
  4. When on the DISABLED state, we should allow a transition to DELETED state through the action DELETE
  5. When on the MODIFYING state, we should allow a transition to DELETED state through the action DELETE
  6. Create a new state MAINTENANCE
  7. When on the UP state, we should allow a transition to MAINTENANCE state through the action MW_START
  8. When on the MAINTENANCE state, we should allow a transition to UP state through the action MW_END

Ccing @jab1982 and @YufengXin for your considerations and comments

Sub-issues

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions