Skip to content

Commit

Permalink
Merge "[cfg01] Honor idf.net_config.mgmt.ip-range" into stable/gambia
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandruavadanii authored and Gerrit Code Review committed Nov 28, 2018
2 parents e9b01df + 510fced commit 6ca6454
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/release/userguide/userguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ Network ``management``
| ``jumpserver`` | N/A | ``172.16.10.1`` |
| | | (manual assignment) |
+------------------+-----------------------+---------------------------------+
| ``cfg01`` | 1st | ``172.16.10.2`` |
| | | (IP range ignored for now) |
| ``cfg01`` | 1st | ``172.16.10.11`` |
+------------------+-----------------------+---------------------------------+
| ``mas01`` | 2nd | ``172.16.10.12`` |
+------------------+-----------------------+---------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion mcp/scripts/docker-compose/docker-compose.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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("/") }}

0 comments on commit 6ca6454

Please sign in to comment.