@@ -64,15 +64,24 @@ type LocalPeeringGateway struct {
64
64
// Example: `{"Department": "Finance"}`
65
65
FreeformTags map [string ]string `mandatory:"false" json:"freeformTags"`
66
66
67
- // The range of IP addresses available on the VCN at the other
67
+ // The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN
68
+ // at the other end of the peering from this LPG. See `peerAdvertisedCidrDetails` for
69
+ // the individual CIDRs. The value is `null` if the LPG is not peered.
70
+ // Example: `192.168.0.0/16`, or if aggregated with `172.16.0.0/24` then `128.0.0.0/1`
71
+ PeerAdvertisedCidr * string `mandatory:"false" json:"peerAdvertisedCidr"`
72
+
73
+ // The specific ranges of IP addresses available on or via the VCN at the other
68
74
// end of the peering from this LPG. The value is `null` if the LPG is not peered.
69
- // You can use this as the destination CIDR for a route rule to route a subnet's
75
+ // You can use these as destination CIDRs for route rules to route a subnet's
70
76
// traffic to this LPG.
71
- // Example: `192.168.0.0/16`
72
- PeerAdvertisedCidr * string `mandatory:"false" json:"peerAdvertisedCidr "`
77
+ // Example: [ `192.168.0.0/16`, `172.16.0.0/24`]
78
+ PeerAdvertisedCidrDetails [] string `mandatory:"false" json:"peerAdvertisedCidrDetails "`
73
79
74
80
// Additional information regarding the peering status, if applicable.
75
81
PeeringStatusDetails * string `mandatory:"false" json:"peeringStatusDetails"`
82
+
83
+ // The OCID of the route table the LPG is using.
84
+ RouteTableId * string `mandatory:"false" json:"routeTableId"`
76
85
}
77
86
78
87
func (m LocalPeeringGateway ) String () string {
0 commit comments