<commit_before><!-- network block start -->
<div class="physical-network-box">
  <div class="network-box-name"><%- ifc.get('name') %></div>
  <div class="network-box-item">

    <% var currentSpeed = showBandwidth(ifc.get('current_speed')); %>
    <div class="network-info-box enable-selection <%= currentSpeed !== 'N/A' ? 'online' : 'offline' %>">
      <div>MAC: <%- ifc.get('mac') %></div>
      <div>Speed: <%- currentSpeed %></div>
    </div>

    <div class="logical-network-box">
      <div class="logical-network-group">
        <% ifc.get('assigned_networks').each(function(network) { %>
          <% if (network.get('name') != 'floating') { %>
            </div><div class="logical-network-group">
          <% } %>
          <div class="logical-network-item" data-name="<%- network.get('name') %>">
            <div class="name"><%- network.get('name') %></div>
            <div class="id">
            <% var vlanStart = network.vlanStart() %>
            <% if (vlanStart) { %>
              <% if (network.amount() == 1) { %>
                VLAN ID: <%- vlanStart %>
              <% } else { %>
                VLAN IDs: <%- vlanStart %>-<%- vlanStart + network.amount() - 1 %>
              <% } %>
            <% } %>
            </div>
          </div>
        <% }) %>
      </div>
      <div class="network-help-message hide">Use drag and drop to move logical networks between physical interfaces</div>
    </div>
  </div>
</div>
<!-- network block end --><commit_msg>Hack for admin network name on UI<commit_after><!-- network block start -->
<div class="physical-network-box">
  <div class="network-box-name"><%- ifc.get('name') %></div>
  <div class="network-box-item">

    <% var currentSpeed = showBandwidth(ifc.get('current_speed')); %>
    <div class="network-info-box enable-selection <%= currentSpeed !== 'N/A' ? 'online' : 'offline' %>">
      <div>MAC: <%- ifc.get('mac') %></div>
      <div>Speed: <%- currentSpeed %></div>
    </div>

    <div class="logical-network-box">
      <div class="logical-network-group">
        <% ifc.get('assigned_networks').each(function(network) { %>
          <% if (network.get('name') != 'floating') { %>
            </div><div class="logical-network-group">
          <% } %>
          <div class="logical-network-item" data-name="<%- network.get('name') %>">
            <div class="name"><%- network.get('name') == 'fuelweb_admin' ? 'Admin (PXE)' : network.get('name') %></div>
            <div class="id">
            <% var vlanStart = network.vlanStart() %>
            <% if (vlanStart) { %>
              <% if (network.amount() == 1) { %>
                VLAN ID: <%- vlanStart %>
              <% } else { %>
                VLAN IDs: <%- vlanStart %>-<%- vlanStart + network.amount() - 1 %>
              <% } %>
            <% } %>
            </div>
          </div>
        <% }) %>
      </div>
      <div class="network-help-message hide">Use drag and drop to move logical networks between physical interfaces</div>
    </div>
  </div>
</div>
<!-- network block end -->
{'fraction_non_alphanumeric': 0.21571194762684123, 'fraction_numerical': 0.001309328968903437, 'mean_word_length': 2.153766769865841, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5895542', 'n_tokens_mistral': 1039, 'n_tokens_neox': 943, 'n_words': 188}