NotificationTopic.CreateTopic(object)
class documentationNotificationTopic
(View In Hierarchy)
Known subclasses: NotificationHandler.NotifierMqtt
Wrapper class for creating Notification Topic.
Method | CreateIFDTopic | This method creates the IFD topic. |
Method | CreateIFLTopic | This method creates IFL topic. |
Method | CreateIFFTopic | This method creates IFF topic. |
Method | CreateIFATopic | This method creates IFA topic. |
Method | CreateFirewallTopic | This method creates firewall topic. |
Method | CreateRouteTopic | This method creates route topic. |
Method | CreateRouteTableTopic | This method creates route table topic. |
Method | CreateGenericTopic | This method creates a generic topic to subscribe all events. |
Method | CreateSyslogTopic | This method creates the syslog topic. |
Method | CreateConfigUpdateTopic | This method creates a topic to subscribe config-update events. |
This method creates the IFD topic.
Parameters | op | operation("add", "delete", "change", "+"(all)), Default is "+". |
ifd_name | ifd name to subscribe, Default is all ifds. | |
Returns | Returns the IFD topic object |
This method creates IFL topic.
Parameters | op | operation("add", "delete", "change", "+"(all)), Default is "+". |
ifd_name | ifd name to subscribe, Default is all ifds. | |
sub_unit | sub_unit is mandatory when interface name is passed. | |
Returns | Returns the IFL topic object |
This method creates IFF topic.
Parameters | op | operation("add", "delete", "change", "+"(all)), Default is "+". |
ifd_name | ifd name to subscribe, Default is all ifds. | |
sub_unit | sub_unit is mandatory when interface name is passed. | |
family_type | Default is all family_types. | |
Returns | Returns the IFF topic object |
This method creates IFA topic.
Parameters | op | operation("add", "delete", "change", "+"(all)), Default is "+". |
ifd_name | ifd name to subscribe, Default is all ifds. | |
sub_unit | sub_unit is mandatory when interface name is passed. | |
family_type | Default is all family_types. | |
address | Default is all address. | |
Returns | Returns the IFA topic object |
This method creates firewall topic.
Parameters | op | operation("add", "delete", "change", "+"(all)), Default is "+". |
filter_name | filter name to subscribe, Default is all filters. | |
Returns | Returns the firewall topic object |
This method creates route topic.
Parameters | op | operation("add", "delete", "change", "+"(all)), Default is "+". |
family | family to subscribe, Default is all family. | |
address | address to subscribe, Default is all addresses. | |
prefix_length | Default is all prefix lengths | |
Returns | Returns the route topic object |
This method creates route table topic.
Parameters | op | operation("add", "delete", "change", "+"(all)), Default is "+". |
table_name | table name to subscribe. Default is all tables | |
lr_name | LR name to subscribe, Default is all | |
Returns | Returns the route table topic object |
This method creates a generic topic to subscribe all events.
Returns | Returns the generic topic object |