You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cd3_automation_toolkit/documentation/user_guide/NetworkingScenariosGF.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,22 @@
1
1
# Networking Scenarios
2
2
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
+
3
8
## Greenfield Tenancies
4
9
5
10
**NOTE-**
6
11
Before you start with Network Creation, make sure you have run 'Fetch Compartments OCIDs to variables file'.
7
12
8
-
### 1. Create Network
13
+
### Create Network
9
14
Creation of Networking components using Automation Toolkit involes four simple steps.
10
15
- Add the networking resource details to appropriate Excel Sheets.
11
16
- Running the toolkit to generate auto.tfvars.
12
17
- 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
+
15
20
Below are the steps in detail to create Network that includes VCNs, Subnets, DHCP, DRG, Security List, Route Tables, DRG Route Tables, NSGs, etc.
16
21
17
22
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
45
50
46
51
This completes the steps for Creating the Network in OCI and exporting the default rules to the CD3 Excel Sheet using the Automation Toolkit.
47
52
48
-
### 1a. Use an existing DRG in OCI while creating the network
53
+
### Use an existing DRG in OCI while creating the network
49
54
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.
50
55
51
56
- 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
56
61
<br> → Terraform Plan will indicate to add all the other components except DRG.
57
62
<br>_terraform apply_
58
63
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).
60
65
61
-
### 2. Modify Network
66
+
### Modify Network
62
67
Modifying the Networking components using Automation Toolkit involves three simple steps.
63
68
- Add/modify the details of networking components like the VCNs, Subnets, DHCP and DRG in Excel Sheet.
64
69
- Running the toolkit to generate auto.tfvars.
65
70
- Executing Terraform commands to provision/modify the resources in OCI.
66
71
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
+
67
74
_Steps in detail_:
68
75
1. Modify your excel sheet to update required data in the Tabs - VCNs, DRGs, VCN Info, DHCP and Subnets.
69
76
@@ -84,7 +91,7 @@ _Steps in detail_:
84
91
85
92
This completes the modification of Networking components in OCI. Verify the components in console.
### Modify Security Rules, Route Rules and DRG Route Rules
88
95
89
96
Follow the below steps to add, update or delete the following components:
90
97
- Security Lists and Security Rules
@@ -117,7 +124,7 @@ Follow the below steps to add, update or delete the following components:
117
124
This completes the modification of Security Rules, Route Rules and DRG Route Rules in OCI. Verify the components in console.
118
125
119
126
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
121
128
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.
122
129
123
130
**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
154
161
This completes the export of Security Rules, Route Rules and DRG Route Rules from OCI. Terraform plan/apply should be in sync with OCI.
155
162
156
163
157
-
### 5. Add/Modify/Delete NSGs
164
+
### Add/Modify/Delete NSGs
158
165
Follow the below steps to update NSGs.
159
166
160
167
1. Modify your excel sheet to update required data in the Tabs - NSGs.
0 commit comments