
{"id":12819,"date":"2026-03-13T09:09:35","date_gmt":"2026-03-13T09:09:35","guid":{"rendered":"https:\/\/developer.rdkcentral.com\/documentation\/?page_id=12819"},"modified":"2026-03-13T10:45:16","modified_gmt":"2026-03-13T10:45:16","slug":"epon-manager","status":"publish","type":"page","link":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/","title":{"rendered":"EPON Manager"},"content":{"rendered":"\n<p>The RDK EPON Manager is an RDK application responsible for controlling and configuring EPON lower layers. It serves as middleware between the EPON HAL and other RDK components.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"EPONManager-Building\">Building<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"EPONManager-RDKYoctoBuild(Production)\">RDK Yocto Build (Production)<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Clean and rebuild\nbitbake -c cleanall rdk-eponmanager\nbitbake rdk-eponmanager\n\n# Output:\n#   \/usr\/bin\/epon_manager\n#   \/usr\/lib\/libepon_hal_mock.so (if tests enabled)\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"EPONManager-AutotoolsBuild(Development)\">Autotools Build (Development)<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># 1. Generate configure script (first time only)\nautoreconf -ivf\n\n# 2. Configure with options\n.\/configure [OPTIONS]\n\n# 3. Build\nmake -j$(nproc)\n\n# 4. Install (optional)\nsudo make install\n\n# 5. Clean (if needed)\nmake clean\n<\/pre>\n\n\n\n<p><strong><br>Configure Options<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Installation paths\n.\/configure --prefix=\/usr \\\n            --sysconfdir=\/etc \\\n            --localstatedir=\/var\n\n# Feature toggles\n.\/configure --enable-rbus           # Enable RBUS support (default: yes)\n.\/configure --disable-rbus          # Disable RBUS support\n.\/configure --enable-telemetry      # Enable telemetry (default: yes)\n.\/configure --disable-telemetry     # Disable telemetry\n.\/configure --enable-tests          # Build HAL mock library (default: yes)\n.\/configure --disable-tests         # Don't build HAL mock\n.\/configure --enable-debug          # Debug build with -g -O0 (default: no)\n\n# Complete development build example\n.\/configure --prefix=\/usr \\\n            --enable-rbus \\\n            --enable-telemetry \\\n            --enable-tests \\\n            --enable-debug\n\n# Production build example\n.\/configure --prefix=\/usr \\\n            --sysconfdir=\/etc \\\n            --enable-rbus \\\n            --enable-telemetry \\\n            --disable-tests\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"EPONManager-ProjectStructure\">Project Structure<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">epon-manager\/\n\u251c\u2500\u2500 include\/                   # Public headers\n\u2502   \u251c\u2500\u2500 epon_hal.h            # EPON HAL interface\n\u2502   \u251c\u2500\u2500 eponMgr_rbus.h        # RBUS public API\n\u2502   \u251c\u2500\u2500 eponMgr_telemetry.h   # Telemetry public API\n\u2502   \u2514\u2500\u2500 eponMgr_tr181.h       # TR-181 public API\n\u251c\u2500\u2500 src\/\n\u2502   \u251c\u2500\u2500 logger\/               # RDK Logger integration (header-only)\n\u2502   \u2502   \u2514\u2500\u2500 eponMgr_logger.h\n\u2502   \u251c\u2500\u2500 core\/                 # Core manager components\n\u2502   \u2502   \u251c\u2500\u2500 epon_manager_main.c      # Main entry point\n\u2502   \u2502   \u251c\u2500\u2500 controller\/              # Main controller logic\n\u2502   \u2502   \u251c\u2500\u2500 data_structures\/         # Core data structures &amp; HAL abstraction\n\u2502   \u2502   \u251c\u2500\u2500 stats_poller\/            # Statistics polling thread\n\u2502   \u2502   \u2514\u2500\u2500 config\/                  # Persistence &amp; configuration\n\u2502   \u251c\u2500\u2500 rbus\/                 # RBUS integration\n\u2502   \u2502   \u251c\u2500\u2500 eponMgr_rbus.c           # RBUS initialization\n\u2502   \u2502   \u251c\u2500\u2500 eponMgr_psm.c\/h          # PSM (Persistent Storage Manager)\n\u2502   \u2502   \u251c\u2500\u2500 tr181\/                   # TR-181 data model handlers\n\u2502   \u2502   \u2502   \u2514\u2500\u2500 eponMgr_tr181.c\n\u2502   \u2502   \u2514\u2500\u2500 wanmanager_update\/       # WanManager PHY notifications\n\u2502   \u2514\u2500\u2500 telemetry\/            # Telemetry subsystem\n\u2502       \u2514\u2500\u2500 eponMgr_telemetry.c\n\u251c\u2500\u2500 tests\/\n\u2502   \u2514\u2500\u2500 hal_mock\/             # Mock EPON HAL for testing\n\u2502       \u251c\u2500\u2500 epon_hal_mock.c   # Mock implementation\n\u2502       \u2514\u2500\u2500 epon_hal_trigger.c # Trigger utility\n\u251c\u2500\u2500 systemd\/                  # Systemd service files\n\u2502   \u2514\u2500\u2500 utils\/\n\u2502       \u2514\u2500\u2500 rdkeponmanager.service\n\u251c\u2500\u2500 design_docs\/              # Architecture documentation\n\u2502   \u251c\u2500\u2500 01_Requirements.md\n\u2502   \u251c\u2500\u2500 02_Architecture.md\n\u2502   \u251c\u2500\u2500 03_Component_Design.md\n\u2502   \u251c\u2500\u2500 04_Sequence_Diagrams.md\n\u2502   \u251c\u2500\u2500 05_Thread_Architecture.md\n\u2502   \u2514\u2500\u2500 06_Configuration.md\n\u251c\u2500\u2500 configure.ac              # Autoconf configuration\n\u251c\u2500\u2500 Makefile.am              # Automake top-level\n\u2514\u2500\u2500 cfg\/                     # Autotools auxiliary files\n<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">Features<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>RBUS Integration<\/strong>: TR-181 data model support (Device.Optical.Interface.{i})<\/li>\n\n\n\n<li><strong>PSM Persistence<\/strong>: Configuration storage via Persistent Storage Manager<\/li>\n\n\n\n<li><strong>WanManager Integration<\/strong>: PHY status notifications for link state<\/li>\n\n\n\n<li><strong>Statistics Polling<\/strong>: Configurable periodic statistics collection<\/li>\n\n\n\n<li><strong>RDK Logger<\/strong>: Integrated logging with RDK_LOG macros<\/li>\n\n\n\n<li><strong>Telemetry<\/strong>: Event reporting and statistics collection<\/li>\n\n\n\n<li><strong>HAL Abstraction<\/strong>: Clean separation between manager and HAL<\/li>\n\n\n\n<li><strong>Thread-Safe<\/strong>: Event-driven architecture with mutex\/condition variables<\/li>\n\n\n\n<li><strong>Multi-LLID Support<\/strong>: Dynamic LLID table management<\/li>\n\n\n\n<li><strong>DPoE Support<\/strong>: CPE MAC table and VEIP interface management<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/wiki.rdkcentral.com\/spaces\/DOC\/pages\/464910788\/EPON+Manager\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The RDK EPON Manager is an RDK application responsible for controlling and configuring EPON lower [&hellip;]<\/p>\n","protected":false},"author":659,"featured_media":0,"parent":9575,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-12819","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>EPON Manager - RDK Documentation Portal | Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EPON Manager - RDK Documentation Portal | Documentation\" \/>\n<meta property=\"og:description\" content=\"The RDK EPON Manager is an RDK application responsible for controlling and configuring EPON lower [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"RDK Documentation Portal | Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-13T10:45:16+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/\",\"url\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/\",\"name\":\"EPON Manager - RDK Documentation Portal | Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/#website\"},\"datePublished\":\"2026-03-13T09:09:35+00:00\",\"dateModified\":\"2026-03-13T10:45:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"RDK Broadband\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Components\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"EPON Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/#website\",\"url\":\"https:\/\/developer.rdkcentral.com\/documentation\/\",\"name\":\"RDK Documentation Portal | Documentation\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/developer.rdkcentral.com\/documentation\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EPON Manager - RDK Documentation Portal | Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/","og_locale":"en_US","og_type":"article","og_title":"EPON Manager - RDK Documentation Portal | Documentation","og_description":"The RDK EPON Manager is an RDK application responsible for controlling and configuring EPON lower [&hellip;]","og_url":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/","og_site_name":"RDK Documentation Portal | Documentation","article_modified_time":"2026-03-13T10:45:16+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/","url":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/","name":"EPON Manager - RDK Documentation Portal | Documentation","isPartOf":{"@id":"https:\/\/developer.rdkcentral.com\/documentation\/#website"},"datePublished":"2026-03-13T09:09:35+00:00","dateModified":"2026-03-13T10:45:16+00:00","breadcrumb":{"@id":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/epon-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/developer.rdkcentral.com\/documentation\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/developer.rdkcentral.com\/documentation\/"},{"@type":"ListItem","position":3,"name":"RDK Broadband","item":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/"},{"@type":"ListItem","position":4,"name":"Components","item":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/rdk_broadband_documentation\/components\/"},{"@type":"ListItem","position":5,"name":"EPON Manager"}]},{"@type":"WebSite","@id":"https:\/\/developer.rdkcentral.com\/documentation\/#website","url":"https:\/\/developer.rdkcentral.com\/documentation\/","name":"RDK Documentation Portal | Documentation","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/developer.rdkcentral.com\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/12819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/users\/659"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/comments?post=12819"}],"version-history":[{"count":1,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/12819\/revisions"}],"predecessor-version":[{"id":12820,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/12819\/revisions\/12820"}],"up":[{"embeddable":true,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/9575"}],"wp:attachment":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/media?parent=12819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}