)]}'
{"id":"openstack%2Fcodegenerator~1018210","triplet_id":"openstack%2Fcodegenerator~master~I4ded1b6487d6778c2c0d434ab947f63ce79366e7","project":"openstack/codegenerator","branch":"master","hashtags":[],"change_id":"I4ded1b6487d6778c2c0d434ab947f63ce79366e7","subject":"Enable trunk subports operations and fix port trunk_details schema","status":"MERGED","created":"2026-12-01 12:48:13.000000000","updated":"2026-12-01 14:49:55.000000000","submitted":"2026-12-01 14:48:28.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"1018210","meta_rev_id":"6bbe914a264bc7589af6dad0bfb9bd379c4df185","_number":1018210,"virtual_id_number":1018210,"owner":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2026-12-01 14:48:27.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"all":[{"value":2,"date":"2026-12-01 13:39:55.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"all":[{"value":1,"date":"2026-12-01 13:39:55.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-12-01 13:24:06.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"b19e0f72ec62eae605dfcbbbb94af3a6868097c3","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"date":"2026-12-01 12:48:13.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"908878988a6cec16ab3bf61b275bbec8317f802c","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-01 13:24:06.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/7bcd408516f046adbeda0cc837b3f1cf\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/ed794c38eddb4c7f9d32ba1e5c74e192 : SUCCESS in 2m 38s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/a63a7a093f504ae9b850db1219264442 : SUCCESS in 3m 30s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/c57ab1197f054ac5995eb7de2ae078c0 : SUCCESS in 3m 20s\n- codegenerator-openapi-baremetal-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/a8d94cd8a2ba4950a1cdbd940c6ad6d9 : SUCCESS in 6m 13s\n- codegenerator-openapi-block-storage-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/19ec0c86338842fc8e92c7b9e81733be : SUCCESS in 6m 24s\n- codegenerator-openapi-compute-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/f0db724ecb0f4c57b38290e3847c57fb : SUCCESS in 4m 48s\n- codegenerator-openapi-container-infrastructure-management-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/e3959866b30d420f9491faf9f6f70c3c : SUCCESS in 3m 25s\n- codegenerator-openapi-dns-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/5eca07342c6341e1a1ab6c88cb7c21d5 : SUCCESS in 4m 11s\n- codegenerator-openapi-identity-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/f7140b7152404aeb847354cea6601eef : SUCCESS in 4m 00s\n- codegenerator-openapi-identity-tips https://zuul.opendev.org/t/openstack/build/ce783ea17bac423f89ad82f70e604581 : SUCCESS in 2m 55s\n- codegenerator-openapi-image-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/e6fb8d5017bb4bf494da079e790e7b13 : SUCCESS in 3m 27s\n- codegenerator-openapi-key-manager-tips https://zuul.opendev.org/t/openstack/build/c5ad7c06f7e94007a8d0f50444b50a38 : SUCCESS in 2m 42s\n- codegenerator-openapi-load-balancing-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/9c1915bb4d0949c19bf6ed99b69ef033 : SUCCESS in 6m 04s\n- codegenerator-openapi-network-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/5ae63a43808844dbad19415831ddce86 : SUCCESS in 8m 46s\n- codegenerator-openapi-object-store-static https://zuul.opendev.org/t/openstack/build/ae74944a21f249d8a996601be9853dd0 : SUCCESS in 1m 28s\n- codegenerator-openapi-placement-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/9a3ecdb6662e4ff4a31c9828174f7a18 : SUCCESS in 3m 05s\n- codegenerator-openapi-shared-file-system-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/af8eea19fe2847318bb728eb551685d7 : SUCCESS in 6m 14s\n- codegenerator-tox-publish-openapi-specs https://zuul.opendev.org/t/openstack/build/d0e11ea4c96e40b9a3bd43b9fc24b6a9 : SUCCESS in 4m 16s\n- codegenerator-rust-all https://zuul.opendev.org/t/openstack/build/534fbdd5900b4242aa01ffc46f674c0e : SUCCESS in 20m 27s","accounts_in_message":[],"_revision_number":1},{"id":"26ffaa133526906eb05f7e7af489d4d72162fd2a","author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"date":"2026-12-01 13:39:55.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":1},{"id":"a066892019cc2260850a5f66ef497f072ad479a7","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-01 13:40:24.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"95aed5abd1ee702e76110ef40db239181e70a2b7","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-01 14:48:27.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/cb2bfdc1cf4f4313939d72f71c49a809\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/3ac9ba681def43bb9b567dce896edc2c : SUCCESS in 4m 08s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/1477a43231584f7fab6b17fba1e83192 : SUCCESS in 4m 02s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/377ea7ff8add42d48d3e2cdf0cf1c8a0 : SUCCESS in 3m 19s\n- codegenerator-openapi-baremetal-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/e1f6a187ac184c9193b38e7b2490c288 : SUCCESS in 6m 34s\n- codegenerator-openapi-block-storage-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/36a090f0d8ba4b18bcfdd5a8acb26cc2 : SUCCESS in 7m 58s\n- codegenerator-openapi-compute-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/f9cb06e6bc1b4e13bbed64cb17dafdcc : SUCCESS in 8m 05s\n- codegenerator-openapi-container-infrastructure-management-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/a7bceb70e73349669134d979d96325ec : SUCCESS in 4m 24s\n- codegenerator-openapi-dns-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/e859f6238b0e43e2834a8a4606b9f5d2 : SUCCESS in 6m 48s\n- codegenerator-openapi-identity-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/16f1b090f60a440281825a01062c5838 : SUCCESS in 7m 43s\n- codegenerator-openapi-image-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/1e420c6072874e0d8c3214e8b6cc25a0 : SUCCESS in 5m 36s\n- codegenerator-openapi-key-manager-tips https://zuul.opendev.org/t/openstack/build/d68a19db08784873b0443b1b99a940f9 : SUCCESS in 3m 43s\n- codegenerator-openapi-load-balancing-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/1d22d917ac724f1d9cbd391a5da069f6 : SUCCESS in 5m 50s\n- codegenerator-openapi-network-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/27984b2fc0664147bce15dcf34e9c012 : SUCCESS in 5m 30s\n- codegenerator-openapi-object-store-static https://zuul.opendev.org/t/openstack/build/ec710a8e4efe4d30892d1a5bb02fb992 : SUCCESS in 1m 46s\n- codegenerator-openapi-placement-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/2538b90d2f0844ff871ea89f271338b4 : SUCCESS in 4m 16s\n- codegenerator-openapi-shared-file-system-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/3c006efe74d547efbc5786950bcdf9a1 : SUCCESS in 6m 07s\n- codegenerator-tox-publish-openapi-specs https://zuul.opendev.org/t/openstack/build/f843870c4faa4a07bfea4747aeb56c80 : SUCCESS in 2m 41s\n- codegenerator-rust-all https://zuul.opendev.org/t/openstack/build/8b335764136f4539a683fa8fbd5877cc : SUCCESS in 44m 02s","accounts_in_message":[],"_revision_number":1},{"id":"bae5e23a461faa6f60a22abdc703df97aa79d5f0","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-01 14:48:28.000000000","message":"Change has been successfully merged","accounts_in_message":[],"_revision_number":1},{"id":"6bbe914a264bc7589af6dad0bfb9bd379c4df185","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-01 14:49:55.000000000","message":"Patch Set 1:\n\nBuild succeeded (promote pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/9c3100c0996e40b882de600c21e31832\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/da53249a57e241229653aaa014811e18 : SUCCESS in 53s\n- codegenerator-propose-rust-openstack-change https://zuul.opendev.org/t/openstack/build/1201e5a4b5bd4db9930194959eb0d2af : SUCCESS in 1m 07s\n\nWarning:\n  File openstack/.clog.toml found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post.yaml for job codegenerator-propose-rust-openstack-change.  Add to preserve-home-paths if safe, or otherwise remove.\n  File openstack/dist-workspace.toml found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post.yaml for job codegenerator-propose-rust-openstack-change.  Add to preserve-home-paths if safe, or otherwise remove.\n  File openstack/Cargo.toml found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post.yaml for job codegenerator-propose-rust-openstack-change.  Add to preserve-home-paths if safe, or otherwise remove.\n  File openstack/LICENSE found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post.yaml for job codegenerator-propose-rust-openstack-change.  Add to preserve-home-paths if safe, or otherwise remove.\n  File openstack/release-plz.toml found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post.yaml for job codegenerator-propose-rust-openstack-change.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post.yaml for job codegenerator-propose-rust-openstack-change.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/cleanup.yaml for job codegenerator-propose-rust-openstack-change.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post-logs.yaml for job codegenerator-propose-rust-openstack-change.  Add to preserve-home-paths if safe, or otherwise remove.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"3a45abe00813b59b0b7d30a8b0c725a5c05ae4f6","revisions":{"3a45abe00813b59b0b7d30a8b0c725a5c05ae4f6":{"kind":"REWORK","_number":1,"created":"2026-12-01 12:48:13.000000000","uploader":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"ref":"refs/changes/10/1018210/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/codegenerator","ref":"refs/changes/10/1018210/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/codegenerator refs/changes/10/1018210/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/codegenerator refs/changes/10/1018210/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/codegenerator refs/changes/10/1018210/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/codegenerator refs/changes/10/1018210/1"}}},"commit":{"parents":[{"commit":"40c05475cb6863a45970e08b7f756298dc85ca04","subject":"Fix magnum pecan route extraction","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/codegenerator/commit/40c05475cb6863a45970e08b7f756298dc85ca04"}]}],"author":{"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","date":"2026-12-01 12:45:34.000000000","tz":60},"committer":{"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","date":"2026-12-01 12:47:26.000000000","tz":60},"subject":"Enable trunk subports operations and fix port trunk_details schema","message":"Enable trunk subports operations and fix port trunk_details schema\n\nAdd add_subports, get_subports and remove_subports operations to the\nnetwork.trunk resource for rust-cli, rust-sdk and rust-types, matching\nthe trunk ACTION_MAP endpoints (PUT add_subports, PUT remove_subports,\nGET get_subports).\n\nHandle the new GET action in resource-name URL processing: add \"get\"\nto the trailing action keywords so trunks/{id}/get_subports resolves\nto the flat trunk module instead of a nested trunk/get_subport/\nmodule. The only other spec paths with a trailing get segment\n(scheduler-stats/get_pools, os-services/get-log) are either covered by\nexact-path overrides or not present in any metadata.\n\nThe trunk-details extension adds a trunk_details attribute to the port\nresource with no declarative schema, so the generator fell back to a\nuseless \"type: string\". Hardcode the structure assembled by the trunk\nplugin at runtime: trunk_id plus a sub_ports list of segmentation_id,\nsegmentation_type, port_id and mac_address. Exclude it from the port\ncreate response: a new port cannot be a trunk parent yet and\ncreate_port skips resource extensions, so the field is never present\nthere; show, update and list responses keep it.\n\nGive type:mac_address (and the hardcoded floatingip port_details\nmac_address) a pattern matching the notations accepted by the server\nvalidator (netaddr.valid_mac): colon-, dash- and dot-separated as well\nas bare hex, case-insensitive.\n\nChange-Id: I4ded1b6487d6778c2c0d434ab947f63ce79366e7\nSigned-off-by: Artem Goncharov \u003cartem.goncharov@gmail.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/codegenerator/commit/3a45abe00813b59b0b7d30a8b0c725a5c05ae4f6"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/codegenerator/commit/3a45abe00813b59b0b7d30a8b0c725a5c05ae4f6"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"CLOSED","labels":[{"label":"Verified","status":"MAY","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"MAY","applied_by":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"}},{"label":"Workflow","status":"MAY","applied_by":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"}}]}],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX"],"failing_atoms":["label:Verified\u003dMIN"],"atom_explanations":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dMAX"],"failing_atoms":["label:Code-Review\u003dMIN"],"atom_explanations":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Workflow\u003dMAX"],"failing_atoms":["label:Workflow\u003dMIN"],"atom_explanations":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
