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/learn_more/NetworkingScenariosGF.md
+39-38Lines changed: 39 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,10 @@ Before you start with Network Creation, make sure you have run 'Fetch Compartmen
7
7
8
8
### 1. Create Network
9
9
Creation of Networking components using Automation Toolkit involes four simple steps.
10
-
-Feeding the details of networking resources to Excel.
10
+
-Add the networking resource details to appropriate Excel Sheets.
11
11
- Running the toolkit to generate auto.tfvars.
12
12
- Executing Terraform commands to provision the resources in OCI.
13
-
- Exporting the details of Security Rules and Route Rules to CD3 Excel Sheet.
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
14
15
15
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
16
@@ -35,7 +35,7 @@ Below are the steps in detail to create Network that includes VCNs, Subnets, DHC
7. Choose _'Network'_ from the displayed menu. Choose below sub-options:
38
+
7. Choose _'Network'_ from the displayed menu. Choose below sub-options: (Make sure to choose all the three optionsfor the first time)
39
39
- Security Rules
40
40
- Export Security Rules (From OCI into SecRulesinOCI sheet)
41
41
- Route Rules
@@ -59,7 +59,7 @@ In some scenarios, a DRG has already been created in the tenancy and rest of the
59
59
Continue executing the remaining steps of [Create Network](#1-create-network).
60
60
61
61
### 2. Modify Network
62
-
Modifying the Networking components using Automation Toolkit involes three simple steps.
62
+
Modifying the Networking components using Automation Toolkit involves three simple steps.
63
63
- Add/modify the details of networking components like the VCNs, Subnets, DHCP and DRG in Excel Sheet.
64
64
- Running the toolkit to generate auto.tfvars.
65
65
- Executing Terraform commands to provision/modify the resources in OCI.
@@ -84,8 +84,41 @@ _Steps in detail_:
84
84
85
85
This completes the modification of Networking components in OCI. Verify the components in console.
86
86
87
-
### 3. Export the Security, Route Rules and DRG Route Rules
88
-
Once you have the Networking components created in OCI, the user may also choose to add, modify or delete rules in OCI Console manually at any point in time. Once all the desired changes are complete with respect to rules, follow the process to export the rules to the same CD3 Excel Sheet as the one used to Create Network and sync the Terraform files with OCI.
Once the execution is successful, _<customer\_name>\_seclists.auto.tfvars_, _<customer\_name>\_routetables.auto.tfvars_ and _<customer\_name>\_drg-routetables.auto.tfvars_ file will be generated under the folder _/cd3user/tenancies/<customer\_name>/terraform_files/<region_dir>_. Existing files will move into respective backup folders.
109
+
110
+
**NOTE**: This will create TF for only those Security Lists and Route Tables in VCNs which are part of cd3 and skip any VCNs that have been created outside of cd3 execution.
111
+
112
+
Navigate to the above path and execute the terraform commands:<br>
113
+
<br>_terraform init_
114
+
<br>_terraform plan_
115
+
<br>_terraform apply_
116
+
117
+
This completes the modification of Security Rules, Route Rules and DRG Route Rules in OCI. Verify the components in console.
118
+
119
+
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
121
+
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.
89
122
90
123
**NOTE**: Make sure to close your Excel sheet during the export process.
91
124
@@ -120,38 +153,6 @@ Once you have the Networking components created in OCI, the user may also choose
120
153
121
154
This completes the export of Security Rules, Route Rules and DRG Route Rules from OCI. Terraform plan/apply should be in sync with OCI.
Once the execution is successful, _<customer\_name>\_seclists.auto.tfvars_, _<customer\_name>\_routetables.auto.tfvars_ and _<customer\_name>\_drg-routetables.auto.tfvars_ file will be generated under the folder _/cd3user/tenancies/<customer\_name>/terraform_files/<region_dir>_. Existing files will move into respective backup folders.
145
-
146
-
**NOTE**: This will create TF for only those Security Lists and Route Tables in VCNs which are part of cd3 and skip any VCNs that have been created outside of cd3 execution.
147
-
148
-
Navigate to the above path and execute the terraform commands:<br>
149
-
<br>_terraform init_
150
-
<br>_terraform plan_
151
-
<br>_terraform apply_
152
-
153
-
This completes the modification of Security Rules, Route Rules and DRG Route Rules in OCI. Verify the components in console.
0 commit comments