@@ -78,35 +78,55 @@ Perform the following steps to configure the VLAN objects/resources:
78
78
‘Send’ button to GET the VLAN collection. Examine the response to
79
79
make sure both VLANs have been created.
80
80
81
+
81
82
Task 2 – Create Self IPs
82
83
~~~~~~~~~~~~~~~~~~~~~~~~
83
84
84
85
Perform the following steps to configure the Self IP objects/resources:
85
86
86
- #. Click the “Step 3: Create a Self IP” item in the collection. Examine
87
+ #. Click the “Step 3: Create internal Self IP” item in the collection. Examine
87
88
the JSON body; the values for creating the Self-Internal Self IP have
88
89
already been populated.
89
90
90
91
#. Click the ‘Send’ button to create the Self IP
91
92
92
- #. Repeat Step 1, however, this time modify the JSON body to create the
93
- Self-External Self IP using the parameters in the table above.
93
+ #. Click the “Step 4: Get Self IPs” item in the collection. Click the
94
+ ‘Send’ button to GET the Self IP collection. Examine the response to
95
+ make sure the Self IP has been created.
96
+
97
+ #. Click the "Step 5: Create external Self IP" item in the collection.
98
+
99
+ #. Click the “Step 4: Get Self IPs” Examine the response .
100
+ Examine the VLAN settings of the 'Self-External' Self IP.
101
+ The Self IP 'Self-External' belongs to the wrong VLAN. This is intentionally.
102
+ The reason for this is to demonstrate the required steps to change an existing object via the REST API.
103
+ Change the VLAN settings of 'Self-External' to "/Common/External" with the REST API.
104
+ Click on 'Step 5' and change the HTTP Method to PATCH.
105
+ Does it work? Do you know why?
106
+
107
+
108
+ #. In order to modify an existing object via the REST API the URI path has to change.
109
+ Take the URI path that was used to create the Self IP and add the object name. in this case use /Self-External.
110
+ To see the current settings use the GET method. e.g. "GET https://{{bigip_a_mgmt}}/mgmt/tm/net/self/Self-External"
111
+ Copy the response.
112
+ To modify the VLAN settings change the request method to "PATCH" and paste the response of the GET request in the body of the PATCH request.
113
+ Now change the vlan setting from '"vlan": "/Common/Internal"' to '"vlan": "/Common/External"' and click 'Send'.
94
114
95
115
#. Click the “Step 4: Get Self IPs” item in the collection. Click the
96
116
‘Send’ button to GET the Self IP collection. Examine the response to
97
- make sure both Self IPs have been created.
117
+ make sure both Self IPs have been created and belong to the appropriate vlan .
98
118
99
119
Task 3 – Create Routes
100
120
~~~~~~~~~~~~~~~~~~~~~~
101
121
102
122
Perform the following steps to configure the Route object/resource:
103
123
104
- #. Click the “Step 5 : Create a Route” item in the collection. Examine
124
+ #. Click the “Step 8 : Create a Route” item in the collection. Examine
105
125
the JSON body; the values for creating the Default Route have already
106
126
been populated.
107
127
108
128
#. Click the ‘Send’ button to create the Route
109
129
110
- #. Click the “Step 6 : Get Routes” item in the collection. Click the
130
+ #. Click the “Step 9 : Get Routes” item in the collection. Click the
111
131
‘Send’ button to GET the routes collection. Examine the response to
112
132
make sure the route has been created.
0 commit comments