From e3d8033f4dacb47dc6c009d99b32da16a392d41d Mon Sep 17 00:00:00 2001 From: krein peng Date: Wed, 12 Apr 2017 14:58:20 +0000 Subject: [PATCH] Modify cisco-poap.py to use /api/current instead of /api/1.1 --- data/templates/cisco-poap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/templates/cisco-poap.py b/data/templates/cisco-poap.py index 0fb9807..609c6e9 100644 --- a/data/templates/cisco-poap.py +++ b/data/templates/cisco-poap.py @@ -22,7 +22,7 @@ API_SERVER_ADDRESS = '<%=apiServerAddress%>' API_SERVER_PORT = '<%=apiServerPort%>' -switch_profile_uri = 'http://{0}:{1}/api/1.1/profiles/switch'.format(API_SERVER_ADDRESS, API_SERVER_PORT) +switch_profile_uri = 'http://{0}:{1}/api/current/profiles/switch'.format(API_SERVER_ADDRESS, API_SERVER_PORT) switch_profile_error_uri = '{0}/error/'.format(switch_profile_uri) cisco_switch_profile_uri = '{0}/cisco'.format(switch_profile_uri)