11{
2- "playbook_config_create_sda_extranet_policies" :[
2+ "playbook_config_create_sda_extranet_policies" : [
33 {
4- "extranet_policy_name" :" extranet_policy_1" ,
5- "fabric_sites" :[
4+ "extranet_policy_name" : " extranet_policy_1" ,
5+ "fabric_sites" : [
66 " Global/USA/San Jose/BLDG_23"
77 ],
8- "provider_virtual_network" :" L3VN1" ,
9- "subscriber_virtual_networks" :[
8+ "provider_virtual_network" : " L3VN1" ,
9+ "subscriber_virtual_networks" : [
1010 " VN_PROV_10" ,
1111 " VN_PROV_11" ,
1212 " VN_PROV_12"
1313 ]
1414 }
1515 ],
16- "playbook_config_update_sda_extranet_policies" :[
16+ "playbook_config_update_sda_extranet_policies" : [
1717 {
18- "extranet_policy_name" :" extranet_policy_1" ,
19- "fabric_sites" :[
18+ "extranet_policy_name" : " extranet_policy_1" ,
19+ "fabric_sites" : [
2020 " Global/USA/San Jose/BLDG23"
2121 ],
22- "provider_virtual_network" :" L3VN1" ,
23- "subscriber_virtual_networks" :[
22+ "provider_virtual_network" : " L3VN1" ,
23+ "subscriber_virtual_networks" : [
2424 " VN_PROV_13" ,
2525 " VN_PROV_14" ,
2626 " VN_PROV_15"
2727 ]
2828 }
2929 ],
30- "playbook_config_delete_sda_extranet_policies" :[
30+ "playbook_config_delete_sda_extranet_policies" : [
3131 {
32- "extranet_policy_name" :" extranet_policy_1"
32+ "extranet_policy_name" : " extranet_policy_1"
3333 }
3434 ],
35- "response_get_sites" :{
36- "response" :[
35+ "response_get_sites" : {
36+ "response" : [
3737 {
38- "id" :" 5a9bb391-fb8f-47a5-8dd9-31c6fa7d8289" ,
39- "parentId" :" 19ef7e22-457d-4bc8-ab7d-4446f9fb196c" ,
40- "name" :" BLDG23" ,
41- "nameHierarchy" :" Global/USA/San Jose/BLDG23" ,
42- "type" :" building" ,
43- "latitude" :37.41864 ,
44- "longitude" :-121.9193 ,
45- "address" :" Cisco - Building 23, 560 McCarthy Blvd, Milpitas, California 95035, United States" ,
46- "country" :" United States"
38+ "id" : " 5a9bb391-fb8f-47a5-8dd9-31c6fa7d8289" ,
39+ "parentId" : " 19ef7e22-457d-4bc8-ab7d-4446f9fb196c" ,
40+ "name" : " BLDG23" ,
41+ "nameHierarchy" : " Global/USA/San Jose/BLDG23" ,
42+ "type" : " building" ,
43+ "latitude" : 37.41864 ,
44+ "longitude" : -121.9193 ,
45+ "address" : " Cisco - Building 23, 560 McCarthy Blvd, Milpitas, California 95035, United States" ,
46+ "country" : " United States"
4747 }
4848 ],
49- "version" :" 1.0"
49+ "version" : " 1.0"
5050 },
51- "response_get_fabric_sites" :{
52- "response" :[
51+ "response_get_fabric_sites" : {
52+ "response" : [
5353 {
54- "id" :" b6af9074-b1d8-4b40-82f9-776d34adb0fc" ,
55- "siteId" :" 5a9bb391-fb8f-47a5-8dd9-31c6fa7d8289" ,
56- "authenticationProfileName" :" No Authentication" ,
57- "isPubSubEnabled" :false
54+ "id" : " b6af9074-b1d8-4b40-82f9-776d34adb0fc" ,
55+ "siteId" : " 5a9bb391-fb8f-47a5-8dd9-31c6fa7d8289" ,
56+ "authenticationProfileName" : " No Authentication" ,
57+ "isPubSubEnabled" : false
5858 }
5959 ],
60- "version" :" 1.0"
60+ "version" : " 1.0"
6161 },
62- "response_get_extranet_policies_1" :{
63- "response" :[
64-
65- ],
66- "version" :" 1.0"
62+ "response_get_extranet_policies_1" : {
63+ "response" : [],
64+ "version" : " 1.0"
6765 },
68- "response_get_task_id" :{
69- "response" :{
70- "taskId" :" 0195ff77-c942-7b58-b171-69f32b82e11b" ,
71- "url" :" /dna/intent/api/v1/task/0195ff77-c942-7b58-b171-69f32b82e11b"
66+ "response_get_task_id" : {
67+ "response" : {
68+ "taskId" : " 0195ff77-c942-7b58-b171-69f32b82e11b" ,
69+ "url" : " /dna/intent/api/v1/task/0195ff77-c942-7b58-b171-69f32b82e11b"
7270 },
73- "version" :" 1.0"
71+ "version" : " 1.0"
7472 },
75- "response_get_task_status_by_id" :{
76- "response" :{
77- "endTime" :1743747798480 ,
78- "lastUpdate" :1743747796510 ,
79- "status" :" SUCCESS" ,
80- "startTime" :1743747795266 ,
81- "resultLocation" :" /dna/intent/api/v1/tasks/0195ff77-c942-7b58-b171-69f32b82e11b/detail" ,
82- "id" :" 0195ff77-c942-7b58-b171-69f32b82e11b"
73+ "response_get_task_status_by_id" : {
74+ "response" : {
75+ "endTime" : 1743747798480 ,
76+ "lastUpdate" : 1743747796510 ,
77+ "status" : " SUCCESS" ,
78+ "startTime" : 1743747795266 ,
79+ "resultLocation" : " /dna/intent/api/v1/tasks/0195ff77-c942-7b58-b171-69f32b82e11b/detail" ,
80+ "id" : " 0195ff77-c942-7b58-b171-69f32b82e11b"
8381 },
84- "version" :" 1.0"
82+ "version" : " 1.0"
8583 },
86- "response_get_extranet_policies_2" :{
87- "response" :[
84+ "response_get_extranet_policies_2" : {
85+ "response" : [
8886 {
89- "id" :" 098ab4d3-d9fe-46cc-a3b8-4f2405d4da1e" ,
90- "extranetPolicyName" :" extranet_policy_1" ,
91- "fabricIds" :[
87+ "id" : " 098ab4d3-d9fe-46cc-a3b8-4f2405d4da1e" ,
88+ "extranetPolicyName" : " extranet_policy_1" ,
89+ "fabricIds" : [
9290 " b6af9074-b1d8-4b40-82f9-776d34adb0fc"
9391 ],
94- "providerVirtualNetworkName" :" L3VN1" ,
95- "subscriberVirtualNetworkNames" :[
92+ "providerVirtualNetworkName" : " L3VN1" ,
93+ "subscriberVirtualNetworkNames" : [
9694 " VN_PROV_12" ,
9795 " VN_PROV_10" ,
9896 " VN_PROV_11"
9997 ]
10098 }
10199 ],
102- "version" :" 1.0"
100+ "version" : " 1.0"
103101 },
104- "response_get_extranet_policies_3" :{
105- "response" :[
102+ "response_get_extranet_policies_3" : {
103+ "response" : [
106104 {
107- "id" :" 098ab4d3-d9fe-46cc-a3b8-4f2405d4da1e" ,
108- "extranetPolicyName" :" extranet_policy_1" ,
109- "fabricIds" :[
105+ "id" : " 098ab4d3-d9fe-46cc-a3b8-4f2405d4da1e" ,
106+ "extranetPolicyName" : " extranet_policy_1" ,
107+ "fabricIds" : [
110108 " b6af9074-b1d8-4b40-82f9-776d34adb0fc"
111109 ],
112- "providerVirtualNetworkName" :" L3VN1" ,
113- "subscriberVirtualNetworkNames" :[
110+ "providerVirtualNetworkName" : " L3VN1" ,
111+ "subscriberVirtualNetworkNames" : [
114112 " VN_PROV_14" ,
115113 " VN_PROV_15" ,
116114 " VN_PROV_13"
117115 ]
118116 }
119117 ],
120- "version" :" 1.0"
118+ "version" : " 1.0"
119+ },
120+ "playbook_config_update_extranet_policy_partial" : [
121+ {
122+ "extranet_policy_name" : " corp_extranet_policy_01" ,
123+ "fabric_sites" : [
124+ " Global/USA/San Jose/BLDG23"
125+ ],
126+ "subscriber_virtual_networks" : [
127+ " SUBSCRIBER_VN_A"
128+ ]
129+ }
130+ ],
131+ "response_get_extranet_policies_partial_existing" : {
132+ "response" : [
133+ {
134+ "id" : " a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
135+ "extranetPolicyName" : " corp_extranet_policy_01" ,
136+ "fabricIds" : [],
137+ "providerVirtualNetworkName" : " PROVIDER_VN_CORE" ,
138+ "subscriberVirtualNetworkNames" : [
139+ " SUBSCRIBER_VN_B"
140+ ]
141+ }
142+ ],
143+ "version" : " 1.0"
144+ },
145+ "response_get_extranet_policies_partial_updated" : {
146+ "response" : [
147+ {
148+ "id" : " a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
149+ "extranetPolicyName" : " corp_extranet_policy_01" ,
150+ "fabricIds" : [
151+ " b6af9074-b1d8-4b40-82f9-776d34adb0fc"
152+ ],
153+ "providerVirtualNetworkName" : " PROVIDER_VN_CORE" ,
154+ "subscriberVirtualNetworkNames" : [
155+ " SUBSCRIBER_VN_A"
156+ ]
157+ }
158+ ],
159+ "version" : " 1.0"
121160 }
122- }
161+ }
0 commit comments