Skip to content
Snippets Groups Projects
Commit c706fba8 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Service component - L2Emulated Service Handler:

- Added missing delete config rules
parent 6ee25c26
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!81Context Performance Scalability
......@@ -105,17 +105,17 @@ def teardown_config_rules(
if_cirid_name = '{:s}.{:s}'.format(endpoint_name, str(circuit_id))
network_instance_name = 'ELAN-AC:{:s}'.format(str(circuit_id))
#connection_point_id = 'VC-1'
connection_point_id = 'VC-1'
json_config_rules = [
#json_config_rule_delete(
# '/network_instance[{:s}]/connection_point[{:s}]'.format(network_instance_name, connection_point_id),
# {'name': network_instance_name, 'connection_point': connection_point_id}),
json_config_rule_delete(
'/network_instance[{:s}]/connection_point[{:s}]'.format(network_instance_name, connection_point_id),
{'name': network_instance_name, 'connection_point': connection_point_id}),
#json_config_rule_delete(
# '/network_instance[{:s}]/interface[{:s}]'.format(network_instance_name, if_cirid_name),
# {'name': network_instance_name, 'id': if_cirid_name, 'interface': if_cirid_name,
# 'subinterface': sub_interface_index}),
json_config_rule_delete(
'/network_instance[{:s}]/interface[{:s}]'.format(network_instance_name, if_cirid_name),
{'name': network_instance_name, 'id': if_cirid_name, 'interface': if_cirid_name,
'subinterface': sub_interface_index}),
json_config_rule_delete(
'/network_instance[{:s}]'.format(network_instance_name),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment