-
-
Save hellt/92b3f6666991c205be2f944f74471611 to your computer and use it in GitHub Desktop.
dom_create
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO:bambou:> GET https://10.167.60.51:8443/nuage/api/v5_0/me | |
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDpjc3Byb290'} | |
DEBUG:bambou:> data: | |
null | |
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 10.167.60.51 | |
DEBUG:urllib3.connectionpool:https://10.167.60.51:8443 "GET /nuage/api/v5_0/me HTTP/1.1" 200 None | |
INFO:bambou:< GET https://10.167.60.51:8443/nuage/api/v5_0/me [200] | |
DEBUG:bambou:< headers: {'Access-Control-Expose-Headers': 'X-Nuage-Organization, X-Nuage-ProxyUser, X-Nuage-OrderBy, X-Nuage-FilterType, X-Nuage-Filter, X-Nuage-Page, X-Nuage-PageSize, X-Nuage-Count, X-Nuage-Custom, X-Nuage-ClientType', 'Transfer-Encoding': 'chunked', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Thu, 05-Oct-2017 06:31:27 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Vary': 'Accept-Encoding', 'Server': 'Apache-Coyote/1.1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'Date': 'Fri, 06 Oct 2017 06:31:27 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Content-Encoding': 'gzip'} | |
DEBUG:bambou:< data: | |
[ | |
{ | |
"flowCollectionEnabled": false, | |
"externalID": null, | |
"APIKey": "7ba62ee3-084f-4b91-8138-832f8d192703", | |
"enterpriseID": "76046673-d0ea-4a67-b6af-2829952f0812", | |
"vssStatsInterval": 30, | |
"enterpriseName": "CSP", | |
"role": "CSPROOT", | |
"licenseCapabilities": [ | |
"ENCRYPTION_ENABLED" | |
], | |
"externalId": null, | |
"aarProbeStatsInterval": 30, | |
"statisticsEnabled": true, | |
"aarFlowStatsInterval": 30, | |
"entityScope": null, | |
"avatarType": null, | |
"password": null, | |
"ID": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", | |
"userName": "csproot", | |
"mobileNumber": null, | |
"firstName": "csproot", | |
"APIKeyExpiry": 1507346381467, | |
"lastName": "csproot", | |
"email": "csproot@CSP.com", | |
"statsTSDBServerAddress": "2-es1.pod60.cats:9300", | |
"avatarData": null | |
} | |
] | |
DEBUG:bambou:[NURESTSession] Started session with username csproot in enterprise csp | |
INFO:bambou:> GET https://10.167.60.51:8443/nuage/api/v5_0/enterprises/aac88190-f6b2-41ac-aaf5-1de10f58a267 | |
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDo3YmE2MmVlMy0wODRmLTRiOTEtODEzOC04MzJmOGQxOTI3MDM='} | |
DEBUG:bambou:> data: | |
null | |
DEBUG:urllib3.connectionpool:https://10.167.60.51:8443 "GET /nuage/api/v5_0/enterprises/aac88190-f6b2-41ac-aaf5-1de10f58a267 HTTP/1.1" 200 None | |
INFO:bambou:< GET https://10.167.60.51:8443/nuage/api/v5_0/enterprises/aac88190-f6b2-41ac-aaf5-1de10f58a267 [200] | |
DEBUG:bambou:< headers: {'Access-Control-Expose-Headers': 'X-Nuage-Organization, X-Nuage-ProxyUser, X-Nuage-OrderBy, X-Nuage-FilterType, X-Nuage-Filter, X-Nuage-Page, X-Nuage-PageSize, X-Nuage-Count, X-Nuage-Custom, X-Nuage-ClientType', 'Transfer-Encoding': 'chunked', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Thu, 05-Oct-2017 06:31:27 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Vary': 'Accept-Encoding', 'Server': 'Apache-Coyote/1.1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'Date': 'Fri, 06 Oct 2017 06:31:27 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Content-Encoding': 'gzip'} | |
DEBUG:bambou:< data: | |
[ | |
{ | |
"receiveMultiCastListID": "545a5436-cfdf-4ed1-9168-ca0ef012c167", | |
"allowGatewayManagement": true, | |
"enableApplicationPerformanceManagement": true, | |
"DHCPLeaseInterval": 24, | |
"floatingIPsQuota": 100, | |
"allowedForwardingMode": null, | |
"externalID": null, | |
"parentID": null, | |
"owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", | |
"children": null, | |
"associatedEnterpriseSecurityID": "17e4e4f0-c3ee-49f1-a277-8eed59e5793b", | |
"VNFManagementEnabled": false, | |
"localAS": 65000, | |
"customerID": 10006, | |
"encryptionManagementMode": "MANAGED", | |
"LDAPAuthorizationEnabled": false, | |
"sendMultiCastListID": "94236b4f-1cb1-4812-a1a6-786a9fed518d", | |
"associatedKeyServerMonitorID": "02adb40b-4ec6-4956-ba91-c31546565294", | |
"description": null, | |
"dictionaryVersion": 2, | |
"entityScope": "ENTERPRISE", | |
"avatarType": null, | |
"parentType": null, | |
"lastUpdatedBy": "43f8868f-4bc1-472c-9d19-533dcfcb1ee0", | |
"associatedGroupKeyEncryptionProfileID": "d4662acf-a966-4a4f-a208-eda04c508a35", | |
"creationDate": 1504271603000, | |
"allowTrustedForwardingClass": true, | |
"ID": "aac88190-f6b2-41ac-aaf5-1de10f58a267", | |
"name": "511_CATS_FIXED", | |
"BGPEnabled": true, | |
"avatarData": null, | |
"LDAPEnabled": false, | |
"lastUpdatedDate": 1507266940000, | |
"enterpriseProfileID": "7556c1c4-248c-49a4-9711-788d6c0fd225", | |
"allowedForwardingClasses": [ | |
"A", | |
"B", | |
"C", | |
"D", | |
"E", | |
"F", | |
"G", | |
"H" | |
], | |
"floatingIPsUsed": 0, | |
"sharedEnterprise": false, | |
"allowAdvancedQOSConfiguration": true | |
} | |
] | |
INFO:bambou:> GET https://10.167.60.51:8443/nuage/api/v5_0/domaintemplates/18852e55-7c03-4a07-bae6-9e444708439b | |
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDo3YmE2MmVlMy0wODRmLTRiOTEtODEzOC04MzJmOGQxOTI3MDM='} | |
DEBUG:bambou:> data: | |
null | |
DEBUG:urllib3.connectionpool:https://10.167.60.51:8443 "GET /nuage/api/v5_0/domaintemplates/18852e55-7c03-4a07-bae6-9e444708439b HTTP/1.1" 200 None | |
INFO:bambou:< GET https://10.167.60.51:8443/nuage/api/v5_0/domaintemplates/18852e55-7c03-4a07-bae6-9e444708439b [200] | |
DEBUG:bambou:< headers: {'Access-Control-Expose-Headers': 'X-Nuage-Organization, X-Nuage-ProxyUser, X-Nuage-OrderBy, X-Nuage-FilterType, X-Nuage-Filter, X-Nuage-Page, X-Nuage-PageSize, X-Nuage-Count, X-Nuage-Custom, X-Nuage-ClientType', 'Transfer-Encoding': 'chunked', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Thu, 05-Oct-2017 06:31:27 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Vary': 'Accept-Encoding', 'Server': 'Apache-Coyote/1.1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'Date': 'Fri, 06 Oct 2017 06:31:27 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Content-Encoding': 'gzip'} | |
DEBUG:bambou:< data: | |
[ | |
{ | |
"associatedBGPProfileID": null, | |
"policyChangeStatus": null, | |
"name": "enc_enabled_dom_template", | |
"multicast": "DISABLED", | |
"associatedPATMapperID": null, | |
"encryption": "ENABLED", | |
"ID": "18852e55-7c03-4a07-bae6-9e444708439b", | |
"entityScope": "ENTERPRISE", | |
"associatedMulticastChannelMapID": null, | |
"parentType": "enterprise", | |
"lastUpdatedBy": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", | |
"externalID": null, | |
"lastUpdatedDate": 1507233124000, | |
"parentID": "aac88190-f6b2-41ac-aaf5-1de10f58a267", | |
"owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", | |
"creationDate": 1507233113000, | |
"children": null, | |
"DPI": "DISABLED", | |
"description": null | |
} | |
] | |
Domain Template obj "enc_enabled_dom_template" has encryption "ENABLED" | |
INFO:bambou:> POST https://10.167.60.51:8443/nuage/api/v5_0/enterprises/aac88190-f6b2-41ac-aaf5-1de10f58a267/domains | |
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDo3YmE2MmVlMy0wODRmLTRiOTEtODEzOC04MzJmOGQxOTI3MDM='} | |
DEBUG:bambou:> data: | |
{ | |
"backHaulVNID": null, | |
"associatedBGPProfileID": null, | |
"secondaryDHCPServerAddress": null, | |
"backHaulRouteDistinguisher": null, | |
"externalID": null, | |
"stretched": null, | |
"backHaulSubnetIPAddress": null, | |
"parentID": null, | |
"owner": null, | |
"DPI": null, | |
"maintenanceMode": "DISABLED", | |
"underlayEnabled": null, | |
"FIPUnderlay": null, | |
"tunnelType": "DC_DEFAULT", | |
"labelID": null, | |
"encryption": null, | |
"localAS": null, | |
"dhcpServerAddresses": null, | |
"customerID": null, | |
"associatedPATMapperID": null, | |
"serviceID": null, | |
"exportRouteTarget": null, | |
"associatedSharedPATMapperID": null, | |
"domainVLANID": null, | |
"DHCPServerAddress": null, | |
"domainID": null, | |
"description": null, | |
"uplinkPreference": null, | |
"importRouteTarget": null, | |
"policyChangeStatus": null, | |
"entityScope": null, | |
"associatedMulticastChannelMapID": null, | |
"parentType": null, | |
"lastUpdatedBy": null, | |
"permittedAction": null, | |
"templateID": "18852e55-7c03-4a07-bae6-9e444708439b", | |
"creationDate": null, | |
"ID": null, | |
"backHaulSubnetMask": null, | |
"PATEnabled": "INHERITED", | |
"backHaulRouteTarget": null, | |
"routeTarget": null, | |
"name": "domain", | |
"routeDistinguisher": null, | |
"globalRoutingEnabled": null, | |
"leakingEnabled": null, | |
"ECMPCount": null, | |
"advertiseCriteria": null, | |
"multicast": null, | |
"lastUpdatedDate": null, | |
"DHCPBehavior": "CONSUME", | |
"BGPEnabled": null | |
} | |
DEBUG:urllib3.connectionpool:https://10.167.60.51:8443 "POST /nuage/api/v5_0/enterprises/aac88190-f6b2-41ac-aaf5-1de10f58a267/domains HTTP/1.1" 201 1477 | |
INFO:bambou:< POST https://10.167.60.51:8443/nuage/api/v5_0/enterprises/aac88190-f6b2-41ac-aaf5-1de10f58a267/domains [201] | |
DEBUG:bambou:< headers: {'Content-Length': '1477', 'Access-Control-Expose-Headers': 'X-Nuage-Organization, X-Nuage-ProxyUser, X-Nuage-OrderBy, X-Nuage-FilterType, X-Nuage-Filter, X-Nuage-Page, X-Nuage-PageSize, X-Nuage-Count, X-Nuage-Custom, X-Nuage-ClientType', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Thu, 05-Oct-2017 06:31:27 GMT', 'Server': 'Apache-Coyote/1.1', 'X-Nuage-Request-ID': '7ef8fe8c-e3ed-4e57-8c8f-5892fab2d6a3', 'Date': 'Fri, 06 Oct 2017 06:31:27 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json'} | |
DEBUG:bambou:< data: | |
[ | |
{ | |
"backHaulVNID": 16245889, | |
"associatedBGPProfileID": null, | |
"secondaryDHCPServerAddress": null, | |
"externalID": null, | |
"stretched": false, | |
"backHaulRouteDistinguisher": "65534:35939", | |
"parentID": "aac88190-f6b2-41ac-aaf5-1de10f58a267", | |
"owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", | |
"children": null, | |
"DPI": "DISABLED", | |
"maintenanceMode": "DISABLED", | |
"underlayEnabled": "DISABLED", | |
"policyChangeStatus": null, | |
"tunnelType": "VXLAN", | |
"labelID": 62668, | |
"encryption": "DISABLED", | |
"localAS": 65000, | |
"dhcpServerAddresses": null, | |
"customerID": 10006, | |
"uplinkPreference": "PRIMARY_SECONDARY", | |
"enterpriseID": "aac88190-f6b2-41ac-aaf5-1de10f58a267", | |
"multicast": "DISABLED", | |
"exportRouteTarget": "65534:21358", | |
"routeTarget": "65534:21358", | |
"domainVLANID": 0, | |
"DHCPServerAddress": null, | |
"domainID": 748792, | |
"description": null, | |
"associatedPATMapperID": null, | |
"importRouteTarget": "65534:21358", | |
"FIPUnderlay": false, | |
"entityScope": "ENTERPRISE", | |
"advertiseCriteria": null, | |
"parentType": "enterprise", | |
"lastUpdatedBy": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", | |
"permittedAction": null, | |
"templateID": "18852e55-7c03-4a07-bae6-9e444708439b", | |
"associatedMulticastChannelMapID": null, | |
"creationDate": 1507271487000, | |
"ID": "d97285b1-1dcc-4be8-808c-1185ee827a1d", | |
"PATEnabled": "INHERITED", | |
"backHaulRouteTarget": "65534:44415", | |
"associatedSharedPATMapperID": null, | |
"name": "domain", | |
"routeDistinguisher": "65534:3508", | |
"globalRoutingEnabled": false, | |
"leakingEnabled": false, | |
"ECMPCount": 1, | |
"serviceID": 1030573950, | |
"lastUpdatedDate": 1507271487000, | |
"DHCPBehavior": "CONSUME", | |
"BGPEnabled": true | |
} | |
] | |
Domain instance "domain" has encryption "DISABLED" | |
INFO:bambou:> POST https://10.167.60.51:8443/nuage/api/v5_0/enterprises/aac88190-f6b2-41ac-aaf5-1de10f58a267/domains | |
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDo3YmE2MmVlMy0wODRmLTRiOTEtODEzOC04MzJmOGQxOTI3MDM='} | |
DEBUG:bambou:> data: | |
{ | |
"backHaulVNID": null, | |
"associatedBGPProfileID": null, | |
"secondaryDHCPServerAddress": null, | |
"backHaulRouteDistinguisher": null, | |
"externalID": null, | |
"stretched": null, | |
"backHaulSubnetIPAddress": null, | |
"parentID": null, | |
"owner": null, | |
"DPI": null, | |
"maintenanceMode": "DISABLED", | |
"underlayEnabled": null, | |
"FIPUnderlay": null, | |
"tunnelType": "DC_DEFAULT", | |
"labelID": null, | |
"encryption": "DISABLED", | |
"localAS": null, | |
"dhcpServerAddresses": null, | |
"customerID": null, | |
"associatedPATMapperID": null, | |
"serviceID": null, | |
"exportRouteTarget": null, | |
"associatedSharedPATMapperID": null, | |
"domainVLANID": null, | |
"DHCPServerAddress": null, | |
"domainID": null, | |
"description": null, | |
"uplinkPreference": null, | |
"importRouteTarget": null, | |
"policyChangeStatus": null, | |
"entityScope": null, | |
"associatedMulticastChannelMapID": null, | |
"parentType": null, | |
"lastUpdatedBy": null, | |
"permittedAction": null, | |
"templateID": "18852e55-7c03-4a07-bae6-9e444708439b", | |
"creationDate": null, | |
"ID": null, | |
"backHaulSubnetMask": null, | |
"PATEnabled": "INHERITED", | |
"backHaulRouteTarget": null, | |
"routeTarget": null, | |
"name": "domain2", | |
"routeDistinguisher": null, | |
"globalRoutingEnabled": null, | |
"leakingEnabled": null, | |
"ECMPCount": null, | |
"advertiseCriteria": null, | |
"multicast": null, | |
"lastUpdatedDate": null, | |
"DHCPBehavior": "CONSUME", | |
"BGPEnabled": null | |
} | |
DEBUG:urllib3.connectionpool:https://10.167.60.51:8443 "POST /nuage/api/v5_0/enterprises/aac88190-f6b2-41ac-aaf5-1de10f58a267/domains HTTP/1.1" 201 1478 | |
INFO:bambou:< POST https://10.167.60.51:8443/nuage/api/v5_0/enterprises/aac88190-f6b2-41ac-aaf5-1de10f58a267/domains [201] | |
DEBUG:bambou:< headers: {'Content-Length': '1478', 'Access-Control-Expose-Headers': 'X-Nuage-Organization, X-Nuage-ProxyUser, X-Nuage-OrderBy, X-Nuage-FilterType, X-Nuage-Filter, X-Nuage-Page, X-Nuage-PageSize, X-Nuage-Count, X-Nuage-Custom, X-Nuage-ClientType', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Thu, 05-Oct-2017 06:31:27 GMT', 'Server': 'Apache-Coyote/1.1', 'X-Nuage-Request-ID': '6daa25de-4e4f-4ba5-8792-62ff7027c8f5', 'Date': 'Fri, 06 Oct 2017 06:31:28 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json'} | |
DEBUG:bambou:< data: | |
[ | |
{ | |
"backHaulVNID": 12215323, | |
"associatedBGPProfileID": null, | |
"secondaryDHCPServerAddress": null, | |
"externalID": null, | |
"stretched": false, | |
"backHaulRouteDistinguisher": "65534:33201", | |
"parentID": "aac88190-f6b2-41ac-aaf5-1de10f58a267", | |
"owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", | |
"children": null, | |
"DPI": "DISABLED", | |
"maintenanceMode": "DISABLED", | |
"underlayEnabled": "DISABLED", | |
"policyChangeStatus": null, | |
"tunnelType": "VXLAN", | |
"labelID": 31261, | |
"encryption": "ENABLED", | |
"localAS": 65000, | |
"dhcpServerAddresses": null, | |
"customerID": 10006, | |
"uplinkPreference": "PRIMARY_SECONDARY", | |
"enterpriseID": "aac88190-f6b2-41ac-aaf5-1de10f58a267", | |
"multicast": "DISABLED", | |
"exportRouteTarget": "65534:50474", | |
"routeTarget": "65534:50474", | |
"domainVLANID": 0, | |
"DHCPServerAddress": null, | |
"domainID": 963251, | |
"description": null, | |
"associatedPATMapperID": null, | |
"importRouteTarget": "65534:50474", | |
"FIPUnderlay": false, | |
"entityScope": "ENTERPRISE", | |
"advertiseCriteria": null, | |
"parentType": "enterprise", | |
"lastUpdatedBy": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", | |
"permittedAction": null, | |
"templateID": "18852e55-7c03-4a07-bae6-9e444708439b", | |
"associatedMulticastChannelMapID": null, | |
"creationDate": 1507271488000, | |
"ID": "e68149a0-b935-469b-bc68-984a501821db", | |
"PATEnabled": "INHERITED", | |
"backHaulRouteTarget": "65534:58274", | |
"associatedSharedPATMapperID": null, | |
"name": "domain2", | |
"routeDistinguisher": "65534:39759", | |
"globalRoutingEnabled": false, | |
"leakingEnabled": false, | |
"ECMPCount": 1, | |
"serviceID": 1842022571, | |
"lastUpdatedDate": 1507271488000, | |
"DHCPBehavior": "CONSUME", | |
"BGPEnabled": true | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment