<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi API-SIG, neutron and tagging-related folks,</div><div dir="ltr"><br></div><div>This email ask opinions on tagging when creating a resource.</div><div dir="ltr"><br></div><div>We received a feature request to support tagging when creating a resource [1].<br></div><div dir="ltr">Neutron supports bulk creation of resources but the current tagging API recommended</div><div dir="ltr">by the API-SIG does not define tagging when creating a resource.</div><div>As a result, if we want to create 100 ports with specific tags,</div><div>we need 1 (bulk creation) +100 (taggins per resource) API calls.</div><div><br></div><div>It sounds nice to me to support tagging when creating a resource to address the above problem.</div><div>What in my mind is to specify 'tags' attribute in a body of POST request like:</div><div><br></div><div> {'port':<br></div><div>    {'name': 'foo',</div><div>     'network_id': <network-id>,</div><div>     'tags': ['red', 'blue']</div><div>     }</div><div>  }</div><div><br></div><div>I don't know the reason why the current API-SIG recommended tagging API does<br></div><div>not support this model. The current tagging API defines "tags" as a subresource.</div><div>Is there any reason this model was adopted?</div><div><br></div><div>Best Regards,</div><div>Akihiro Motoki (irc: amotoki)</div><div><br></div><div dir="ltr"><div>[1] <a href="https://bugs.launchpad.net/neutron/+bug/1815933">https://bugs.launchpad.net/neutron/+bug/1815933</a> [RFE] Allow bulk-tagging of resources</div><div>[2] <a href="https://specs.openstack.org/openstack/api-wg/guidelines/tags.html">https://specs.openstack.org/openstack/api-wg/guidelines/tags.html</a></div></div></div></div></div>