Here is what I confirmed. There's only one "tenant_id" that is the ID of the tenant who owns the security group *rule*.
$ neutron security-group-rule-list +--------------------------------------+----------------+-----------+-----------+---------------+-----------------+ | id | security_group | direction | ethertype | protocol/port | remote | +--------------------------------------+----------------+-----------+-----------+---------------+-----------------+ | 1def2163-b6c3-474e-9902-0a9e42958f86 | default | ingress | IPv6 | any | default (group) | | 4a5c2dac-a520-41f8-9288-82261b7e0138 | default | egress | IPv6 | any | any | | 4ff7a294-9f23-4add-9f06-8703cf59ebd6 | default | ingress | IPv6 | any | default (group) | | 691b855b-958f-492c-b1aa-6068ce08b60f | default | egress | IPv4 | any | any | | 98ace602-b0ed-494f-ab75-37924e366ecf | default | ingress | IPv4 | any | default (group) | | d06efb94-89f5-4bf6-af9c-160bd37e8ab6 | default | egress | IPv4 | any | any | | f2e7922d-8e0c-4329-a245-62e680b66846 | default | ingress | IPv4 | any | default (group) | | f82aa751-34ec-42ae-bb7d-c21c997d4954 | default | egress | IPv6 | any | any | +--------------------------------------+----------------+-----------+-----------+---------------+-----------------+ $ curl -s -X GET -H "x-auth-token: $TOKEN" http://192.168.122.111:9696/v2.0/security-group-rules/1def2163-b6c3-474e-9902-0a9e42958f86 | jq "." { "security_group_rule": { "security_group_id": "d8110539-9db8-454d-9fca-e6e8b9fd939f", "id": "1def2163-b6c3-474e-9902-0a9e42958f86", "remote_group_id": "d8110539-9db8-454d-9fca-e6e8b9fd939f", "direction": "ingress", "remote_ip_prefix": null, "protocol": null, "ethertype": "IPv6", "tenant_id": "56b048ae10a94b3893c3ac0b1cfb40a3", "port_range_max": null, "port_range_min": null } }
Here is what I confirmed. There's only one "tenant_id" that is the ID of the tenant who owns the security group *rule*.
$ neutron security- group-rule- list ------- ------- ------- ------- ----+-- ------- ------- +------ -----+- ------- ---+--- ------- -----+- ------- ------- --+ ------- ------- ------- ------- ----+-- ------- ------- +------ -----+- ------- ---+--- ------- -----+- ------- ------- --+ b6c3-474e- 9902-0a9e42958f 86 | default | ingress | IPv6 | any | default (group) | a520-41f8- 9288-82261b7e01 38 | default | egress | IPv6 | any | any | 9f23-4add- 9f06-8703cf59eb d6 | default | ingress | IPv6 | any | default (group) | 958f-492c- b1aa-6068ce08b6 0f | default | egress | IPv4 | any | any | b0ed-494f- ab75-37924e366e cf | default | ingress | IPv4 | any | default (group) | 89f5-4bf6- af9c-160bd37e8a b6 | default | egress | IPv4 | any | any | 8e0c-4329- a245-62e680b668 46 | default | ingress | IPv4 | any | default (group) | 34ec-42ae- bb7d-c21c997d49 54 | default | egress | IPv6 | any | any | ------- ------- ------- ------- ----+-- ------- ------- +------ -----+- ------- ---+--- ------- -----+- ------- ------- --+ 192.168. 122.111: 9696/v2. 0/security- group-rules/ 1def2163- b6c3-474e- 9902-0a9e42958f 86 | jq "." group_rule" : { group_id" : "d8110539- 9db8-454d- 9fca-e6e8b9fd93 9f", b6c3-474e- 9902-0a9e42958f 86", group_id" : "d8110539- 9db8-454d- 9fca-e6e8b9fd93 9f", ip_prefix" : null, 3893c3ac0b1cfb4 0a3", range_max" : null, range_min" : null
+------
| id | security_group | direction | ethertype | protocol/port | remote |
+------
| 1def2163-
| 4a5c2dac-
| 4ff7a294-
| 691b855b-
| 98ace602-
| d06efb94-
| f2e7922d-
| f82aa751-
+------
$ curl -s -X GET -H "x-auth-token: $TOKEN" http://
{
"security_
"security_
"id": "1def2163-
"remote_
"direction": "ingress",
"remote_
"protocol": null,
"ethertype": "IPv6",
"tenant_id": "56b048ae10a94b
"port_
"port_
}
}