Skip to content

Commit b84a805

Browse files
authored
Revert "feat: Introduced prefix-filters for RGRE connections (#156)" (#160)
This reverts commit 733ccd6. Signed-off-by: jkalanda <[email protected]>
1 parent 2bd9af3 commit b84a805

File tree

76 files changed

+124
-105
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

+124
-105
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.73.0-eeee85a9-20230607-165104
15+
* IBM OpenAPI SDK Code Generator Version: 3.90.0-5aad763d-20240506-203857
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. Prefix Filters can be added to all Connection types.
816+
* Add a prefix filter to a Transit Gateway connection.
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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+
1314
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1415

1516
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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+
1314
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1415

1516
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: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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+
1314
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1415

1516
import java.util.ArrayList;
@@ -162,9 +163,9 @@ public CreateTransitGatewayConnectionOptions build() {
162163
}
163164

164165
/**
165-
* Adds an prefixFilters to prefixFilters.
166+
* Adds a new element to prefixFilters.
166167
*
167-
* @param prefixFilters the new prefixFilters
168+
* @param prefixFilters the new element to be added
168169
* @return the CreateTransitGatewayConnectionOptions builder
169170
*/
170171
public Builder addPrefixFilters(TransitGatewayConnectionPrefixFilter prefixFilters) {
@@ -178,9 +179,9 @@ public Builder addPrefixFilters(TransitGatewayConnectionPrefixFilter prefixFilte
178179
}
179180

180181
/**
181-
* Adds an tunnels to tunnels.
182+
* Adds a new element to tunnels.
182183
*
183-
* @param tunnels the new tunnels
184+
* @param tunnels the new element to be added
184185
* @return the CreateTransitGatewayConnectionOptions builder
185186
*/
186187
public Builder addTunnels(TransitGatewayTunnelTemplate tunnels) {
@@ -481,10 +482,7 @@ public String baseNetworkType() {
481482
*
482483
* network_type 'vpn_gateway' connections use 'cidr' to specify the CIDR to use for the VPN GRE tunnels.
483484
*
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.
485+
* This field is required for network type `vpn_gateway` connections.
488486
*
489487
* This field is required to be unspecified for network type `classic`, `directlink`, `vpc`, `power_virtual_server`,
490488
* `gre_tunnel`, `unbound_gre_tunnel`, and `redundant_gre` connections.
@@ -604,9 +602,9 @@ public String prefixFiltersDefault() {
604602
/**
605603
* Gets the remoteBgpAsn.
606604
*
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.
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.
610608
*
611609
* This field is optional for network type `gre_tunnel` and `unbound_gre_tunnel` connections.
612610
*
@@ -652,8 +650,8 @@ public String remoteTunnelIp() {
652650
/**
653651
* Gets the tunnels.
654652
*
655-
* Array of GRE tunnels for a transit gateway `redundant_gre` connections. This field is required for `redundant_gre`
656-
* connections.
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.
657655
*
658656
* @return the tunnels
659657
*/
@@ -667,9 +665,7 @@ public List<TransitGatewayTunnelTemplate> tunnels() {
667665
* Specify the connection's location. The specified availability zone must reside in the gateway's region.
668666
* Use the IBM Cloud global catalog to list zones within the desired region.
669667
*
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.
668+
* This field is required for network type `gre_tunnel`, `unbound_gre_tunnel` and `vpn_gateway` connections.
673669
*
674670
* This field is required to be unspecified for network type `classic`, `directlink`, `vpc`, `power_virtual_server`
675671
* and `redundant_gre` connections.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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+
1314
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1415

1516
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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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+
1314
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1415

1516
import com.ibm.cloud.sdk.core.service.model.GenericModel;
@@ -331,9 +332,9 @@ public ZoneIdentity zone() {
331332
/**
332333
* Gets the remoteBgpAsn.
333334
*
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.
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.
337338
*
338339
* @return the remoteBgpAsn
339340
*/

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,6 +10,7 @@
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+
1314
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1415

1516
import com.ibm.cloud.sdk.core.service.model.GenericModel;
@@ -189,8 +190,7 @@ public Boolean global() {
189190
/**
190191
* Gets the greEnhancedRoutePropagation.
191192
*
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`.
193+
* Allow GRE Enhanced Route Propagation on this gateway.
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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+
1314
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1415

1516
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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+
1314
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1415

1516
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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+
1314
package com.ibm.cloud.networking.transit_gateway_apis.v1.model;
1415

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

0 commit comments

Comments
 (0)