Jump to: navigation, search

Difference between revisions of "Magnum/LabelMatrix"

m (Magnum Labels Background)
m (Magnum Labels Support Matrix)
Line 6: Line 6:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
! Label Key !! Label Value !! Example !! Supported Driver
+
! Label Key !! Label Value !! Description !! Example !! Supported Driver
 
|-
 
|-
|  flannel_network_cidr || String || 10.10.0.0/16 || [https://github.com/coreos/flannel#configuration flannel]
+
|  flannel_network_cidr || String || IPv4 network in CIDR format to use for the entire flannel network. || 10.10.0.0/16 || [https://github.com/coreos/flannel#configuration flannel]
 
|-
 
|-
| flannel_use_vxlan || Boolean || False || [https://github.com/coreos/flannel#configuration flannel]
+
| flannel_use_vxlan || Boolean || Use in-kernel VXLAN to encapsulate the packets. UDP encapsulation is the default. || True || [https://github.com/coreos/flannel#configuration flannel]
 
|-
 
|-
| flannel_network_subnetlen || String || 24 || [https://github.com/coreos/flannel#configuration flannel]
+
| flannel_network_subnetlen || String || The size of the subnet allocated to each host. || 24 || [https://github.com/coreos/flannel#configuration flannel]
 
|}
 
|}

Revision as of 18:16, 12 January 2016

Magnum Labels Background

This is an attempt to help new users decide what labels to use with Magnum. The Magnum Networking spec provides additional background on labels. In general, labels are key/value pairs containing arbitrary metadata that can be passed to Magnum. At the time of this writing, only the network-driver attribute of baymodels are "label aware". Labels are used to alter the default configurations of network drivers. Use the matrix below to understand the labels that are supported by each network driver.

Magnum Labels Support Matrix

Label Key Label Value Description Example Supported Driver
flannel_network_cidr String IPv4 network in CIDR format to use for the entire flannel network. 10.10.0.0/16 flannel
flannel_use_vxlan Boolean Use in-kernel VXLAN to encapsulate the packets. UDP encapsulation is the default. True flannel
flannel_network_subnetlen String The size of the subnet allocated to each host. 24 flannel