opencontrail.org/fip-pool |
”{‘domain’: ‘default-domain’, ‘project’: ‘ArcherAdmin’, ‘network’: ‘public1420’, ‘name’: ‘floating-ip-pool’}” |
指定fip-pool |
opencontrail.org/network |
‘opencontrail.org/network’: ‘{“domain”:”default-domain”, “project”: “ArcherAdmin”, “name”:”test-net”}’ |
指定network,如果设置在pod中,pod使用指定网络建网卡,如果指定在namespace中,则namespace中所有pod使用指定网络建网卡 |
opencontrail.org/isolation |
‘opencontrail.org/isolation’: ‘true’ |
设置namespace是否隔离 |
opencontrail.org/ip_fabric_forwarding |
“opencontrail.org/ip_fabric_forwarding” : “true” |
使用fabric网络创建pod网卡 |
opencontrail.org/ip_fabric_snat |
“opencontrail.org/ip_fabric_snat” : “true” |
启用pod网络的fabric_snat |
opencontrail.org/cidr |
“opencontrail.org/cidr” : “1.0.0.0/24” |
使用自定义网络(非contrail网络)时指定 |