Commit d65df4d
Martin Belanger
python bindings: redesign Phase 2 — API surface polish
- Convert connected() and is_registration_supported() to read-only
Python properties (connected, registration_supported)
- Delete set_symname(); host.hostsymname is already writable via the
generated SWIG field descriptor
- Rename registration_ctrl() to registration_control() to reflect that
the method is a multi-action control interface (register, deregister,
update via NVMF_DIM_TAS_*), not a single register operation
- Update test-objects.py to match the new API
Signed-off-by: Martin Belanger <[email protected]>
Assisted-by: Claude Sonnet <[email protected]>1 parent 84dd0d9 commit d65df4d
2 files changed
Lines changed: 20 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
887 | 887 | | |
888 | 888 | | |
889 | 889 | | |
890 | | - | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | 890 | | |
897 | 891 | | |
898 | 892 | | |
| |||
938 | 932 | | |
939 | 933 | | |
940 | 934 | | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | 935 | | |
947 | 936 | | |
948 | 937 | | |
| |||
1161 | 1150 | | |
1162 | 1151 | | |
1163 | 1152 | | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
1168 | 1153 | | |
1169 | 1154 | | |
1170 | 1155 | | |
| |||
1190 | 1175 | | |
1191 | 1176 | | |
1192 | 1177 | | |
1193 | | - | |
1194 | | - | |
| 1178 | + | |
1195 | 1179 | | |
1196 | 1180 | | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
1197 | 1194 | | |
1198 | 1195 | | |
1199 | 1196 | | |
1200 | 1197 | | |
1201 | | - | |
1202 | | - | |
| 1198 | + | |
| 1199 | + | |
1203 | 1200 | | |
1204 | 1201 | | |
1205 | 1202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments