diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-11-28 17:51:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-11-28 17:51:57 +0000 |
commit | 6ca645482675c02d3534b10cd57202ec3151848c (patch) | |
tree | a01518b712869487b21e3f79ae0fd94b5eef18ca /mcp/scripts/docker-compose/docker-compose.yaml.j2 | |
parent | e9b01dfe5454b112bc6c95f82797e4fff0c5f61f (diff) | |
parent | 510fced443b454b6cab33eda14a3f6ad197cf46a (diff) |
Merge "[cfg01] Honor idf.net_config.mgmt.ip-range" into stable/gambia
Diffstat (limited to 'mcp/scripts/docker-compose/docker-compose.yaml.j2')
-rw-r--r-- | mcp/scripts/docker-compose/docker-compose.yaml.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/docker-compose/docker-compose.yaml.j2 b/mcp/scripts/docker-compose/docker-compose.yaml.j2 index a3119f92b..8cd9d5deb 100644 --- a/mcp/scripts/docker-compose/docker-compose.yaml.j2 +++ b/mcp/scripts/docker-compose/docker-compose.yaml.j2 @@ -62,4 +62,4 @@ networks: ipam: config: - subnet: {{ nm.net_mgmt }} - ip_range: {{ [nm.net_mgmt | ipnet_hostaddr(2), nm.net_mgmt.split("/")[-1]] | join("/") }} + ip_range: {{ [nm.net_mgmt | ipnet_hostaddr(nm.start_ip[nm.net_mgmt] + nm.net_mgmt_hosts.index('opnfv_infra_config_address') +1), nm.net_mgmt.split("/")[-1]] | join("/") }} |