Skip to content

Commit

Permalink
ipam: rename federation field to delegation (#55)
Browse files Browse the repository at this point in the history
* Update IPAM go-client

* Added changes to existing objects

* added default value to ddns_use_conflict_resolution

* formatted client.go

* change federation to delegation
  • Loading branch information
unasra authored Sep 13, 2024
1 parent 3676fc1 commit f3f3a43
Show file tree
Hide file tree
Showing 5 changed files with 158 additions and 158 deletions.
60 changes: 30 additions & 30 deletions ipam/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5727,7 +5727,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -5965,6 +5964,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -6082,6 +6082,10 @@ components:
Defaults to _true_.
format: boolean
type: boolean
delegation:
description: The ID of the delegation associated with the address block.
readOnly: true
type: string
dhcp_config:
$ref: '#/components/schemas/ipamsvcDHCPConfig'
dhcp_options:
Expand Down Expand Up @@ -6112,10 +6116,6 @@ components:
items:
type: string
type: array
federation:
description: Reserved for future use.
readOnly: true
type: string
header_option_filename:
description: The configuration for header option filename field.
type: string
Expand Down Expand Up @@ -6766,7 +6766,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -7004,6 +7003,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -7648,7 +7648,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -7886,6 +7885,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -7950,7 +7950,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -8188,6 +8187,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -8392,7 +8392,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -8607,6 +8606,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -8708,7 +8708,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -8923,6 +8922,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -9653,7 +9653,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -9868,6 +9867,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -12085,7 +12085,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -12300,6 +12299,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -12401,7 +12401,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -12616,6 +12615,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -14356,7 +14356,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -14594,6 +14593,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -14658,7 +14658,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -14896,6 +14895,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -18325,7 +18325,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -18540,6 +18539,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -18641,7 +18641,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -18856,6 +18855,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -19074,7 +19074,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -19312,6 +19311,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -19376,7 +19376,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -19614,6 +19613,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -19818,7 +19818,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -20033,6 +20032,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -20134,7 +20134,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -20349,6 +20348,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -21062,7 +21062,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -21300,6 +21299,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -22826,7 +22826,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -23041,6 +23040,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -24188,7 +24188,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -24403,6 +24402,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down Expand Up @@ -24526,6 +24526,10 @@ components:
Defaults to _true_.
format: boolean
type: boolean
delegation:
description: The ID of the delegation associated with the subnet.
readOnly: true
type: string
dhcp_config:
$ref: '#/components/schemas/ipamsvcDHCPConfig'
dhcp_host:
Expand Down Expand Up @@ -24565,10 +24569,6 @@ components:
items:
type: string
type: array
federation:
description: Reserved for future use.
readOnly: true
type: string
header_option_filename:
description: The configuration for header option filename field.
type: string
Expand Down Expand Up @@ -24773,7 +24773,6 @@ components:
id: id
ddns_ttl_percent: 1.4658129
header_option_server_address: header_option_server_address
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -25011,6 +25010,7 @@ components:
comment: comment
inheritance_parent: inheritance_parent
ddns_update_on_renew: true
delegation: delegation
dhcp_utilization:
dhcp_free: dhcp_free
dhcp_used: dhcp_used
Expand Down Expand Up @@ -26492,7 +26492,6 @@ components:
- config_profiles
disable_dhcp: true
rebind_time: 2
federation: federation
address: address
ddns_client_update: ddns_client_update
federated_realms:
Expand Down Expand Up @@ -26707,6 +26706,7 @@ components:
renew_time: 7
comment: comment
inheritance_parent: inheritance_parent
delegation: delegation
dhcp_host: dhcp_host
dhcp_utilization:
dhcp_free: dhcp_free
Expand Down
Loading

0 comments on commit f3f3a43

Please sign in to comment.