Skip to content

Commit 6184d3f

Browse files
tbotnz#10 Add support for 'output' service policies
1 parent 9815ca6 commit 6184d3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

show_run.ttp

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ interface {{ interface | _start_ }}
1616
{{ input_mac_acl | set(None) }}
1717
{{ output_mac_acl | set(None) }}
1818
{{ input_policy | set(None) }}
19+
{{ output_policy | set(None) }}
1920
switchport mode {{ mode }}
2021
switchport trunk allowed vlan {{ vlan | _start_ | unrange(rangechar='-', joinchar=',' ) | split(',') }}
2122
switchport access vlan {{ vlan | _start_ }}
@@ -32,6 +33,7 @@ interface {{ interface | _start_ }}
3233
mac access-group {{ input_mac_acl }} in
3334
mac access-group {{ output_mac_acl }} out
3435
service-policy input {{ input_policy }}
36+
service-policy ouput {{ input_policy }}
3537
<group name="service_instance.{{id}}">
3638
{{ pop | set(None) }}
3739
{{ symmetric | set(False) }}

0 commit comments

Comments
 (0)