diff --git a/lso/routes/ip_trunk.py b/lso/routes/ip_trunk.py index e1efb9f68ddae630b7dff3000bb35a05b63b076a..8798cbc059fc87183103565a153dafcfd95ec7d9 100644 --- a/lso/routes/ip_trunk.py +++ b/lso/routes/ip_trunk.py @@ -19,7 +19,9 @@ class IPTrunkParams(BaseModel): callback: HttpUrl #: A dictionary representation of the IP trunk subscription that is to be provisioned. subscription: dict + #: Trouble Ticket number that is associated with the deployment. tt_number: str + #: The process ID generated by workflow orchestrator, used for the commit comment in the routers. process_id: str @@ -54,6 +56,7 @@ class IPTrunkMigrationParams(IPTrunkParams): new_side: dict #: An Ansible playbook verb that is passed along for indicating the phase of the migration that is performed. verb: str + #: The type of object that is migrated. config_object: str diff --git a/lso/routes/router.py b/lso/routes/router.py index 05f99df7bb5441066c03f1b65a50b02e57818bdf..b9895c3cb75256acb474a9c8f3b0e705e583559a 100644 --- a/lso/routes/router.py +++ b/lso/routes/router.py @@ -30,7 +30,9 @@ class NodeProvisioningParams(BaseModel): #: Whether this playbook execution should be a dry run, or run for real. Defaults to ``True`` for obvious reasons, #: also making it an optional parameter. dry_run: Optional[bool] = True + #: Trouble Ticket number that is associated with the deployment. tt_number: str + #: The process ID generated by workflow orchestrator, used for the commit comment in the routers. process_id: str