foreman_discovery 25.0.1 → 25.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_discovery/locale/ca/foreman_discovery.js +13 -4
  3. data/app/assets/javascripts/foreman_discovery/locale/cs_CZ/foreman_discovery.js +13 -4
  4. data/app/assets/javascripts/foreman_discovery/locale/de/foreman_discovery.js +13 -4
  5. data/app/assets/javascripts/foreman_discovery/locale/es/foreman_discovery.js +14 -5
  6. data/app/assets/javascripts/foreman_discovery/locale/fr/foreman_discovery.js +17 -8
  7. data/app/assets/javascripts/foreman_discovery/locale/gl/foreman_discovery.js +13 -4
  8. data/app/assets/javascripts/foreman_discovery/locale/it/foreman_discovery.js +13 -4
  9. data/app/assets/javascripts/foreman_discovery/locale/ja/foreman_discovery.js +17 -8
  10. data/app/assets/javascripts/foreman_discovery/locale/ka/foreman_discovery.js +13 -4
  11. data/app/assets/javascripts/foreman_discovery/locale/ko/foreman_discovery.js +136 -130
  12. data/app/assets/javascripts/foreman_discovery/locale/pt_BR/foreman_discovery.js +13 -4
  13. data/app/assets/javascripts/foreman_discovery/locale/ru/foreman_discovery.js +13 -4
  14. data/app/assets/javascripts/foreman_discovery/locale/sv_SE/foreman_discovery.js +13 -4
  15. data/app/assets/javascripts/foreman_discovery/locale/zh_CN/foreman_discovery.js +18 -9
  16. data/app/assets/javascripts/foreman_discovery/locale/zh_TW/foreman_discovery.js +13 -4
  17. data/app/controllers/api/v2/discovered_hosts_controller.rb +2 -0
  18. data/app/controllers/concerns/foreman/controller/parameters/discovered_host.rb +41 -35
  19. data/app/controllers/concerns/foreman/controller/parameters/discovery_rule.rb +18 -12
  20. data/app/controllers/discovered_hosts_controller.rb +0 -13
  21. data/app/models/host/discovered.rb +1 -0
  22. data/app/services/foreman_discovery/fact_to_category_resolver.rb +11 -6
  23. data/app/services/foreman_discovery/lldp_neighbors.rb +6 -2
  24. data/app/views/api/v2/discovered_hosts/main.json.rabl +2 -1
  25. data/app/views/discovered_hosts/_discovered_host.html.erb +1 -0
  26. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +2 -1
  27. data/app/views/discovered_hosts/show.html.erb +3 -1
  28. data/app/views/discovered_mailer/_discovered_host.html.erb +5 -0
  29. data/lib/foreman_discovery/version.rb +1 -1
  30. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  31. data/locale/ca/foreman_discovery.po +13 -4
  32. data/locale/cs_CZ/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/cs_CZ/foreman_discovery.po +13 -4
  34. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/de/foreman_discovery.po +13 -4
  36. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/es/foreman_discovery.po +17 -8
  38. data/locale/foreman_discovery.pot +136 -137
  39. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  40. data/locale/fr/foreman_discovery.po +17 -8
  41. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/gl/foreman_discovery.po +13 -4
  43. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/it/foreman_discovery.po +13 -4
  45. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/ja/foreman_discovery.po +17 -8
  47. data/locale/ka/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ka/foreman_discovery.po +13 -4
  49. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  50. data/locale/ko/foreman_discovery.po +136 -130
  51. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/pt_BR/foreman_discovery.po +13 -4
  53. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ru/foreman_discovery.po +13 -4
  55. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/sv_SE/foreman_discovery.po +13 -4
  57. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/zh_CN/foreman_discovery.po +20 -9
  59. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_TW/foreman_discovery.po +13 -4
  61. data/test/facts/facts_with_lldp_bond_candidate.json +7 -0
  62. data/test/functional/api/v2/discovered_hosts_controller_test.rb +35 -0
  63. data/test/test_helper_discovery.rb +21 -7
  64. data/test/unit/lldp_neighbors_test.rb +34 -0
  65. metadata +3 -26
  66. data/app/assets/javascripts/foreman_discovery/locale/en/foreman_discovery.js +0 -835
  67. data/app/assets/javascripts/foreman_discovery/locale/en_GB/foreman_discovery.js +0 -835
  68. data/locale/ca/foreman_discovery.edit.po +0 -1122
  69. data/locale/cs_CZ/foreman_discovery.edit.po +0 -1120
  70. data/locale/de/foreman_discovery.edit.po +0 -1129
  71. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  72. data/locale/en/foreman_discovery.edit.po +0 -1115
  73. data/locale/en/foreman_discovery.po +0 -834
  74. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  75. data/locale/en_GB/foreman_discovery.edit.po +0 -1125
  76. data/locale/en_GB/foreman_discovery.po +0 -839
  77. data/locale/es/foreman_discovery.edit.po +0 -1130
  78. data/locale/fr/foreman_discovery.edit.po +0 -1126
  79. data/locale/gl/foreman_discovery.edit.po +0 -1120
  80. data/locale/it/foreman_discovery.edit.po +0 -1123
  81. data/locale/ja/foreman_discovery.edit.po +0 -1119
  82. data/locale/ka/foreman_discovery.edit.po +0 -1120
  83. data/locale/ko/foreman_discovery.edit.po +0 -1119
  84. data/locale/pt_BR/foreman_discovery.edit.po +0 -1132
  85. data/locale/ru/foreman_discovery.edit.po +0 -1131
  86. data/locale/sv_SE/foreman_discovery.edit.po +0 -1123
  87. data/locale/zh_CN/foreman_discovery.edit.po +0 -1117
  88. data/locale/zh_TW/foreman_discovery.edit.po +0 -1120