Commit ca2de290 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Service component - L3NM Ryu Service Handler:

- Fixed config rule resource key composition
parent 6cd615ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ def compose_flow_rule(
    flow_specs = get_flow_rule_specs(path_endpoints_data, is_reverse)
    flow_rule_name, in_port, out_port, src_ip_addr, dst_ip_addr = flow_specs

    RSRC_KEY_TMPL = '/device[{:s}]/flow[{:d}]'
    RSRC_KEY_TMPL = '/device[{:s}]/flow[{:s}]'
    resource_key = RSRC_KEY_TMPL.format(device_name, flow_rule_name)
    resource_value = {
        'dpid'        : dpid,