Commit 6f88e19
authored
feat(controller): skip appending VM LSPs if default Multus network is present (#5106)
Updated the logic in getVMLsps to check for a default Multus network in VM specifications. If a default Multus network is found, the corresponding VM LSP will not be appended to the list. This change ensures that only VMs without a default Multus network are processed for LSP creation.
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>1 parent 9fc5197 commit 6f88e19
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
971 | | - | |
972 | | - | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
973 | 982 | | |
974 | 983 | | |
975 | 984 | | |
| |||
0 commit comments