Date: Thu, 28 Mar 2024 16:17:09 +0000 (UTC) Message-ID: <1321257569.819.1711642629453@ip-10-30-146-46.us-west-2.compute.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_818_1129788941.1711642629449" ------=_Part_818_1129788941.1711642629449 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The PIM application in ONOS provides a minimal implementation of= the PIM-SSM protocol.
It supports forming neighbor relationships with other PIM routers, recei= ving PIM Join/Prune messages and inserting the information into the ONOS mu= lticast route store, and sending PIM Join/Prune messages to upstream router= s.
The PIM application requires some configuration to enable PIM processing= on interfaces. Configuration is required for each interface that will be r= unning 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:
{ "ports" : { "of:0000000000000002/9" : { "interfaces" : [ { "name" : "sw2-9", "ips" : [ "10.0.1.2/24" ], "mac" : "90:e2:ba:82:f9:76" } ], "pimInterface" : { "interfaceName" : "sw2-9", "enabled" : true, "helloInterval" : 1, "holdTime" : 3, "propagationDelay" : 500, "overrideInterval" : 2500 } } } }
There are two parts to the configuration: interfaces an= d pimInterfaces. Both parts are necessary to enab= le PIM on an interface.
The interfaces section describes IP and MAC addres= s information that is logically assigned to a switch port in the SDN networ= k. The PIM application will make use of this information when sending and r= eceiving messages from this interface. Each interfaces has a 'name' section= , which should contain an arbitrary string which can be used to refer to th= at interface.
The pimInterfaces section enables PIM on the inter= face and configures PIM parameters. It contains a mandatory interfa= ceName 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 confi= gure the parameters of the interface. If they are omitted, default values a= re used as defined in RFC 4601.
The PIM application can be activated with the following command:
onos>= ; app activate org.onosproject.pim
The following CLI commands can be used to inspect the state of the runni= ng PIM application:
onos>= ; pim-interfaces onos> pim-neighbors
TBD