Revision history [back]

if by physical port name you have something like tap844d2678-83 , its in fact tap<11_first_char_of_interface_id>

to get the full interface_id, you can call neutron with /v2.0/ports?device_id=<instance_id>, it will return all the port (interface) of the instance, there you can get the first 11 char of interface_id and create your chain.

On my part, i'm looking for a way to make the network.incoming.bytes call take interface_id as resource_id instead of the actual <os-ext-srv-attr:instance_name>-<instanceid>-<instancephysicalportname> because I dont want to add calls just to create this crappy resource_id chain ....

Hope this help, Marmoto