Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
RoutingProcessv6 Class Reference
Inheritance diagram for RoutingProcessv6:
RoutingProcess Process

Public Member Functions

void routeAdded (ipv6, ipv6, int, int, ipv6, string, string)
 This event is emitted when a route is added. More...
 
void routeRemoved (ipv6, ipv6, int, int, ipv6, string, string)
 This event is emitted when a route is removed. More...
 
void networkAdded (ipv6, ipv6)
 This event is emitted when a network is added. More...
 
void networkRemoved (ipv6, ipv6)
 This event is emitted when a network is removed. More...
 
- Public Member Functions inherited from RoutingProcess
void clearAllRoutes ()
 Clears all routes. More...
 
void clearRoute (ip, ip)
 Clears the specified route. More...
 
bool addStaticRoute (ip, ip, ip, string, int)
 Adds a static route. More...
 
bool removeStaticRoute (ip, ip, ip, string, int)
 Removes the specified static route. More...
 
int getStaticRouteCount ()
 Returns the number of static routes. More...
 
StaticRoute getStaticRouteAt (int)
 Returns the static route at the specified index. More...
 
RoutingTable getRoutingTable ()
 Returns the routing table. More...
 
void routeAdded (ip, ip, int, int, ip, string, string)
 This event is emitted when a route is added. More...
 
void routeRemoved (ip, ip, int, int, ip, string, string)
 This event is emitted when a route is removed. More...
 
void networkAdded (ip, ip)
 This event is emitted when a network is added. More...
 
void networkRemoved (ip, ip)
 This event is emitted when a network is removed. More...
 
- Public Member Functions inherited from Process
Device getOwnerDevice ()
 Returns the device for this process. More...
 

Member Function Documentation

◆ networkAdded()

void RoutingProcessv6::networkAdded ( ipv6  ,
ipv6   
)

This event is emitted when a network is added.

  • network, the network address.
  • mask, the network mask.

IPC event.

◆ networkRemoved()

void RoutingProcessv6::networkRemoved ( ipv6  ,
ipv6   
)

This event is emitted when a network is removed.

  • network, the network address.
  • mask, the network mask.

IPC event.

◆ routeAdded()

void RoutingProcessv6::routeAdded ( ipv6  ,
ipv6  ,
int  ,
int  ,
ipv6  ,
string  ,
string   
)

This event is emitted when a route is added.

  • network, the network address.
  • mask, the network mask.
  • metric, the metric value.
  • distance, the administrative distance value.
  • nexthop, the next hop address.
  • portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0
  • protocolCode, the protocol code.

IPC event.

◆ routeRemoved()

void RoutingProcessv6::routeRemoved ( ipv6  ,
ipv6  ,
int  ,
int  ,
ipv6  ,
string  ,
string   
)

This event is emitted when a route is removed.

  • network, the network address.
  • mask, the network mask.
  • metric, the metric value.
  • distance, the administrative distance value.
  • nexthop, the next hop address.
  • portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0
  • protocolCode, the protocol code.

IPC event.


The documentation for this class was generated from the following file: