Skip to content
Snippets Groups Projects
Commit 53ac0983 authored by Henrik Thostrup Jensen's avatar Henrik Thostrup Jensen
Browse files

replace hard coded evts values in backend with slighty less worse hardcoded vales (more greppable)

parent 65aa74ff
No related branches found
No related tags found
No related merge requests found
...@@ -420,7 +420,7 @@ class GenericBackend(service.Service): ...@@ -420,7 +420,7 @@ class GenericBackend(service.Service):
source_stp = nsa.STP(c.source_network, c.source_port, c.source_labels) source_stp = nsa.STP(c.source_network, c.source_port, c.source_labels)
dest_stp = nsa.STP(c.dest_network, c.dest_port, c.dest_labels) dest_stp = nsa.STP(c.dest_network, c.dest_port, c.dest_labels)
schedule = nsa.Schedule(c.start_time, c.end_time) schedule = nsa.Schedule(c.start_time, c.end_time)
sd = nsa.EthernetVLANService(source_stp, dest_stp, c.bandwidth, 1, 1) sd = nsa.EthernetVLANService(source_stp, dest_stp, c.bandwidth, 1234, 1234)
criteria = nsa.Criteria(c.revision, schedule, sd) criteria = nsa.Criteria(c.revision, schedule, sd)
data_plane_status = ( c.data_plane_active, c.revision, True ) data_plane_status = ( c.data_plane_active, c.revision, True )
states = (c.reservation_state, c.provision_state, c.lifecycle_state, data_plane_status) states = (c.reservation_state, c.provision_state, c.lifecycle_state, data_plane_status)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment