Files
codegenerator/metadata/load-balancer_metadata.yaml
Artem Goncharov 721705d837 Rename operation_name with action_name in the metadata
Currently we comment the operation_name attribute in the metadata that
it is used as an action name. This only creates confusion especially if
we want to use something different as the operation_name (i.e.
operation_name or opertaion_type for neutron router results in
"action"). So in addition to the renaming of the metadata attribute
explicitly pass the metadata operation key as operation_name parameters
into the generator (when unset).

Change-Id: Ic04eafe5b6dea012ca18b9835cd5c86fefa87055
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
2025-06-05 15:02:09 +00:00

982 lines
29 KiB
YAML

resources:
load-balancer.amphorae:
api_version: v2
operations:
config:
operation_id: octavia/amphorae/amphora_id/config:put
operation_type: action
targets:
rust-cli:
cli_full_command: amphorae config
module_name: config
sdk_mod_name: config
rust-sdk:
module_name: config
delete:
operation_id: octavia/amphorae/amphora_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: amphorae delete
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
failover:
operation_id: octavia/amphorae/amphora_id/failover:put
operation_type: action
targets:
rust-cli:
cli_full_command: amphorae failover
module_name: failover
sdk_mod_name: failover
rust-sdk:
module_name: failover
list:
operation_id: octavia/amphorae:get
operation_type: list
targets:
rust-cli:
cli_full_command: amphorae list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
show:
operation_id: octavia/amphorae/amphora_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: amphorae show
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
stats:
operation_id: octavia/amphorae/amphora_id/stats:get
operation_type: get
targets:
rust-cli:
cli_full_command: amphorae stats
module_name: stats
sdk_mod_name: stats
rust-sdk:
module_name: stats
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.availability_zone:
api_version: v2
operations:
create:
operation_id: lbaas/availabilityzones:post
operation_type: create
targets:
rust-cli:
cli_full_command: availability-zone create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/availabilityzones/availabilityzone_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: availability-zone delete
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
list:
operation_id: lbaas/availabilityzones:get
operation_type: list
targets:
rust-cli:
cli_full_command: availability-zone list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
show:
operation_id: lbaas/availabilityzones/availabilityzone_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: availability-zone show
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
update:
operation_id: lbaas/availabilityzones/availabilityzone_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: availability-zone set
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.availability_zone_profile:
api_version: v2
operations:
create:
operation_id: lbaas/availabilityzoneprofiles:post
operation_type: create
targets:
rust-cli:
cli_full_command: availability-zone-profile create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/availabilityzoneprofiles/availabilityzoneprofile_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: availability-zone-profile delete
find_implemented_by_sdk: true
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
find:
operation_id: lbaas/availabilityzoneprofiles:get
operation_type: find
targets:
rust-sdk:
list_mod: list
module_name: find
name_field: name
name_filter_supported: true
sdk_mod_path: load_balancer::v2::availability_zone_profile
list:
operation_id: lbaas/availabilityzoneprofiles:get
operation_type: list
targets:
rust-cli:
cli_full_command: availability-zone-profile list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
show:
operation_id: lbaas/availabilityzoneprofiles/availabilityzoneprofile_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: availability-zone-profile show
find_implemented_by_sdk: true
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
update:
operation_id: lbaas/availabilityzoneprofiles/availabilityzoneprofile_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: availability-zone-profile set
find_implemented_by_sdk: true
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.flavor:
api_version: v2
operations:
create:
operation_id: lbaas/flavors:post
operation_type: create
targets:
rust-cli:
cli_full_command: flavor create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/flavors/flavor_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: flavor delete
find_implemented_by_sdk: true
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
find:
operation_id: lbaas/flavors:get
operation_type: find
targets:
rust-sdk:
list_mod: list
module_name: find
name_field: name
name_filter_supported: true
sdk_mod_path: load_balancer::v2::flavor
list:
operation_id: lbaas/flavors:get
operation_type: list
targets:
rust-cli:
cli_full_command: flavor list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
show:
operation_id: lbaas/flavors/flavor_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: flavor show
find_implemented_by_sdk: true
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
update:
operation_id: lbaas/flavors/flavor_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: flavor set
find_implemented_by_sdk: true
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.flavor_profile:
api_version: v2
operations:
create:
operation_id: lbaas/flavorprofiles:post
operation_type: create
targets:
rust-cli:
cli_full_command: flavor-profile create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/flavorprofiles/flavorprofile_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: flavor-profile delete
find_implemented_by_sdk: true
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
find:
operation_id: lbaas/flavorprofiles:get
operation_type: find
targets:
rust-sdk:
list_mod: list
module_name: find
name_field: name
name_filter_supported: true
sdk_mod_path: load_balancer::v2::flavor_profile
list:
operation_id: lbaas/flavorprofiles:get
operation_type: list
targets:
rust-cli:
cli_full_command: flavor-profile list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
show:
operation_id: lbaas/flavorprofiles/flavorprofile_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: flavor-profile show
find_implemented_by_sdk: true
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
update:
operation_id: lbaas/flavorprofiles/flavorprofile_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: flavor-profile set
find_implemented_by_sdk: true
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.healthmonitor:
api_version: v2
operations:
create:
operation_id: lbaas/healthmonitors:post
operation_type: create
targets:
rust-cli:
cli_full_command: healthmonitor create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/healthmonitors/healthmonitor_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: healthmonitor delete
find_implemented_by_sdk: true
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
rust-tui:
module_name: delete
find:
operation_id: lbaas/healthmonitors:get
operation_type: find
targets:
rust-sdk:
list_mod: list
module_name: find
name_field: name
name_filter_supported: true
sdk_mod_path: load_balancer::v2::healthmonitor
list:
operation_id: lbaas/healthmonitors:get
operation_type: list
targets:
rust-cli:
cli_full_command: healthmonitor list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
rust-tui:
module_name: list
show:
operation_id: lbaas/healthmonitors/healthmonitor_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: healthmonitor show
find_implemented_by_sdk: true
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
rust-tui:
module_name: get
update:
operation_id: lbaas/healthmonitors/healthmonitor_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: healthmonitor set
find_implemented_by_sdk: true
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.l7policy:
api_version: v2
operations:
create:
operation_id: lbaas/l7policies:post
operation_type: create
targets:
rust-cli:
cli_full_command: l7policy create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/l7policies/l7policy_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: l7policy delete
find_implemented_by_sdk: true
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
find:
operation_id: lbaas/l7policies:get
operation_type: find
targets:
rust-sdk:
list_mod: list
module_name: find
name_field: name
name_filter_supported: true
sdk_mod_path: load_balancer::v2::l7policy
list:
operation_id: lbaas/l7policies:get
operation_type: list
targets:
rust-cli:
cli_full_command: l7policy list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
show:
operation_id: lbaas/l7policies/l7policy_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: l7policy show
find_implemented_by_sdk: true
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
update:
operation_id: lbaas/l7policies/l7policy_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: l7policy set
find_implemented_by_sdk: true
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.l7policy/rule:
api_version: v2
operations:
create:
operation_id: lbaas/l7policies/l7policy_id/rules:post
operation_type: create
targets:
rust-cli:
cli_full_command: l7policy rule create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/l7policies/l7policy_id/rules/rule_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: l7policy rule delete
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
list:
operation_id: lbaas/l7policies/l7policy_id/rules:get
operation_type: list
targets:
rust-cli:
cli_full_command: l7policy rule list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
show:
operation_id: lbaas/l7policies/l7policy_id/rules/rule_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: l7policy rule show
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
update:
operation_id: lbaas/l7policies/l7policy_id/rules/rule_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: l7policy rule set
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.listener:
api_version: v2
operations:
create:
operation_id: lbaas/listeners:post
operation_type: create
targets:
rust-cli:
cli_full_command: listener create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/listeners/listener_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: listener delete
find_implemented_by_sdk: true
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
rust-tui:
module_name: delete
find:
operation_id: lbaas/listeners:get
operation_type: find
targets:
rust-sdk:
list_mod: list
module_name: find
name_field: name
name_filter_supported: true
sdk_mod_path: load_balancer::v2::listener
list:
operation_id: lbaas/listeners:get
operation_type: list
targets:
rust-cli:
cli_full_command: listener list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
rust-tui:
module_name: list
show:
operation_id: lbaas/listeners/listener_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: listener show
find_implemented_by_sdk: true
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
rust-tui:
module_name: get
stats:
operation_id: lbaas/listeners/listener_id/stats:get
operation_type: get
targets:
rust-cli:
cli_full_command: listener stats
find_implemented_by_sdk: true
module_name: stats
sdk_mod_name: stats
rust-sdk:
module_name: stats
update:
operation_id: lbaas/listeners/listener_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: listener set
find_implemented_by_sdk: true
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.loadbalancer:
api_version: v2
operations:
create:
operation_id: lbaas/loadbalancers:post
operation_type: create
targets:
rust-cli:
cli_full_command: loadbalancer create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/loadbalancers/loadbalancer_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: loadbalancer delete
find_implemented_by_sdk: true
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
rust-tui:
module_name: delete
failover:
operation_id: lbaas/loadbalancers/loadbalancer_id/failover:put
operation_type: action
targets:
rust-cli:
cli_full_command: loadbalancer failover
find_implemented_by_sdk: true
module_name: failover
sdk_mod_name: failover
rust-sdk:
module_name: failover
find:
operation_id: lbaas/loadbalancers:get
operation_type: find
targets:
rust-sdk:
list_mod: list
module_name: find
name_field: name
name_filter_supported: true
sdk_mod_path: load_balancer::v2::loadbalancer
list:
operation_id: lbaas/loadbalancers:get
operation_type: list
targets:
rust-cli:
cli_full_command: loadbalancer list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
rust-tui:
module_name: list
show:
operation_id: lbaas/loadbalancers/loadbalancer_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: loadbalancer show
find_implemented_by_sdk: true
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
rust-tui:
module_name: get
stats:
operation_id: lbaas/loadbalancers/loadbalancer_id/stats:get
operation_type: get
targets:
rust-cli:
cli_full_command: loadbalancer stats
find_implemented_by_sdk: true
module_name: stats
sdk_mod_name: stats
rust-sdk:
module_name: stats
status:
operation_id: lbaas/loadbalancers/loadbalancer_id/status:get
operation_type: get
targets:
rust-cli:
cli_full_command: loadbalancer status
find_implemented_by_sdk: true
module_name: status
sdk_mod_name: status
rust-sdk:
module_name: status
update:
operation_id: lbaas/loadbalancers/loadbalancer_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: loadbalancer set
find_implemented_by_sdk: true
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.octavia:
api_version: v2
operations:
get:
operation_id: octavia:get
operation_type: get
targets:
rust-cli:
cli_full_command: octavia get
module_name: get
sdk_mod_name: get
rust-sdk:
module_name: get
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.pool:
api_version: v2
operations:
create:
operation_id: lbaas/pools:post
operation_type: create
targets:
rust-cli:
cli_full_command: pool create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/pools/pool_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: pool delete
find_implemented_by_sdk: true
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
rust-tui:
module_name: delete
find:
operation_id: lbaas/pools:get
operation_type: find
targets:
rust-sdk:
list_mod: list
module_name: find
name_field: name
name_filter_supported: true
sdk_mod_path: load_balancer::v2::pool
list:
operation_id: lbaas/pools:get
operation_type: list
targets:
rust-cli:
cli_full_command: pool list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
rust-tui:
module_name: list
show:
operation_id: lbaas/pools/pool_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: pool show
find_implemented_by_sdk: true
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
rust-tui:
module_name: get
update:
operation_id: lbaas/pools/pool_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: pool set
find_implemented_by_sdk: true
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.pool/member:
api_version: v2
operations:
create:
operation_id: lbaas/pools/pool_id/members:post
operation_type: create
targets:
rust-cli:
cli_full_command: pool member create
module_name: create
sdk_mod_name: create
rust-sdk:
module_name: create
delete:
operation_id: lbaas/pools/pool_id/members/member_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: pool member delete
find_implemented_by_sdk: true
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
rust-tui:
module_name: delete
find:
operation_id: lbaas/pools/pool_id/members:get
operation_type: find
targets:
rust-sdk:
list_mod: list
module_name: find
name_field: name
name_filter_supported: true
sdk_mod_path: load_balancer::v2::pool::member
list:
operation_id: lbaas/pools/pool_id/members:get
operation_type: list
targets:
rust-cli:
cli_full_command: pool member list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
rust-tui:
module_name: list
replace:
operation_id: lbaas/pools/pool_id/members:put
operation_type: set
targets:
rust-cli:
cli_full_command: pool member replace
find_implemented_by_sdk: true
module_name: replace
sdk_mod_name: replace
rust-sdk:
module_name: replace
show:
operation_id: lbaas/pools/pool_id/members/member_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: pool member show
find_implemented_by_sdk: true
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
rust-tui:
module_name: get
update:
operation_id: lbaas/pools/pool_id/members/member_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: pool member set
find_implemented_by_sdk: true
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.provider:
api_version: v2
operations:
list:
operation_id: lbaas/providers:get
operation_type: list
targets:
rust-cli:
cli_full_command: provider list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.provider/availability_zone_capability:
api_version: v2
operations:
list:
operation_id: lbaas/providers/provider/availability_zone_capabilities:get
operation_type: list
targets:
rust-cli:
cli_full_command: provider availability-zone-capability list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.provider/flavor_capability:
api_version: v2
operations:
list:
operation_id: lbaas/providers/provider/flavor_capabilities:get
operation_type: list
targets:
rust-cli:
cli_full_command: provider flavor-capability list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.quota:
api_version: v2
operations:
delete:
operation_id: lbaas/quotas/project_id:delete
operation_type: delete
targets:
rust-cli:
cli_full_command: quota delete
module_name: delete
sdk_mod_name: delete
rust-sdk:
module_name: delete
rust-tui:
module_name: delete
list:
operation_id: lbaas/quotas:get
operation_type: list
targets:
rust-cli:
cli_full_command: quota list
module_name: list
sdk_mod_name: list
rust-sdk:
module_name: list
rust-tui:
module_name: list
show:
operation_id: lbaas/quotas/project_id:get
operation_type: show
targets:
rust-cli:
cli_full_command: quota show
module_name: show
sdk_mod_name: get
rust-sdk:
module_name: get
rust-tui:
module_name: get
update:
operation_id: lbaas/quotas/project_id:put
operation_type: set
targets:
rust-cli:
cli_full_command: quota set
module_name: set
sdk_mod_name: set
rust-sdk:
module_name: set
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
load-balancer.version:
api_version: v2
operations:
get:
operation_id: lbaas:get
operation_type: get
targets:
rust-cli:
cli_full_command: version get
module_name: get
sdk_mod_name: get
rust-sdk:
module_name: get
spec_file: wrk/openapi_specs/load-balancer/v2.yaml