Fuel UI
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sample_plugins.json 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  1. [
  2. {
  3. "pk": 1,
  4. "model": "nailgun.plugin",
  5. "fields": {
  6. "name": "logging",
  7. "title": "The Logging, Monitoring and Alerting (LMA) Collector Plugin",
  8. "version": "0.7.0",
  9. "description": "Collect logs, metrics and notifications from system and OpenStack services and forward that information to external backends such as Elasticsearch and InfluxDB.",
  10. "fuel_version": ["7.0"],
  11. "authors": ["Mirantis Inc."],
  12. "licenses": ["Apache License Version 2.0"],
  13. "homepage": "https://github.com/openstack/fuel-plugin-lma-collector",
  14. "groups": ["monitoring", "equipment"],
  15. "releases": [
  16. {
  17. "os": "ubuntu",
  18. "version": "2014.2-6.0",
  19. "mode": ["ha"],
  20. "deployment_scripts_path": "deployment_scripts/",
  21. "repository_path": "repositories/ubuntu"
  22. },
  23. {
  24. "os": "ubuntu",
  25. "version": "2014.2-6.1",
  26. "mode": ["ha"],
  27. "deployment_scripts_path": "deployment_scripts/",
  28. "repository_path": "repositories/ubuntu"
  29. },
  30. {
  31. "os": "centos",
  32. "version": "2014.2-6.1",
  33. "mode": ["ha"],
  34. "deployment_scripts_path": "deployment_scripts/",
  35. "repository_path": "repositories/centos"
  36. },
  37. {
  38. "os": "ubuntu",
  39. "version": "2015.1-8.0",
  40. "mode": ["ha"],
  41. "deployment_scripts_path": "deployment_scripts/",
  42. "repository_path": "repositories/ubuntu"
  43. },
  44. {
  45. "os": "ubuntu",
  46. "version": "newton-10.0",
  47. "mode": ["ha"],
  48. "deployment_scripts_path": "deployment_scripts/",
  49. "repository_path": "repositories/ubuntu"
  50. }
  51. ],
  52. "package_version": "2.0.0",
  53. "attributes_metadata": {
  54. "logging_text": {
  55. "value": "value",
  56. "type": "text",
  57. "description": "description",
  58. "weight": 25,
  59. "label": "label",
  60. "restrictions": [
  61. {
  62. "condition": "settings:zabbix_monitoring.zabbix_checkbox.value == true",
  63. "message": "Zabbix conflict",
  64. "strict": false
  65. }
  66. ]
  67. }
  68. }
  69. }
  70. },
  71. {
  72. "pk": 2,
  73. "model": "nailgun.plugin",
  74. "fields": {
  75. "name": "VPNaaS",
  76. "title": "VPNaaS plugin for Neutron",
  77. "version": "1.1.0",
  78. "description": "Neutron extension that introduces VPN feature set",
  79. "fuel_version": ["6.1"],
  80. "authors": ["Andrey Epifanov, Sergey Kolekonov"],
  81. "groups": ["monitoring"],
  82. "releases": [
  83. {
  84. "os": "ubuntu",
  85. "version": "2014.2-6.0",
  86. "mode": ["ha"],
  87. "deployment_scripts_path": "deployment_scripts/",
  88. "repository_path": "repositories/ubuntu"
  89. },
  90. {
  91. "os": "centos",
  92. "version": "2014.2-6.1",
  93. "mode": ["ha"],
  94. "deployment_scripts_path": "deployment_scripts/",
  95. "repository_path": "repositories/centos"
  96. },
  97. {
  98. "os": "ubuntu",
  99. "version": "2015.1-8.0",
  100. "mode": ["ha"],
  101. "deployment_scripts_path": "deployment_scripts/",
  102. "repository_path": "repositories/ubuntu"
  103. },
  104. {
  105. "os": "ubuntu",
  106. "version": "newton-10.0",
  107. "mode": ["ha"],
  108. "deployment_scripts_path": "deployment_scripts/",
  109. "repository_path": "repositories/ubuntu"
  110. }
  111. ],
  112. "package_version": "2.0.0"
  113. }
  114. },
  115. {
  116. "pk": 3,
  117. "model": "nailgun.plugin",
  118. "fields": {
  119. "name": "zabbix_monitoring",
  120. "title": "Zabbix for Fuel",
  121. "version": "1.0.0",
  122. "description": "Enables Zabbix Monitoring. For information how to access Zabbix UI refer to Zabbix plugin User Guide. Zabbix URL schema is http://<VIP>/zabbix",
  123. "fuel_version": ["7.0"],
  124. "authors": ["Dmitry Klenov <dklenov@mirantis.com>", "Piotr Misiak <pmisiak@mirantis.com>", "Szymon Banka <sbanka@mirantis.com>", "Bartosz Kupidura <bkupidura@mirantis.com>", "Alexander Zatserklyany <azatserklyany@mirantis.com>"],
  125. "licenses": ["Apache License Version 2.0"],
  126. "homepage": "https://github.com/openstack/fuel-plugin-external-zabbix",
  127. "groups": ["monitoring"],
  128. "is_hotpluggable": false,
  129. "releases": [
  130. {
  131. "os": "ubuntu",
  132. "version": "2014.2-6.0",
  133. "mode": ["ha"],
  134. "deployment_scripts_path": "deployment_scripts/",
  135. "repository_path": "repositories/ubuntu"
  136. },
  137. {
  138. "os": "centos",
  139. "version": "2014.2-6.1",
  140. "mode": ["ha"],
  141. "deployment_scripts_path": "deployment_scripts/",
  142. "repository_path": "repositories/centos"
  143. },
  144. {
  145. "os": "ubuntu",
  146. "version": "2015.1-8.0",
  147. "mode": ["ha"],
  148. "deployment_scripts_path": "deployment_scripts/",
  149. "repository_path": "repositories/ubuntu"
  150. },
  151. {
  152. "os": "ubuntu",
  153. "version": "newton-10.0",
  154. "mode": ["ha"],
  155. "deployment_scripts_path": "deployment_scripts/",
  156. "repository_path": "repositories/ubuntu"
  157. }
  158. ],
  159. "package_version": "2.0.0",
  160. "attributes_metadata": {
  161. "metadata": {
  162. },
  163. "zabbix_text_1": {
  164. "value": "value 1.1",
  165. "type": "text",
  166. "description": "description 1.1",
  167. "weight": 25,
  168. "label": "label 1.1"
  169. }
  170. }
  171. }
  172. },
  173. {
  174. "pk": 4,
  175. "model": "nailgun.plugin",
  176. "fields": {
  177. "name": "zabbix_monitoring",
  178. "title": "Zabbix for Fuel",
  179. "version": "2.0.0",
  180. "description": "Enables Zabbix Monitoring. For information how to access Zabbix UI refer to Zabbix plugin User Guide. Zabbix URL schema is http://<VIP>/zabbix",
  181. "fuel_version": ["7.0"],
  182. "authors": ["Dmitry Klenov <dklenov@mirantis.com>", "Piotr Misiak <pmisiak@mirantis.com>", "Szymon Banka <sbanka@mirantis.com>", "Bartosz Kupidura <bkupidura@mirantis.com>", "Alexander Zatserklyany <azatserklyany@mirantis.com>"],
  183. "licenses": ["Apache License Version 2.0"],
  184. "homepage": "https://github.com/openstack/fuel-plugin-external-zabbix",
  185. "groups": ["monitoring"],
  186. "is_hotpluggable": true,
  187. "releases": [
  188. {
  189. "os": "ubuntu",
  190. "version": "2014.2-6.0",
  191. "mode": ["ha"],
  192. "deployment_scripts_path": "deployment_scripts/",
  193. "repository_path": "repositories/ubuntu"
  194. },
  195. {
  196. "os": "centos",
  197. "version": "2014.2-6.1",
  198. "mode": ["ha"],
  199. "deployment_scripts_path": "deployment_scripts/",
  200. "repository_path": "repositories/centos"
  201. },
  202. {
  203. "os": "ubuntu",
  204. "version": "2015.1-8.0",
  205. "mode": ["ha"],
  206. "deployment_scripts_path": "deployment_scripts/",
  207. "repository_path": "repositories/ubuntu"
  208. },
  209. {
  210. "os": "ubuntu",
  211. "version": "newton-10.0",
  212. "mode": ["ha"],
  213. "deployment_scripts_path": "deployment_scripts/",
  214. "repository_path": "repositories/ubuntu"
  215. }
  216. ],
  217. "package_version": "2.0.0",
  218. "attributes_metadata": {
  219. "metadata": {
  220. "restrictions": [
  221. {
  222. "condition": "cluster:net_provider != 'neutron'",
  223. "action": "hide"
  224. }
  225. ]
  226. },
  227. "zabbix_text_1": {
  228. "value": "value 2.1",
  229. "label": "Label of text field 2.1",
  230. "description": "Description of text field 2.1",
  231. "weight": 20,
  232. "type": "text"
  233. },
  234. "zabbix_text_2": {
  235. "value": "value 2.2",
  236. "label": "Label of text field 2.2",
  237. "description": "Description of text field 2.2",
  238. "weight": 21,
  239. "type": "text"
  240. },
  241. "zabbix_text_with_regex": {
  242. "value": "",
  243. "label": "Label of text field with regex (type 'aa-aa')",
  244. "description": "Some description of text field with regex",
  245. "weight": 30,
  246. "type": "text",
  247. "regex": {
  248. "source": "^(?:[a-z]+-[a-z0-9]+)(?:,[a-z]+-[a-z0-9]+)*",
  249. "error": "Invalid value in text field with regex"
  250. }
  251. },
  252. "zabbix_checkbox": {
  253. "value": false,
  254. "label": "Hide file selector",
  255. "description": "If True then file field will be hidden",
  256. "weight": 40,
  257. "type": "checkbox"
  258. },
  259. "zabbix_file": {
  260. "value": "",
  261. "label": "Select file",
  262. "description": "Description of file field",
  263. "weight": 41,
  264. "type": "file",
  265. "restrictions": [
  266. {
  267. "condition": "settings:zabbix_monitoring.zabbix_checkbox.value == true",
  268. "action": "hide"
  269. }
  270. ]
  271. },
  272. "zabbix_checkbox_long_name": {
  273. "value": true,
  274. "label": "Show text field",
  275. "description": "If True then text field will be shown",
  276. "weight": 50,
  277. "type": "checkbox"
  278. },
  279. "zabbix_text_3": {
  280. "value": "",
  281. "label": "Label of text field 2.3",
  282. "description": "Description of text field 2.3",
  283. "weight": 51,
  284. "type": "text",
  285. "restrictions": [
  286. {
  287. "condition": "settings:zabbix_monitoring.zabbix_checkbox_long_name.value == false",
  288. "action": "hide"
  289. }
  290. ]
  291. }
  292. }
  293. }
  294. },
  295. {
  296. "pk": 5,
  297. "model": "nailgun.plugin",
  298. "fields": {
  299. "name": "plugin_with_node_and_nic_attributes",
  300. "title": "Plugin with Node and NIC attributes",
  301. "version": "1.0.0",
  302. "description": "Plugin with Node and NIC attributes",
  303. "fuel_version": ["9.0"],
  304. "authors": [""],
  305. "licenses": ["Apache License Version 2.0"],
  306. "homepage": "",
  307. "groups": [""],
  308. "is_hotpluggable": true,
  309. "releases": [
  310. {
  311. "repository_path": "repositories/ubuntu",
  312. "version": "mitaka-9.0",
  313. "os": "ubuntu",
  314. "mode": ["ha"],
  315. "deployment_scripts_path": "deployment_scripts/"
  316. },
  317. {
  318. "repository_path": "repositories/centos",
  319. "version": "newton-10.0",
  320. "os": "ubuntu",
  321. "mode": ["ha"],
  322. "deployment_scripts_path": "deployment_scripts/"
  323. }
  324. ],
  325. "package_version": "5.0.0",
  326. "network_roles_metadata": [],
  327. "attributes_metadata": {},
  328. "volumes_metadata": {},
  329. "roles_metadata": {},
  330. "tasks": [],
  331. "components_metadata": [
  332. {
  333. "label": "Title for plugin_with_node_and_nic_attributes component.",
  334. "description": "Description for plugin_with_node_and_nic_attributes component.",
  335. "name": "additional_service:service_plugin_with_node_and_nic_attributes_component"
  336. }
  337. ],
  338. "nic_attributes_metadata": {
  339. "attribute_a": {
  340. "value": false,
  341. "type": "checkbox",
  342. "description": "NIC Attribute A description",
  343. "weight": 10,
  344. "label": "NIC Attribute A label"
  345. },
  346. "attribute_b": {
  347. "value": "SomeValue",
  348. "type": "text",
  349. "description": "NIC Attribute B description",
  350. "weight": 20,
  351. "label": "NIC Attribute B label",
  352. "restrictions": [{
  353. "nic_attributes:plugin_with_node_and_nic_attributes.attribute_a.value == false": "Requires enabled NIC attribute A"
  354. }],
  355. "regex": {
  356. "source": "^[A-z0-9]+$",
  357. "error": "NIC Attribute B value should match the following regex: ^[A-z0-9]+$"
  358. }
  359. }
  360. },
  361. "bond_attributes_metadata": {
  362. "bond_attribute_a": {
  363. "value": false,
  364. "type": "checkbox",
  365. "description": "Bond Attribute A description",
  366. "weight": 10,
  367. "label": "Bond Attribute A label"
  368. },
  369. "bond_attribute_b": {
  370. "value": 10,
  371. "type": "number",
  372. "description": "Bond Attribute B description",
  373. "weight": 20,
  374. "label": "Bond Attribute B label",
  375. "min": 10,
  376. "max": 20
  377. }
  378. },
  379. "node_attributes_metadata": {
  380. "plugin_section_a": {
  381. "metadata": {
  382. "label": "Section A",
  383. "weight": 110
  384. },
  385. "attribute_a": {
  386. "type": "checkbox",
  387. "description": "Node attribute A for section A description",
  388. "value": false,
  389. "label": "Node attribute A for section A label",
  390. "weight": 10
  391. },
  392. "attribute_b": {
  393. "type": "text",
  394. "description": "Node attribute B for section A",
  395. "value": "",
  396. "label": "Node attribute B for section A label",
  397. "restrictions": [
  398. "node_attributes:plugin_section_a.attribute_a.value == false"
  399. ],
  400. "regex": {
  401. "source": "^[A-z0-9]+$"
  402. },
  403. "weight": 20
  404. }
  405. },
  406. "plugin_section_b": {
  407. "metadata": {
  408. "label": "Section B",
  409. "weight": 120
  410. },
  411. "attribute_a": {
  412. "type": "textarea",
  413. "description": "Node attribute A for section B description",
  414. "value": "",
  415. "label": "Node attribute A for section B label",
  416. "weight": 10
  417. },
  418. "attribute_b": {
  419. "type": "number",
  420. "description": "Node attribute B for section B description",
  421. "value": 2,
  422. "min": 2,
  423. "max": 4,
  424. "label": "Node attribute B for section B label",
  425. "weight": 20
  426. }
  427. }
  428. }
  429. }
  430. },
  431. {
  432. "pk": 6,
  433. "model": "nailgun.plugin",
  434. "fields": {
  435. "name": "plugin_with_node_and_nic_attributes",
  436. "title": "Plugin with Node and NIC attributes",
  437. "version": "2.0.0",
  438. "description": "Plugin with Node and NIC attributes",
  439. "fuel_version": ["9.0"],
  440. "authors": [""],
  441. "licenses": ["Apache License Version 2.0"],
  442. "homepage": "",
  443. "groups": [""],
  444. "is_hotpluggable": true,
  445. "releases": [
  446. {
  447. "repository_path": "repositories/ubuntu",
  448. "version": "mitaka-9.0",
  449. "os": "ubuntu",
  450. "mode": ["ha"],
  451. "deployment_scripts_path": "deployment_scripts/"
  452. },
  453. {
  454. "repository_path": "repositories/centos",
  455. "version": "newton-10.0",
  456. "os": "ubuntu",
  457. "mode": ["ha"],
  458. "deployment_scripts_path": "deployment_scripts/"
  459. }
  460. ],
  461. "package_version": "5.0.0",
  462. "network_roles_metadata": [],
  463. "attributes_metadata": {},
  464. "volumes_metadata": {},
  465. "roles_metadata": {},
  466. "tasks": [],
  467. "components_metadata": [
  468. {
  469. "label": "Title for plugin_with_node_and_nic_attributes component.",
  470. "description": "Description for plugin_with_node_and_nic_attributes component.",
  471. "name": "additional_service:service_plugin_with_node_and_nic_attributes_component"
  472. }
  473. ],
  474. "nic_attributes_metadata": {
  475. "attribute_a_v2": {
  476. "value": true,
  477. "type": "checkbox",
  478. "description": "NIC Attribute A description (v2)",
  479. "weight": 10,
  480. "label": "NIC Attribute A label (v2)"
  481. },
  482. "attribute_b_v2": {
  483. "value": ["123", "456"],
  484. "type": "text_list",
  485. "description": "NIC Attribute B description (v2)",
  486. "weight": 20,
  487. "label": "NIC Attribute B label (v2)",
  488. "min": 2,
  489. "max": 4,
  490. "regex": {
  491. "source": "^[0-9]+$",
  492. "error": "Positive number expected"
  493. }
  494. }
  495. },
  496. "bond_attributes_metadata": {
  497. "bond_attribute_a_v2": {
  498. "value": false,
  499. "type": "checkbox",
  500. "description": "Bond Attribute A description (v2)",
  501. "weight": 10,
  502. "label": "Bond Attribute A label (v2)"
  503. },
  504. "bond_attribute_b_v2": {
  505. "value": "SomeValue",
  506. "type": "text",
  507. "description": "Bond Attribute B description (v2)",
  508. "weight": 20,
  509. "label": "Bond Attribute B label (v2)",
  510. "restrictions": [{
  511. "bond_attributes:plugin_with_node_and_nic_attributes.bond_attribute_a_v2.value == false": "Requires enabled Bond attribute A (v2)"
  512. }],
  513. "regex": {
  514. "source": "^[A-z0-9]+$"
  515. }
  516. }
  517. },
  518. "node_attributes_metadata": {
  519. "plugin_section_a_v2": {
  520. "metadata": {
  521. "label": "Section A (v2)",
  522. "restrictions": [
  523. "settings:common.libvirt_type.value != 'kvm'"
  524. ],
  525. "weight": 110
  526. },
  527. "attribute_a": {
  528. "type": "checkbox",
  529. "description": "Node attribute A for Section A (v2)",
  530. "value": true,
  531. "label": "Node attribute A for Section A (v2)",
  532. "weight": 10
  533. }
  534. },
  535. "plugin_section_b_v2": {
  536. "metadata": {
  537. "label": "Section B (v2)",
  538. "weight": 120
  539. },
  540. "attribute_a_v2": {
  541. "type": "text_list",
  542. "description": "Node attribute 1 for Section B",
  543. "value": ["abc", ""],
  544. "regex": {
  545. "source": "^[A-z0-9]+$",
  546. "error": "Invalid value for regex ^[A-z0-9]+$"
  547. },
  548. "label": "Node attribute A for Section B",
  549. "weight": 10,
  550. "min": 1,
  551. "max": 3
  552. },
  553. "attribute_b_v2": {
  554. "type": "number",
  555. "description": "Node attribute B for Section B",
  556. "value": 3,
  557. "label": "Node attribute B for Section B",
  558. "min": 1,
  559. "max": 100,
  560. "weight": 20
  561. }
  562. }
  563. }
  564. }
  565. }
  566. ]