)]}'
{"id":"openstack%2Fcodegenerator~1018020","triplet_id":"openstack%2Fcodegenerator~master~I0353afc49c0249bb170f538ebdf246570805927d","project":"openstack/codegenerator","branch":"master","hashtags":[],"change_id":"I0353afc49c0249bb170f538ebdf246570805927d","subject":"Enable trunk resource in network spec generation and metadata","status":"MERGED","created":"2026-11-30 15:14:51.000000000","updated":"2026-11-30 18:22:34.000000000","submitted":"2026-11-30 18:21:15.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":"1018020","meta_rev_id":"d3378d1d8c3c5514205be1b634f0c9d2ac662419","_number":1018020,"virtual_id_number":1018020,"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-11-30 18:21:15.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-11-30 17:08:24.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-11-30 17:08:24.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-11-30 16:52: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":"6c802bbf43a1a7923e59a4b4c7a3f8e65d7c131d","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"date":"2026-11-30 15:14:51.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"4fd9cd4d00474293b6ccd80d26438508d9d861b1","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-11-30 16:52:06.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/695cda14ed5a44bd844a06a957de8fca\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/16650fe7c3e04dcd81517eca70a99977 : SUCCESS in 4m 34s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/d24a991126fb4e82984e71b889455ebc : SUCCESS in 3m 13s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/665ab767e164488ab3c5205b535fe55f : SUCCESS in 3m 18s\n- codegenerator-openapi-baremetal-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/ec5ad00a5b14468eabae500b54666058 : SUCCESS in 7m 54s\n- codegenerator-openapi-block-storage-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/1caea28cca2148a68797ace78d3f358f : SUCCESS in 8m 20s\n- codegenerator-openapi-compute-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/a506318fe3334e3a8eec368501bc8f57 : SUCCESS in 7m 14s\n- codegenerator-openapi-container-infrastructure-management-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/e76888dcf69b4cce9cbf5c293170e5b2 : SUCCESS in 5m 07s\n- codegenerator-openapi-dns-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/90211b41b94c4f74aa4c69f67d7407d1 : SUCCESS in 4m 07s\n- codegenerator-openapi-identity-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/21abf8d8237049e5a9cacd15ce8aa18f : SUCCESS in 6m 35s\n- codegenerator-openapi-identity-tips https://zuul.opendev.org/t/openstack/build/91a57733862047c89c994c0dc883db09 : SUCCESS in 3m 20s\n- codegenerator-openapi-image-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/bb1102cdb941448b9e9b9c4c70ad736a : SUCCESS in 4m 03s\n- codegenerator-openapi-key-manager-tips https://zuul.opendev.org/t/openstack/build/0e7eaa495a8c4bf48352cb9c8497e772 : SUCCESS in 2m 55s\n- codegenerator-openapi-load-balancing-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/23eb4c0398bc424bb1eba36474e11fed : SUCCESS in 3m 31s\n- codegenerator-openapi-network-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/9378a0e872cc4ff38396eb3d8cfe8951 : SUCCESS in 7m 52s\n- codegenerator-openapi-object-store-static https://zuul.opendev.org/t/openstack/build/74b5c20cef8c4a7f9747a7e981aaf946 : SUCCESS in 1m 38s\n- codegenerator-openapi-placement-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/86730381ee8d45a1b5312cfc7c59a828 : SUCCESS in 5m 15s\n- codegenerator-openapi-shared-file-system-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/fb173e80d8cb4d248fc6688f12016752 : SUCCESS in 7m 32s\n- codegenerator-tox-publish-openapi-specs https://zuul.opendev.org/t/openstack/build/c6baf4c9390542c18b460be66245c312 : SUCCESS in 4m 01s\n- codegenerator-rust-all https://zuul.opendev.org/t/openstack/build/cb714deebafe4cf0a1f2538271e2f9dd : SUCCESS in 49m 50s","accounts_in_message":[],"_revision_number":1},{"id":"500f57143ee5681ce592a2253fa135bcaaee3267","author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"date":"2026-11-30 17:08:24.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":1},{"id":"c2d8d8e7dcb02c3506b6670fa4e8836df66a891f","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-11-30 17:08:52.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"20884cae8c3da2f8bf9c11f235dad0e67841c599","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-11-30 18:21:15.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/7a2c82d496314db1be1c6d861979d5c1\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/3447d4277b7745cb911b237f21f9d704 : SUCCESS in 4m 27s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/977260c3c05b42fb83195642f14ea300 : SUCCESS in 3m 34s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/748f93cdff1d42a7a4dd5c82cc7ea5c5 : SUCCESS in 5m 07s\n- codegenerator-openapi-baremetal-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/e9c96219ae674868bab507a40eee47f8 : SUCCESS in 7m 18s\n- codegenerator-openapi-block-storage-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/e81b98e915e147de9930d61f64baa14c : SUCCESS in 8m 48s\n- codegenerator-openapi-compute-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/09e0ad1d6be94ab786f155a693429b7e : SUCCESS in 4m 53s\n- codegenerator-openapi-container-infrastructure-management-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/d7050fa28be34a51bc072f747f52c7f8 : SUCCESS in 5m 22s\n- codegenerator-openapi-dns-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/3a32fcef2cc44bbcad35efe33fe938f4 : SUCCESS in 3m 46s\n- codegenerator-openapi-identity-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/8dd371df25be410ebcd34f188fe72e97 : SUCCESS in 7m 25s\n- codegenerator-openapi-image-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/7fc086d39010498aae49c4db090b780c : SUCCESS in 3m 24s\n- codegenerator-openapi-key-manager-tips https://zuul.opendev.org/t/openstack/build/fabfd256cb6e4e77bda6799e764cef98 : SUCCESS in 4m 21s\n- codegenerator-openapi-load-balancing-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/bb1d6db4a4cd4adabdbd054be5af76bd : SUCCESS in 7m 17s\n- codegenerator-openapi-network-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/2775ff6a3e1a4f6e859184dcdf4579cc : SUCCESS in 9m 13s\n- codegenerator-openapi-object-store-static https://zuul.opendev.org/t/openstack/build/9c18384ae9cd4fe7bd13d7419640a0c9 : SUCCESS in 1m 45s\n- codegenerator-openapi-placement-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/18b85068c5d04df7861e1c136d8de624 : SUCCESS in 5m 08s\n- codegenerator-openapi-shared-file-system-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/cbfd593ef0b9464faa1ab693868be4e5 : SUCCESS in 3m 46s\n- codegenerator-tox-publish-openapi-specs https://zuul.opendev.org/t/openstack/build/4ee540cf51cf4c8d84a7bedc88dc4223 : SUCCESS in 5m 38s\n- codegenerator-rust-all https://zuul.opendev.org/t/openstack/build/252c4954ee6a49ee9ce1935b5b810b07 : SUCCESS in 41m 52s","accounts_in_message":[],"_revision_number":1},{"id":"64914e045507d5519d4a963a5d540d8822d171c3","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-11-30 18:21:15.000000000","message":"Change has been successfully merged","accounts_in_message":[],"_revision_number":1},{"id":"d3378d1d8c3c5514205be1b634f0c9d2ac662419","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-11-30 18:22:34.000000000","message":"Patch Set 1:\n\nBuild succeeded (promote pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/c8bbd490ca544b47b92bc8e0570e8707\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/09969af3f36347c9b269701439e8a662 : SUCCESS in 1m 02s\n- codegenerator-propose-rust-openstack-change https://zuul.opendev.org/t/openstack/build/2356a6b16f8e4864bde485c998cd4000 : SUCCESS in 1m 00s\n\nWarning:\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 openstack/Dockerfile 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/.gitignore 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/.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/CONTRIBUTING.md 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":"6b38430b6841d74f31c9dc56e6b6c8951d5ee926","revisions":{"6b38430b6841d74f31c9dc56e6b6c8951d5ee926":{"kind":"REWORK","_number":1,"created":"2026-11-30 15:14:51.000000000","uploader":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"ref":"refs/changes/20/1018020/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/codegenerator","ref":"refs/changes/20/1018020/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/codegenerator refs/changes/20/1018020/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/codegenerator refs/changes/20/1018020/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/codegenerator refs/changes/20/1018020/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/codegenerator refs/changes/20/1018020/1"}}},"commit":{"parents":[{"commit":"a7faf9e12f4a62dae3445630de2f7334fc2e4004","subject":"Fix codegen for CLI delete commands with response bodies","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/codegenerator/commit/a7faf9e12f4a62dae3445630de2f7334fc2e4004"}]}],"author":{"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","date":"2026-11-30 15:13:45.000000000","tz":60},"committer":{"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","date":"2026-11-30 15:13:45.000000000","tz":60},"subject":"Enable trunk resource in network spec generation and metadata","message":"Enable trunk resource in network spec generation and metadata\n\nThe trunk service plugin was commented out in the Neutron OpenAPI\nspec generator: enabling it without a compatible mechanism driver\ncrashed the generation with IncompatibleTrunkPluginConfiguration,\nsince the in-tree trunk driver requires openvswitch in\nml2.mechanism_drivers.\n\n- enable the trunk service plugin and set ml2.mechanism_drivers\n  to [logger, openvswitch]; the OVS mech driver init only registers\n  callbacks, so it is safe to load in the generator process\n- add type:subports schema mapping so trunk sub_ports render as an\n  array of {segmentation_id, segmentation_type, port_id} objects\n- mark port_id as required in TrunksCreateRequest\n- add network.trunk resource to the network metadata for rust-sdk,\n  rust-cli and rust-types (create, delete, find, list, show, set)\n- fix the neutron functional test Args object missing the\n  yaml_version attribute, which made the test always error out\n\nChange-Id: I0353afc49c0249bb170f538ebdf246570805927d\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/6b38430b6841d74f31c9dc56e6b6c8951d5ee926"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/codegenerator/commit/6b38430b6841d74f31c9dc56e6b6c8951d5ee926"}]},"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":""}}}]}
