summaryrefslogtreecommitdiffstats
path: root/lib/python/apex/network_environment.py
AgeCommit message (Collapse)AuthorFilesLines
2016-10-17Add ability to configure allowed vlan ranges in deploy configurationPeng Liu1-0/+6
Add a new parameter 'vlan_id_range' for tenant vlan range, which can set the 'network_vlan_ranges' for 'datacentre' network in ml2.ini on both compute and controller. Change-Id: I5c190fb2d5d582d0d5f56d4c18cf32502b758bd8 JIRA: APEX-272 Signed-off-by: Peng Liu <pliu@redhat.com>
2016-09-22migrating to proposed common network settings fileDan Radez1-60/+66
- proposed in genesis https://wiki.opnfv.org/display/genesis/Common+Network+Settings - This patch updates the network_settings files in the config/network dir and updates the associated bash, python and python tests relative to the new yaml structure and nomenclature used in the proposed settings file JIRA: APEX-262 Change-Id: Ib0dc9d0f21465b38f2a53cff20f71fb9230bfc48 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-20Handling file loads and tmp dirs differentlyDan Radez1-1/+1
Change-Id: I602279b30b035cfc667e4ee9b83905a638440abb Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-24adding more network_environment.py testsDan Radez1-31/+30
- increasing required test coverage to 90% - also consolidating some repeated code into functions Change-Id: I6b582478c509c24fce43224a516414e1ead6c8e4 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-11Making NetworkEnvironment a dictDan Radez1-50/+42
Change-Id: I983f4483b328268413d4ec66c753f1219d59fd27 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-09Making NetworkSettings a dictDan Radez1-5/+4
Change-Id: Ib7fc4e9ca543a4c678576ea2119fa606ece0095c Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-03Adds configuring vpp/hc on all nodesTim Rozet1-1/+14
Changes include: - starting vpp with pci addr of tenant nic - setting performance options for fdio scenario - creates nosdn fdio scenario (needs newtorking-vpp, etc) - starts HC if ODL is used opnfv-tht-pr: 46 JIRA: APEX-133 Change-Id: Ie7a7f1418b94dfb82255ec9aebc550a955dd696a Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-15Fixes public vlan network settingsTim Rozet1-0/+1
JIRA: APEX-201 Change-Id: I3ba8d5e38e203bb4f23679a3b91de97c591de146 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-13correction to a conditional in nic templateDan Radez1-5/+7
Change-Id: Ibed808350163379fcfa5178c78fabe2f47e491fc Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-30Syntax updates and new testsDan Radez1-30/+31
- syntax updates to match pep8 standards - tests to cover apex_python_utils.py Change-Id: Ifac06fdbb97266f1b574b20610979b6965d6dd55 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-28Adding VLAN supportDan Radez1-2/+13
JIRA: APEX-136 JIRA: APEX-30 Change-Id: I7cbbe11f4c1f1455dba253733c78fe8dc215de97 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-12Add ipv6 support in network environmentFeng Pan1-18/+50
Change-Id: I8db0cc0f715e95414e20f8a1e4d49f8d77e7b9ae Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-09Merge "Add API network support"Tim Rozet1-0/+25
2016-06-08Enabling DNS server assignment in entwork settingsDan Radez1-0/+1
Change-Id: Ibb30129ca52392cd152b6af61e0545ba47153bda Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-06Add API network supportFeng Pan1-0/+25
- Create additional NIC on virtual deployment if API network is enabled. - Include API network in clean - Change keystone admin api network to admin network. This should have no effect when api network is disabled, as today's behavior is to fall back to admin network anyway. However, when api network is defined, we need to be able to reach overcloud from undercloud through keystone admin api network. Change-Id: Ib0aea4a0daeed5878793530c10d8f8a1bbe5fd72 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-02Migrates network environment parsing to pythonTim Rozet1-0/+135
Change-Id: Ibaf20a2960a9f4b5e3f256fbed12a61d7606a967 Signed-off-by: Tim Rozet <trozet@redhat.com>