Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
6dadeffa
Commit
6dadeffa
authored
2 years ago
by
PabloArmingolRobles
Browse files
Options
Downloads
Patches
Plain Diff
Changes in ACL
parent
c9f05d80
No related branches found
No related tags found
2 merge requests
!54
Release 2.0.0
,
!4
Compute component:
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/device/service/drivers/openconfig/templates/acl/acl-set/acl-entry/edit_config.xml
+23
-1
23 additions, 1 deletion
...penconfig/templates/acl/acl-set/acl-entry/edit_config.xml
with
23 additions
and
1 deletion
src/device/service/drivers/openconfig/templates/acl/acl-set/acl-entry/edit_config.xml
+
23
−
1
View file @
6dadeffa
...
@@ -13,7 +13,16 @@
...
@@ -13,7 +13,16 @@
<config>
<config>
<sequence-id>
{{sequence_id}}
</sequence-id>
<sequence-id>
{{sequence_id}}
</sequence-id>
</config>
</config>
{% if config is defined %}
{% if operation is not defined or operation != 'delete' %}
{% if type=='ACL_L2' %}
<l2>
<config>
{% if source_address is defined %}
<source-mac>
{{source_address}}
</source-mac>
{% endif%}
{% if destination_address is defined %}
<destination-mac>
{{destination_address}}
</destination-mac>
{% endif%}
</config>
</l2>
{% endif%}
{% if type=='ACL_IPV4' %}
<ipv4>
<ipv4>
<config>
<config>
{% if source_address is defined %}
<source-address>
{{source_address}}
</source-address>
{% endif%}
{% if source_address is defined %}
<source-address>
{{source_address}}
</source-address>
{% endif%}
...
@@ -30,6 +39,19 @@
...
@@ -30,6 +39,19 @@
{% if tcp_flags is defined %}
<tcp-flags>
{{tcp_flags}}
</tcp-flags>
{% endif%}
{% if tcp_flags is defined %}
<tcp-flags>
{{tcp_flags}}
</tcp-flags>
{% endif%}
</config>
</config>
</transport>
</transport>
{% endif%}
{% if type=='ACL_IPV6' %}
<ipv6>
<config>
{% if source_address is defined %}
<source-address>
{{source_address}}
</source-address>
{% endif%}
{% if destination_address is defined %}
<destination-address>
{{destination_address}}
</destination-address>
{% endif%}
{% if protocol is defined %}
<protocol>
{{protocol}}
</protocol>
{% endif%}
{% if dscp is defined %}
<dscp>
{{dscp}}
</dscp>
{% endif%}
{% if hop_limit is defined %}
<hop-limit>
{{hop_limit}}
</hop-limit>
{% endif%}
</config>
</ipv6>
{% endif%}
<actions>
<actions>
<config>
<config>
{% if forwarding_action is defined %}
<forwarding-action>
{{forwarding_action}}
</forwarding-action>
{% endif%}
{% if forwarding_action is defined %}
<forwarding-action>
{{forwarding_action}}
</forwarding-action>
{% endif%}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment