diff options
author | OlegBravo <oleg.bravo.ru@gmail.com> | 2019-10-15 16:13:37 +0300 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-10-30 16:13:47 +0100 |
commit | 12661e2f21e9c8c68d6d174f5ff5b952e394c8a2 (patch) | |
tree | c3abfed2cb039540827e66ab322ece8a8dd58235 /shared/nm-meta-setting.c | |
parent | 5535dcf51ba759555a8e20504030dc59e526925e (diff) | |
download | NetworkManager-contrail/vrouter.tar.gz |
Vhost0 management integration.contrail/vrouter
Removing systemd networking configuration at RHEL8 jeopardized Contrail Virtual
Router deployment (https://github.com/Juniper/contrail-vrouter ) - multiple CNI
are based on this project.
Problem is in configuring vhost0 - layer3 interface , used between host OS and
Vrouter itself. It is being configured with systemd now , but for newest RHEL
major release this functionality should be moved to NetworkManager.
This will also benefit recent problems we had with OpenShift which also uses NM.
Documentation was added into README.md , for new functinality testing - just
follow it , creating of vhost0 interface is expted as successfull result.
Diffstat (limited to 'shared/nm-meta-setting.c')
-rw-r--r-- | shared/nm-meta-setting.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/nm-meta-setting.c b/shared/nm-meta-setting.c index af5aa8429d..4b15f7ea9e 100644 --- a/shared/nm-meta-setting.c +++ b/shared/nm-meta-setting.c @@ -16,6 +16,7 @@ #include "nm-setting-bridge.h" #include "nm-setting-cdma.h" #include "nm-setting-connection.h" +#include "nm-setting-contrail-vrouter.h" #include "nm-setting-dcb.h" #include "nm-setting-dummy.h" #include "nm-setting-ethtool.h" @@ -207,6 +208,12 @@ const NMMetaSettingInfo nm_meta_setting_infos[] = { .setting_name = NM_SETTING_CONNECTION_SETTING_NAME, .get_setting_gtype = nm_setting_connection_get_type, }, + [NM_META_SETTING_TYPE_CONTRAIL_VROUTER] = { + .meta_type = NM_META_SETTING_TYPE_CONTRAIL_VROUTER, + .setting_priority = NM_SETTING_PRIORITY_HW_BASE, + .setting_name = NM_SETTING_CONTRAIL_VROUTER_SETTING_NAME, + .get_setting_gtype = nm_setting_contrail_vrouter_get_type, + }, [NM_META_SETTING_TYPE_DCB] = { .meta_type = NM_META_SETTING_TYPE_DCB, .setting_priority = NM_SETTING_PRIORITY_HW_AUX, |