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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  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. "restrictions": [
  163. {
  164. "condition": "settings:common.use_vcenter.value == true",
  165. "action": "hide"
  166. }
  167. ]
  168. },
  169. "zabbix_text_1": {
  170. "value": "value 1.1",
  171. "type": "text",
  172. "description": "description 1.1",
  173. "weight": 25,
  174. "label": "label 1.1"
  175. }
  176. }
  177. }
  178. },
  179. {
  180. "pk": 4,
  181. "model": "nailgun.plugin",
  182. "fields": {
  183. "name": "zabbix_monitoring",
  184. "title": "Zabbix for Fuel",
  185. "version": "2.0.0",
  186. "description": "Enables Zabbix Monitoring. For information how to access Zabbix UI refer to Zabbix plugin User Guide. Zabbix URL schema is http://<VIP>/zabbix",
  187. "fuel_version": ["7.0"],
  188. "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>"],
  189. "licenses": ["Apache License Version 2.0"],
  190. "homepage": "https://github.com/openstack/fuel-plugin-external-zabbix",
  191. "groups": ["monitoring"],
  192. "is_hotpluggable": true,
  193. "releases": [
  194. {
  195. "os": "ubuntu",
  196. "version": "2014.2-6.0",
  197. "mode": ["ha"],
  198. "deployment_scripts_path": "deployment_scripts/",
  199. "repository_path": "repositories/ubuntu"
  200. },
  201. {
  202. "os": "centos",
  203. "version": "2014.2-6.1",
  204. "mode": ["ha"],
  205. "deployment_scripts_path": "deployment_scripts/",
  206. "repository_path": "repositories/centos"
  207. },
  208. {
  209. "os": "ubuntu",
  210. "version": "2015.1-8.0",
  211. "mode": ["ha"],
  212. "deployment_scripts_path": "deployment_scripts/",
  213. "repository_path": "repositories/ubuntu"
  214. },
  215. {
  216. "os": "ubuntu",
  217. "version": "newton-10.0",
  218. "mode": ["ha"],
  219. "deployment_scripts_path": "deployment_scripts/",
  220. "repository_path": "repositories/ubuntu"
  221. }
  222. ],
  223. "package_version": "2.0.0",
  224. "attributes_metadata": {
  225. "metadata": {
  226. "restrictions": [
  227. {
  228. "condition": "cluster:net_provider != 'neutron'",
  229. "action": "hide"
  230. }
  231. ]
  232. },
  233. "zabbix_text_1": {
  234. "value": "value 2.1",
  235. "label": "Label of text field 2.1",
  236. "description": "Description of text field 2.1",
  237. "weight": 20,
  238. "type": "text"
  239. },
  240. "zabbix_text_2": {
  241. "value": "value 2.2",
  242. "label": "Label of text field 2.2",
  243. "description": "Description of text field 2.2",
  244. "weight": 21,
  245. "type": "text"
  246. },
  247. "zabbix_text_with_regex": {
  248. "value": "",
  249. "label": "Label of text field with regex (type 'aa-aa')",
  250. "description": "Some description of text field with regex",
  251. "weight": 30,
  252. "type": "text",
  253. "regex": {
  254. "source": "^(?:[a-z]+-[a-z0-9]+)(?:,[a-z]+-[a-z0-9]+)*",
  255. "error": "Invalid value in text field with regex"
  256. }
  257. },
  258. "zabbix_checkbox": {
  259. "value": false,
  260. "label": "Hide file selector",
  261. "description": "If True then file field will be hidden",
  262. "weight": 40,
  263. "type": "checkbox"
  264. },
  265. "zabbix_file": {
  266. "value": "",
  267. "label": "Select file",
  268. "description": "Description of file field",
  269. "weight": 41,
  270. "type": "file",
  271. "restrictions": [
  272. {
  273. "condition": "settings:zabbix_monitoring.zabbix_checkbox.value == true",
  274. "action": "hide"
  275. }
  276. ]
  277. },
  278. "zabbix_checkbox_long_name": {
  279. "value": true,
  280. "label": "Show text field",
  281. "description": "If True then text field will be shown",
  282. "weight": 50,
  283. "type": "checkbox"
  284. },
  285. "zabbix_text_3": {
  286. "value": "",
  287. "label": "Label of text field 2.3",
  288. "description": "Description of text field 2.3",
  289. "weight": 51,
  290. "type": "text",
  291. "restrictions": [
  292. {
  293. "condition": "settings:zabbix_monitoring.zabbix_checkbox_long_name.value == false",
  294. "action": "hide"
  295. }
  296. ]
  297. }
  298. }
  299. }
  300. },
  301. {
  302. "pk": 5,
  303. "model": "nailgun.plugin",
  304. "fields": {
  305. "name": "plugin_with_node_and_nic_attributes",
  306. "title": "Plugin with Node and NIC attributes",
  307. "version": "1.0.0",
  308. "description": "Plugin with Node and NIC attributes",
  309. "fuel_version": ["9.0"],
  310. "authors": [""],
  311. "licenses": ["Apache License Version 2.0"],
  312. "homepage": "",
  313. "groups": [""],
  314. "is_hotpluggable": true,
  315. "releases": [
  316. {
  317. "repository_path": "repositories/ubuntu",
  318. "version": "mitaka-9.0",
  319. "os": "ubuntu",
  320. "mode": ["ha"],
  321. "deployment_scripts_path": "deployment_scripts/"
  322. },
  323. {
  324. "repository_path": "repositories/centos",
  325. "version": "newton-10.0",
  326. "os": "ubuntu",
  327. "mode": ["ha"],
  328. "deployment_scripts_path": "deployment_scripts/"
  329. }
  330. ],
  331. "package_version": "5.0.0",
  332. "network_roles_metadata": [],
  333. "attributes_metadata": {},
  334. "volumes_metadata": {},
  335. "roles_metadata": {},
  336. "tasks": [],
  337. "components_metadata": [
  338. {
  339. "label": "Title for plugin_with_node_and_nic_attributes component.",
  340. "description": "Description for plugin_with_node_and_nic_attributes component.",
  341. "name": "additional_service:service_plugin_with_node_and_nic_attributes_component"
  342. }
  343. ],
  344. "nic_attributes_metadata": {
  345. "attribute_a": {
  346. "value": false,
  347. "type": "checkbox",
  348. "description": "NIC Attribute A description",
  349. "weight": 10,
  350. "label": "NIC Attribute A label"
  351. },
  352. "attribute_b": {
  353. "value": "SomeValue",
  354. "type": "text",
  355. "description": "NIC Attribute B description",
  356. "weight": 20,
  357. "label": "NIC Attribute B label",
  358. "restrictions": [{
  359. "nic_attributes:plugin_with_node_and_nic_attributes.attribute_a.value == false": "Requires enabled NIC attribute A"
  360. }],
  361. "regex": {
  362. "source": "^[A-z0-9]+$",
  363. "error": "NIC Attribute B value should match the following regex: ^[A-z0-9]+$"
  364. }
  365. }
  366. },
  367. "bond_attributes_metadata": {
  368. "bond_attribute_a": {
  369. "value": false,
  370. "type": "checkbox",
  371. "description": "Bond Attribute A description",
  372. "weight": 10,
  373. "label": "Bond Attribute A label"
  374. },
  375. "bond_attribute_b": {
  376. "value": 10,
  377. "type": "number",
  378. "description": "Bond Attribute B description",
  379. "weight": 20,
  380. "label": "Bond Attribute B label",
  381. "min": 10,
  382. "max": 20
  383. }
  384. },
  385. "node_attributes_metadata": {
  386. "plugin_section_a": {
  387. "metadata": {
  388. "label": "Section A",
  389. "weight": 110
  390. },
  391. "attribute_a": {
  392. "type": "checkbox",
  393. "description": "Node attribute A for section A description",
  394. "value": false,
  395. "label": "Node attribute A for section A label",
  396. "weight": 10
  397. },
  398. "attribute_b": {
  399. "type": "text",
  400. "description": "Node attribute B for section A",
  401. "value": "",
  402. "label": "Node attribute B for section A label",
  403. "restrictions": [
  404. "node_attributes:plugin_section_a.attribute_a.value == false"
  405. ],
  406. "regex": {
  407. "source": "^[A-z0-9]+$"
  408. },
  409. "weight": 20
  410. }
  411. },
  412. "plugin_section_b": {
  413. "metadata": {
  414. "label": "Section B",
  415. "weight": 120
  416. },
  417. "attribute_a": {
  418. "type": "textarea",
  419. "description": "Node attribute A for section B description",
  420. "value": "",
  421. "label": "Node attribute A for section B label",
  422. "weight": 10
  423. },
  424. "attribute_b": {
  425. "type": "number",
  426. "description": "Node attribute B for section B description",
  427. "value": 2,
  428. "min": 2,
  429. "max": 4,
  430. "label": "Node attribute B for section B label",
  431. "weight": 20
  432. }
  433. }
  434. }
  435. }
  436. },
  437. {
  438. "pk": 6,
  439. "model": "nailgun.plugin",
  440. "fields": {
  441. "name": "plugin_with_node_and_nic_attributes",
  442. "title": "Plugin with Node and NIC attributes",
  443. "version": "2.0.0",
  444. "description": "Plugin with Node and NIC attributes",
  445. "fuel_version": ["9.0"],
  446. "authors": [""],
  447. "licenses": ["Apache License Version 2.0"],
  448. "homepage": "",
  449. "groups": [""],
  450. "is_hotpluggable": true,
  451. "releases": [
  452. {
  453. "repository_path": "repositories/ubuntu",
  454. "version": "mitaka-9.0",
  455. "os": "ubuntu",
  456. "mode": ["ha"],
  457. "deployment_scripts_path": "deployment_scripts/"
  458. },
  459. {
  460. "repository_path": "repositories/centos",
  461. "version": "newton-10.0",
  462. "os": "ubuntu",
  463. "mode": ["ha"],
  464. "deployment_scripts_path": "deployment_scripts/"
  465. }
  466. ],
  467. "package_version": "5.0.0",
  468. "network_roles_metadata": [],
  469. "attributes_metadata": {},
  470. "volumes_metadata": {},
  471. "roles_metadata": {},
  472. "tasks": [],
  473. "components_metadata": [
  474. {
  475. "label": "Title for plugin_with_node_and_nic_attributes component.",
  476. "description": "Description for plugin_with_node_and_nic_attributes component.",
  477. "name": "additional_service:service_plugin_with_node_and_nic_attributes_component"
  478. }
  479. ],
  480. "nic_attributes_metadata": {
  481. "attribute_a_v2": {
  482. "value": true,
  483. "type": "checkbox",
  484. "description": "NIC Attribute A description (v2)",
  485. "weight": 10,
  486. "label": "NIC Attribute A label (v2)"
  487. },
  488. "attribute_b_v2": {
  489. "value": ["123", "456"],
  490. "type": "text_list",
  491. "description": "NIC Attribute B description (v2)",
  492. "weight": 20,
  493. "label": "NIC Attribute B label (v2)",
  494. "min": 2,
  495. "max": 4,
  496. "regex": {
  497. "source": "^[0-9]+$",
  498. "error": "Positive number expected"
  499. }
  500. }
  501. },
  502. "bond_attributes_metadata": {
  503. "bond_attribute_a_v2": {
  504. "value": false,
  505. "type": "checkbox",
  506. "description": "Bond Attribute A description (v2)",
  507. "weight": 10,
  508. "label": "Bond Attribute A label (v2)"
  509. },
  510. "bond_attribute_b_v2": {
  511. "value": "SomeValue",
  512. "type": "text",
  513. "description": "Bond Attribute B description (v2)",
  514. "weight": 20,
  515. "label": "Bond Attribute B label (v2)",
  516. "restrictions": [{
  517. "bond_attributes:plugin_with_node_and_nic_attributes.bond_attribute_a_v2.value == false": "Requires enabled Bond attribute A (v2)"
  518. }],
  519. "regex": {
  520. "source": "^[A-z0-9]+$"
  521. }
  522. }
  523. },
  524. "node_attributes_metadata": {
  525. "plugin_section_a_v2": {
  526. "metadata": {
  527. "label": "Section A (v2)",
  528. "restrictions": [
  529. "settings:common.libvirt_type.value != 'kvm'"
  530. ],
  531. "weight": 110
  532. },
  533. "attribute_a": {
  534. "type": "checkbox",
  535. "description": "Node attribute A for Section A (v2)",
  536. "value": true,
  537. "label": "Node attribute A for Section A (v2)",
  538. "weight": 10
  539. }
  540. },
  541. "plugin_section_b_v2": {
  542. "metadata": {
  543. "label": "Section B (v2)",
  544. "weight": 120
  545. },
  546. "attribute_a_v2": {
  547. "type": "text_list",
  548. "description": "Node attribute 1 for Section B",
  549. "value": ["abc", ""],
  550. "regex": {
  551. "source": "^[A-z0-9]+$",
  552. "error": "Invalid value for regex ^[A-z0-9]+$"
  553. },
  554. "label": "Node attribute A for Section B",
  555. "weight": 10,
  556. "min": 1,
  557. "max": 3
  558. },
  559. "attribute_b_v2": {
  560. "type": "number",
  561. "description": "Node attribute B for Section B",
  562. "value": 3,
  563. "label": "Node attribute B for Section B",
  564. "min": 1,
  565. "max": 100,
  566. "weight": 20
  567. }
  568. }
  569. }
  570. }
  571. }
  572. ]