Skip to content

Commit 1a06c5c

Browse files
committed
configure Ip address using Patch operation
1 parent 6bbac8f commit 1a06c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RESTCONF/patch-Ip-address-config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def main():
5252
# RESTCONF media types for REST API headers
5353
headers = {'Content-Type': 'application/yang-data+json',
5454
'Accept': 'application/yang-data+json'}
55-
# this statement performs a GET on the specified url
55+
# this statement performs a PATCH on the specified url
5656
response = requests.request("PATCH",url, auth=(USER, PASS),
5757
data=payload, headers=headers, verify=False)
5858

0 commit comments

Comments
 (0)