-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send partition info from snmp-collector and topology services
Send member list, partition list and the prouter list from contrail-snmp-collector and contrail-topology Change-Id: I4db80eb18a77ae1b1f0bf554083185498c335e90 Closes-Bug: #1640959
- Loading branch information
Sundaresan Rajangam
committed
Mar 11, 2017
1 parent
26d8424
commit d7e7d71
Showing
8 changed files
with
134 additions
and
11 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
27 changes: 27 additions & 0 deletions
27
src/analytics/contrail-snmp-collector/snmp_collector_info.sandesh
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,27 @@ | ||
/* | ||
* Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. | ||
*/ | ||
|
||
/** | ||
* Definitions of structures used by contrail-snmp-collector to send | ||
* information to the contrail-collector | ||
*/ | ||
|
||
/** | ||
* stores snmp collector information | ||
*/ | ||
struct SnmpCollectorInfo { | ||
1: string name (key="ObjectCollectorInfo") | ||
2: optional bool deleted | ||
3: list<string> members | ||
4: list<string> partitions | ||
5: list<string> prouters | ||
} | ||
|
||
/** | ||
* @description: uve to send snmp collector information | ||
* @object: analytics-node | ||
*/ | ||
uve sandesh SnmpCollectorUVE { | ||
1: SnmpCollectorInfo data | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. | ||
*/ | ||
|
||
/** | ||
* Definitions of structures used by contrail-snmp-collector to send | ||
* information to the contrail-collector | ||
*/ | ||
|
||
/** | ||
* stores topology information | ||
*/ | ||
struct TopologyInfo { | ||
1: string name (key="ObjectCollectorInfo") | ||
2: optional bool deleted | ||
3: list<string> members | ||
4: list<string> partitions | ||
5: list<string> prouters | ||
} | ||
|
||
/** | ||
* @description: uve to send topology information | ||
* @object: analytics-node | ||
*/ | ||
uve sandesh TopologyUVE { | ||
1: TopologyInfo data | ||
} |
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