contrail-charms: support interface name as control-network parameter
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
High
|
Andrey Pavlov |
Bug Description
currently, the contrail-charms for contrail-
My hack I used to achieve this is as follows:
contrail-
def get_ip():
network = config.
ip = None
try:
ip = get_address_
except ValueError:
log(
if not ip:
# if no CIDR format is provided, treat as interface name
ip = get_iface_
if not ip:
ip = _get_default_ip()
return ip
Changed in juniperopenstack: | |
assignee: | nobody → Andrey Pavlov (apavlov-e) |
Changed in juniperopenstack: | |
milestone: | none → r4.1.2.0 |
status: | New → Fix Committed |
no longer affects: | juniperopenstack/r5.0 |
no longer affects: | juniperopenstack/r4.1 |