The PIM application in ONOS provides a minimal implementation of the PIM-SSM protocol.
It supports forming neighbor relationships with other PIM routers, receiving PIM Join/Prune messages and inserting the information into the ONOS multicast route store, and sending PIM Join/Prune messages to upstream routers.
The PIM application requires some configuration to enable PIM processing on interfaces. Configuration is required for each interface that will be running PIM.
Please see the The Network Configuration Service wiki page for information on how to manage network configuration in ONOS.
The following is an example PIM configuration:
There are two parts to the configuration: interfaces and pimInterfaces. Both parts are necessary to enable PIM on an interface.
The interfaces section describes IP and MAC address information that is logically assigned to a switch port in the SDN network. The PIM application will make use of this information when sending and receiving messages from this interface. Each interfaces has a 'name' section, which should contain an arbitrary string which can be used to refer to that interface.
The pimInterfaces section enables PIM on the interface and configures PIM parameters. It contains a mandatory interfaceName field which refers to an interface configuration. The enabled flag must be set to true to enable PIM processing on this interface. The remaining fields are optional, and are used to configure the parameters of the interface. If they are omitted, default values are used as defined in RFC 4601.
The PIM application can be activated with the following command:
The following CLI commands can be used to inspect the state of the running PIM application:
Unicast route information