Fuel plugin to enable neutron to work with Cisco ACI/GBP
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.

environment_config.yaml 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. attributes:
  2. metadata:
  3. restrictions:
  4. - condition: "not (cluster:net_provider == 'neutron' and networking_parameters:segmentation_type == 'vlan')"
  5. action: hide
  6. use_gbp:
  7. type: "checkbox"
  8. weight: 30
  9. value: false
  10. label: "Group-Based Policy"
  11. description: "Enable/Disable Group-Based Policy installation"
  12. restrictions:
  13. - condition: "not (cluster:net_provider == 'neutron' and (networking_parameters:segmentation_type == 'vlan' or networking_parameters:segmentation_type == 'gre'))"
  14. action: disable
  15. use_apic:
  16. type: "checkbox"
  17. weight: 31
  18. value: false
  19. label: "APIC Driver"
  20. description: "Enable/Disable APIC API Controller"
  21. restrictions:
  22. - condition: "not (cluster:net_provider == 'neutron' and networking_parameters:segmentation_type == 'vlan')"
  23. action: disable
  24. driver_type:
  25. type: "radio"
  26. weight: 33
  27. value: "ML2"
  28. label: "APIC Driver mode"
  29. restrictions:
  30. - condition: "settings:cisco_aci.use_apic.value != true"
  31. action: disable
  32. values:
  33. - data: "ML2"
  34. label: "ML2"
  35. description: "ML2 Driver"
  36. - data: "GBP"
  37. label: "GBP"
  38. description: "Group-Based Policy Driver"
  39. restrictions:
  40. - condition: "settings:cisco_aci.use_gbp.value != true"
  41. action: disable
  42. apic_hosts:
  43. value: '10.0.0.100'
  44. label: 'APIC Host'
  45. description: 'Comma­separated list of Cisco APIC IP addresses'
  46. weight: 41
  47. type: "text"
  48. restrictions:
  49. - condition: "settings:cisco_aci.use_apic.value != true"
  50. action: disable
  51. apic_username:
  52. value: 'admin'
  53. label: 'APIC Username'
  54. description: 'Username for Cisco APIC; usually admin is used to allow configuration for multiple tenants'
  55. weight: 42
  56. type: "text"
  57. regex:
  58. source: '\S'
  59. error: "Error field cannot be empty"
  60. restrictions:
  61. - condition: "settings:cisco_aci.use_apic.value != true"
  62. action: disable
  63. apic_password:
  64. value: 'password'
  65. label: 'APIC Password'
  66. description: 'Password for the Cisco APIC user identified by the username'
  67. weight: 43
  68. type: "password"
  69. regex:
  70. source: '\S'
  71. error: "Error field cannot be empty"
  72. restrictions:
  73. - condition: "settings:cisco_aci.use_apic.value != true"
  74. action: disable
  75. use_lldp:
  76. type: "checkbox"
  77. weight: 50
  78. value: false
  79. label: "Use lldp"
  80. description: "Try to automatically discover hosts"
  81. restrictions:
  82. - condition: "settings:cisco_aci.use_apic.value != true"
  83. action: disable
  84. static_config:
  85. type: "textarea"
  86. weight: 51
  87. value: ""
  88. label: "Static config"
  89. description: "Example:\n[apic_switch:201]\ncompute11,compute21=1/10\ncompute12=1/11\n"
  90. restrictions:
  91. - condition: "settings:cisco_aci.use_lldp.value != false or settings:cisco_aci.use_apic.value != true"
  92. action: disable
  93. additional_config:
  94. type: "textarea"
  95. weight: 52
  96. value: ""
  97. label: "Additional config"
  98. description: "Example:\n[DEFAULT]\napic_vpc_pairs=201:202,203:204"
  99. restrictions:
  100. - condition: "settings:cisco_aci.use_apic.value != true"
  101. action: disable
  102. ext_net_enable:
  103. type: "checkbox"
  104. weight: 70
  105. value: false
  106. label: "Configure external network"
  107. description: "Create external neutron network"
  108. restrictions:
  109. - condition: "settings:cisco_aci.use_apic.value != true"
  110. action: disable
  111. ext_net_name:
  112. type: "text"
  113. weight: 71
  114. value: "myextnet"
  115. label: "Network name:"
  116. description: "External network name"
  117. restrictions:
  118. - condition: "settings:cisco_aci.ext_net_enable.value == false"
  119. action: hide
  120. ext_net_subnet:
  121. type: "text"
  122. weight: 72
  123. value: "10.0.0.0/24"
  124. label: "Subnet range:"
  125. description: "CIDR for external network"
  126. restrictions:
  127. - condition: "settings:cisco_aci.ext_net_enable.value == false"
  128. action: hide
  129. ext_net_gateway:
  130. type: "text"
  131. weight: 73
  132. value: "10.0.0.1"
  133. label: "Gateway IP:"
  134. description: "IP address of the external gateway"
  135. restrictions:
  136. - condition: "settings:cisco_aci.ext_net_enable.value == false"
  137. action: hide
  138. ext_net_switch:
  139. type: "text"
  140. weight: 74
  141. value: "203"
  142. label: "Switch ID:"
  143. description: "Switch ID from Cisco APIC"
  144. restrictions:
  145. - condition: "settings:cisco_aci.ext_net_enable.value == false"
  146. action: hide
  147. ext_net_port:
  148. type: "text"
  149. weight: 75
  150. value: "1/34"
  151. label: "Port ID:"
  152. description: "Switch port to which the external router is connected"
  153. restrictions:
  154. - condition: "settings:cisco_aci.ext_net_enable.value == false"
  155. action: hide