No, that did not work. Labels are not even listed in resource list. sdn@koteswar-ice-osc:~$ ceilometer meter-list -q 'resource_id=db5b10a9-b36b-4b96-ab46-84e34e2b1cfb' +------+------+------+-------------+---------+------------+ | Name | Type | Unit | Resource ID | User ID | Project ID | +------+------+------+-------------+---------+------------+ +------+------+------+-------------+---------+------------+ sdn@koteswar-ice-osc:~$ neutron meter-label-list +--------------------------------------+----------+-------------+ | id | name | description | +--------------------------------------+----------+-------------+ | 03903d6c-fdf4-4091-88e8-c70d17ce3664 | LABEL1 | | | 3c1c3fea-1105-4ab6-8ff0-be160c096668 | LABEL2 | | | db5b10a9-b36b-4b96-ab46-84e34e2b1cfb | INCOMING | | +--------------------------------------+----------+-------------+ sdn@koteswar-ice-osc:~$ ceilometer resource-list|grep db5b10a9-b36b-4b96-ab46-84e34e2b1cfb sdn@koteswar-ice-osc:~$
regards, Koteswar From: Nejc Saje [mailto:nejc.s...@xlab.si] Sent: Friday, March 28, 2014 5:21 PM To: Kelam, Koteswara Rao Cc: openstack@lists.openstack.org Subject: Re: [Openstack] [ceilometer] how to list l3 meters using neutron meter-labels? If I'm not mistaken, you should be able to get the relevant samples by filtering on resource_id being the label's ID, e.g. `ceilometer sample-list -q resource_id=<LABEL ID>` Cheers, Nejc On Mar 28, 2014, at 11:40 AM, Kelam, Koteswara Rao <koteswara.ke...@hp.com<mailto:koteswara.ke...@hp.com>> wrote: Hi All, I am using icehouse-2. In my setup 10.64.201.0/24 is external network and set it as router gateway. |10.64.201.0/24|<------->|router|<------>|22.0.0.0/24| Now I want see the rx and tx stats of qg-XX interface of router as meters. I configured neutron metering label and rule as follows. sdn@koteswar-ice-osc:~$ neutron meter-label-show INCOMING sdn@koteswar-ice-osc:~$ neutron meter-label-rule-create INCOMING 10.64.201.0/24 --direction ingress But I don't know how to see the stats associated with label INCOMING. After creating label, how to see it as a meter in the collector side? "ceilometer meter-list/sample-list" not listing anything related to this label. Please help. Thanks in advance Koteswar _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org<mailto:openstack@lists.openstack.org> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack