mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-30 09:00:34 +03:00
Fix lint failures and errors from lint failure fixes
This commit is contained in:
1 parent
9568b6d7e1
commit
7c4b955b56
14 files changed
+122
-122
No files matched your search
@@ -79,7 +79,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Key Points to Remember</h2>
|
||||
<ul>
|
||||
{#each cidrContent.keyPoints as point}
|
||||
{#each cidrContent.keyPoints as point, index (`point-${index}`)}
|
||||
<li>{point}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
{#if type.codes}
|
||||
<div><strong>Common Codes:</strong></div>
|
||||
<ul>
|
||||
{#each type.codes as code, index (`code-${code.code}-${index}`)
|
||||
{#each type.codes as code, index (`code-${code.code}-${index}`)}
|
||||
<li>Code {code.code}: {code.meaning}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Common ICMPv6 Types</h2>
|
||||
{#each icmpContent.icmpv6Types as type}
|
||||
{#each icmpContent.icmpv6Types as type, index (`${type.type}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">Type {type.type}: {type.name}</div>
|
||||
<div class="example-item">
|
||||
@@ -52,7 +52,7 @@
|
||||
{#if type.codes}
|
||||
<div><strong>Common Codes:</strong></div>
|
||||
<ul>
|
||||
{#each type.codes as code, index (`code-${code.code}-${index}`)
|
||||
{#each type.codes as code, index (`code-${code.code}-${index}`)}
|
||||
<li>Code {code.code}: {code.meaning}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Practical Troubleshooting Scenarios</h2>
|
||||
{#each icmpContent.practicalExamples as scenario}
|
||||
{#each icmpContent.practicalExamples as scenario, index (`${scenario.scenario}-${index}`)}
|
||||
<div class="ref-warning">
|
||||
<div class="warning-title">
|
||||
<Icon name="search" size="sm" />
|
||||
@@ -74,7 +74,7 @@
|
||||
<p><strong>ICMP Types Involved:</strong> {scenario.icmpTypes.join(', ')}</p>
|
||||
<p><strong>What to Check:</strong></p>
|
||||
<ul>
|
||||
{#each scenario.whatToCheck as check}
|
||||
{#each scenario.whatToCheck as check, index (`check-${index}`)}
|
||||
<li>{check}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -86,7 +86,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Common ICMP Filtering Issues</h2>
|
||||
{#each icmpContent.filteringIssues as issue}
|
||||
{#each icmpContent.filteringIssues as issue, index (`${issue.issue}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{issue.issue}</div>
|
||||
<div class="example-item">
|
||||
@@ -109,7 +109,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each icmpContent.troubleshootingCommands as cmd}
|
||||
{#each icmpContent.troubleshootingCommands as cmd, index (`${cmd.purpose}-${index}`)}
|
||||
<tr>
|
||||
<td><code>{cmd.command}</code></td>
|
||||
<td>{cmd.purpose}</td>
|
||||
@@ -123,7 +123,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Best Practices for ICMP</h2>
|
||||
<ul>
|
||||
{#each icmpContent.bestPractices as practice}
|
||||
{#each icmpContent.bestPractices as practice, index (`practice-${index}`)}
|
||||
<li>{practice}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -135,14 +135,14 @@
|
||||
<div class="ref-grid two-col">
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Always Allow These</div>
|
||||
{#each icmpContent.quickReference.mustAllow as type}
|
||||
{#each icmpContent.quickReference.mustAllow as type, index (`must-${index}`)}
|
||||
<div class="item-code">{type}</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Never Filter These</div>
|
||||
{#each icmpContent.quickReference.neverFilter as type}
|
||||
{#each icmpContent.quickReference.neverFilter as type, index (`never-${index}`)}
|
||||
<div class="item-code">{type}</div>
|
||||
{/each}
|
||||
<div class="item-description">Critical for proper network operation</div>
|
||||
@@ -154,7 +154,7 @@
|
||||
<h2>Common Mistakes to Avoid</h2>
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">Don't Do These</div>
|
||||
{#each icmpContent.commonMistakes as mistake}
|
||||
{#each icmpContent.commonMistakes as mistake, index (`mistake-${index}`)}
|
||||
<div class="example-item">
|
||||
<div class="example-description">{mistake}</div>
|
||||
</div>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<h2>Multicast Address Scopes</h2>
|
||||
<p>All multicast addresses start with <code>ff</code>. The second byte indicates scope:</p>
|
||||
|
||||
{#each ipv6AddressTypesContent.multicastTypes as scope}
|
||||
{#each ipv6AddressTypesContent.multicastTypes as scope, index (`${scope.scope}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{scope.scope} Scope</div>
|
||||
<div class="example-item">
|
||||
@@ -68,7 +68,7 @@
|
||||
<div><strong>Description:</strong> {scope.description}</div>
|
||||
{#if scope.examples.length > 0}
|
||||
<div><strong>Common Addresses:</strong></div>
|
||||
{#each scope.examples as example}
|
||||
{#each scope.examples as example, index (`example-${index}`)}
|
||||
<div class="example-input">{example}</div>
|
||||
{/each}
|
||||
{/if}
|
||||
@@ -93,7 +93,7 @@
|
||||
|
||||
<h3>Common Anycast Uses</h3>
|
||||
<ul>
|
||||
{#each ipv6AddressTypesContent.anycast.commonUses as use}
|
||||
{#each ipv6AddressTypesContent.anycast.commonUses as use, index (`use-${index}`)}
|
||||
<li>{use}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -109,7 +109,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each ipv6AddressTypesContent.reservedRanges as range}
|
||||
{#each ipv6AddressTypesContent.reservedRanges as range, index (`${range.range}-${index}`)}
|
||||
<tr>
|
||||
<td><code>{range.prefix}</code></td>
|
||||
<td>{range.purpose}</td>
|
||||
@@ -123,7 +123,7 @@
|
||||
<h2>Quick Recognition Tips</h2>
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">Remember These Patterns</div>
|
||||
{#each ipv6AddressTypesContent.quickTips as tip}
|
||||
{#each ipv6AddressTypesContent.quickTips as tip, index (`tip-${index}`)}
|
||||
<div class="example-item">
|
||||
<div class="example-description">{tip}</div>
|
||||
</div>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
{/each}
|
||||
<div><strong>Usage:</strong></div>
|
||||
<ul>
|
||||
{#each mechanism.usage as use}
|
||||
{#each mechanism.usage as use, index (`use-${index}`)}
|
||||
<li>{use}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -61,7 +61,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each ipv6EmbeddedIPv4Content.recognition.patterns as pattern}
|
||||
{#each ipv6EmbeddedIPv4Content.recognition.patterns as pattern, index (`${pattern.type}-${index}`)}
|
||||
<tr>
|
||||
<td><code>{pattern.pattern}</code></td>
|
||||
<td>{pattern.meaning}</td>
|
||||
@@ -85,7 +85,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each ipv6EmbeddedIPv4Content.conversion.examples as example}
|
||||
{#each ipv6EmbeddedIPv4Content.conversion.examples as example, index (`${example.ipv4}-${index}`)}
|
||||
<tr>
|
||||
<td><code>{example.ipv4}</code></td>
|
||||
<td><code>{example.hex}</code></td>
|
||||
@@ -109,7 +109,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Modern Usage Guidelines</h2>
|
||||
<ul>
|
||||
{#each ipv6EmbeddedIPv4Content.modernUsage as guideline}
|
||||
{#each ipv6EmbeddedIPv4Content.modernUsage as guideline, index (`guideline-${index}`)}
|
||||
<li>{guideline}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -117,7 +117,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Common Troubleshooting Issues</h2>
|
||||
{#each ipv6EmbeddedIPv4Content.troubleshooting as issue}
|
||||
{#each ipv6EmbeddedIPv4Content.troubleshooting as issue, index (`${issue.issue}-${index}`)}
|
||||
<div class="ref-warning">
|
||||
<div class="warning-title">
|
||||
<Icon name="help-circle" size="sm" />
|
||||
@@ -135,7 +135,7 @@
|
||||
<h2>Security Considerations</h2>
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">Important Security Notes</div>
|
||||
{#each ipv6EmbeddedIPv4Content.securityNotes as note}
|
||||
{#each ipv6EmbeddedIPv4Content.securityNotes as note, index (`note-${index}`)}
|
||||
<div class="example-item">
|
||||
<div class="example-description">{note}</div>
|
||||
</div>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<div class="ref-grid three-col">
|
||||
<div class="grid-item">
|
||||
<div class="item-title">{ipv6PrefixLengthsContent.usageGuidelines.residential.title}</div>
|
||||
{#each ipv6PrefixLengthsContent.usageGuidelines.residential.allocations as alloc}
|
||||
{#each ipv6PrefixLengthsContent.usageGuidelines.residential.allocations as alloc, index (`residential-${index}`)}
|
||||
<div class="item-code">{alloc.size}</div>
|
||||
<div class="item-description">{alloc.description}</div>
|
||||
{/each}
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">{ipv6PrefixLengthsContent.usageGuidelines.enterprise.title}</div>
|
||||
{#each ipv6PrefixLengthsContent.usageGuidelines.enterprise.allocations as alloc}
|
||||
{#each ipv6PrefixLengthsContent.usageGuidelines.enterprise.allocations as alloc, index (`enterprise-${index}`)}
|
||||
<div class="item-code">{alloc.size}</div>
|
||||
<div class="item-description">{alloc.description}</div>
|
||||
{/each}
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">{ipv6PrefixLengthsContent.usageGuidelines.subnets.title}</div>
|
||||
{#each ipv6PrefixLengthsContent.usageGuidelines.subnets.allocations as alloc}
|
||||
{#each ipv6PrefixLengthsContent.usageGuidelines.subnets.allocations as alloc, index (`subnets-${index}`)}
|
||||
<div class="item-code">{alloc.size}</div>
|
||||
<div class="item-description">{alloc.description}</div>
|
||||
{/each}
|
||||
@@ -75,7 +75,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each ipv6PrefixLengthsContent.comparison.mappings as mapping}
|
||||
{#each ipv6PrefixLengthsContent.comparison.mappings as mapping, index (`${mapping.prefix}-${index}`)}
|
||||
<tr>
|
||||
<td><code>{mapping.ipv4}</code></td>
|
||||
<td><code>{mapping.ipv6}</code></td>
|
||||
@@ -97,7 +97,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each ipv6PrefixLengthsContent.quickReference as row}
|
||||
{#each ipv6PrefixLengthsContent.quickReference as row, index (`${row.prefix}-${index}`)}
|
||||
<tr>
|
||||
<td><code>{row.prefix}</code></td>
|
||||
<td>{row.subnets}</td>
|
||||
@@ -111,7 +111,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Best Practices</h2>
|
||||
<ul>
|
||||
{#each ipv6PrefixLengthsContent.bestPractices as practice}
|
||||
{#each ipv6PrefixLengthsContent.bestPractices as practice, index (`practice-${index}`)}
|
||||
<li>{practice}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -132,7 +132,7 @@
|
||||
<h2>Planning Tips</h2>
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">Remember These</div>
|
||||
{#each ipv6PrefixLengthsContent.tips as tip}
|
||||
{#each ipv6PrefixLengthsContent.tips as tip, index (`tip-${index}`)}
|
||||
<div class="example-item">
|
||||
<div class="example-description">{tip}</div>
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<h2>{multicastContent.ipv4Multicast.title}</h2>
|
||||
<p><strong>Range:</strong> <code>{multicastContent.ipv4Multicast.range}</code></p>
|
||||
|
||||
{#each multicastContent.ipv4Multicast.classes as multicastClass}
|
||||
{#each multicastContent.ipv4Multicast.classes as multicastClass, index (`${multicastClass.name}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{multicastClass.name}</div>
|
||||
<div class="example-item">
|
||||
@@ -28,7 +28,7 @@
|
||||
<div><strong>Description:</strong> {multicastClass.description}</div>
|
||||
<div><strong>Scope:</strong> {multicastClass.scope}</div>
|
||||
<div><strong>Examples:</strong></div>
|
||||
{#each multicastClass.examples as example}
|
||||
{#each multicastClass.examples as example, index (`example-${index}`)}
|
||||
<div class="example-input">{example}</div>
|
||||
{/each}
|
||||
</div>
|
||||
@@ -46,14 +46,14 @@
|
||||
<div class="ref-grid two-col">
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Flag Bits</div>
|
||||
{#each multicastContent.ipv6Multicast.structure.flags as flag}
|
||||
{#each multicastContent.ipv6Multicast.structure.flags as flag, index (`flag-${index}`)}
|
||||
<div class="item-code">{flag.bit} - {flag.meaning}</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Scope Values</div>
|
||||
{#each multicastContent.ipv6Multicast.structure.scopes as scope}
|
||||
{#each multicastContent.ipv6Multicast.structure.scopes as scope, index (`scope-${index}`)}
|
||||
<div class="item-code">{scope.code} - {scope.name}</div>
|
||||
{/each}
|
||||
</div>
|
||||
@@ -69,7 +69,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each multicastContent.ipv6Multicast.wellKnown as addr}
|
||||
{#each multicastContent.ipv6Multicast.wellKnown as addr, index (`${addr.address}-${index}`)}
|
||||
<tr>
|
||||
<td><code>{addr.address}</code></td>
|
||||
<td>{addr.name}</td>
|
||||
@@ -92,7 +92,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each multicastContent.commonProtocols as protocol}
|
||||
{#each multicastContent.commonProtocols as protocol, index (`${protocol.protocol}-${index}`)}
|
||||
<tr>
|
||||
<td><strong>{protocol.protocol}</strong></td>
|
||||
<td><code>{protocol.ipv4}</code></td>
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Important Limitations</h2>
|
||||
{#each multicastContent.limitations as limitation}
|
||||
{#each multicastContent.limitations as limitation, index (`${limitation.issue}-${index}`)}
|
||||
<div class="ref-warning">
|
||||
<div class="warning-title">
|
||||
<Icon name="alert-triangle" size="sm" />
|
||||
@@ -115,7 +115,7 @@
|
||||
<div class="warning-content">
|
||||
<p>{limitation.description}</p>
|
||||
<ul>
|
||||
{#each limitation.details as detail}
|
||||
{#each limitation.details as detail, index (`detail-${index}`)}
|
||||
<li>{detail}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -126,19 +126,19 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Troubleshooting Common Issues</h2>
|
||||
{#each multicastContent.troubleshooting as issue}
|
||||
{#each multicastContent.troubleshooting as issue, index (`${issue.issue}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{issue.issue}</div>
|
||||
<div class="example-item">
|
||||
<div><strong>Common Causes:</strong></div>
|
||||
<ul>
|
||||
{#each issue.causes as cause}
|
||||
{#each issue.causes as cause, index (`cause-${index}`)}
|
||||
<li>{cause}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
<div><strong>Solutions:</strong></div>
|
||||
<ul>
|
||||
{#each issue.solutions as solution}
|
||||
{#each issue.solutions as solution, index (`solution-${index}`)}
|
||||
<li>{solution}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -150,7 +150,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Best Practices</h2>
|
||||
<ul>
|
||||
{#each multicastContent.bestPractices as practice}
|
||||
{#each multicastContent.bestPractices as practice, index (`practice-${index}`)}
|
||||
<li>{practice}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -161,14 +161,14 @@
|
||||
<div class="ref-grid two-col">
|
||||
<div class="grid-item">
|
||||
<div class="item-title">IPv4 Quick List</div>
|
||||
{#each multicastContent.quickReference.ipv4 as addr}
|
||||
{#each multicastContent.quickReference.ipv4 as addr, index (`ipv4-${index}`)}
|
||||
<div class="item-code">{addr}</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">IPv6 Quick List</div>
|
||||
{#each multicastContent.quickReference.ipv6 as addr}
|
||||
{#each multicastContent.quickReference.ipv6 as addr, index (`ipv6-${index}`)}
|
||||
<div class="item-code">{addr}</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Private IP Address Ranges (RFC 1918)</h2>
|
||||
{#each privateVsPublicContent.privateRanges as range}
|
||||
{#each privateVsPublicContent.privateRanges as range, index (`${range.name}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{range.range} - {range.class}</div>
|
||||
<div class="example-item">
|
||||
@@ -26,7 +26,7 @@
|
||||
<div><strong>Total Addresses:</strong> {range.addresses}</div>
|
||||
<div><strong>Common Use:</strong> {range.commonUse}</div>
|
||||
<div><strong>Examples:</strong></div>
|
||||
{#each range.examples as example}
|
||||
{#each range.examples as example, index (`example-${index}`)}
|
||||
<code class="example-input">{example}</code>
|
||||
{/each}
|
||||
</div>
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<h3>Characteristics</h3>
|
||||
<ul>
|
||||
{#each privateVsPublicContent.publicRanges.characteristics as characteristic}
|
||||
{#each privateVsPublicContent.publicRanges.characteristics as characteristic, index (`char-${index}`)}
|
||||
<li>{characteristic}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -54,7 +54,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each privateVsPublicContent.publicRanges.examples as example}
|
||||
{#each privateVsPublicContent.publicRanges.examples as example, index (`public-example-${index}`)}
|
||||
<tr>
|
||||
<td><code>{example.ip}</code></td>
|
||||
<td>{example.owner}</td>
|
||||
@@ -74,14 +74,14 @@
|
||||
|
||||
<h4>Process:</h4>
|
||||
<ol>
|
||||
{#each privateVsPublicContent.natImplications.privateToPublic.process as step}
|
||||
{#each privateVsPublicContent.natImplications.privateToPublic.process as step, index (`nat-step-${index}`)}
|
||||
<li>{step}</li>
|
||||
{/each}
|
||||
</ol>
|
||||
|
||||
<h4>Benefits:</h4>
|
||||
<ul>
|
||||
{#each privateVsPublicContent.natImplications.privateToPublic.benefits as benefit}
|
||||
{#each privateVsPublicContent.natImplications.privateToPublic.benefits as benefit, index (`benefit-${index}`)}
|
||||
<li>{benefit}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -93,14 +93,14 @@
|
||||
|
||||
<h4>Challenges:</h4>
|
||||
<ul>
|
||||
{#each privateVsPublicContent.natImplications.publicToPrivate.challenges as challenge}
|
||||
{#each privateVsPublicContent.natImplications.publicToPrivate.challenges as challenge, index (`challenge-${index}`)}
|
||||
<li>{challenge}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
|
||||
<h4>Solutions:</h4>
|
||||
<ul>
|
||||
{#each privateVsPublicContent.natImplications.publicToPrivate.solutions as solution}
|
||||
{#each privateVsPublicContent.natImplications.publicToPrivate.solutions as solution, index (`solution-${index}`)}
|
||||
<li>{solution}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -121,7 +121,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each privateVsPublicContent.identification.quickCheck as method}
|
||||
{#each privateVsPublicContent.identification.quickCheck as method, index (`method-${index}`)}
|
||||
<tr>
|
||||
<td><strong>{method.method}</strong></td>
|
||||
<td>{method.description}</td>
|
||||
@@ -134,7 +134,7 @@
|
||||
|
||||
<h3>Useful Tools</h3>
|
||||
<div class="ref-grid two-col">
|
||||
{#each privateVsPublicContent.identification.tools as tool}
|
||||
{#each privateVsPublicContent.identification.tools as tool, index (`${tool.name}-${index}`)}
|
||||
<div class="grid-item">
|
||||
<div class="item-title">{tool.tool}</div>
|
||||
<div class="item-description">{tool.purpose}</div>
|
||||
@@ -145,7 +145,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Common Network Scenarios</h2>
|
||||
{#each privateVsPublicContent.commonScenarios as scenario}
|
||||
{#each privateVsPublicContent.commonScenarios as scenario, index (`${scenario.scenario}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{scenario.scenario}</div>
|
||||
<div class="example-item">
|
||||
@@ -160,7 +160,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Troubleshooting Common Issues</h2>
|
||||
{#each privateVsPublicContent.troubleshooting as issue}
|
||||
{#each privateVsPublicContent.troubleshooting as issue, index (`${issue.issue}-${index}`)}
|
||||
<div class="ref-warning">
|
||||
<div class="warning-title">
|
||||
<Icon name="help-circle" size="sm" />
|
||||
@@ -177,12 +177,12 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Security Considerations</h2>
|
||||
{#each privateVsPublicContent.securityConsiderations as security}
|
||||
{#each privateVsPublicContent.securityConsiderations as security, index (`${security.aspect}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{security.aspect}</div>
|
||||
<div class="example-item">
|
||||
<ul>
|
||||
{#each security.considerations as consideration}
|
||||
{#each security.considerations as consideration, index (`consideration-${index}`)}
|
||||
<li>{consideration}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -194,7 +194,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Best Practices</h2>
|
||||
<ul>
|
||||
{#each privateVsPublicContent.bestPractices as practice}
|
||||
{#each privateVsPublicContent.bestPractices as practice, index (`practice-${index}`)}
|
||||
<li>{practice}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -206,14 +206,14 @@
|
||||
<div class="ref-grid two-col">
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Private IP Ranges</div>
|
||||
{#each privateVsPublicContent.quickReference.privateRanges as range}
|
||||
{#each privateVsPublicContent.quickReference.privateRanges as range, index (`qr-range-${index}`)}
|
||||
<div class="item-code">{range}</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Identification Tips</div>
|
||||
{#each privateVsPublicContent.quickReference.identificationTips as tip}
|
||||
{#each privateVsPublicContent.quickReference.identificationTips as tip, index (`qr-tip-${index}`)}
|
||||
<div class="item-description">{tip}</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</header>
|
||||
|
||||
<div class="reference-section fade-in">
|
||||
{#each Object.entries(RESERVED_RANGES) as [rangeName, rangeInfo]}
|
||||
{#each Object.entries(RESERVED_RANGES) as [rangeName, rangeInfo] (rangeName)}
|
||||
<Tooltip text={`${rangeInfo.description} — Defined in ${rangeInfo.rfc}`} position="top">
|
||||
<div class="reference-card">
|
||||
<div class="card-header-inline">
|
||||
|
||||
@@ -26,13 +26,13 @@
|
||||
|
||||
<h3>Process Steps</h3>
|
||||
<ol>
|
||||
{#each reverseDnsContent.ipv4Reverse.process as step}
|
||||
{#each reverseDnsContent.ipv4Reverse.process as step, index (`ipv4-process-${index}`)}
|
||||
<li>{step}</li>
|
||||
{/each}
|
||||
</ol>
|
||||
|
||||
<h3>IPv4 Examples</h3>
|
||||
{#each reverseDnsContent.ipv4Reverse.examples as example}
|
||||
{#each reverseDnsContent.ipv4Reverse.examples as example, index (`${example.ip}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">IP Address: {example.ip}</div>
|
||||
<div class="example-item">
|
||||
@@ -54,7 +54,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each reverseDnsContent.ipv4Reverse.delegation.examples as example}
|
||||
{#each reverseDnsContent.ipv4Reverse.delegation.examples as example, index (`delegation-${index}`)}
|
||||
<tr>
|
||||
<td><code>{example.network}</code></td>
|
||||
<td><code>{example.zone}</code></td>
|
||||
@@ -70,13 +70,13 @@
|
||||
|
||||
<h3>Process Steps</h3>
|
||||
<ol>
|
||||
{#each reverseDnsContent.ipv6Reverse.process as step}
|
||||
{#each reverseDnsContent.ipv6Reverse.process as step, index (`ipv6-process-${index}`)}
|
||||
<li>{step}</li>
|
||||
{/each}
|
||||
</ol>
|
||||
|
||||
<h3>IPv6 Examples</h3>
|
||||
{#each reverseDnsContent.ipv6Reverse.examples as example}
|
||||
{#each reverseDnsContent.ipv6Reverse.examples as example, index (`${example.ip}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">IP Address: {example.ip}</div>
|
||||
<div class="example-item">
|
||||
@@ -116,7 +116,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each reverseDnsContent.practicalExamples.digExamples as example}
|
||||
{#each reverseDnsContent.practicalExamples.digExamples as example, index (`dig-${index}`)}
|
||||
<tr>
|
||||
<td><code>{example.command}</code></td>
|
||||
<td>{example.description}</td>
|
||||
@@ -128,7 +128,7 @@
|
||||
|
||||
<h3>Common Use Cases</h3>
|
||||
<ul>
|
||||
{#each reverseDnsContent.practicalExamples.commonChecks as check}
|
||||
{#each reverseDnsContent.practicalExamples.commonChecks as check, index (`check-${index}`)}
|
||||
<li>{check}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -136,7 +136,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Troubleshooting Common Issues</h2>
|
||||
{#each reverseDnsContent.troubleshooting as issue}
|
||||
{#each reverseDnsContent.troubleshooting as issue, index (`${issue.issue}-${index}`)}
|
||||
<div class="ref-warning">
|
||||
<div class="warning-title">
|
||||
<Icon name="help-circle" size="sm" />
|
||||
@@ -153,7 +153,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Best Practices</h2>
|
||||
<ul>
|
||||
{#each reverseDnsContent.bestPractices as practice}
|
||||
{#each reverseDnsContent.bestPractices as practice, index (`practice-${index}`)}
|
||||
<li>{practice}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -165,14 +165,14 @@
|
||||
<div class="ref-grid two-col">
|
||||
<div class="grid-item">
|
||||
<div class="item-title">IPv4 Quick Examples</div>
|
||||
{#each reverseDnsContent.quickReference.ipv4 as example}
|
||||
{#each reverseDnsContent.quickReference.ipv4 as example, index (`qr-ipv4-${index}`)}
|
||||
<div class="item-code">{example}</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">IPv6 Quick Examples</div>
|
||||
{#each reverseDnsContent.quickReference.ipv6 as example}
|
||||
{#each reverseDnsContent.quickReference.ipv6 as example, index (`qr-ipv6-${index}`)}
|
||||
<div class="item-code">{example}</div>
|
||||
{/each}
|
||||
</div>
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
<h3>Useful Tools</h3>
|
||||
<div class="ref-grid two-col">
|
||||
{#each reverseDnsContent.tools as tool}
|
||||
{#each reverseDnsContent.tools as tool, index (`${tool.name}-${index}`)}
|
||||
<div class="grid-item">
|
||||
<div class="item-title">{tool.name}</div>
|
||||
<div class="item-description">{tool.description}</div>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each reverseZonesContent.ipv4Zones.classfullBoundaries as boundary}
|
||||
{#each reverseZonesContent.ipv4Zones.classfullBoundaries as boundary, index (`${boundary.network}-${index}`)}
|
||||
<tr>
|
||||
<td><code>{boundary.cidr}</code></td>
|
||||
<td><code>{boundary.example}</code></td>
|
||||
@@ -49,7 +49,7 @@
|
||||
</table>
|
||||
|
||||
<h3>Classless Delegation (CNAME Method)</h3>
|
||||
{#each reverseZonesContent.ipv4Zones.classlessDelegation as delegation}
|
||||
{#each reverseZonesContent.ipv4Zones.classlessDelegation as delegation, index (`${delegation.network}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{delegation.cidr} - {delegation.example}</div>
|
||||
<div class="example-item">
|
||||
@@ -57,7 +57,7 @@
|
||||
<div><strong>Problem:</strong> {delegation.problem}</div>
|
||||
<div><strong>Solution:</strong> {delegation.solution}</div>
|
||||
<div><strong>Zone Names:</strong></div>
|
||||
{#each delegation.zones as zone}
|
||||
{#each delegation.zones as zone, index (`zone-${index}`)}
|
||||
<code class="example-input">{zone}</code>
|
||||
{/each}
|
||||
</div>
|
||||
@@ -65,7 +65,7 @@
|
||||
{/each}
|
||||
|
||||
<h3>Practical IPv4 Examples</h3>
|
||||
{#each reverseZonesContent.ipv4Zones.practicalExamples as example}
|
||||
{#each reverseZonesContent.ipv4Zones.practicalExamples as example, index (`${example.network}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{example.scenario}</div>
|
||||
<div class="example-item">
|
||||
@@ -73,13 +73,13 @@
|
||||
<div><strong>Reverse Zone:</strong> <code>{example.reverseZone}</code></div>
|
||||
{#if example.reverseZones}
|
||||
<div><strong>Reverse Zones:</strong></div>
|
||||
{#each example.reverseZones as zone}
|
||||
{#each example.reverseZones as zone, index (`rz-${index}`)}
|
||||
<code class="example-input">{zone}</code>
|
||||
{/each}
|
||||
<div><strong>Description:</strong> {example.description}</div>
|
||||
{:else}
|
||||
<div><strong>PTR Records:</strong></div>
|
||||
{#each example.ptrRecords as record}
|
||||
{#each example.ptrRecords as record, index (`ptr-${index}`)}
|
||||
<code class="example-input">{record}</code>
|
||||
{/each}
|
||||
{/if}
|
||||
@@ -104,7 +104,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each reverseZonesContent.ipv6Zones.nibbleBoundaries as boundary}
|
||||
{#each reverseZonesContent.ipv6Zones.nibbleBoundaries as boundary, index (`${boundary.prefix}-${index}`)}
|
||||
<tr>
|
||||
<td><code>{boundary.cidr}</code></td>
|
||||
<td><code>{boundary.example}</code></td>
|
||||
@@ -117,14 +117,14 @@
|
||||
</table>
|
||||
|
||||
<h3>Practical IPv6 Examples</h3>
|
||||
{#each reverseZonesContent.ipv6Zones.practicalExamples as example}
|
||||
{#each reverseZonesContent.ipv6Zones.practicalExamples as example, index (`${example.network}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{example.scenario}</div>
|
||||
<div class="example-item">
|
||||
<div><strong>Network:</strong> <code>{example.network}</code></div>
|
||||
<div><strong>Master Zone:</strong> <code>{example.reverseZone}</code></div>
|
||||
<div><strong>Sub-zones:</strong></div>
|
||||
{#each example.subZones as zone}
|
||||
{#each example.subZones as zone, index (`subzone-${index}`)}
|
||||
<code class="example-input">{zone}</code>
|
||||
{/each}
|
||||
<div><strong>Management:</strong> {example.management}</div>
|
||||
@@ -146,7 +146,7 @@
|
||||
|
||||
<h4>Explanation:</h4>
|
||||
<ul>
|
||||
{#each reverseZonesContent.zoneCreation.ipv4Example.explanation as point}
|
||||
{#each reverseZonesContent.zoneCreation.ipv4Example.explanation as point, index (`ipv4-point-${index}`)}
|
||||
<li>{point}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -161,7 +161,7 @@
|
||||
|
||||
<h4>Explanation:</h4>
|
||||
<ul>
|
||||
{#each reverseZonesContent.zoneCreation.ipv6Example.explanation as point}
|
||||
{#each reverseZonesContent.zoneCreation.ipv6Example.explanation as point, index (`ipv6-point-${index}`)}
|
||||
<li>{point}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -171,7 +171,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Delegation Scenarios</h2>
|
||||
{#each reverseZonesContent.delegationScenarios as scenario}
|
||||
{#each reverseZonesContent.delegationScenarios as scenario, index (`${scenario.scenario}-${index}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{scenario.scenario}</div>
|
||||
<div class="example-item">
|
||||
@@ -180,21 +180,21 @@
|
||||
{#if scenario.customerActions}
|
||||
<div><strong>Customer Actions:</strong></div>
|
||||
<ul>
|
||||
{#each scenario.customerActions as action}
|
||||
{#each scenario.customerActions as action, index (`customer-${index}`)}
|
||||
<li>{action}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
|
||||
<div><strong>ISP Actions:</strong></div>
|
||||
<ul>
|
||||
{#each scenario.ispActions as action}
|
||||
{#each scenario.ispActions as action, index (`isp-${index}`)}
|
||||
<li>{action}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
{:else}
|
||||
<div><strong>Process:</strong></div>
|
||||
<ol>
|
||||
{#each scenario.process as step}
|
||||
{#each scenario.process as step, index (`process-${index}`)}
|
||||
<li>{step}</li>
|
||||
{/each}
|
||||
</ol>
|
||||
@@ -206,7 +206,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Troubleshooting</h2>
|
||||
{#each reverseZonesContent.troubleshooting as issue}
|
||||
{#each reverseZonesContent.troubleshooting as issue, index (`${issue.issue}-${index}`)}
|
||||
<div class="ref-warning">
|
||||
<div class="warning-title">
|
||||
<Icon name="help-circle" size="sm" />
|
||||
@@ -224,7 +224,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Best Practices</h2>
|
||||
<ul>
|
||||
{#each reverseZonesContent.bestPractices as practice}
|
||||
{#each reverseZonesContent.bestPractices as practice, index (`practice-${index}`)}
|
||||
<li>{practice}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -236,14 +236,14 @@
|
||||
<div class="ref-grid two-col">
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Zone Name Formulas</div>
|
||||
{#each reverseZonesContent.quickReference.zoneFormulas as formula}
|
||||
{#each reverseZonesContent.quickReference.zoneFormulas as formula, index (`${formula.mask}-${index}`)}
|
||||
<div class="item-code">{formula}</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Essential Records</div>
|
||||
{#each reverseZonesContent.quickReference.essentialRecords as record}
|
||||
{#each reverseZonesContent.quickReference.essentialRecords as record, index (`${record.type}-${index}`)}
|
||||
<div class="item-description">{record}</div>
|
||||
{/each}
|
||||
</div>
|
||||
@@ -264,7 +264,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Testing Tools</h2>
|
||||
<div class="ref-grid two-col">
|
||||
{#each reverseZonesContent.tools as tool}
|
||||
{#each reverseZonesContent.tools as tool, index (`${tool.name}-${index}`)}
|
||||
<div class="grid-item">
|
||||
<div class="item-title">{tool.tool}</div>
|
||||
<div class="item-description">{tool.purpose}</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each specialIPv4Content.ranges as range (range.network)}
|
||||
{#each specialIPv4Content.ranges as range, rangeIdx (`${range.network}-${rangeIdx}`)}
|
||||
<tr>
|
||||
<td><code>{range.network}</code></td>
|
||||
<td>{range.purpose}</td>
|
||||
@@ -49,7 +49,7 @@
|
||||
<div class="ref-grid two-col">
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Private Networks (RFC 1918)</div>
|
||||
{#each specialIPv4Content.categories.private as network (network.cidr)}
|
||||
{#each specialIPv4Content.categories.private as network, privIdx (`${network}-${privIdx}`)}
|
||||
<div class="item-code">{network}</div>
|
||||
{/each}
|
||||
<div class="item-description">Never routed on the public internet</div>
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Test Networks (RFC 5737)</div>
|
||||
{#each specialIPv4Content.categories.testing as network (network.cidr)}
|
||||
{#each specialIPv4Content.categories.testing as network, testIdx (`${network}-${testIdx}`)}
|
||||
<div class="item-code">{network}</div>
|
||||
{/each}
|
||||
<div class="item-description">Safe for documentation and examples</div>
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Carrier-Grade NAT</div>
|
||||
{#each specialIPv4Content.categories.cgnat as network (network.cidr)}
|
||||
{#each specialIPv4Content.categories.cgnat as network, cgnatIdx (`${network}-${cgnatIdx}`)}
|
||||
<div class="item-code">{network}</div>
|
||||
{/each}
|
||||
<div class="item-description">ISP shared addressing space</div>
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Special Purpose</div>
|
||||
{#each specialIPv4Content.categories.special as network (network.cidr)}
|
||||
{#each specialIPv4Content.categories.special as network, specIdx (`${network}-${specIdx}`)}
|
||||
<div class="item-code">{network}</div>
|
||||
{/each}
|
||||
<div class="item-description">Loopback, link-local, multicast</div>
|
||||
@@ -85,7 +85,7 @@
|
||||
<h2>Quick Recognition Tips</h2>
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">What Each Range Means</div>
|
||||
{#each specialIPv4Content.quickTips as tip (tip)}
|
||||
{#each specialIPv4Content.quickTips as tip, tipIdx (`${tip}-${tipIdx}`)}
|
||||
<div class="example-item">
|
||||
<div class="example-description">{tip}</div>
|
||||
</div>
|
||||
|
||||
@@ -33,12 +33,12 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Summarization Examples</h2>
|
||||
{#each supernetContent.examples as example (example.title)}
|
||||
{#each supernetContent.examples as example, exIdx (`${example.title}-${exIdx}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{example.title}</div>
|
||||
<div class="example-item">
|
||||
<div><strong>Individual Networks:</strong></div>
|
||||
{#each example.networks as network (network)}
|
||||
{#each example.networks as network, netIdx (`${network}-${netIdx}`)}
|
||||
<div class="example-input">{network}</div>
|
||||
{/each}
|
||||
<div class="example-arrow">↓ Summarizes to ↓</div>
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>{supernetContent.stepByStep.title}</h2>
|
||||
<ol>
|
||||
{#each supernetContent.stepByStep.steps as step (step.title)}
|
||||
{#each supernetContent.stepByStep.steps as step, stepIdx (`${step}-${stepIdx}`)}
|
||||
<li>{step}</li>
|
||||
{/each}
|
||||
</ol>
|
||||
@@ -70,7 +70,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each supernetContent.binaryExample.binary as row (row.network)}
|
||||
{#each supernetContent.binaryExample.binary as row, rowIdx (`${row.network}-${rowIdx}`)}
|
||||
<tr>
|
||||
<td><code>{row.network}</code></td>
|
||||
<td><code>{row.binary}</code></td>
|
||||
@@ -93,7 +93,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Benefits of Route Summarization</h2>
|
||||
<ul>
|
||||
{#each supernetContent.benefits as benefit (benefit)}
|
||||
{#each supernetContent.benefits as benefit, benIdx (`${benefit}-${benIdx}`)}
|
||||
<li>{benefit}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -101,7 +101,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Common Pitfalls</h2>
|
||||
{#each supernetContent.pitfalls as pitfall (pitfall.title)}
|
||||
{#each supernetContent.pitfalls as pitfall, pitIdx (`${pitfall.title}-${pitIdx}`)}
|
||||
<div class="ref-warning">
|
||||
<div class="warning-title">
|
||||
<Icon name="alert-triangle" size="sm" />
|
||||
@@ -126,7 +126,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each supernetContent.quickReference as row (row.networks)}
|
||||
{#each supernetContent.quickReference as row, refIdx (`${row.networks}-${refIdx}`)}
|
||||
<tr>
|
||||
<td>{row.networks}</td>
|
||||
<td><code>{row.summary}</code></td>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<div class="grid-item">
|
||||
<div class="item-title">Requirements</div>
|
||||
<ul>
|
||||
{#each vlsmContent.example.requirements as req (req.network)}
|
||||
{#each vlsmContent.example.requirements as req, reqIdx (`${req.name}-${reqIdx}`)}
|
||||
<li>{req.name}: {req.hosts} hosts (needs {req.needsPrefix})</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -53,7 +53,7 @@
|
||||
<div class="grid-item">
|
||||
<div class="item-title">VLSM Solution</div>
|
||||
<ul>
|
||||
{#each vlsmContent.example.solution as subnet (subnet.network)}
|
||||
{#each vlsmContent.example.solution as subnet, subIdx (`${subnet.subnet}-${subIdx}`)}
|
||||
<li><code>{subnet.subnet}</code> - {subnet.use} ({subnet.hosts})</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Common Pitfalls and Solutions</h2>
|
||||
{#each vlsmContent.pitfalls as pitfall (pitfall.title)}
|
||||
{#each vlsmContent.pitfalls as pitfall, pitIdx (`${pitfall.title}-${pitIdx}`)}
|
||||
<div class="ref-warning">
|
||||
<div class="warning-title">
|
||||
<Icon name="alert-triangle" size="sm" />
|
||||
@@ -80,7 +80,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Best Practices</h2>
|
||||
<ul>
|
||||
{#each vlsmContent.bestPractices as practice (practice)}
|
||||
{#each vlsmContent.bestPractices as practice, pracIdx (`${practice}-${pracIdx}`)}
|
||||
<li>{practice}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -90,7 +90,7 @@
|
||||
<h2>Quick Tips</h2>
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">Remember These</div>
|
||||
{#each vlsmContent.tips as tip (tip)}
|
||||
{#each vlsmContent.tips as tip, tipIdx (`${tip}-${tipIdx}`)}
|
||||
<div class="example-item">
|
||||
<div class="example-description">{tip}</div>
|
||||
</div>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Conversion Examples</h2>
|
||||
{#each wildcardMasksContent.conversionExamples as example (example.network)}
|
||||
{#each wildcardMasksContent.conversionExamples as example, exIdx (`${example.network}-${exIdx}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{example.description}</div>
|
||||
<div class="example-item">
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
<h3>Steps:</h3>
|
||||
<ol>
|
||||
{#each wildcardMasksContent.quickConversion.steps as step (step)}
|
||||
{#each wildcardMasksContent.quickConversion.steps as step, stepIdx (`${step}-${stepIdx}`)}
|
||||
<li>{step}</li>
|
||||
{/each}
|
||||
</ol>
|
||||
@@ -68,7 +68,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each wildcardMasksContent.quickConversion.examples as example (example.subnet)}
|
||||
{#each wildcardMasksContent.quickConversion.examples as example, qexIdx (`${example.subnet}-${qexIdx}`)}
|
||||
<tr>
|
||||
<td><code>{example.subnet}</code></td>
|
||||
<td>{example.calculation}</td>
|
||||
@@ -81,9 +81,9 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>ACL Examples by Platform</h2>
|
||||
{#each wildcardMasksContent.aclExamples as platform (platform.name)}
|
||||
{#each wildcardMasksContent.aclExamples as platform, pIdx (`${platform.name}-${pIdx}`)}
|
||||
<h3>{platform.title}</h3>
|
||||
{#each platform.entries as entry (entry)}
|
||||
{#each platform.entries as entry, eIdx (`${entry}-${eIdx}`)}
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">{entry.meaning}</div>
|
||||
<div class="example-item">
|
||||
@@ -98,7 +98,7 @@
|
||||
<div class="ref-section">
|
||||
<h2>Special Cases</h2>
|
||||
<div class="ref-grid two-col">
|
||||
{#each wildcardMasksContent.specialCases as specialCase (specialCase.case)}
|
||||
{#each wildcardMasksContent.specialCases as specialCase, scIdx (`${specialCase.case}-${scIdx}`)}
|
||||
<div class="grid-item">
|
||||
<div class="item-title">{specialCase.case}</div>
|
||||
<div class="item-code">Wildcard: {specialCase.wildcard}</div>
|
||||
@@ -125,7 +125,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each wildcardMasksContent.platformDifferences as platform (platform.platform)}
|
||||
{#each wildcardMasksContent.platformDifferences as platform, pdIdx (`${platform.platform}-${pdIdx}`)}
|
||||
<tr>
|
||||
<td><strong>{platform.platform}</strong></td>
|
||||
<td><code style="font-size: 0.8em;">{platform.format}</code></td>
|
||||
@@ -149,7 +149,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each wildcardMasksContent.quickReference as row (row.subnet)}
|
||||
{#each wildcardMasksContent.quickReference as row, refIdx (`${row.subnet}-${refIdx}`)}
|
||||
<tr>
|
||||
<td><code>{row.prefix}</code></td>
|
||||
<td><code>{row.subnet}</code></td>
|
||||
@@ -163,7 +163,7 @@
|
||||
|
||||
<div class="ref-section">
|
||||
<h2>Common Mistakes</h2>
|
||||
{#each wildcardMasksContent.commonMistakes as mistake (mistake.mistake)}
|
||||
{#each wildcardMasksContent.commonMistakes as mistake, mIdx (`${mistake.mistake}-${mIdx}`)}
|
||||
<div class="ref-warning">
|
||||
<div class="warning-title">
|
||||
<Icon name="alert-triangle" size="sm" />
|
||||
@@ -181,7 +181,7 @@
|
||||
<h2>Tips for Success</h2>
|
||||
<div class="ref-examples">
|
||||
<div class="examples-title">Remember These</div>
|
||||
{#each wildcardMasksContent.tips as tip (tip)}
|
||||
{#each wildcardMasksContent.tips as tip, tipIdx (`${tip}-${tipIdx}`)}
|
||||
<div class="example-item">
|
||||
<div class="example-description">{tip}</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user