This group is locked. No changes can be made to the group while it is locked.
Re: api call flow
Brent Salisbury
Hi Hugo,
toggle quoted message
Show quoted text
Below are a couple of example Neutron API calls (GRE/VXLAN) that might help. I have the OVS logs also if that would help. We should have a Hangout and see how we can help with CLoudStack integration buddy. You have the team behind you so please don't hesitate it is the least we can do for as lucky as we are to have you onboard. ============== GRE ================== 2013-11-1903: 59: 06.625INFOneutron.tests.unit.ml2.drivers.mechanism_logger[ - ]update_port_precommitcalledwithportsettings{ 'status': 'DOWN', 'binding: host_id': 'fedora2', 'allowed_address_pairs': [ ], 'extra_dhcp_opts': [ ], 'device_owner': 'network: dhcp', 'fixed_ips': [ { 'subnet_id': 'fdb81e43-744c-4645-9b0e-12088e372a89', 'ip_address': '10.0.0.2' } ], 'id': '39913bf1-c8e6-4270-a20a-244960b56cd9', 'security_groups': [ ], 'device_id': 'dhcp59398d03-bd37-55aa-92f1-91d1c4e8624a-899ba619-8322-4667-9283-ae0d59ffe 89b', 'name': '', 'admin_state_up': True, 'network_id': '899ba619-8322-4667-9283-ae0d59ffe89b', 'tenant_id': '7827e83d1e3a4c86a11fe51867954941', 'binding: vif_type': 'ovs', 'binding: capabilities': { 'port_filter': False }, 'mac_address': 'fa: 16: 3e: f3: 47: b7' }(originalsettings{ 'status': u'DOWN', 'binding: host_id': 'fedora2', 'allowed_address_pairs': [ ], 'extra_dhcp_opts': [ ], 'device_owner': 'network: dhcp', 'fixed_ips': [ { 'subnet_id': 'fdb81e43-744c-4645-9b0e-12088e372a89', 'ip_address': '10.0.0.2' } ], 'id': '39913bf1-c8e6-4270-a20a-244960b56cd9', 'security_groups': [ ], 'device_id': 'dhcp59398d03-bd37-55aa-92f1-91d1c4e8624a-899ba619-8322-4667-9283-ae0d59ffe 89b', 'name': '', 'admin_state_up': True, 'network_id': '899ba619-8322-4667-9283-ae0d59ffe89b', 'tenant_id': '7827e83d1e3a4c86a11fe51867954941', 'binding: vif_type': 'ovs', 'binding: capabilities': { 'port_filter': False }, 'mac_address': 'fa: 16: 3e: f3: 47: b7' })onnetwork{ 'status': 'ACTIVE', 'subnets': [ 'fdb81e43-744c-4645-9b0e-12088e372a89' ], 'name': 'private', 'provider: physical_network': None, 'admin_state_up': True, 'tenant_id': '7827e83d1e3a4c86a11fe51867954941', 'provider: network_type': 'gre', 'router: external': False, 'shared': False, 'id': '899ba619-8322-4667-9283-ae0d59ffe89b', 'provider: segmentation_id': 1L } ============= VXLAN =============== { '_context_roles': [ 'admin' ], '_context_read_deleted': 'no', '_context_tenant_id': None, 'args': { 'segmentation_id': 1001, 'physical_network': None, 'port': { 'status': 'ACTIVE', 'binding: host_id': 'ryu1', 'name': '', 'allowed_address_pairs': [ ], 'admin_state_up': True, 'network_id': 'f291f8a5-41e9-40db-ba84-eeac8285e594', 'tenant_id': '8f9ef230879747d4808ebf376306a46e', 'extra_dhcp_opts': [ ], 'binding: vif_type': 'ovs', 'device_owner': 'network: dhcp', 'binding: capabilities': { 'port_filter': True }, 'mac_address': 'fa: 16: 3e: a4: cd: 57', 'fixed_ips': [ { 'subnet_id': '120a7dc9-a8f6-48dd-8136-2caa47d20cca', 'ip_address': '10.0.0.2' } ], 'id': 'ed8bdd3e-e820-48f5-bfd7-54fa0dac6804', 'security_groups': [ ], 'device_id': 'dhcpc3a4ecdf-fd9b-5291-9047-1f9bab5081f6-f291f8a5-41e9-40db-ba84-eeac8285e 594' }, 'network_type': 'vxlan' }, 'namespace': None, '_unique_id': 'b5fb1a20556a47c6b237c28ab27bfd20', '_context_is_admin': True, 'version': '1.1', '_context_project_id': None, '_context_timestamp': '2013-10-2707: 11: 59.302676', '_context_user_id': None, 'method': 'port_update' } ================================================== Thanks, -Brent On 11/27/13 9:57 AM, "Hugo Trippaers" <hugo@...> wrote:
Ok. So it is pretty tightly coupled with the Neutron way of working |