Re: [openstack-dev] Problem in visualizing port-mirroring information

2017-02-28 Thread Manik Bindlish
-+

| Field | Value 
  |

+---+-+

| admin_state_up| True  
  |

| allowed_address_pairs |   
  |

| binding:host_id   | openstack-nti-11  
  |

| binding:profile   | {}
  |

| binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}
  |

| binding:vif_type  | ovs   
  |

| binding:vnic_type | normal
  |

| created_at| 2017-02-22T09:59:51Z  
  |

| description   |   
  |

| device_id | 843fe80f-971a-43e3-986c-31d19bef3898  
  |

| device_owner  | compute:None  
  |

| extra_dhcp_opts   |   
  |

| fixed_ips | {"subnet_id": "398b77d2-49aa-4d29-ac4d-f0fd14943120", 
"ip_address": "10.0.0.3"} |

|   | {"subnet_id": "401e3dde-1504-4620-8bbc-0ad6e54b0570", 
"ip_address": "fdaa:99df:2497:0:f816:3eff:feeb:52f2"} |

| id| 19526048-98d9-4e6c-8205-dddfcaf8f2b2  
  |

| mac_address   | fa:16:3e:eb:52:f2 
  |

| name  |   
  |

| network_id| 7fae0053-aeeb-44ac-9336-41b9cae8a9ba  
  |

| port_security_enabled | True  
  |

| project_id| 9c342a60b7cd4e8cacc8c5f6f92e80e6  
  |

| revision_number   | 13
  |

| security_groups   |   
  |

| status| ACTIVE
  |

| tags  |   
  |

| tenant_id | 9c342a60b7cd4e8cacc8c5f6f92e80e6  
  |

| updated_at| 2017-02-28T11:16:11Z  
  |

+---+-+





ubuntu@openstack-nti-11:/opt/stack/devstack$ sudo ip netns exec 
qdhcp-7fae0053-aeeb-44ac-9336-41b9cae8a9ba ping 192.168.200.250

PING 192.168.200.250 (192.168.200.250) 56(84) bytes of data.









Thanks,

Manik



-Original Message-----
From: Takashi Yamamoto [mailto:yamam...@midokura.com]
Sent: Tuesday, February 28, 2017 3:35 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] Problem in visualizing port-mirroring information



On Tue, Feb 28, 2017 at 4:05 PM, Manik Bindlish 
mailto:manik.bindl...@nectechnologies.in>> 
wrote:

> Hi All,

>

>

>

> I am facing an issue in visualizing port-mirroring information.

>

>

>

> 1.)Created 2 VMs:

>

> VM1:  ubuntu3(10.0.0.3,  floating IP: 192.168.200.252) – Tap service

> created

>

> VM2:  ubuntu2(10.0.0.12,  floating ip: 192.168.200.250) – Tap flow

> created

>

> 2.)Connecte

Re: [openstack-dev] Problem in visualizing port-mirroring information

2017-02-28 Thread Takashi Yamamoto
On Tue, Feb 28, 2017 at 4:05 PM, Manik Bindlish
 wrote:
> Hi All,
>
>
>
> I am facing an issue in visualizing port-mirroring information.
>
>
>
> 1.)Created 2 VMs:
>
> VM1:  ubuntu3(10.0.0.3,  floating IP: 192.168.200.252) – Tap service created
>
> VM2:  ubuntu2(10.0.0.12,  floating ip: 192.168.200.250) – Tap flow created
>
> 2.)Connected to bridge router: br-ex(192.168.200.11)
>
> 3.)Pinging google is possible and can be check from br-ex
>
>
>
> Problem: Not able to get the packet info on ubuntu3 where tap service is
> running.
>
>
>
> Ports info:
>
> ubuntu@openstack-nti-11:/opt/stack/devstack$ neutron port-show
> 19526048-98d9-4e6c-8205-dddfcaf8f2b2
>
> neutron CLI is deprecated and will be removed in the future. Use openstack
> CLI instead.
>
> +---+-+
>
> | Field | Value
> |
>
> +---+-+
>
> | admin_state_up| True
> |
>
> | allowed_address_pairs |
> |
>
> | binding:host_id   | openstack-nti-11
> |
>
> | binding:profile   | {}
> |
>
> | binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}
> |
>
> | binding:vif_type  | ovs
> |
>
> | binding:vnic_type | normal
> |
>
> | created_at| 2017-02-22T09:59:51Z
> |
>
> | description   |
> |
>
> | device_id | 843fe80f-971a-43e3-986c-31d19bef3898
> |
>
> | device_owner  | compute:None
> |
>
> | extra_dhcp_opts   |
> |
>
> | fixed_ips | {"subnet_id":
> "398b77d2-49aa-4d29-ac4d-f0fd14943120", "ip_address": "10.0.0.3"}
> |
>
> |   | {"subnet_id":
> "401e3dde-1504-4620-8bbc-0ad6e54b0570", "ip_address":
> "fdaa:99df:2497:0:f816:3eff:feeb:52f2"} |
>
> | id| 19526048-98d9-4e6c-8205-dddfcaf8f2b2
> |
>
> | mac_address   | fa:16:3e:eb:52:f2
> |
>
> | name  |
> |
>
> | network_id| 7fae0053-aeeb-44ac-9336-41b9cae8a9ba
> |
>
> | port_security_enabled | True

have you tried to disable port security?

> |
>
> | project_id| 9c342a60b7cd4e8cacc8c5f6f92e80e6
> |
>
> | revision_number   | 10
> |
>
> | security_groups   | 13e4320a-bc74-4303-a55d-67a0f092a066
> |
>
> | status| ACTIVE
> |
>
> | tags  |
> |
>
> | tenant_id | 9c342a60b7cd4e8cacc8c5f6f92e80e6
> |
>
> | updated_at| 2017-02-22T10:00:10Z
> |
>
> +---+-+
>
>
>
>
>
> ubuntu@openstack-nti-11:/opt/stack/devstack$ neutron port-show
> dde6689e-4f0f-4fe2-9d28-1182ef03e113
>
> neutron CLI is deprecated and will be removed in the future. Use openstack
> CLI instead.
>
> +---+-+
>
> | Field | Value
> |
>
> +---+-+
>
> | admin_state_up| True
> |
>
> | allowed_address_pairs |
> |
>
> | binding:host_id   | openstack-nti-11
> |
>
> | binding:profile   | {}
> |
>
> | binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}
> |
>
> | binding:vif_type  | ovs
> |
>
> | binding:vnic_type | normal
> |
>
> | created_at| 2017-02-27T10:13:51Z
> |
>
> | description   |
> |
>
> | device_id | 1582911f-ed59-43d6-9711-0e505db5413b
> |
>
> | device_owner  | compute:None
> |
>
> | extra_dhcp_opts   |
> |
>
> | fixed_ips | {"subnet_id":
> "398b77d2-49aa-4d29-ac4d-f0fd14943120", "ip_address": "10.0.0.12"}
> |
>
> |   | {"subnet_id":
> "401e3dde-1504-4620-8bbc-0ad6e54b0570", "ip_address":
> "fdaa:99df:2497:0:f816:3eff:fe58:4d36"} |
>
> | id| dde6689e-4f0f-4fe2-9d28-1182ef03e113
> |
>
> | mac_address   | fa:16:3e:58:4d:36
> |
>
> | name  |
> |
>
> | network_id| 7fae0053-aeeb-44ac-9336-41b9cae8a9ba
> |
>
> | port_security_enabled | True
> |
>
> | project_id| 9c342a60b7cd4e8cacc8c5f6f92e80e6
> |
>
> | revision_number   | 10
> |
>
> | security_groups   | 13e4320a-bc74-4303-a55d-67a0f092a066
> |
>
> | status| ACTIVE
> |
>
> | tags  |
> |
>
> | tenant_id | 9c342a60b7cd4e8cacc8c5f6f92e80e6
> |
>
> | updated_at| 2017-02-27T10:14:02Z
> |
>
> +---+-+
>
>
>
> Tap Service:
>
> ubuntu@openstack-nti-11:/opt/stack/devstack$ neutron tap-service-show
> b7415d49-c0b0-4144-bac9-1a11bda713d9
>
> 

Re: [openstack-dev] Problem in visualizing port-mirroring information

2017-02-27 Thread Manik Bindlish
Hi All,

I am facing an issue in visualizing port-mirroring information.


1.)Created 2 VMs:

VM1:  ubuntu3(10.0.0.3,  floating IP: 192.168.200.252) - Tap service created

VM2:  ubuntu2(10.0.0.12,  floating ip: 192.168.200.250) - Tap flow created

2.)Connected to bridge router: br-ex(192.168.200.11)

3.)Pinging google is possible and can be check from br-ex



Problem: Not able to get the packet info on ubuntu3 where tap service is 
running.

Ports info:
ubuntu@openstack-nti-11:/opt/stack/devstack$ neutron port-show 
19526048-98d9-4e6c-8205-dddfcaf8f2b2
neutron CLI is deprecated and will be removed in the future. Use openstack CLI 
instead.
+---+-+
| Field | Value 
  |
+---+-+
| admin_state_up| True  
  |
| allowed_address_pairs |   
  |
| binding:host_id   | openstack-nti-11  
  |
| binding:profile   | {}
  |
| binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}
  |
| binding:vif_type  | ovs   
  |
| binding:vnic_type | normal
  |
| created_at| 2017-02-22T09:59:51Z  
  |
| description   |   
  |
| device_id | 843fe80f-971a-43e3-986c-31d19bef3898  
  |
| device_owner  | compute:None  
  |
| extra_dhcp_opts   |   
  |
| fixed_ips | {"subnet_id": "398b77d2-49aa-4d29-ac4d-f0fd14943120", 
"ip_address": "10.0.0.3"} |
|   | {"subnet_id": "401e3dde-1504-4620-8bbc-0ad6e54b0570", 
"ip_address": "fdaa:99df:2497:0:f816:3eff:feeb:52f2"} |
| id| 19526048-98d9-4e6c-8205-dddfcaf8f2b2  
  |
| mac_address   | fa:16:3e:eb:52:f2 
  |
| name  |   
  |
| network_id| 7fae0053-aeeb-44ac-9336-41b9cae8a9ba  
  |
| port_security_enabled | True  
  |
| project_id| 9c342a60b7cd4e8cacc8c5f6f92e80e6  
  |
| revision_number   | 10
  |
| security_groups   | 13e4320a-bc74-4303-a55d-67a0f092a066  
  |
| status| ACTIVE
  |
| tags  |   
  |
| tenant_id | 9c342a60b7cd4e8cacc8c5f6f92e80e6  
  |
| updated_at| 2017-02-22T10:00:10Z  
  |
+---+-+


ubuntu@openstack-nti-11:/opt/stack/devstack$ neutron port-show 
dde6689e-4f0f-4fe2-9d28-1182ef03e113
neutron CLI is deprecated and will be removed in the future. Use openstack CLI 
instead.
+---+--