all:
  children:
    zuul_unreachable:
      hosts: {}
  hosts:
    debian-bookworm:
      ansible_connection: ssh
      ansible_host: 2a13:1a81:8000:3124:f816:3eff:fe3b:6ef1
      ansible_port: 22
      ansible_python_interpreter: auto
      ansible_user: zuul
      docker_image: frontend
      docker_namespace: osism
      docker_registry: osism.harbor.regio.digital
      nodepool:
        az: nova
        cloud: regiocloud-a-ci
        external_id: d7db87de-7a02-499a-a208-d484bc90d48f
        host_id: df70f2a3f3d0c26428f22685cfc722ebc48099d99e7332c39e017195
        interface_ip: 2a13:1a81:8000:3124:f816:3eff:fe3b:6ef1
        label: debian-bookworm
        node_properties: {}
        private_ipv4: 10.128.0.109
        private_ipv6: null
        provider: regiocloud-a
        public_ipv4: 81.163.192.86
        public_ipv6: 2a13:1a81:8000:3124:f816:3eff:fe3b:6ef1
        region: null
        slot: null
      repository: osism/osism
  vars:
    docker_image: frontend
    docker_namespace: osism
    docker_registry: osism.harbor.regio.digital
    repository: osism/osism
    zuul:
      _inheritance_path:
      - '<Job base explicit: None implied: {MatchAny:{ImpliedBranchMatcher:main}}
        source: osism/zuul-config/zuul.d/jobs.yaml@main#2>'
      - '<Job container-image-python-osism-frontend-build explicit: None implied:
        {MatchAny:{ImpliedBranchMatcher:main}} source: osism/python-osism/.zuul.yaml@main#87>'
      - '<Job container-image-python-osism-frontend-build explicit: None implied:
        None source: osism/python-osism/.zuul.yaml@main#143>'
      ansible_version: '9'
      attempts: 1
      branch: main
      build: ef403e2e9f61415e8413f91a80c87847
      build_refs:
      - branch: main
        change: '2479'
        change_message: "Normalize NetBox interface speeds to Mbps at collection time\n\n##
          Summary\n\nFixes the broken SONiC breakout port speeds reported in #2478
          (e.g. `\"speed\": \"100\"` with `\"valid_speeds\": \"100,10000,1000\"` on
          a 100G breakout of an Edgecore 9726-32DB).\n\n`netbox_interfaces` mixed
          two units: explicitly set NetBox speeds are stored in **kbps**, while speeds
          derived from the interface type via `get_speed_from_port_type` are already
          **Mbps**. The kbps-to-Mbps division applied downstream in the breakout paths
          therefore turned a derived 100G breakout port (`100000` Mbps) into `\"100\"`.
          The regression window matches 1dbcb2b, which added the division to `_add_missing_breakout_ports`
          \u2014 the path breakout subports take on platforms whose `port_config`
          only lists master ports.\n\n## Changes\n\n- Normalize the unit once at collection
          time in `generate_sonic_config`: explicit NetBox speeds (kbps) are converted
          to Mbps when `netbox_interfaces` is built, derived speeds pass through unchanged.
          The mapping now always carries Mbps.\n- Drop the three per-site `// 1000`
          divisions in `_add_port_configurations` and `_add_missing_breakout_ports`.\n-
          Determine `speed_explicit` with `bool()` so an explicit speed of `0` is
          no longer labeled explicit while the value is actually derived from the
          port type.\n- Update the unit tests that encoded the mixed-unit behavior
          and add coverage for the normalization and for the 100G breakout scenario
          from the issue.\n\nCloses #2478\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)"
        change_url: https://github.com/osism/python-osism/pull/2479
        commit_id: d67cb649816f69a63b6831d1e57103dfef7b7b48
        patchset: d67cb649816f69a63b6831d1e57103dfef7b7b48
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/python-osism
          name: osism/python-osism
          short_name: python-osism
        src_dir: src/github.com/osism/python-osism
        topic: null
      buildset: 486c815636eb48c68ce7c33cf587246a
      buildset_refs:
      - branch: main
        change: '2479'
        change_message: "Normalize NetBox interface speeds to Mbps at collection time\n\n##
          Summary\n\nFixes the broken SONiC breakout port speeds reported in #2478
          (e.g. `\"speed\": \"100\"` with `\"valid_speeds\": \"100,10000,1000\"` on
          a 100G breakout of an Edgecore 9726-32DB).\n\n`netbox_interfaces` mixed
          two units: explicitly set NetBox speeds are stored in **kbps**, while speeds
          derived from the interface type via `get_speed_from_port_type` are already
          **Mbps**. The kbps-to-Mbps division applied downstream in the breakout paths
          therefore turned a derived 100G breakout port (`100000` Mbps) into `\"100\"`.
          The regression window matches 1dbcb2b, which added the division to `_add_missing_breakout_ports`
          \u2014 the path breakout subports take on platforms whose `port_config`
          only lists master ports.\n\n## Changes\n\n- Normalize the unit once at collection
          time in `generate_sonic_config`: explicit NetBox speeds (kbps) are converted
          to Mbps when `netbox_interfaces` is built, derived speeds pass through unchanged.
          The mapping now always carries Mbps.\n- Drop the three per-site `// 1000`
          divisions in `_add_port_configurations` and `_add_missing_breakout_ports`.\n-
          Determine `speed_explicit` with `bool()` so an explicit speed of `0` is
          no longer labeled explicit while the value is actually derived from the
          port type.\n- Update the unit tests that encoded the mixed-unit behavior
          and add coverage for the normalization and for the 100G breakout scenario
          from the issue.\n\nCloses #2478\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)"
        change_url: https://github.com/osism/python-osism/pull/2479
        commit_id: d67cb649816f69a63b6831d1e57103dfef7b7b48
        patchset: d67cb649816f69a63b6831d1e57103dfef7b7b48
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/python-osism
          name: osism/python-osism
          short_name: python-osism
        src_dir: src/github.com/osism/python-osism
        topic: null
      change: '2479'
      change_message: "Normalize NetBox interface speeds to Mbps at collection time\n\n##
        Summary\n\nFixes the broken SONiC breakout port speeds reported in #2478 (e.g.
        `\"speed\": \"100\"` with `\"valid_speeds\": \"100,10000,1000\"` on a 100G
        breakout of an Edgecore 9726-32DB).\n\n`netbox_interfaces` mixed two units:
        explicitly set NetBox speeds are stored in **kbps**, while speeds derived
        from the interface type via `get_speed_from_port_type` are already **Mbps**.
        The kbps-to-Mbps division applied downstream in the breakout paths therefore
        turned a derived 100G breakout port (`100000` Mbps) into `\"100\"`. The regression
        window matches 1dbcb2b, which added the division to `_add_missing_breakout_ports`
        \u2014 the path breakout subports take on platforms whose `port_config` only
        lists master ports.\n\n## Changes\n\n- Normalize the unit once at collection
        time in `generate_sonic_config`: explicit NetBox speeds (kbps) are converted
        to Mbps when `netbox_interfaces` is built, derived speeds pass through unchanged.
        The mapping now always carries Mbps.\n- Drop the three per-site `// 1000`
        divisions in `_add_port_configurations` and `_add_missing_breakout_ports`.\n-
        Determine `speed_explicit` with `bool()` so an explicit speed of `0` is no
        longer labeled explicit while the value is actually derived from the port
        type.\n- Update the unit tests that encoded the mixed-unit behavior and add
        coverage for the normalization and for the 100G breakout scenario from the
        issue.\n\nCloses #2478\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)"
      change_url: https://github.com/osism/python-osism/pull/2479
      child_jobs: []
      commit_id: d67cb649816f69a63b6831d1e57103dfef7b7b48
      event_id: 8077ae60-81ca-11f1-8c24-cf8e92bd5614
      executor:
        hostname: 521e9411259a
        inventory_file: /var/lib/zuul/builds/ef403e2e9f61415e8413f91a80c87847/ansible/inventory.yaml
        log_root: /var/lib/zuul/builds/ef403e2e9f61415e8413f91a80c87847/work/logs
        result_data_file: /var/lib/zuul/builds/ef403e2e9f61415e8413f91a80c87847/work/results.json
        src_root: /var/lib/zuul/builds/ef403e2e9f61415e8413f91a80c87847/work/src
        work_root: /var/lib/zuul/builds/ef403e2e9f61415e8413f91a80c87847/work
      include_vars: []
      items:
      - branch: main
        change: '2479'
        change_message: "Normalize NetBox interface speeds to Mbps at collection time\n\n##
          Summary\n\nFixes the broken SONiC breakout port speeds reported in #2478
          (e.g. `\"speed\": \"100\"` with `\"valid_speeds\": \"100,10000,1000\"` on
          a 100G breakout of an Edgecore 9726-32DB).\n\n`netbox_interfaces` mixed
          two units: explicitly set NetBox speeds are stored in **kbps**, while speeds
          derived from the interface type via `get_speed_from_port_type` are already
          **Mbps**. The kbps-to-Mbps division applied downstream in the breakout paths
          therefore turned a derived 100G breakout port (`100000` Mbps) into `\"100\"`.
          The regression window matches 1dbcb2b, which added the division to `_add_missing_breakout_ports`
          \u2014 the path breakout subports take on platforms whose `port_config`
          only lists master ports.\n\n## Changes\n\n- Normalize the unit once at collection
          time in `generate_sonic_config`: explicit NetBox speeds (kbps) are converted
          to Mbps when `netbox_interfaces` is built, derived speeds pass through unchanged.
          The mapping now always carries Mbps.\n- Drop the three per-site `// 1000`
          divisions in `_add_port_configurations` and `_add_missing_breakout_ports`.\n-
          Determine `speed_explicit` with `bool()` so an explicit speed of `0` is
          no longer labeled explicit while the value is actually derived from the
          port type.\n- Update the unit tests that encoded the mixed-unit behavior
          and add coverage for the normalization and for the 100G breakout scenario
          from the issue.\n\nCloses #2478\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)"
        change_url: https://github.com/osism/python-osism/pull/2479
        commit_id: d67cb649816f69a63b6831d1e57103dfef7b7b48
        patchset: d67cb649816f69a63b6831d1e57103dfef7b7b48
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/python-osism
          name: osism/python-osism
          short_name: python-osism
          src_dir: src/github.com/osism/python-osism
        topic: null
      job: container-image-python-osism-frontend-build
      jobtags: []
      max_attempts: 3
      message: Tm9ybWFsaXplIE5ldEJveCBpbnRlcmZhY2Ugc3BlZWRzIHRvIE1icHMgYXQgY29sbGVjdGlvbiB0aW1lCgojIyBTdW1tYXJ5CgpGaXhlcyB0aGUgYnJva2VuIFNPTmlDIGJyZWFrb3V0IHBvcnQgc3BlZWRzIHJlcG9ydGVkIGluICMyNDc4IChlLmcuIGAic3BlZWQiOiAiMTAwImAgd2l0aCBgInZhbGlkX3NwZWVkcyI6ICIxMDAsMTAwMDAsMTAwMCJgIG9uIGEgMTAwRyBicmVha291dCBvZiBhbiBFZGdlY29yZSA5NzI2LTMyREIpLgoKYG5ldGJveF9pbnRlcmZhY2VzYCBtaXhlZCB0d28gdW5pdHM6IGV4cGxpY2l0bHkgc2V0IE5ldEJveCBzcGVlZHMgYXJlIHN0b3JlZCBpbiAqKmticHMqKiwgd2hpbGUgc3BlZWRzIGRlcml2ZWQgZnJvbSB0aGUgaW50ZXJmYWNlIHR5cGUgdmlhIGBnZXRfc3BlZWRfZnJvbV9wb3J0X3R5cGVgIGFyZSBhbHJlYWR5ICoqTWJwcyoqLiBUaGUga2Jwcy10by1NYnBzIGRpdmlzaW9uIGFwcGxpZWQgZG93bnN0cmVhbSBpbiB0aGUgYnJlYWtvdXQgcGF0aHMgdGhlcmVmb3JlIHR1cm5lZCBhIGRlcml2ZWQgMTAw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ZWQtdW5pdCBiZWhhdmlvciBhbmQgYWRkIGNvdmVyYWdlIGZvciB0aGUgbm9ybWFsaXphdGlvbiBhbmQgZm9yIHRoZSAxMDBHIGJyZWFrb3V0IHNjZW5hcmlvIGZyb20gdGhlIGlzc3VlLgoKQ2xvc2VzICMyNDc4Cgrwn6SWIEdlbmVyYXRlZCB3aXRoIFtDbGF1ZGUgQ29kZV0oaHR0cHM6Ly9jbGF1ZGUuY29tL2NsYXVkZS1jb2RlKQ==
      patchset: d67cb649816f69a63b6831d1e57103dfef7b7b48
      pipeline: check
      playbook_context:
        playbook_projects:
          trusted/project_0/github.com/osism/zuul-config:
            canonical_name: github.com/osism/zuul-config
            checkout: main
            commit: 71b711c422c10c242a8f785dc6d41ed9d12e9cd3
          trusted/project_1/github.com/osism/openinfra-zuul-jobs:
            canonical_name: github.com/osism/openinfra-zuul-jobs
            checkout: master
            commit: 242732586e2cba04d04867d3e302888c766bc231
          trusted/project_2/github.com/osism/zuul-jobs:
            canonical_name: github.com/osism/zuul-jobs
            checkout: main
            commit: 1d71e58c93442038e695a5d883d57a603182c7ae
          untrusted/project_0/github.com/osism/python-osism:
            canonical_name: github.com/osism/python-osism
            checkout: main
            commit: 1af2bb9e69a585fcc5505098ce41074ce1ebc5b0
          untrusted/project_1/github.com/osism/zuul-config:
            canonical_name: github.com/osism/zuul-config
            checkout: main
            commit: 71b711c422c10c242a8f785dc6d41ed9d12e9cd3
          untrusted/project_2/github.com/osism/openinfra-zuul-jobs:
            canonical_name: github.com/osism/openinfra-zuul-jobs
            checkout: master
            commit: 242732586e2cba04d04867d3e302888c766bc231
          untrusted/project_3/github.com/osism/zuul-jobs:
            canonical_name: github.com/osism/zuul-jobs
            checkout: main
            commit: 1d71e58c93442038e695a5d883d57a603182c7ae
        playbooks:
        - path: untrusted/project_0/github.com/osism/python-osism/playbooks/build.yml
          roles:
          - checkout: main
            checkout_description: zuul branch
            link_name: ansible/playbook_0/role_1/zuul-config
            link_target: untrusted/project_1/github.com/osism/zuul-config
            role_path: ansible/playbook_0/role_1/zuul-config/roles
          - checkout: master
            checkout_description: project default branch
            link_name: ansible/playbook_0/role_2/openinfra-zuul-jobs
            link_target: untrusted/project_2/github.com/osism/openinfra-zuul-jobs
            role_path: ansible/playbook_0/role_2/openinfra-zuul-jobs/roles
          - checkout: main
            checkout_description: zuul branch
            link_name: ansible/playbook_0/role_3/zuul-jobs
            link_target: untrusted/project_3/github.com/osism/zuul-jobs
            role_path: ansible/playbook_0/role_3/zuul-jobs/roles
      post_review: false
      post_timeout: 1800
      pre_timeout: null
      project:
        canonical_hostname: github.com
        canonical_name: github.com/osism/python-osism
        name: osism/python-osism
        short_name: python-osism
        src_dir: src/github.com/osism/python-osism
      projects:
        github.com/osism/python-osism:
          canonical_hostname: github.com
          canonical_name: github.com/osism/python-osism
          checkout: main
          checkout_description: zuul branch
          commit: 1af2bb9e69a585fcc5505098ce41074ce1ebc5b0
          name: osism/python-osism
          required: false
          short_name: python-osism
          src_dir: src/github.com/osism/python-osism
      ref: refs/pull/2479/head
      resources: {}
      tenant: osism
      timeout: 1800
      topic: null
      voting: true
