Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core.app: add a post_link() app method #1188

Closed

Conversation

alexandergall
Copy link
Contributor

The existing link() method is called for all add/remove actions per
link. In some cases, it is convenient or even necessary to let an app
perform actions after link configuration is completed but before the
app is run. The method is only invoked when at least one link was
changed (added or removed).

The existing link() method is called for all add/remove actions per
link. In some cases, it is convenient or even necessary to let an app
perform actions after link configuration is completed but before the
app is run.  The method is only invoked when at least one link was
changed (added or removed).
@wingo
Copy link
Contributor

wingo commented Jul 27, 2017

Looks about right but also needs support in apps/config.

@alexandergall
Copy link
Contributor Author

Ok. Unfortunately, apps/config is terra incognita for me (still living in the stone age of app configuration).

@lukego lukego requested a review from wingo September 8, 2017 08:49
@eugeneia
Copy link
Member

eugeneia commented Jan 11, 2018

@wingo Could I possibly test/merge this as-is? Support in apps/config (which I believe is in flux?) could be added later on. I would add a note to https://github.com/snabbco/snabb/blob/master/src/apps/config/README.md explaining that post_link is not yet supported?

Rationale: this seems already useful for downstream projects that don’t use apps/config

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.

None yet

3 participants