-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #228 from yunkon-kim/track-agent-status
Track the state of cb-network agent
- Loading branch information
Showing
8 changed files
with
173 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package cbnet | ||
|
||
const ( | ||
// Running is const for the running state | ||
Running = "running" | ||
|
||
// Suspended is const for the suspended state | ||
Suspended = "suspended" | ||
) | ||
|
||
// Peer represents a host's rule of the cloud adaptive network. | ||
type Peer struct { | ||
CLADNetID string `json:"cladNetID"` | ||
HostID string `json:"hostID"` | ||
PrivateIPv4Network string `json:"privateIPv4Network"` | ||
PrivateIPv4Address string `json:"privateIPv4Address"` | ||
PublicIPv4Address string `json:"publicIPv4Address"` | ||
State string `json:"state"` | ||
} |
Oops, something went wrong.