Commit 4d9815e
committed
feat(network): OSC-parity
Lot 1a of the Neutron audit (2026-04-28). OSC consistently uses ``set``
as the verb for in-place mutation; orca uses ``update`` (matching the
Neutron API endpoint name). Both are valid — expose ``set`` as a
literal Click-level alias on the same callback so users coming from
``openstack ...`` find their muscle memory works out of the box.
Aliases added (no logic duplication — same Command object registered
under a second name):
orca network set ≡ orca network update
orca network port set ≡ orca network port update
orca network subnet set ≡ orca network subnet update
orca network router set ≡ orca network router update
orca network rbac set ≡ orca network rbac update
orca security-group set ≡ orca security-group update
Six gaps closed from the OSC delta. ruff/mypy clean, pytest 2676
passed (no new test added — the alias is a literal re-export, the
underlying ``update`` already has full coverage).
Lots 1b–11 follow (qos rule show/set, subnet-pool/trunk unset,
address group/scope, FIP port-forwarding, metering, segment ranges,
flavor + flavor-profile, L3 conntrack helper, router NDP proxy,
local IP, IP availability, agent binding).set aliases for Neutron resources1 parent 4c70500 commit 4d9815e
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
349 | 353 | | |
350 | 354 | | |
351 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
352 | 360 | | |
353 | 361 | | |
354 | 362 | | |
| |||
443 | 451 | | |
444 | 452 | | |
445 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
446 | 458 | | |
447 | 459 | | |
448 | 460 | | |
| |||
811 | 823 | | |
812 | 824 | | |
813 | 825 | | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
814 | 830 | | |
815 | 831 | | |
816 | 832 | | |
| |||
1021 | 1037 | | |
1022 | 1038 | | |
1023 | 1039 | | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1024 | 1044 | | |
1025 | 1045 | | |
1026 | 1046 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
0 commit comments