Skip to content

fix(dataset): add missing router field to project_default network_spec.yml - #605

Merged
abhishek-sa1 merged 1 commit into
automation-v2.2.0.0from
fix/add-router-field-to-project-default-dataset
Aug 13, 2026
Merged

fix(dataset): add missing router field to project_default network_spec.yml#605
abhishek-sa1 merged 1 commit into
automation-v2.2.0.0from
fix/add-router-field-to-project-default-dataset

Conversation

@sujit-jadhav

Copy link
Copy Markdown
Collaborator

Summary

  • Add mandatory router field to datasets/project_default/network_spec.yml admin_network section
  • Add router documentation to the file comments, consistent with omnia/input/network_spec.yml

Root Cause

The mandatory router field was added to admin_network in omnia commit d730b7dc8 which updated:

  • L1 JSON schema (network_spec.json) — router added to required array
  • deploy_openchami.ymlcoredhcp_router: "{{ network_data.admin_network.router }}"
  • Official input template omnia/input/network_spec.yml

However, the project_default test dataset in omnia-containers was not updated, causing prepare_oim molecule tests to fail at L1 schema validation with Ansible exit code 2.

Changes

File Change
datasets/project_default/network_spec.yml Added router: "172.16.107.254" (matching primary_oim_admin_ip) and documentation comments

Test Plan

  • prepare_oim molecule converge passes L1 schema validation
  • prepare_oim molecule verify passes all sanity tests
  • Network_spec.yml matches omnia/input/network_spec.yml structure

Signed-off-by: Sujit Jadhav sujit.jadhav@dell.com

…c.yml

The mandatory 'router' field was added to admin_network in omnia commit
d730b7dc8 (network_spec schema + deploy_openchami.yml), but the
project_default test dataset was never updated. This causes prepare_oim
molecule tests to fail at L1 schema validation with exit code 2.

Add router: "172.16.107.254" (matching primary_oim_admin_ip) and update
the comments to document the field, consistent with omnia/input/network_spec.yml
and the network_spec.j2 template.

Signed-off-by: Sujit Jadhav <sujit.jadhav@dell.com>
@abhishek-sa1
abhishek-sa1 merged commit cdab744 into automation-v2.2.0.0 Aug 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants