Skip to content

Commit a9fea4f

Browse files
authored
Update NetworkingScenariosGF.md
1 parent ca7e1b1 commit a9fea4f

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

cd3_automation_toolkit/documentation/user_guide/NetworkingScenariosGF.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
# Networking Scenarios
22

3+
## Table of Contents :bookmark:
4+
5+
1. [Create Network](#create-network)
6+
2. [Use an existing DRG in OCI while creating the network](#pre-requisites)
7+
38
## Greenfield Tenancies
49

510
**NOTE-**
611
Before you start with Network Creation, make sure you have run 'Fetch Compartments OCIDs to variables file'.
712

8-
### 1. Create Network
13+
### Create Network
914
Creation of Networking components using Automation Toolkit involes four simple steps.
1015
- Add the networking resource details to appropriate Excel Sheets.
1116
- Running the toolkit to generate auto.tfvars.
1217
- Executing Terraform commands to provision the resources in OCI.
13-
- Exporting the details of Security Rules and Route Rules to CD3 Excel Sheet as they are generated automatically by the toolkit and needs to be updated in CD3 Excel sheet,
14-
18+
- Exporting the automatically generated Security Rules and Route Rules by the toolkit to CD3 Excel Sheet.
19+
1520
Below are the steps in detail to create Network that includes VCNs, Subnets, DHCP, DRG, Security List, Route Tables, DRG Route Tables, NSGs, etc.
1621

1722
1. Choose appropriate excel sheet from [Excel Templates](/cd3_automation_toolkit/documentation/user_guide/RunningAutomationToolkit.md#excel-sheet-templates) and fill the required Network details in the Networking Tabs - VCNs, DRGs, VCN Info, DHCP, Subnets, NSGs tabs.
@@ -45,7 +50,7 @@ Below are the steps in detail to create Network that includes VCNs, Subnets, DHC
4550

4651
This completes the steps for Creating the Network in OCI and exporting the default rules to the CD3 Excel Sheet using the Automation Toolkit.
4752

48-
### 1a. Use an existing DRG in OCI while creating the network
53+
### Use an existing DRG in OCI while creating the network
4954
In some scenarios, a DRG has already been created in the tenancy and rest of the Network components still need to be created. In such cases, generate the networking related tfvars using same process mentioned above till Step 4.
5055

5156
- For Step 5, Navigate to the outdir path and execute the terraform commands:<br>
@@ -56,14 +61,16 @@ In some scenarios, a DRG has already been created in the tenancy and rest of the
5661
<br>&nbsp;&nbsp;→ Terraform Plan will indicate to add all the other components except DRG.
5762
<br>_terraform apply_
5863

59-
Continue executing the remaining steps of [Create Network](#1-create-network).
64+
Continue executing the remaining steps (from Step 6) of [Create Network](#1-create-network).
6065

61-
### 2. Modify Network
66+
### Modify Network
6267
Modifying the Networking components using Automation Toolkit involves three simple steps.
6368
- Add/modify the details of networking components like the VCNs, Subnets, DHCP and DRG in Excel Sheet.
6469
- Running the toolkit to generate auto.tfvars.
6570
- Executing Terraform commands to provision/modify the resources in OCI.
6671

72+
***Note***: Follow [these steps](#3-modify-security-rules-route-rules-and-drg-route-rules) to modify Security Rules, Route Rules and DRG Route Rules
73+
6774
_Steps in detail_:
6875
1. Modify your excel sheet to update required data in the Tabs - VCNs, DRGs, VCN Info, DHCP and Subnets.
6976

@@ -84,7 +91,7 @@ _Steps in detail_:
8491

8592
This completes the modification of Networking components in OCI. Verify the components in console.
8693

87-
### 3. Modify Security Rules, Route Rules and DRG Route Rules
94+
### Modify Security Rules, Route Rules and DRG Route Rules
8895

8996
Follow the below steps to add, update or delete the following components:
9097
- Security Lists and Security Rules
@@ -117,7 +124,7 @@ Follow the below steps to add, update or delete the following components:
117124
This completes the modification of Security Rules, Route Rules and DRG Route Rules in OCI. Verify the components in console.
118125

119126

120-
### 4. Export the Security Rules, Route Rules and DRG Route Rules to sync the manual changes in OCI with CD3 Excel Sheet and Terraform
127+
### Sync manual changes done in OCI of Security Rules, Route Rules and DRG Route Rules with CD3 Excel Sheet and Terraform
121128
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.
122129

123130
**NOTE**: Make sure to close your Excel sheet during the export process.
@@ -154,7 +161,7 @@ Follow the below process to export the rules to the same CD3 Excel Sheet as the
154161
This completes the export of Security Rules, Route Rules and DRG Route Rules from OCI. Terraform plan/apply should be in sync with OCI.
155162

156163

157-
### 5. Add/Modify/Delete NSGs
164+
### Add/Modify/Delete NSGs
158165
Follow the below steps to update NSGs.
159166

160167
1. Modify your excel sheet to update required data in the Tabs - NSGs.

0 commit comments

Comments
 (0)