Hi. Thank you for the answers! I didn't know about `openstack extension list --network` and now I saved the command Yes, I saw networking-bgvpn and other Neutron projects and the blog: http://control-that-vm.blogspot.com/2014/07/understanding-pre-requisites-of-... but I need a simple example. So I want to understand how this test plugin works. So I need to add `extension_drivers = neutron.tests.unit.plugins.ml2.drivers.ext_test:TestExtensionDriver` to /etc/neutron/plugins/ml2/ml2_conf.ini if I want to try the extension driver, right?
Hi,The fake_extension is used only in unit tests to test the extension framework, i.e. : https://opendev.org/openstack/neutron/src/branch/master/neutron/tests/unit/p...
If you would like to write an API extension check neutron-lib/api/definitions/ (and you can find the extensions "counterpart" under neutron/extensions in neutron repository)
You can also check other Networking projects like networking-bgvpn, neutron-dynamic-routing to have examples of API extensions. If you have an extension under neutron/extensions and there's somebody who uses it (see [1]) you will see it is loaded in neutron servers logs (something like this: "Loaded extension: address-group") and you can find it in the output of openstack extension list --network
[1]: https://opendev.org/openstack/neutron/src/branch/master/neutron/plugins/ml2/...
Best wishes Lajos Katona
Igor Zhukov <fsb4000@yandex.ru> ezt írta (időpont: 2022. aug. 22., H, 19:41):
Hi all!
Sorry for a complete noob question but I can't figure it out 😿
So if I want to add Fake ML2 extension what should I do?
I have neutron server installed and I have the file: https://github.com/openstack/neutron/blob/master/neutron/tests/unit/plugins/...
How to configure neutron server, where should I put the file, should I create another files? How can I test that it works?