Commit 8ce3b42
authored
ovsnl: only fail if no known families are found (#88)
Before this commit the ovnl client logic was such that it needs to be
kept in lock-step synchronization with a particular version of the
netlink interface. This is too fragile, as each new update requires
touching this logic, which in turn makes it non-backward compatible.
This commit flips the logic on its head and instead makes the client
complains only if no 'known' families are found. This makes the init
logic future proof and backward compatible.1 parent b8197d4 commit 8ce3b42
2 files changed
+11
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | 83 | | |
85 | | - | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
92 | | - | |
93 | | - | |
| 90 | + | |
94 | 91 | | |
95 | | - | |
| 92 | + | |
96 | 93 | | |
| 94 | + | |
97 | 95 | | |
98 | 96 | | |
99 | | - | |
| 97 | + | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 102 | | |
110 | 103 | | |
111 | 104 | | |
| |||
118 | 111 | | |
119 | 112 | | |
120 | 113 | | |
121 | | - | |
122 | | - | |
123 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
124 | 117 | | |
125 | | - | |
126 | | - | |
127 | 118 | | |
128 | 119 | | |
129 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
| |||
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | | - | |
| 78 | + | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 82 | | |
89 | 83 | | |
90 | 84 | | |
| |||
0 commit comments