mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2025-08-09 21:27:33 +02:00
53-run-commands-pre-up-and-post-down
- Ability to run a command pre up and post down - Ability to be a client in one mesh and a peer in the other - Added dev card to specify different sync rate, keepalive rate per mesh.
This commit is contained in:
@ -23,10 +23,10 @@ func NewCtrlServerStub() *CtrlServerStub {
|
||||
}
|
||||
}
|
||||
|
||||
func (c *CtrlServerStub) GetConfiguration() *conf.WgMeshConfiguration {
|
||||
return &conf.WgMeshConfiguration{
|
||||
GrpcPort: "8080",
|
||||
Endpoint: "abc.com",
|
||||
func (c *CtrlServerStub) GetConfiguration() *conf.DaemonConfiguration {
|
||||
return &conf.DaemonConfiguration{
|
||||
GrpcPort: 8080,
|
||||
BaseConfiguration: conf.WgConfiguration{},
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user