Skip to content

Add stop-time option to App Extension, to stop container after wanted number of seconds - #22

Closed
noaOrMlnx wants to merge 1 commit into
masterfrom
app-ext-stop-time
Closed

Add stop-time option to App Extension, to stop container after wanted number of seconds#22
noaOrMlnx wants to merge 1 commit into
masterfrom
app-ext-stop-time

Conversation

@noaOrMlnx

Copy link
Copy Markdown
Owner

What I did

Add stop-time to manifest options, and pass the stop-time to docker_image_ctl.j2.
+
sonic-buildimage PR

How to verify it

Run Application extension with stop-time in manifest and make sure it is stopping after the wanted stop-time.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

'docker_image_run_opt': run_opt,
'sonic_asic_platform': sonic_asic_platform
'sonic_asic_platform': sonic_asic_platform,
'stop_time': stop_time

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you made sure what happens when installing app extensions that does not have this new value?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check the changes I've made in manifest.py - the default value of stop-time is ''.

… number of seconds

Signed-off-by: noaOrMlnx <noaor@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants