nuagenetworks / vsd-api-specifications

api specifications of vsd
Other
6 stars 8 forks source link

vnfdomainmappings has no filterable attributes #51

Closed hellt closed 5 years ago

hellt commented 6 years ago

Specs say that VNFDomainMapping object has three filterable attrs to act on.

Yet it seems none of them is working. Please find attached bambou log where I try to filter on each of filterable attrs and receive no objects back.

example2.log

For convenience I paste here the contents of this log as well:

INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/me 
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDpjc3Byb290'}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21: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=Tue, 12-Dec-2017 15:46:22 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': 'Wed, 13 Dec 2017 15:46:22 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Content-Encoding': 'gzip'}
DEBUG:bambou:< data:
[
    {
        "flowCollectionEnabled": false, 
        "externalID": null, 
        "APIKey": "2aba00c2-fc0b-405d-8c74-5362d1e139f6", 
        "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": 1513221619675, 
        "lastName": "csproot", 
        "email": "csproot@CSP.com", 
        "statsTSDBServerAddress": "1-es1.pod62.cats:9300", 
        "avatarData": null
    }
]
DEBUG:bambou:[NURESTSession] Started session with username csproot in enterprise csp
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1 
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1  [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=Tue, 12-Dec-2017 15:46:23 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': 'Wed, 13 Dec 2017 15:46:22 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Content-Encoding': 'gzip'}
DEBUG:bambou:< data:
[
    {
        "backHaulVNID": 12428659, 
        "associatedBGPProfileID": null, 
        "secondaryDHCPServerAddress": null, 
        "externalID": null, 
        "stretched": false, 
        "backHaulRouteDistinguisher": "65534:50582", 
        "parentID": "3d5f8bda-2356-49cf-8360-a625e9ab6090", 
        "owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", 
        "children": null, 
        "DPI": "DISABLED", 
        "maintenanceMode": "DISABLED", 
        "underlayEnabled": "DISABLED", 
        "policyChangeStatus": "DISCARDED", 
        "tunnelType": "VXLAN", 
        "labelID": 58794, 
        "encryption": "DISABLED", 
        "localAS": 65000, 
        "dhcpServerAddresses": null, 
        "customerID": 10005, 
        "uplinkPreference": "PRIMARY_SECONDARY", 
        "enterpriseID": "3d5f8bda-2356-49cf-8360-a625e9ab6090", 
        "multicast": "DISABLED", 
        "exportRouteTarget": "65534:61336", 
        "routeTarget": "65534:61336", 
        "domainVLANID": 0, 
        "DHCPServerAddress": null, 
        "domainID": 675098, 
        "description": null, 
        "associatedPATMapperID": null, 
        "importRouteTarget": "65534:61336", 
        "FIPUnderlay": false, 
        "entityScope": "ENTERPRISE", 
        "advertiseCriteria": null, 
        "parentType": "enterprise", 
        "lastUpdatedBy": "43f8868f-4bc1-472c-9d19-533dcfcb1ee0", 
        "permittedAction": null, 
        "templateID": "375ec080-fb16-4012-bd00-2080f431cab6", 
        "associatedMulticastChannelMapID": null, 
        "creationDate": 1509646144000, 
        "ID": "ac711997-0568-426d-9653-5906e83dfba1", 
        "PATEnabled": "INHERITED", 
        "backHaulRouteTarget": "65534:54535", 
        "associatedSharedPATMapperID": null, 
        "name": "512_CATS_FIXED_L3_DOMAIN1", 
        "routeDistinguisher": "65534:59264", 
        "globalRoutingEnabled": false, 
        "leakingEnabled": false, 
        "ECMPCount": 1, 
        "serviceID": 2134065953, 
        "lastUpdatedDate": 1513135542000, 
        "DHCPBehavior": "CONSUME", 
        "BGPEnabled": true
    }
]
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY=', 'Content-Type': 'application/json', 'X-Nuage-Page': '0', 'X-Nuage-PageSize': '1'}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Encoding': 'gzip', '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', 'X-Nuage-Count': '1', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:46:23 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Vary': 'Accept-Encoding', 'Server': 'Apache-Coyote/1.1', 'Transfer-Encoding': 'chunked', 'X-Nuage-Page': '0', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'Date': 'Wed, 13 Dec 2017 15:46:22 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'X-Nuage-PageSize': '1'}
DEBUG:bambou:< data:
[
    {
        "associatedNSGatewayName": "512_CATS_FIXED_NSG1", 
        "segmentationID": 3, 
        "ID": "5c368b05-c2b2-42b8-a6f7-942a8c2a84e2", 
        "entityScope": "ENTERPRISE", 
        "parentType": "domain", 
        "lastUpdatedBy": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", 
        "externalID": null, 
        "lastUpdatedDate": 1513168514000, 
        "parentID": "ac711997-0568-426d-9653-5906e83dfba1", 
        "owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", 
        "associatedNSGatewayID": "a19b74db-d301-41e8-aa52-250d4a32bf23", 
        "creationDate": 1513168514000, 
        "children": null, 
        "segmentationType": "VLAN"
    }
]
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Filter': 'segmentationID == "3"', 'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Length': '0', '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', 'X-Nuage-Count': '0', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:46:23 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Server': 'Apache-Coyote/1.1', 'Date': 'Wed, 13 Dec 2017 15:46:22 GMT', 'X-Nuage-FilterType': 'none', 'X-Nuage-Page': '-1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'X-Nuage-Filter': 'segmentationID == "3"', 'Access-Control-Allow-Origin': '*', 'X-Nuage-PageSize': '50'}
DEBUG:bambou:< data:
null
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Filter': 'associatedNSGatewayID == "a19b74db-d301-41e8-aa52-250d4a32bf23"', 'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Length': '0', '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', 'X-Nuage-Count': '0', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:46:23 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Server': 'Apache-Coyote/1.1', 'Date': 'Wed, 13 Dec 2017 15:46:22 GMT', 'X-Nuage-FilterType': 'none', 'X-Nuage-Page': '-1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'X-Nuage-Filter': 'associatedNSGatewayID == "a19b74db-d301-41e8-aa52-250d4a32bf23"', 'Access-Control-Allow-Origin': '*', 'X-Nuage-PageSize': '50'}
DEBUG:bambou:< data:
null
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Filter': 'associatedNSGatewayID == "a19b74db-d301-41e8-aa52-250d4a32bf23"', 'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Length': '0', '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', 'X-Nuage-Count': '0', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:46:23 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Server': 'Apache-Coyote/1.1', 'Date': 'Wed, 13 Dec 2017 15:46:23 GMT', 'X-Nuage-FilterType': 'none', 'X-Nuage-Page': '-1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'X-Nuage-Filter': 'associatedNSGatewayID == "a19b74db-d301-41e8-aa52-250d4a32bf23"', 'Access-Control-Allow-Origin': '*', 'X-Nuage-PageSize': '50'}
DEBUG:bambou:< data:
null
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/me 
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDpjc3Byb290'}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21: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=Tue, 12-Dec-2017 15:47:15 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': 'Wed, 13 Dec 2017 15:47:14 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Content-Encoding': 'gzip'}
DEBUG:bambou:< data:
[
    {
        "flowCollectionEnabled": false, 
        "externalID": null, 
        "APIKey": "2aba00c2-fc0b-405d-8c74-5362d1e139f6", 
        "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": 1513221619675, 
        "lastName": "csproot", 
        "email": "csproot@CSP.com", 
        "statsTSDBServerAddress": "1-es1.pod62.cats:9300", 
        "avatarData": null
    }
]
DEBUG:bambou:[NURESTSession] Started session with username csproot in enterprise csp
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1 
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1  [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=Tue, 12-Dec-2017 15:47:15 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': 'Wed, 13 Dec 2017 15:47:14 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Content-Encoding': 'gzip'}
DEBUG:bambou:< data:
[
    {
        "backHaulVNID": 12428659, 
        "associatedBGPProfileID": null, 
        "secondaryDHCPServerAddress": null, 
        "externalID": null, 
        "stretched": false, 
        "backHaulRouteDistinguisher": "65534:50582", 
        "parentID": "3d5f8bda-2356-49cf-8360-a625e9ab6090", 
        "owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", 
        "children": null, 
        "DPI": "DISABLED", 
        "maintenanceMode": "DISABLED", 
        "underlayEnabled": "DISABLED", 
        "policyChangeStatus": "DISCARDED", 
        "tunnelType": "VXLAN", 
        "labelID": 58794, 
        "encryption": "DISABLED", 
        "localAS": 65000, 
        "dhcpServerAddresses": null, 
        "customerID": 10005, 
        "uplinkPreference": "PRIMARY_SECONDARY", 
        "enterpriseID": "3d5f8bda-2356-49cf-8360-a625e9ab6090", 
        "multicast": "DISABLED", 
        "exportRouteTarget": "65534:61336", 
        "routeTarget": "65534:61336", 
        "domainVLANID": 0, 
        "DHCPServerAddress": null, 
        "domainID": 675098, 
        "description": null, 
        "associatedPATMapperID": null, 
        "importRouteTarget": "65534:61336", 
        "FIPUnderlay": false, 
        "entityScope": "ENTERPRISE", 
        "advertiseCriteria": null, 
        "parentType": "enterprise", 
        "lastUpdatedBy": "43f8868f-4bc1-472c-9d19-533dcfcb1ee0", 
        "permittedAction": null, 
        "templateID": "375ec080-fb16-4012-bd00-2080f431cab6", 
        "associatedMulticastChannelMapID": null, 
        "creationDate": 1509646144000, 
        "ID": "ac711997-0568-426d-9653-5906e83dfba1", 
        "PATEnabled": "INHERITED", 
        "backHaulRouteTarget": "65534:54535", 
        "associatedSharedPATMapperID": null, 
        "name": "512_CATS_FIXED_L3_DOMAIN1", 
        "routeDistinguisher": "65534:59264", 
        "globalRoutingEnabled": false, 
        "leakingEnabled": false, 
        "ECMPCount": 1, 
        "serviceID": 2134065953, 
        "lastUpdatedDate": 1513135542000, 
        "DHCPBehavior": "CONSUME", 
        "BGPEnabled": true
    }
]
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY=', 'Content-Type': 'application/json', 'X-Nuage-Page': '0', 'X-Nuage-PageSize': '1'}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Encoding': 'gzip', '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', 'X-Nuage-Count': '1', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:47:15 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Vary': 'Accept-Encoding', 'Server': 'Apache-Coyote/1.1', 'Transfer-Encoding': 'chunked', 'X-Nuage-Page': '0', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'Date': 'Wed, 13 Dec 2017 15:47:14 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'X-Nuage-PageSize': '1'}
DEBUG:bambou:< data:
[
    {
        "associatedNSGatewayName": "512_CATS_FIXED_NSG1", 
        "segmentationID": 3, 
        "ID": "5c368b05-c2b2-42b8-a6f7-942a8c2a84e2", 
        "entityScope": "ENTERPRISE", 
        "parentType": "domain", 
        "lastUpdatedBy": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", 
        "externalID": null, 
        "lastUpdatedDate": 1513168514000, 
        "parentID": "ac711997-0568-426d-9653-5906e83dfba1", 
        "owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", 
        "associatedNSGatewayID": "a19b74db-d301-41e8-aa52-250d4a32bf23", 
        "creationDate": 1513168514000, 
        "children": null, 
        "segmentationType": "VLAN"
    }
]
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Filter': 'segmentationID == "3"', 'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Length': '0', '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', 'X-Nuage-Count': '0', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:47:15 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Server': 'Apache-Coyote/1.1', 'Date': 'Wed, 13 Dec 2017 15:47:14 GMT', 'X-Nuage-FilterType': 'none', 'X-Nuage-Page': '-1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'X-Nuage-Filter': 'segmentationID == "3"', 'Access-Control-Allow-Origin': '*', 'X-Nuage-PageSize': '50'}
DEBUG:bambou:< data:
null
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Filter': 'associatedNSGatewayID == "a19b74db-d301-41e8-aa52-250d4a32bf23"', 'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Length': '0', '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', 'X-Nuage-Count': '0', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:47:15 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Server': 'Apache-Coyote/1.1', 'Date': 'Wed, 13 Dec 2017 15:47:14 GMT', 'X-Nuage-FilterType': 'none', 'X-Nuage-Page': '-1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'X-Nuage-Filter': 'associatedNSGatewayID == "a19b74db-d301-41e8-aa52-250d4a32bf23"', 'Access-Control-Allow-Origin': '*', 'X-Nuage-PageSize': '50'}
DEBUG:bambou:< data:
null
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Filter': 'associatedNSGName == "512_CATS_FIXED_NSG1"', 'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Length': '0', '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', 'X-Nuage-Count': '0', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:47:15 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Server': 'Apache-Coyote/1.1', 'Date': 'Wed, 13 Dec 2017 15:47:14 GMT', 'X-Nuage-FilterType': 'none', 'X-Nuage-Page': '-1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'X-Nuage-Filter': 'associatedNSGName == "512_CATS_FIXED_NSG1"', 'Access-Control-Allow-Origin': '*', 'X-Nuage-PageSize': '50'}
DEBUG:bambou:< data:
null
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/me 
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDpjc3Byb290'}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21: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=Tue, 12-Dec-2017 15:47:46 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': 'Wed, 13 Dec 2017 15:47:46 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Content-Encoding': 'gzip'}
DEBUG:bambou:< data:
[
    {
        "flowCollectionEnabled": false, 
        "externalID": null, 
        "APIKey": "2aba00c2-fc0b-405d-8c74-5362d1e139f6", 
        "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": 1513221619675, 
        "lastName": "csproot", 
        "email": "csproot@CSP.com", 
        "statsTSDBServerAddress": "1-es1.pod62.cats:9300", 
        "avatarData": null
    }
]
DEBUG:bambou:[NURESTSession] Started session with username csproot in enterprise csp
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1 
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1  [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=Tue, 12-Dec-2017 15:47:46 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': 'Wed, 13 Dec 2017 15:47:46 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Content-Encoding': 'gzip'}
DEBUG:bambou:< data:
[
    {
        "backHaulVNID": 12428659, 
        "associatedBGPProfileID": null, 
        "secondaryDHCPServerAddress": null, 
        "externalID": null, 
        "stretched": false, 
        "backHaulRouteDistinguisher": "65534:50582", 
        "parentID": "3d5f8bda-2356-49cf-8360-a625e9ab6090", 
        "owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", 
        "children": null, 
        "DPI": "DISABLED", 
        "maintenanceMode": "DISABLED", 
        "underlayEnabled": "DISABLED", 
        "policyChangeStatus": "DISCARDED", 
        "tunnelType": "VXLAN", 
        "labelID": 58794, 
        "encryption": "DISABLED", 
        "localAS": 65000, 
        "dhcpServerAddresses": null, 
        "customerID": 10005, 
        "uplinkPreference": "PRIMARY_SECONDARY", 
        "enterpriseID": "3d5f8bda-2356-49cf-8360-a625e9ab6090", 
        "multicast": "DISABLED", 
        "exportRouteTarget": "65534:61336", 
        "routeTarget": "65534:61336", 
        "domainVLANID": 0, 
        "DHCPServerAddress": null, 
        "domainID": 675098, 
        "description": null, 
        "associatedPATMapperID": null, 
        "importRouteTarget": "65534:61336", 
        "FIPUnderlay": false, 
        "entityScope": "ENTERPRISE", 
        "advertiseCriteria": null, 
        "parentType": "enterprise", 
        "lastUpdatedBy": "43f8868f-4bc1-472c-9d19-533dcfcb1ee0", 
        "permittedAction": null, 
        "templateID": "375ec080-fb16-4012-bd00-2080f431cab6", 
        "associatedMulticastChannelMapID": null, 
        "creationDate": 1509646144000, 
        "ID": "ac711997-0568-426d-9653-5906e83dfba1", 
        "PATEnabled": "INHERITED", 
        "backHaulRouteTarget": "65534:54535", 
        "associatedSharedPATMapperID": null, 
        "name": "512_CATS_FIXED_L3_DOMAIN1", 
        "routeDistinguisher": "65534:59264", 
        "globalRoutingEnabled": false, 
        "leakingEnabled": false, 
        "ECMPCount": 1, 
        "serviceID": 2134065953, 
        "lastUpdatedDate": 1513135542000, 
        "DHCPBehavior": "CONSUME", 
        "BGPEnabled": true
    }
]
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Organization': 'csp', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY=', 'Content-Type': 'application/json', 'X-Nuage-Page': '0', 'X-Nuage-PageSize': '1'}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Encoding': 'gzip', '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', 'X-Nuage-Count': '1', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:47:46 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Vary': 'Accept-Encoding', 'Server': 'Apache-Coyote/1.1', 'Transfer-Encoding': 'chunked', 'X-Nuage-Page': '0', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'Date': 'Wed, 13 Dec 2017 15:47:46 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'X-Nuage-PageSize': '1'}
DEBUG:bambou:< data:
[
    {
        "associatedNSGatewayName": "512_CATS_FIXED_NSG1", 
        "segmentationID": 3, 
        "ID": "5c368b05-c2b2-42b8-a6f7-942a8c2a84e2", 
        "entityScope": "ENTERPRISE", 
        "parentType": "domain", 
        "lastUpdatedBy": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", 
        "externalID": null, 
        "lastUpdatedDate": 1513168514000, 
        "parentID": "ac711997-0568-426d-9653-5906e83dfba1", 
        "owner": "8a6f0e20-a4db-4878-ad84-9cc61756cd5e", 
        "associatedNSGatewayID": "a19b74db-d301-41e8-aa52-250d4a32bf23", 
        "creationDate": 1513168514000, 
        "children": null, 
        "segmentationType": "VLAN"
    }
]
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Filter': 'segmentationID == "3"', 'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Length': '0', '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', 'X-Nuage-Count': '0', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:47:46 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Server': 'Apache-Coyote/1.1', 'Date': 'Wed, 13 Dec 2017 15:47:46 GMT', 'X-Nuage-FilterType': 'none', 'X-Nuage-Page': '-1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'X-Nuage-Filter': 'segmentationID == "3"', 'Access-Control-Allow-Origin': '*', 'X-Nuage-PageSize': '50'}
DEBUG:bambou:< data:
null
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Filter': 'associatedNSGatewayID == "a19b74db-d301-41e8-aa52-250d4a32bf23"', 'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Length': '0', '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', 'X-Nuage-Count': '0', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:47:46 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Server': 'Apache-Coyote/1.1', 'Date': 'Wed, 13 Dec 2017 15:47:46 GMT', 'X-Nuage-FilterType': 'none', 'X-Nuage-Page': '-1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'X-Nuage-Filter': 'associatedNSGatewayID == "a19b74db-d301-41e8-aa52-250d4a32bf23"', 'Access-Control-Allow-Origin': '*', 'X-Nuage-PageSize': '50'}
DEBUG:bambou:< data:
null
INFO:bambou:> GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings 
DEBUG:bambou:> headers: {'X-Nuage-Filter': 'associatedNSGGatewayName == "512_CATS_FIXED_NSG1"', 'X-Nuage-Organization': 'csp', 'Content-Type': 'application/json', 'Authorization': 'XREST Y3Nwcm9vdDoyYWJhMDBjMi1mYzBiLTQwNWQtOGM3NC01MzYyZDFlMTM5ZjY='}
DEBUG:bambou:> data:
  null
INFO:bambou:< GET https://10.167.62.21:8443/nuage/api/v5_0/domains/ac711997-0568-426d-9653-5906e83dfba1/vnfdomainmappings  [200] 
DEBUG:bambou:< headers: {'Content-Length': '0', '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', 'X-Nuage-Count': '0', 'Set-Cookie': 'rememberMe=deleteMe; Path=/nuage; Max-Age=0; Expires=Tue, 12-Dec-2017 15:47:46 GMT', 'Expires': 'Thu, 01 Jan 1970 00:00:00 UTC', 'Server': 'Apache-Coyote/1.1', 'Date': 'Wed, 13 Dec 2017 15:47:46 GMT', 'X-Nuage-FilterType': 'none', 'X-Nuage-Page': '-1', 'Pragma': 'No-cache', 'Cache-Control': 'no-cache', 'X-Nuage-Filter': 'associatedNSGGatewayName == "512_CATS_FIXED_NSG1"', 'Access-Control-Allow-Origin': '*', 'X-Nuage-PageSize': '50'}
DEBUG:bambou:< data:
null
pdellaert commented 6 years ago

@hellt this seems like a backend issue, can you create a ticket in 3LS to track this? Once the backend is sorted, we can update the specs as appropriate

Maybe one more test to try: make the filter like : "segmentationID" == 3 (the field also enclosed in quotes and the value enclosed or not depending on the type), pretty sure it won't make a difference, but worth a try

hellt commented 5 years ago

hi @pdellaert Do you have a ticket for that one (I did not create it)

pdellaert commented 5 years ago

No, and i notice that we have updated the specs, making the fields no longer filterable. I'm sure this happened during our spec cleanup and we fixed a lot of the specs to reflect the backend better.

As such, if you want certain fields to become filterable, an RFE will have to be opened, i think...