<commit_before>---
apiVersion: v1
kind: Pod
metadata:
  name: centosa
  labels:
    app: centosa
    ratchet: "true"
    ratchet.pod_name: "centosa"
    ratchet.target_pod: "centosa"
    ratchet.target_container: "centosa"
    ratchet.public_ip: "1.1.1.1"
    ratchet.local_ip: "192.168.2.100"
    ratchet.local_ifname: "in1"
    ratchet.pair_name: "quagga-a"
    ratchet.pair_ip: "192.168.2.101"
    ratchet.pair_ifname: "in2"
    ratchet.primary: "true"
spec:
  containers:
    - name: centosa
      image: dougbtv/centos-network
      command: ["/bin/bash"]
      args: ["-c", "while true; do sleep 10; done"]
      securityContext:
        privileged: true
---
apiVersion: v1
kind: Pod
metadata:
  name: quagga-a
  labels:
    app: quagga-a
    ratchet: "true"
    ratchet.pod_name: "quagga-a"
    ratchet.target_pod: "quagga-a"
    ratchet.target_container: "quagga-a"
    ratchet.public_ip: "2.2.2.2"
    ratchet.local_ip: "192.168.3.100"
    ratchet.local_ifname: "mid1"
    ratchet.pair_name: "quagga-b"
    ratchet.pair_ip: "192.168.3.101"
    ratchet.pair_ifname: "mid2"
    ratchet.primary: "true"
spec:
  containers:
    - name: quagga-a
      image: dougbtv/quagga
      securityContext:
        privileged: true
      volumeMounts:
        - mountPath: /etc/quagga/
          name: config
  volumes:
    - name: config
      configMap:
        name: quagga-a-config
        items:
        - key: ospfd.conf
          path: ospfd.conf
        - key: daemons
          path: daemons
        - key: vtysh.conf
          path: vtysh.conf
        - key: debian.conf
          path: debian.conf
---
apiVersion: v1
kind: Pod
metadata:
  name: quagga-b
  labels:
    app: quagga-b
    ratchet: "true"
    ratchet.pod_name: "quagga-b"
    ratchet.target_pod: "quagga-b"
    ratchet.target_container: "quagga-b"
    ratchet.public_ip: "3.3.3.3"
    ratchet.local_ip: "192.168.4.100"
    ratchet.local_ifname: "out1"
    ratchet.pair_name: "centosb"
    ratchet.pair_ip: "192.168.4.101"
    ratchet.pair_ifname: "out2"
    ratchet.primary: "true"
spec:
  containers:
    - name: quagga-b
      image: dougbtv/quagga
      securityContext:
        privileged: true
      volumeMounts:
        - mountPath: /etc/quagga/
          name: config
  volumes:
    - name: config
      configMap:
        name: quagga-b-config
        items:
        - key: ospfd.conf
          path: ospfd.conf
        - key: daemons
          path: daemons
        - key: vtysh.conf
          path: vtysh.conf
        - key: debian.conf
          path: debian.conf
---
apiVersion: v1
kind: Pod
metadata:
  name: centosb
  labels:
    app: centosb
    ratchet: "true"
    ratchet.pod_name: centosb
    ratchet.primary: "false"
spec:
  containers:
    - name: centosb
      image: dougbtv/centos-network
      command: ["/bin/bash"]
      args: ["-c", "while true; do sleep 10; done"]
      securityContext:
        privileged: true
---
# ---
# apiVersion: v1
# kind: Pod
# metadata:
#   creationTimestamp: null
#   name: quaggab
# spec:
#   containers:
#     - name: quaggab
#       image: dougbtv/quagga
#       securityContext:
#         privileged: true
#       volumeMounts:
#         - mountPath: /etc/quagga/
#           name: config
#   restartPolicy: Never
#   volumes:
#     - name: config
#       configMap:
#         name: quagga-config
#         items:
#         - key: ospfd.conf
#           path: ospfd.conf
#         - key: daemons
#           path: daemons
#         - key: vtysh.conf
#           path: vtysh.conf
#         - key: debian.conf
#           path: debian.conf
# status: {}
# ---
# apiVersion: v1
# kind: Pod
# metadata:
#   creationTimestamp: null
#   name: centosb
# spec:
#   containers:
#     - name: centosb
#       image: dougbtv/centos-network
#       securityContext:
#         privileged: true
#       command: ["/bin/bash", "-c", "while true; do sleep 2; done"]
---
apiVersion: v1
kind: ConfigMap
metadata:
  creationTimestamp: null
  name: quagga-a-config
data:
  ospfd.conf: |<commit_msg>[example][cleanup] cleans up some remmed out reference configs from router.yaml<commit_after>---
apiVersion: v1
kind: Pod
metadata:
  name: centosa
  labels:
    app: centosa
    ratchet: "true"
    ratchet.pod_name: "centosa"
    ratchet.target_pod: "centosa"
    ratchet.target_container: "centosa"
    ratchet.public_ip: "1.1.1.1"
    ratchet.local_ip: "192.168.2.100"
    ratchet.local_ifname: "in1"
    ratchet.pair_name: "quagga-a"
    ratchet.pair_ip: "192.168.2.101"
    ratchet.pair_ifname: "in2"
    ratchet.primary: "true"
spec:
  containers:
    - name: centosa
      image: dougbtv/centos-network
      command: ["/bin/bash"]
      args: ["-c", "while true; do sleep 10; done"]
      securityContext:
        privileged: true
---
apiVersion: v1
kind: Pod
metadata:
  name: quagga-a
  labels:
    app: quagga-a
    ratchet: "true"
    ratchet.pod_name: "quagga-a"
    ratchet.target_pod: "quagga-a"
    ratchet.target_container: "quagga-a"
    ratchet.public_ip: "2.2.2.2"
    ratchet.local_ip: "192.168.3.100"
    ratchet.local_ifname: "mid1"
    ratchet.pair_name: "quagga-b"
    ratchet.pair_ip: "192.168.3.101"
    ratchet.pair_ifname: "mid2"
    ratchet.primary: "true"
spec:
  containers:
    - name: quagga-a
      image: dougbtv/quagga
      securityContext:
        privileged: true
      volumeMounts:
        - mountPath: /etc/quagga/
          name: config
  volumes:
    - name: config
      configMap:
        name: quagga-a-config
        items:
        - key: ospfd.conf
          path: ospfd.conf
        - key: daemons
          path: daemons
        - key: vtysh.conf
          path: vtysh.conf
        - key: debian.conf
          path: debian.conf
---
apiVersion: v1
kind: Pod
metadata:
  name: quagga-b
  labels:
    app: quagga-b
    ratchet: "true"
    ratchet.pod_name: "quagga-b"
    ratchet.target_pod: "quagga-b"
    ratchet.target_container: "quagga-b"
    ratchet.public_ip: "3.3.3.3"
    ratchet.local_ip: "192.168.4.100"
    ratchet.local_ifname: "out1"
    ratchet.pair_name: "centosb"
    ratchet.pair_ip: "192.168.4.101"
    ratchet.pair_ifname: "out2"
    ratchet.primary: "true"
spec:
  containers:
    - name: quagga-b
      image: dougbtv/quagga
      securityContext:
        privileged: true
      volumeMounts:
        - mountPath: /etc/quagga/
          name: config
  volumes:
    - name: config
      configMap:
        name: quagga-b-config
        items:
        - key: ospfd.conf
          path: ospfd.conf
        - key: daemons
          path: daemons
        - key: vtysh.conf
          path: vtysh.conf
        - key: debian.conf
          path: debian.conf
---
apiVersion: v1
kind: Pod
metadata:
  name: centosb
  labels:
    app: centosb
    ratchet: "true"
    ratchet.pod_name: centosb
    ratchet.primary: "false"
spec:
  containers:
    - name: centosb
      image: dougbtv/centos-network
      command: ["/bin/bash"]
      args: ["-c", "while true; do sleep 10; done"]
      securityContext:
        privileged: true
---
apiVersion: v1
kind: ConfigMap
metadata:
  creationTimestamp: null
  name: quagga-a-config
data:
  ospfd.conf: |
{'fraction_non_alphanumeric': 0.12264416315049226, 'fraction_numerical': 0.024894514767932488, 'mean_word_length': 2.1229688186209925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 18, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7518899', 'n_tokens_mistral': 2762, 'n_tokens_neox': 2687, 'n_words': 557}