Skip to content

Commit

Permalink
CloudDiscovery : Update IPAM config for Providers Endpoint (#57)
Browse files Browse the repository at this point in the history
* update cloud discovery schema

* Removed changes for Credential and DNS Config

* updated docs

* updated description
  • Loading branch information
unasra authored Oct 3, 2024
1 parent 4f710ff commit 67934e3
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 3 deletions.
19 changes: 19 additions & 0 deletions clouddiscovery/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand Down Expand Up @@ -665,6 +666,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand Down Expand Up @@ -694,6 +696,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand All @@ -709,6 +712,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand Down Expand Up @@ -949,9 +953,14 @@ components:
example:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
properties:
dhcp_server:
type: string
disable_ipam_projection:
description: This flag controls the IPAM Sync/Reconciliation for the provider
format: boolean
type: boolean
ip_space:
type: string
type: object
Expand Down Expand Up @@ -1023,6 +1032,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand All @@ -1038,6 +1048,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand Down Expand Up @@ -1214,6 +1225,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand All @@ -1229,6 +1241,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand Down Expand Up @@ -1392,6 +1405,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand All @@ -1407,6 +1421,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand Down Expand Up @@ -1583,6 +1598,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand All @@ -1598,6 +1614,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand Down Expand Up @@ -1770,6 +1787,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand All @@ -1785,6 +1803,7 @@ components:
ipam:
ip_space: ip_space
dhcp_server: dhcp_server
disable_ipam_projection: true
dns:
split_view_enabled: true
sync_type: sync_type
Expand Down
26 changes: 26 additions & 0 deletions clouddiscovery/docs/IPAMConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**DhcpServer** | Pointer to **string** | | [optional]
**DisableIpamProjection** | Pointer to **bool** | This flag controls the IPAM Sync/Reconciliation for the provider | [optional]
**IpSpace** | Pointer to **string** | | [optional]

## Methods
Expand Down Expand Up @@ -51,6 +52,31 @@ SetDhcpServer sets DhcpServer field to given value.

HasDhcpServer returns a boolean if a field has been set.

### GetDisableIpamProjection

`func (o *IPAMConfig) GetDisableIpamProjection() bool`

GetDisableIpamProjection returns the DisableIpamProjection field if non-nil, zero value otherwise.

### GetDisableIpamProjectionOk

`func (o *IPAMConfig) GetDisableIpamProjectionOk() (*bool, bool)`

GetDisableIpamProjectionOk returns a tuple with the DisableIpamProjection field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetDisableIpamProjection

`func (o *IPAMConfig) SetDisableIpamProjection(v bool)`

SetDisableIpamProjection sets DisableIpamProjection field to given value.

### HasDisableIpamProjection

`func (o *IPAMConfig) HasDisableIpamProjection() bool`

HasDisableIpamProjection returns a boolean if a field has been set.

### GetIpSpace

`func (o *IPAMConfig) GetIpSpace() string`
Expand Down
44 changes: 41 additions & 3 deletions clouddiscovery/model_ipam_config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 67934e3

Please sign in to comment.