Skip to content

Instantly share code, notes, and snippets.

@cloudnull

cloudnull/fips-data.py

Last active May 12, 2016
Embed
What would you like to do?
fips = [{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.28', u'floating_ip_address': u'172.99.106.147', u'port_id': u'38d82432-70fe-4aed-ba14-f23fe81c316b', u'id': u'47ad259c-7d3b-4867-a9ff-eb3db368e0cc'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.19', u'floating_ip_address': u'172.99.106.156', u'port_id': u'be65e665-129b-4b1f-82d6-cac7ba7aa41c', u'id': u'cbf9f897-2f23-4318-a8c6-9240c44f3003'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.24', u'floating_ip_address': u'172.99.106.151', u'port_id': u'2b69537f-4cfe-4b2a-a272-9b9cc46569ba', u'id': u'af2de8d7-6a26-41b8-ae95-03952c048f7b'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.22', u'floating_ip_address': u'172.99.106.162', u'port_id': u'537af7db-4e46-4d79-88fd-257e6dfe08a1', u'id': u'15d423e8-3bf7-4e03-8a5b-4320a58a94a2'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.25', u'floating_ip_address': u'172.99.106.165', u'port_id': u'fa836e73-2aa0-4b2c-afa5-b17c3bea7bf5', u'id': u'1fd232b5-f2a4-4bcf-add5-b9cd44e23285'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.23', u'floating_ip_address': u'172.99.106.169', u'port_id': u'cf7b7d89-0768-4ab5-88bc-3fbdbab4bc5e', u'id': u'9df0ded2-735a-4613-b99b-dcf3f95dc832'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.33', u'floating_ip_address': u'172.99.106.178', u'port_id': u'3ffa3acc-34c7-4380-afdd-2258f2fe581b', u'id': u'6b4eeb82-9df4-46c1-be33-5300b3d5b243'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.31', u'floating_ip_address': u'172.99.106.169', u'port_id': u'352f026c-661a-4560-b8db-cace4c331556', u'id': u'9df0ded2-735a-4613-b99b-dcf3f95dc832'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.29', u'floating_ip_address': u'172.99.106.174', u'port_id': u'ac6b83c7-8e36-40b4-8127-071026c626f3', u'id': u'49882a97-2565-4f59-8f86-99a45ea5429e'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.43', u'floating_ip_address': u'172.99.106.180', u'port_id': u'818d44f4-9086-4913-ba9f-2968ce460b6a', u'id': u'f1169479-7d88-4526-a60a-82f18b617077'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.26', u'floating_ip_address': u'172.99.106.180', u'port_id': u'02d6d4e8-35cb-4da7-a9a8-8609a4d9fe11', u'id': u'f1169479-7d88-4526-a60a-82f18b617077'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.40', u'floating_ip_address': u'172.99.106.182', u'port_id': u'3c80fca6-072d-47db-9a05-7324a1b5efdd', u'id': u'3799678e-fbdd-40da-8238-2f5d751bf9eb'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.30', u'floating_ip_address': u'172.99.106.183', u'port_id': u'fa81c904-a19c-4778-ae02-d648cc120f67', u'id': u'8d9a213e-7c5e-4301-a383-50df668b3a75'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.32', u'floating_ip_address': u'172.99.106.185', u'port_id': u'7a57fc52-4470-44ea-a6e0-a6d4f70e87e2', u'id': u'a70d1b51-8867-4ba8-9bc6-f0907e6e3b29'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.27', u'floating_ip_address': u'172.99.106.186', u'port_id': u'43494116-c5c9-48b2-86cc-c2d290043195', u'id': u'e7293531-3eac-41b1-836a-bda063c4c0b1'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.34', u'floating_ip_address': u'172.99.106.183', u'port_id': u'2c090ab2-c1f4-4799-9c8b-e8faf2d7ac3c', u'id': u'8d9a213e-7c5e-4301-a383-50df668b3a75'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.44', u'floating_ip_address': u'172.99.106.190', u'port_id': u'182ad070-f4a5-4562-90bf-faf3c50a136a', u'id': u'2ea7de58-76e8-4074-bde7-6ef47f21d5c3'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.20', u'floating_ip_address': u'172.99.106.189', u'port_id': u'3309b7bf-2330-41a4-bb06-87573ff54a95', u'id': u'5f397cd3-bf7f-46e7-be08-d6ee780f6d64'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.42', u'floating_ip_address': u'172.99.106.195', u'port_id': u'e02f92fb-775e-40ae-9e7c-d9282e259f12', u'id': u'e8809361-c599-43d4-8a47-b66a26279352'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.39', u'floating_ip_address': u'172.99.106.200', u'port_id': u'20768601-8e58-4050-ab57-0442596fd96b', u'id': u'bffc7f23-0821-40d5-9ab3-a4ddecfc8b41'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.36', u'floating_ip_address': u'172.99.106.201', u'port_id': u'88cde757-d2d4-4a5b-8fcd-8e3fc8f777c8', u'id': u'13ae9c4f-74b7-4dba-be03-62c5c6bf15f7'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.37', u'floating_ip_address': u'172.99.106.204', u'port_id': u'395ee82f-25e2-49fb-a052-0151ae788c0d', u'id': u'320fb07f-53db-4ade-bf36-39c372254ca9'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.38', u'floating_ip_address': u'172.99.106.205', u'port_id': u'20e081eb-9aea-4444-bf5d-67702fcc1cd1', u'id': u'c2c1fc52-f9c5-4a7a-a538-85c58ad70cda'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.41', u'floating_ip_address': u'172.99.106.209', u'port_id': u'677329ef-1bf4-4214-bd2e-724cc2808197', u'id': u'75214514-5e4b-401b-9521-f10e8d17c5d4'},
{u'router_id': u'791749d3-aeb0-454b-a2f9-fc7bb6ae2b47', u'status': u'DOWN', u'tenant_id': u'7a1ca9f7cc4e4b13ac0ed2957f1e8c32', u'floating_network_id': u'7004a83a-13d3-4dcd-8cf5-52af1ace4cae', u'fixed_ip_address': u'10.0.0.21', u'floating_ip_address': u'172.99.106.220', u'port_id': u'1f667c6c-8ca8-4efe-8a33-94e44e8a8c03', u'id': u'6c09862a-233d-4c68-9db0-38271f2e3a8e'}]
fip_ids = [i['id'] for i in fips]
len(fip_ids)
len(set(fip_ids))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment