Skip to content

Commit 733ccd6

Browse files
authored
feat: Introduced prefix-filters for RGRE connections (#156)
dependency: none Signed-off-by: jkalanda <jkalanda@us.ibm.com>
1 parent f4bd4fb commit 733ccd6

File tree

76 files changed

+105
-124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+105
-124
lines changed

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/TransitGatewayApis.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
/*
15-
* IBM OpenAPI SDK Code Generator Version: 3.90.0-5aad763d-20240506-203857
15+
* IBM OpenAPI SDK Code Generator Version: 3.73.0-eeee85a9-20230607-165104
1616
*/
1717

1818
package com.ibm.cloud.networking.transit_gateway_apis.v1;
@@ -813,7 +813,7 @@ public ServiceCall<PrefixFilterCollection> listTransitGatewayConnectionPrefixFil
813813
/**
814814
* Add a prefix filter to a Transit Gateway connection.
815815
*
816-
* Add a prefix filter to a Transit Gateway connection.
816+
* Add a Prefix Filter to a Transit Gateway Connection. Prefix Filters can be added to all Connection types.
817817
*
818818
* @param createTransitGatewayConnectionPrefixFilterOptions the {@link CreateTransitGatewayConnectionPrefixFilterOptions} containing the options for the call
819819
* @return a {@link ServiceCall} with a result of type {@link PrefixFilterCust}

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/ConnectionsPager.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1111
* specific language governing permissions and limitations under the License.
1212
*/
13-
1413
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1514

1615
import com.ibm.cloud.networking.transit_gateway_apis.v1.TransitGatewayApis;

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayConnectionActionsOptions.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1111
* specific language governing permissions and limitations under the License.
1212
*/
13-
1413
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1514

1615
import com.ibm.cloud.sdk.core.service.model.GenericModel;

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayConnectionOptions.java

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1111
* specific language governing permissions and limitations under the License.
1212
*/
13-
1413
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1514

1615
import java.util.ArrayList;
@@ -163,9 +162,9 @@ public CreateTransitGatewayConnectionOptions build() {
163162
}
164163

165164
/**
166-
* Adds a new element to prefixFilters.
165+
* Adds an prefixFilters to prefixFilters.
167166
*
168-
* @param prefixFilters the new element to be added
167+
* @param prefixFilters the new prefixFilters
169168
* @return the CreateTransitGatewayConnectionOptions builder
170169
*/
171170
public Builder addPrefixFilters(TransitGatewayConnectionPrefixFilter prefixFilters) {
@@ -179,9 +178,9 @@ public Builder addPrefixFilters(TransitGatewayConnectionPrefixFilter prefixFilte
179178
}
180179

181180
/**
182-
* Adds a new element to tunnels.
181+
* Adds an tunnels to tunnels.
183182
*
184-
* @param tunnels the new element to be added
183+
* @param tunnels the new tunnels
185184
* @return the CreateTransitGatewayConnectionOptions builder
186185
*/
187186
public Builder addTunnels(TransitGatewayTunnelTemplate tunnels) {
@@ -482,7 +481,10 @@ public String baseNetworkType() {
482481
*
483482
* network_type 'vpn_gateway' connections use 'cidr' to specify the CIDR to use for the VPN GRE tunnels.
484483
*
485-
* This field is required for network type `vpn_gateway` connections.
484+
* This field is optional for network type `vpn_gateway` connections.
485+
*
486+
* If left unspecified when creating a `vpn_gateway` connection, a default cidr address of `100.64.0.0/10` will be
487+
* used.
486488
*
487489
* This field is required to be unspecified for network type `classic`, `directlink`, `vpc`, `power_virtual_server`,
488490
* `gre_tunnel`, `unbound_gre_tunnel`, and `redundant_gre` connections.
@@ -602,9 +604,9 @@ public String prefixFiltersDefault() {
602604
/**
603605
* Gets the remoteBgpAsn.
604606
*
605-
* Remote network BGP ASN. The following ASN values are reserved and unavailable 0, 13884, 36351, 64512-64513, 65100,
606-
* 65200-65234, 65402-65433, 65500 and 4201065000-4201065999. If `remote_bgp_asn` is omitted on gre_tunnel or
607-
* unbound_gre_tunnel connection create requests IBM will assign an ASN.
607+
* Remote network BGP ASN. The following ASN values are reserved and unavailable 0, 13884, 36351, 64512, 64513, 65100,
608+
* 65200-65234, 65402-65433, 65500, 65516, 65519, 65521, 65531 and 4201065000-4201065999. If `remote_bgp_asn` is
609+
* omitted on gre_tunnel or unbound_gre_tunnel connection create requests IBM will assign an ASN.
608610
*
609611
* This field is optional for network type `gre_tunnel` and `unbound_gre_tunnel` connections.
610612
*
@@ -650,8 +652,8 @@ public String remoteTunnelIp() {
650652
/**
651653
* Gets the tunnels.
652654
*
653-
* Array of GRE tunnels for a transit gateway `redundant_gre` and `vpn_gateway` connections. This field is required
654-
* for `redundant_gre` and `vpn_gateway` connections.
655+
* Array of GRE tunnels for a transit gateway `redundant_gre` connections. This field is required for `redundant_gre`
656+
* connections.
655657
*
656658
* @return the tunnels
657659
*/
@@ -665,7 +667,9 @@ public List<TransitGatewayTunnelTemplate> tunnels() {
665667
* Specify the connection's location. The specified availability zone must reside in the gateway's region.
666668
* Use the IBM Cloud global catalog to list zones within the desired region.
667669
*
668-
* This field is required for network type `gre_tunnel`, `unbound_gre_tunnel` and `vpn_gateway` connections.
670+
* This field is required for network type `gre_tunnel`, and `unbound_gre_tunnel` connections.
671+
*
672+
* This field is optional for network type `vpn_gateway` connections.
669673
*
670674
* This field is required to be unspecified for network type `classic`, `directlink`, `vpc`, `power_virtual_server`
671675
* and `redundant_gre` connections.

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayConnectionPrefixFilterOptions.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1111
* specific language governing permissions and limitations under the License.
1212
*/
13-
1413
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1514

1615
import com.ibm.cloud.sdk.core.service.model.GenericModel;

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayGreTunnelOptions.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1111
* specific language governing permissions and limitations under the License.
1212
*/
13-
1413
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1514

1615
import com.ibm.cloud.sdk.core.service.model.GenericModel;
@@ -332,9 +331,9 @@ public ZoneIdentity zone() {
332331
/**
333332
* Gets the remoteBgpAsn.
334333
*
335-
* Remote network BGP ASN. The following ASN values are reserved and unavailable 0, 13884, 36351, 64512-64513, 65100,
336-
* 65200-65234, 65402-65433, 65500 and 4201065000-4201065999. If `remote_bgp_asn` is omitted on create requests, IBM
337-
* will assign an ASN.
334+
* Remote network BGP ASN. The following ASN values are reserved and unavailable 0, 13884, 36351, 64512, 64513, 65100,
335+
* 65200-65234, 65402-65433, 65500, 65516, 65519, 65521, 65531 and 4201065000-4201065999 If `remote_bgp_asn` is
336+
* omitted on create requests, IBM will assign an ASN.
338337
*
339338
* @return the remoteBgpAsn
340339
*/

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1111
* specific language governing permissions and limitations under the License.
1212
*/
13-
1413
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1514

1615
import com.ibm.cloud.sdk.core.service.model.GenericModel;
@@ -190,7 +189,8 @@ public Boolean global() {
190189
/**
191190
* Gets the greEnhancedRoutePropagation.
192191
*
193-
* Allow GRE Enhanced Route Propagation on this gateway.
192+
* Allow route propagation across all GREs connected to the same transit gateway. This affects connections on the
193+
* gateway of type `redundant_gre`, `unbound_gre_tunnel` and `gre_tunnel`.
194194
*
195195
* @return the greEnhancedRoutePropagation
196196
*/

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/CreateTransitGatewayRouteReportOptions.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1111
* specific language governing permissions and limitations under the License.
1212
*/
13-
1413
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1514

1615
import com.ibm.cloud.sdk.core.service.model.GenericModel;

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/DeleteTransitGatewayConnectionOptions.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1111
* specific language governing permissions and limitations under the License.
1212
*/
13-
1413
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1514

1615
import com.ibm.cloud.sdk.core.service.model.GenericModel;

modules/transit-gateway-apis/src/main/java/com/ibm/cloud/networking/transit_gateway_apis/v1/model/DeleteTransitGatewayConnectionPrefixFilterOptions.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1111
* specific language governing permissions and limitations under the License.
1212
*/
13-
1413
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1514

1615
import com.ibm.cloud.sdk.core.service.model.GenericModel;

0 commit comments

Comments
 (0)