management.management.commands.inittrustpoint

Management command to initialize the Trustpoint on container startup.

Classes

Command

A Django management command to initialize the Trustpoint.

Module Contents

class management.management.commands.inittrustpoint.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.base.BaseCommand

A Django management command to initialize the Trustpoint.

Called by the ‘managestartup’ command

help = 'Initializes the Trustpoint on container startup.'[source]
add_arguments(parser)[source]

Adds command arguments/options.

Parameters:

parser (django.core.management.base.CommandParser)

Return type:

None

handle(**options)[source]

Entrypoint for the command.

Parameters:

options (dict[str, str])

Return type:

None

init_trustpoint(**options)[source]

Run migrations (if enabled) and preparatory Django management cmds.

Parameters:

options (dict[str, str])

Return type:

None