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

Add stub HTTPS server for virtual BMC #101

Merged
merged 13 commits into from
Dec 9, 2019
Merged

Add stub HTTPS server for virtual BMC #101

merged 13 commits into from
Dec 9, 2019

Conversation

dulltz
Copy link
Contributor

@dulltz dulltz commented Dec 5, 2019

For testing BMC reverse proxy server https://github.com/cybozu-go/neco-apps/pull/250, add stub HTTPS server for virtual BMC.

For each node, Placemat deploys HTTPS server listening https://<BMC address>:443.

If you want to enable this feature, prepare certificate files, then add the following options:

  • -bmc-cert=<path to cert file>
  • -bmc-key=<path to key file>

@dulltz dulltz self-assigned this Dec 5, 2019
Add Certificate resouce

Signed-off-by: dulltz <isrgnoe@gmail.com>
bmc.go Outdated
Comment on lines 220 to 224
go func() {
<-ctx.Done()
serv.Close()
}()
return nil
Copy link
Member

Choose a reason for hiding this comment

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

        <-ctx.Done()
        return serv.Close()

dulltz and others added 11 commits December 5, 2019 18:58
Signed-off-by: morimoto-cybozu <kenji_morimoto@cybozu.co.jp>
Signed-off-by: morimoto-cybozu <kenji_morimoto@cybozu.co.jp>
Signed-off-by: morimoto-cybozu <kenji_morimoto@cybozu.co.jp>
Signed-off-by: morimoto-cybozu <kenji_morimoto@cybozu.co.jp>
Signed-off-by: morimoto-cybozu <kenji_morimoto@cybozu.co.jp>
Signed-off-by: morimoto-cybozu <kenji_morimoto@cybozu.co.jp>
Signed-off-by: morimoto-cybozu <kenji_morimoto@cybozu.co.jp>
@dulltz dulltz changed the title Add HTTPS server for virtual BMC Add stub HTTPS server for virtual BMC Dec 9, 2019
@ymmt2005 ymmt2005 requested review from morimoto-cybozu and removed request for ymmt2005 December 9, 2019 02:30
Copy link
Contributor

@morimoto-cybozu morimoto-cybozu left a comment

Choose a reason for hiding this comment

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

mobbed

@morimoto-cybozu morimoto-cybozu merged commit 811058e into master Dec 9, 2019
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.

4 participants