@@ -38,7 +38,12 @@ def _get_columns(item):
3838class CreateDefaultSecurityGroupRule (
3939 command .ShowOne , common .NeutronCommandWithExtraArgs
4040):
41- _description = _ ("Create a new default security group rule" )
41+ """Add a new security group rule to the default security group template.
42+
43+ These rules will be applied to the default security groups created for any
44+ new project. They will not be applied to any existing default security
45+ groups.
46+ """
4247
4348 def get_parser (self , prog_name ):
4449 parser = super ().get_parser (prog_name )
@@ -225,7 +230,12 @@ def take_action(self, parsed_args):
225230
226231
227232class DeleteDefaultSecurityGroupRule (command .Command ):
228- _description = _ ("Delete default security group rule(s)" )
233+ """Remove security group rule(s) from the default security group template.
234+
235+ These rules will not longer be applied to the default security groups
236+ created for any new project. They will not be removed from any existing
237+ default security groups.
238+ """
229239
230240 def get_parser (self , prog_name ):
231241 parser = super ().get_parser (prog_name )
@@ -265,7 +275,12 @@ def take_action(self, parsed_args):
265275
266276
267277class ListDefaultSecurityGroupRule (command .Lister ):
268- _description = _ ("List default security group rules" )
278+ """List security group rules used for new default security groups.
279+
280+ This shows the rules that will be added to any new default security groups
281+ created. These rules may differ for the rules present on existing default
282+ security groups.
283+ """
269284
270285 def _format_network_security_group_rule (self , rule ):
271286 """Transform the SDK DefaultSecurityGroupRule object to a dict
@@ -373,7 +388,11 @@ def take_action(self, parsed_args):
373388
374389
375390class ShowDefaultSecurityGroupRule (command .ShowOne ):
376- _description = _ ("Display default security group rule details" )
391+ """Show a security group rule used for new default security groups.
392+
393+ This shows a rule that will be added to any new default security groups
394+ created. This rule may not be present on existing default security groups.
395+ """
377396
378397 def get_parser (self , prog_name ):
379398 parser = super ().get_parser (prog_name )
0 commit comments