forked from tehnerd/mpls-pce
-
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.
added initial protobuf for lsp's representation.
added new class TEController. so application will looks like: pce_controller - everything related to communication between pcc and pce will be here (socket's handling etc) pcep - pcep handling (msg parsing etc) te_controller - full controllers logic (todo;)(path computation, lsp storing etc) or/and proxy to external controller
- Loading branch information
Showing
5 changed files
with
391 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package mplspce; | ||
|
||
message LSP { | ||
optional string pcc_ip = 1; | ||
|
||
message LSPObject { | ||
optional uint32 plsp_id = 1; | ||
optional bool delegated = 2; | ||
optional bool administrative = 3; | ||
optional uint32 operational = 4; | ||
} | ||
|
||
message LSPAttributeObject { | ||
optional uint32 setup_prio = 1; | ||
optional uint32 hold_prio = 2; | ||
optional bool local_protection = 3; | ||
} | ||
|
||
message EROSubObject { | ||
optional bool loose =1; | ||
optional string node_ip =2; | ||
optional uint32 node_mask =3; | ||
} | ||
|
||
message RROSubObject { | ||
optional string node_ip =1; | ||
optional uint32 node_mask =2; | ||
} | ||
|
||
optional LSPObject lsp_obj = 2; | ||
optional LSPAttributeObject lspa_obj = 3; | ||
repeated EROSubObject ero =4; | ||
repeated RROSubObject rro =5; | ||
optional uint32 bandwidth =6; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.