Commit Graph

12 Commits

Author SHA1 Message Date
caoyuan 9fb828291c Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I2125f9e2912aa7ac5346292d23643fdea003d7c0
Closes-Bug: #1826826
2019-04-29 13:24:37 +08:00
qingszhao 1e4cf6160e Add release note link in README
Change-Id: Ie5d9378d1d66550deee3420c25653a63a9ee038a
2018-06-27 15:52:27 +00:00
melissaml dc17cd1fab Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: Iecf9266b8068be5288fe006987a2c0e0db29c1d5
2018-04-21 03:13:36 +08:00
melissaml cb9f3a4928 Update links in README
Change the outdated links to the latest links in README

Change-Id: Ib94f1854d9bf16cf8cd4d3a57fbd3a69c53ffe32
2018-02-28 02:15:53 +08:00
Hangdong Zhang 1338a712d1 Update the documentation link for doc migration
Change-Id: If544f74006c4605fac861d61b615140fea23691f
2017-07-24 17:20:28 +08:00
Stephen Finucane 310736b576 Standardize README
I had trouble finding the hosted docs for os-vif, which means others are
likely to too. Use the oslo-style README and refer people to other
resources.

Change-Id: I5d7791c86051c5fef20e3deb8bddc29991dd61e3
2017-04-26 15:02:24 +01:00
Janonymous 103dc6c74f Argument should have 2 params
Correcting example

Change-Id: I8ad697841117c4a0d529d61415cb17e54aadc5aa
2017-03-29 11:17:58 +00:00
Flavio Percoco f84c4fa115 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

b'https://gist.github.com/1130964dc1fba3df1e359fcd931ad6db\n'

Change-Id: Ia8bec915424f8461b27e3a58b97fe45921437fb0
2016-11-25 13:56:21 +01:00
Daniel P. Berrange 72d5dfbf48 Provide plugins an oslo_config group for their setup
The plugin implementations need to be isolated from the
entity that is using os-vif. Plugins should be allowed
to define their own custom config parameters, without
needing the user of os-vif to pass further options into
the os_vif.initialize() method.

This change introduces a CONFIG_OPTS attribute on the
Plugin class. This provides a list of oslo_config
options that are to be used by the plugin. os_vif will
register these options into a group 'os_vif_$PLUGIN'
eg 'os_vif_linux_bridge'.

This gives the plugin impls the ability to have config
options in the main project conf (ie /etc/nova/nova.conf)
without exposing them directly to all of nova's own
config options.

Change-Id: I9634b474cd0d3fda09aef5800020c9415c28e3d8
2016-02-16 11:06:58 +00:00
Daniel P. Berrange 11af752a5a Add formal classes for each of the types of VIF backend config
The current VIF object model is just a direct representation
of the ill-defined nova.network.model.VIF class. Many of the
attributes are only relevant for certain VIF types. Other
attributes are just indirectly representing different plugin
schemes (eg OVS hybrid vs direct should be done as two
plugins, not a boolean on the VIF object).

Some of the attributes are generic metadata related to the
network port that can be associated with multiple VIF types
regardless of how the port is connected to the guest.

This refactors the VIF class so that there is a base class
defining the common data, and then subclasses providing the
VIF type specific data. There are initially 5 core VIF backend
class defined, which are sufficient to cover all the current
usage in the libvirt driver and some usage in other drivers.
It is expected that a couple more VIF types may be added for
vmware/hyper, when those drivers are later converted. The
generic network port profile data is represented by the new
VIFPortProfileBase class and its subclasses.

The various property/methods which were defined are also
removed as most of this is logic that belongs in the
corresponding vif plugin implementation, not on the core
data model.

Change-Id: Id286f85cd5fe7ca80f02d95f6380979a0d920ef6
2016-01-28 16:12:18 +00:00
Daniel P. Berrange 664d363857 remove dependancy on nova object model
The from_nova_instance method on the InstanceInfo
class creates a dependancy on the nova object model.

The os_vif library is intended for use by any
compute layer, not just nova, so this method
should live in Nova codebase instead.

Change-Id: I7e23c266b73aecb96beba7be19b8dc36155b9e2e
2016-01-18 13:28:40 +00:00
Jay Pipes 8023f33453 Import of code from https://github.com/jaypipes/os_vif
Initial commit using code imported from

  https://github.com/jaypipes/os_vif

This patch also includes the following fixes to make the import pass all
jenkins jobs:
 - add doc/source/conf.py and index.rst
 - sync with global requirements

Change-Id: Iac6a9d45ea799eaa71f895af115e966c28246a22
2016-01-13 12:56:01 -05:00