Skip to content

Commit

Permalink
[minigraph-gen] fix AclInterface entries in minigraph (#538)
Browse files Browse the repository at this point in the history
To eanble service_acl test.
  • Loading branch information
yxieca authored and lguohan committed Mar 27, 2018
1 parent 2218e14 commit 2c13a8d
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 8 deletions.
8 changes: 7 additions & 1 deletion ansible/minigraph/lab-a7260-01.t0-116.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,19 +280,25 @@
<DataAcls/>
<AclInterfaces>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<InAcl>SNMP_ACL</InAcl>
<AttachTo>SNMP</AttachTo>
<Type>SNMP</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
<AclInterface>
<AttachTo>ERSPAN</AttachTo>
<InAcl>Everflow</InAcl>
<Type>Everflow</Type>
</AclInterface>
<AclInterface>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<AttachTo>VTY_LINE</AttachTo>
<InAcl>ssh-only</InAcl>
<Type>SSH</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
</AclInterfaces>
<DownstreamSummaries/>
Expand Down
8 changes: 7 additions & 1 deletion ansible/minigraph/lab-s6000-01.t0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,19 +280,25 @@
<DataAcls/>
<AclInterfaces>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<InAcl>SNMP_ACL</InAcl>
<AttachTo>SNMP</AttachTo>
<Type>SNMP</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
<AclInterface>
<AttachTo>ERSPAN</AttachTo>
<InAcl>Everflow</InAcl>
<Type>Everflow</Type>
</AclInterface>
<AclInterface>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<AttachTo>VTY_LINE</AttachTo>
<InAcl>ssh-only</InAcl>
<Type>SSH</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
</AclInterfaces>
<DownstreamSummaries/>
Expand Down
8 changes: 7 additions & 1 deletion ansible/minigraph/lab-s6100-01.t0-64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,19 +280,25 @@
<DataAcls/>
<AclInterfaces>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<InAcl>SNMP_ACL</InAcl>
<AttachTo>SNMP</AttachTo>
<Type>SNMP</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
<AclInterface>
<AttachTo>ERSPAN</AttachTo>
<InAcl>Everflow</InAcl>
<Type>Everflow</Type>
</AclInterface>
<AclInterface>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<AttachTo>VTY_LINE</AttachTo>
<InAcl>ssh-only</InAcl>
<Type>SSH</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
</AclInterfaces>
<DownstreamSummaries/>
Expand Down
8 changes: 7 additions & 1 deletion ansible/minigraph/lab-s6100-01.t1-64-lag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1146,19 +1146,25 @@
<DataAcls/>
<AclInterfaces>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<InAcl>SNMP_ACL</InAcl>
<AttachTo>SNMP</AttachTo>
<Type>SNMP</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
<AclInterface>
<AttachTo>ERSPAN</AttachTo>
<InAcl>Everflow</InAcl>
<Type>Everflow</Type>
</AclInterface>
<AclInterface>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<AttachTo>VTY_LINE</AttachTo>
<InAcl>ssh-only</InAcl>
<Type>SSH</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
</AclInterfaces>
<DownstreamSummaries/>
Expand Down
8 changes: 7 additions & 1 deletion ansible/minigraph/str-msn2700-01.t0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,19 +280,25 @@
<DataAcls/>
<AclInterfaces>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<InAcl>SNMP_ACL</InAcl>
<AttachTo>SNMP</AttachTo>
<Type>SNMP</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
<AclInterface>
<AttachTo>ERSPAN</AttachTo>
<InAcl>Everflow</InAcl>
<Type>Everflow</Type>
</AclInterface>
<AclInterface>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<AttachTo>VTY_LINE</AttachTo>
<InAcl>ssh-only</InAcl>
<Type>SSH</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
</AclInterfaces>
<DownstreamSummaries/>
Expand Down
8 changes: 7 additions & 1 deletion ansible/minigraph/str-msn2700-01.t1-lag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1066,19 +1066,25 @@
<DataAcls/>
<AclInterfaces>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<InAcl>SNMP_ACL</InAcl>
<AttachTo>SNMP</AttachTo>
<Type>SNMP</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
<AclInterface>
<AttachTo>ERSPAN</AttachTo>
<InAcl>Everflow</InAcl>
<Type>Everflow</Type>
</AclInterface>
<AclInterface>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<AttachTo>VTY_LINE</AttachTo>
<InAcl>ssh-only</InAcl>
<Type>SSH</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
</AclInterfaces>
<DownstreamSummaries/>
Expand Down
8 changes: 7 additions & 1 deletion ansible/minigraph/str-msn2700-01.t1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1346,19 +1346,25 @@
<DataAcls/>
<AclInterfaces>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<InAcl>SNMP_ACL</InAcl>
<AttachTo>SNMP</AttachTo>
<Type>SNMP</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
<AclInterface>
<AttachTo>ERSPAN</AttachTo>
<InAcl>Everflow</InAcl>
<Type>Everflow</Type>
</AclInterface>
<AclInterface>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<AttachTo>VTY_LINE</AttachTo>
<InAcl>ssh-only</InAcl>
<Type>SSH</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
</AclInterfaces>
<DownstreamSummaries/>
Expand Down
8 changes: 7 additions & 1 deletion ansible/templates/minigraph_dpg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,25 @@
<DataAcls/>
<AclInterfaces>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<InAcl>SNMP_ACL</InAcl>
<AttachTo>SNMP</AttachTo>
<Type>SNMP</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
<AclInterface>
<AttachTo>ERSPAN</AttachTo>
<InAcl>Everflow</InAcl>
<Type>Everflow</Type>
</AclInterface>
<AclInterface>
<AclInterface>
<ElementType>DataAcl</ElementType>
<Name i:nil="true"/>
<AttachTo>VTY_LINE</AttachTo>
<InAcl>ssh-only</InAcl>
<Type>SSH</Type>
<File>Router_Protect_AP.xml</File>
</AclInterface>
</AclInterfaces>
<DownstreamSummaries/>
Expand Down

0 comments on commit 2c13a8d

Please sign in to comment.