Skip to content

Convert inventory files to YAML#2072

Merged
jleveque merged 6 commits intosonic-net:masterfrom
jleveque:inv_to_yaml
Aug 12, 2020
Merged

Convert inventory files to YAML#2072
jleveque merged 6 commits intosonic-net:masterfrom
jleveque:inv_to_yaml

Conversation

@jleveque
Copy link
Copy Markdown
Contributor

@jleveque jleveque commented Aug 9, 2020

Convert inventory files from INI language to YAML for readability and easier maintenance.

  • Required that I remove the .vtb suffix from veos.vtb, as Ansible will only attempt to use the INI parser on files with a .<suffix> for some reason, so I renamed the file veos_vtb. Also updated related documentation.

Note: vsimage check build will fail until Azure/sonic-build-tools#145 is merged.

jleveque added a commit that referenced this pull request Aug 12, 2020
This PR will allow a smooth transition to the merging of #2072, which depends on Azure/sonic-build-tools#145. However, there is a chicken-and-egg problem, where without this intermediary PR, the check builds will be broken for a period of time.
jleveque added a commit to Azure/sonic-build-tools that referenced this pull request Aug 12, 2020
sonic-net/sonic-mgmt#2072 renames `veos.vtb` to `veos_vtb` to allow Ansible to use the YAML inventory parser to parse the file. This patch updates VS scripts to refer to the new file name.
@jleveque
Copy link
Copy Markdown
Contributor Author

Build failure should be solved by #2091

@jleveque
Copy link
Copy Markdown
Contributor Author

Retest this please

@jleveque jleveque merged commit 1095485 into sonic-net:master Aug 12, 2020
@jleveque jleveque deleted the inv_to_yaml branch August 12, 2020 19:45
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
9968d60 (HEAD -> 202111, origin/202111) [sonic-package-manager] do not mod_config for whole config db when setting init_cfg (sonic-net#2055)
4b3d53f [generate_dump] exclude mft and mlx folders from /etc (sonic-net#2072)
51d92ae Validation check correction while adding a member to PortChannel (sonic-net#2078)
6a43306 [techsupport] Added a lock to avoid running techsupport in parallel (sonic-net#2065)
44cfdd9 Try get port operational speed from STATE DB (sonic-net#2030)
45ea623 Fix sonic-installer failure due to missing import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants