Replies: 1 comment
-
@Alopalao, I think option What's your recommendation @Alopalao? Should we go for
Other option Nicely done, Aldo, great proposed solutions. |
Beta Was this translation helpful? Give feedback.
-
@Alopalao, I think option What's your recommendation @Alopalao? Should we go for
Other option Nicely done, Aldo, great proposed solutions. |
Beta Was this translation helpful? Give feedback.
-
Without testing any implementation I thought and recollected some proposals:
1. Switch order of deletion and installation
Challenges:
evc.deploy()
only.evc.deploy()
needs to be modified because it will not redeploy if a primary_path and backup_path are used.2. Toggle per installation,
take_last
, PRtake_last
is True, Every link installed is going to take the last VLAN available.take_last
toggles automatically every successfull installation ofcurrent_path
.failover_path
does toggle its value as it always follows whatcurrent_path
is taking.Improvements:
take_last
toggles automatically from True to False.3. Skip 1 VLAN,
skip
.skip
(or similar name) field with a boolean value.skip
will indicate that the chosen links will skip 1 VLAN and take the next one available if possible.failover_path
follows the same pattern as incurrent_path
Improvements:
skip
can be toggle per each sucessful instalation ofcurrent_path
4. Recognize static EVCs and keep path:
primary_path
orbackup_path
that are valid and UP, re-use these paths.primary_path
orbackup_path
1.1. If true, save the VLANS from path
Challenges:
primary_path
orbackup_path
are discarded before deploying starts.5. Add an option to API request "redeploy":
PATCH http://localhost:8181/api/kytos/mef_eline/v2/evc/{circuit_id}/redeploy?diff_vlan=True
evc.deploy()
to acceptprevious_path_dict
which would look like{link.id: S_VLAN}
, returned fromevc.remove_current_flows()
andevc.remove()
.previous_path_dict
would be a dictionary soPath()
can avoid the S_VLAN stored.failover_path
is not affected.Beta Was this translation helpful? Give feedback.
All reactions