aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-07-08Add logging to the eni provider.Dan Prince2-5/+28
2014-07-08Add logging to the ifcfg provider.Dan Prince1-0/+22
2014-07-07Add copyrights to files.Dan Prince12-15/+22
2014-07-03ENI: bring up bridges first on DebianDan Prince2-5/+9
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 Prince2-1/+3
2014-07-02Update impl_eni to set the MTU.Dan Prince1-0/+2
2014-07-02ifcfg: don't call set Interface for vlans...Dan Prince2-5/+0
Drop the 'set Interface $DEVICE external-ids:iface-id=...' config from ifcfg ovs vlans.
2014-07-02Add vlan support for the ENI implementation.Dan Prince2-7/+60
2014-07-02Update impl_eni so it ifup's the interfacesDan Prince1-2/+6
We were shutting the interfaces down but not bringing them up again. This fixes that...
2014-07-02ENI fixes for v4/v6 ips. DHCP test fixes.Dan Prince2-46/+67
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-07-01Add os-net-config CLIDan Prince5-3/+149
Adds a new CLI which parses the JSON and calls the configured provider to apply the configuration.
2014-07-01Implement object json parsing functions.Dan Prince2-6/+259
Adds a from_json static method to all objects. Also adds a top level object_from_json function that can be used for all the interface and bridge types. (everything except addresses and routes). This should be useful for wiring processing JSON from the CLI.
2014-07-01Remove some extra print statements.Dan Prince1-2/+0
2014-06-26Add OvsBond object and impl for ifcfg format.Dan Prince4-15/+83
Supports the configuration of OVS bond interfaces. Also adds the ability to configure extra OVS_OPTIONS for both bonds and bridges (useful for some modes of operation)
2014-06-26Consolidate OVS_EXTRA for the vlan test.Dan Prince1-3/+4
Consolidates the test data into a single string block for the ovs vlan port test string.
2014-06-25Vlan object and support for ifcfg.Dan Prince5-36/+113
Add ifcfg configuration support for Vlans and Vlan OVS ports.
2014-06-24Merge branch 'impl_eni'Dan Prince2-0/+294
2014-06-24Initial commit for basic ENI Debian/Ubuntu network configmarios2-0/+294
This uses /etc/network/interfaces single file format. Includes basic tests
2014-06-13Adds link to spec in the readmemarios1-1/+9
2014-06-11Add OvsBridge configuration supportDan Prince4-34/+162
Adds new object for OvsBridge. Also update the ifcfg network config class to support adding bridges. As part of the change both the bridge and interface classes extend a _BaseOpts base class.
2014-06-10Implement apply for ifcfg implementationDan Prince6-40/+138
Adds an apply function to the ifcfg implementation which: 1) Shuts down existing interfaces w/ ifdown 2) writes new interfaces config files (routes too) 3) Starts up new interfaces w/ ifup
2014-06-09Import processutils from oslo-incubator.Dan Prince11-2/+2265
2014-06-09Initial ifcfg implementation for interfaces/routesDan Prince5-4/+238
Ifcfg formatted persistence for interfaces and routes.
2014-06-09Add interface, address, and route objectsDan Prince8-7/+83
Add some initial objects for interfaces, routes and addresses.
2014-06-06Initial commitDan Prince26-0/+643
Initial commit of the project layout