openstack-neutron创建keepalived vip

用户需要使用keepalived, 需要申请一个vip

rs: 10.20.32.22,12,23

1
2
3
4
5
6
#neutron port-create --fixed-ip ip_address=10.20.32.100 fed51c88-367b-4613-b366-a701317eed61

#neutron port-list|egrep '20.12|20.22|20.23'
#neutron port-update PORT_ID1 --allowed_address_pairs list=true type=dict ip_address=10.20.32.100
#neutron port-update PORT_ID2 --allowed_address_pairs list=true type=dict ip_address=10.20.32.100
#neutron port-update PORT_ID3 --allowed_address_pairs list=true type=dict ip_address=10.20.32.100