Skip to content

Commit d48cf37

Browse files
authored
Merge pull request #33 from oracle-devrel/develop
Develop
2 parents 88f8bff + 327c50c commit d48cf37

File tree

4 files changed

+22
-10
lines changed

4 files changed

+22
-10
lines changed

cd3_automation_toolkit/documentation/user_guide/NetworkingScenariosGF.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ In some scenarios, a DRG has already been created in the tenancy and rest of the
6565

6666
Continue executing the remaining steps (from Step 6) of [Create Network](#1-create-network).
6767

68+
<br>[Go back to Networking Scenarios](#greenfield-tenancies)
6869
### Modify Network
6970
Modifying the Networking components using Automation Toolkit involves three simple steps.
7071
- Add/modify the details of networking components like the VCNs, Subnets, DHCP and DRG in Excel Sheet.
@@ -93,6 +94,7 @@ _Steps in detail_:
9394

9495
This completes the modification of Networking components in OCI. Verify the components in console.
9596

97+
<br>[Go back to Networking Scenarios](#greenfield-tenancies)
9698
### Modify Security Rules, Route Rules and DRG Route Rules
9799

98100
Follow the below steps to add, update or delete the following components:
@@ -123,9 +125,9 @@ Follow the below steps to add, update or delete the following components:
123125
<br>_terraform plan_
124126
<br>_terraform apply_
125127

126-
This completes the modification of Security Rules, Route Rules and DRG Route Rules in OCI. Verify the components in console.
127-
128+
This completes the modification of Security Rules, Route Rules and DRG Route Rules in OCI. Verify the components in console.<br>
128129

130+
<br>[Go back to Networking Scenarios](#greenfield-tenancies)
129131
### Sync manual changes done in OCI of Security Rules, Route Rules and DRG Route Rules with CD3 Excel Sheet and Terraform
130132
Follow the below process to export the rules to the same CD3 Excel Sheet as the one used to Create Network, and to sync the Terraform files with OCI whenever an user adds, modifies or deletes rules in OCI Console manually.
131133

@@ -162,7 +164,7 @@ Follow the below process to export the rules to the same CD3 Excel Sheet as the
162164

163165
This completes the export of Security Rules, Route Rules and DRG Route Rules from OCI. Terraform plan/apply should be in sync with OCI.
164166

165-
167+
<br>[Go back to Networking Scenarios](#greenfield-tenancies)
166168
### Add/Modify/Delete NSGs
167169
Follow the below steps to update NSGs.
168170

@@ -185,7 +187,7 @@ Follow the below steps to update NSGs.
185187

186188
This completes the modification of NSGs in OCI. Verify the components in console.
187189

188-
190+
<br>[Go back to Networking Scenarios](#greenfield-tenancies)
189191
<br><br>
190192
<div align='center'>
191193

cd3_automation_toolkit/documentation/user_guide/NetworkingScenariosNGF.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Networking Scenarios
22

33
## Non-Greenfield Tenancies
4+
- [Export Network](#non-greenfield-tenancies)
5+
- [Add a new or modify the existing networking components](#add-a-new-or-modify-the-existing-networking-components)
6+
7+
48
**NOTE-**
59
Before you start with Network Export, make sure you have run 'Fetch Compartments OCIDs to variables file'.
610

7-
### 1. Export Network
11+
### Export Network
812

913
Follow the below steps to export the Networking components that includes VCNs, Subnets, DHCP, DRG, Security List, Route Tables, DRG Route Tables, NSGs, etc to CD3 Excel Sheet and create the Terraform state.
1014

@@ -42,11 +46,12 @@ VCNs tab:
4246
Subnets tab:
4347
![image](https://user-images.githubusercontent.com/115973871/214372535-69714cbc-1980-4dd5-ae52-e20441903d8a.png)
4448

45-
### 2. Add a new or modify the existing networking components
49+
<br>[Go back to Networking Scenarios](#non-greenfield-tenancies)
50+
### Add a new or modify the existing networking components
4651
1. Export the Networking components by following the steps [above](#1-export-network). (Note that here _non\_gf\_tenancy_ flag is set to true)
4752
2. Follow the [process](/cd3_automation_toolkit/documentation/user_guide/NetworkingScenariosGF.md#modify-network) to add new components such as VCN/DHCP/DRG/IGW/NGW/SGW/LPG/Subnet etc. (Note that here _non\_gf\_tenancy_ flag is set to false)
4853

49-
54+
<br>[Go back to Networking Scenarios](#non-greenfield-tenancies)
5055

5156

5257
<br><br>

cd3_automation_toolkit/documentation/user_guide/learn_more/SupportforAdditionalAttributes.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@
1515

1616
<img src =https://user-images.githubusercontent.com/115973871/215402830-d7856e2d-0bd9-43b9-94bd-df039a90b942.png width=50% height=50%>
1717

18-
<li>Uncomment the parameter in **instances.tf** file as shown below.</li>
18+
19+
Uncomment the parameter in **instances.tf** file as shown below.
1920

2021
<img src =https://user-images.githubusercontent.com/115973871/215402973-72857dbd-5efd-40d9-8a7f-3541eb85af66.png width=50% height=50%>
2122

22-
<li>Uncomment the parameter in **cd3_automation_toolkit\Compute\templates\instance-template** . Any line that is between {# <and> #} are commented in Jinja templates. From the screenshot below we note that the condition for **preserve_boot_volume** is within the Jinja comments. Copy the highlighted line and place it after/outside line 184 (**#}**) as per below screenshot.</li>
23+
Uncomment the parameter in **cd3_automation_toolkit\Compute\templates\instance-template** . Any line that is between {# <and> #} are commented in Jinja templates. From the screenshot below we note that the condition for **preserve_boot_volume** is within the Jinja comments. Copy the highlighted line and place it after/outside line 184 (**#}**) as per below screenshot.
2324

2425
**Before**
2526

@@ -29,7 +30,9 @@
2930

3031
<img src =https://user-images.githubusercontent.com/115973871/215403345-fa24edf5-73d5-4417-ae71-9df216ec95bb.png width=50% height=50%>
3132

32-
<li>Apart from the above changes, optionally, update the **instance_ssh_keys** and **instance_source_ocids** in your variables file before executing the toolkit to generate the auto.tfvars for instances.</li>
33+
34+
Apart from the above changes, optionally, update the **instance_ssh_keys** and **instance_source_ocids** in your variables file before executing the toolkit to generate the auto.tfvars for instances.
35+
3336

3437

3538
**Exemple 2 : To Add Freeform Tags**

cd3_automation_toolkit/documentation/user_guide/learn_more/Tabs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ Output files generated:
145145

146146
## Export and Modify Rules
147147

148+
You can export existing security rules and route rules in OCI. On choosing "Network" in the SetUpOCI menu and "Export existing secrules and RouteRules to CD3" and "Export existing DRG Routerules to CD3" submenu will allow to export existing security and route rules.
149+
148150

149151

150152

0 commit comments

Comments
 (0)