nova secgroup-list is returing id of security-group. So I don't see any problem in modifying security-group-rule group with id.
nova secgroup-list +--------------------------------------+---------+-------------+ | Id | Name | Description | +--------------------------------------+---------+-------------+ | 1bf4d9ab-31b0-4e62-a744-926f5979f0ad | default | default | | 1dac5e03-ec05-4a01-9ac6-c1fd2e1609e2 | test1 | - | | be329817-f2c4-461e-8e31-963adf4bc950 | test1 | - | | e2d012cd-5db2-46e7-b080-5dbe3f36aafc | test2 | - | +--------------------------------------+---------+-------------+
nova secgroup-list is returing id of security-group. So I don't see any problem in modifying security-group-rule group with id.
nova secgroup-list ------- ------- ------- ------- ----+-- ------- +------ ------- + ------- ------- ------- ------- ----+-- ------- +------ ------- + 31b0-4e62- a744-926f5979f0 ad | default | default | ec05-4a01- 9ac6-c1fd2e1609 e2 | test1 | - | f2c4-461e- 8e31-963adf4bc9 50 | test1 | - | 5db2-46e7- b080-5dbe3f36aa fc | test2 | - | ------- ------- ------- ------- ----+-- ------- +------ ------- +
+------
| Id | Name | Description |
+------
| 1bf4d9ab-
| 1dac5e03-
| be329817-
| e2d012cd-
+------