aboutsummaryrefslogtreecommitdiffstats
path: root/os_net_config/tests/test_impl_eni.py
AgeCommit message (Collapse)AuthorFilesLines
2016-02-15Allow setting MTU to 1500Ian Pilcher1-0/+6
There are times when it is desirable to set the MTU of an "interface" to 1500 -- when the external network and the storage network are different VLANs on the same physical interface, for example. Change-Id: Ic5ea6ad05118fd57c26c898a460c19969de4109d Closes-Bug: #1539821
2015-08-17Support multiple addresses assignment with eniTomoki Sekiyama1-1/+29
Currently only the first IPv4/v6 address is assigned to a NIC even if multiple addresses are specified in config file. With this change, eni implementation can configure multiple IPv4/v6 addresses for a NIC. Also this fixes IPv6 netmask format, which currently causes an error on ifup. Change-Id: I0a38d376bece8af297bddede594962fd3a193d09
2015-08-02Allow to specify the root directory of the filesystemFrederic Lepied1-1/+1
Change-Id: Ice1b8d17804cf7a0aafd308945a5e960fe927bbc
2015-03-05Add a --no-activate option to disable device up/down actionsSteven Hardy1-0/+19
Allows you to only install the config, but not take interfaces down/up. Useful if you wish to defer activation of a new config until a later time (e.g reboot). Change-Id: I42f3195e1d3d5d3b9d1c9dbb1f7cf1364503cbd3
2015-02-24Remove deprecated references to oslo-incubatorSteven Hardy1-1/+2
Purge references to modules which have been deprecated by various oslo libraries. Requires changes to use oslo.utils and oslo.concurrency, which are added to the requirements, syncing with the latest in global requirements so we can also move to the un-namespaced oslo package names. Change-Id: Idacb71b7871330e3b3fabf4a926a5b8987614c4d
2014-08-22Add support for ovs_extra.Dan Prince1-0/+23
Adds support for ovs_extra to the OVS Bridge and OVS bond objects.
2014-08-14Use underscores for provider function names.Dan Prince1-17/+17
2014-08-12Set the MAC to the primary interfaceDan Prince1-0/+18
Adds support for a new 'primary' interface option exposed via the object model and JSON parsers which can be used to force the MAC address on a bridge. Only one interface on a given bridge (or bond) may be set as the primary interface. Also, update the ifcfg and eni providers so that they use OVS_EXTRA (or ovs_extra) to pin the mac accordingly.
2014-07-07Add copyrights to files.Dan Prince1-1/+2
2014-07-03ENI: bring up bridges first on DebianDan Prince1-1/+1
We should bring up the interfaces on boot in the same order with which we bring them up in this tool.
2014-07-02ENI: enable 'auto' on bridges by defaultDan Prince1-1/+2
2014-07-02Add vlan support for the ENI implementation.Dan Prince1-2/+28
2014-07-02ENI fixes for v4/v6 ips. DHCP test fixes.Dan Prince1-26/+38
Updates the ENI format so it creates multiple config sections for a single os-net-config interface object if both v4 and v6 IP addresses are defined. Also, fixes several of the test so that DHCP is not enabled on OvsPorts. If an OVS port is part of a bridge that is itself using DHCP we don't also need to run DHCP on the OvsPort interface.
2014-06-25Vlan object and support for ifcfg.Dan Prince1-1/+1
Add ifcfg configuration support for Vlans and Vlan OVS ports.
2014-06-24Initial commit for basic ENI Debian/Ubuntu network configmarios1-0/+162
This uses /etc/network/interfaces single file format. Includes basic tests