[ovs-git] [ovn-org/ovn] 820a71: lib: Add infrastructure for VIF plug providers.
Frode Nordahl
noreply at github.com
Fri Nov 5 19:36:01 UTC 2021
Branch: refs/heads/main
Home: https://github.com/ovn-org/ovn
Commit: 820a711d3008b1f497e3d531440305886b35e09a
https://github.com/ovn-org/ovn/commit/820a711d3008b1f497e3d531440305886b35e09a
Author: Frode Nordahl <frode.nordahl at canonical.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M Documentation/automake.mk
M Documentation/topics/index.rst
A Documentation/topics/vif-plug-providers/index.rst
A Documentation/topics/vif-plug-providers/vif-plug-providers.rst
M acinclude.m4
M configure.ac
M controller/automake.mk
A controller/test-vif-plug.c
A controller/vif-plug.c
A controller/vif-plug.h
M lib/automake.mk
A lib/vif-plug-provider.c
A lib/vif-plug-provider.h
A lib/vif-plug-providers/dummy/vif-plug-dummy.c
M ovn-architecture.7.xml
M tests/automake.mk
A tests/ovn-vif-plug.at
Log Message:
-----------
lib: Add infrastructure for VIF plug providers.
New lib/vif-plug-provider module contains the infrastructure for
registering VIF plug provider classes which may be hosted inside
or outside the core OVN repository.
New controller/vif-plug module adds internal interface for
interacting with the VIF plug providers.
Extend build system to allow building of built-in VIF plug
providers and linking an externally built VIF plug provider.
Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Han Zhou <hzhou at ovn.org>
Commit: f68514622a2e02f5c9f46a1d1ace75df719b82ca
https://github.com/ovn-org/ovn/commit/f68514622a2e02f5c9f46a1d1ace75df719b82ca
Author: Frode Nordahl <frode.nordahl at canonical.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M controller/ovn-controller.c
Log Message:
-----------
ovn-controller: Prepare VIF plug provider infrastructure.
Add `enable-dummy-plug` option - To enable testing of the VIF plug
provider infrastructure without building OVN with an external VIF
plug provider we include a dummy implementation which can be
enabled using this command line option.
Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Han Zhou <hzhou at ovn.org>
Commit: 42ce56175f8cd18014fac3c62048c70de30b9002
https://github.com/ovn-org/ovn/commit/42ce56175f8cd18014fac3c62048c70de30b9002
Author: Frode Nordahl <frode.nordahl at canonical.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M controller/ovn-controller.c
M ovn-nb.xml
M tests/ovn-macros.at
M tests/ovn.at
Log Message:
-----------
controller: Consider plugging VIF on CMS request.
When OVN is linked with an appropriate VIF plug provider,
CMS can request an OVN controller to plug individual lports into
the Open vSwitch instance it manages.
The port and interface record will be maintained throughout the
lifetime of the lport and it will be removed on release of lport.
Add port by interfaces index - To be able to effectively remove
ports previously plugged by us we need to look up ports by
interface records.
Add Port_Binding by requested_chassis index - To be able to
effectively iterate over ports destined to our chassis we need to
look up Port_Binding records by requested_chassis.
Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Han Zhou <hzhou at ovn.org>
Commit: a0ab19c12f33249df886e1bc5a862799aaf21f42
https://github.com/ovn-org/ovn/commit/a0ab19c12f33249df886e1bc5a862799aaf21f42
Author: Frode Nordahl <frode.nordahl at canonical.com>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M NEWS
Log Message:
-----------
NEWS: Add note on infrastructure for VIF plug providers.
Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
Signed-off-by: Han Zhou <hzhou at ovn.org>
Compare: https://github.com/ovn-org/ovn/compare/ba71a5d813a9...a0ab19c12f33
More information about the git
mailing list