Skip to content

Commit

Permalink
RDKB-34410: Merge topic/rdkb_wan_manager changes to sprint 2102
Browse files Browse the repository at this point in the history
Reason for change: rebased from 2102_sprint to stable2 branch.

Test Procedure:
1. Build won't break

Risks: Moderate
Signed-off-by: [email protected]

Squashed commit of the following:

SKYH4-4717 : [OS] IPoE HC - IPv6 IPoE HC is not working

Reason for change: Added renew on signal
Test Procedure:
	* Internet connectivity to box.
	* No new issues aroung DHCPv6
	* Renew meachanisms should work
Risks: Low

SKYH4-4710 : [OS] CPE does not advertise the prefixes after the lease time

Reason for change:
CPE should set prefix life times values to 0 when the prefix is removed

Test Procedure:
Bring up the CPE with latest NG and connect to a WANoE line
Check and confirm the CPE had received v4, V6 addresses
Shutdown the DHCPv6 service in BNG for time longer than the lease time

Risks: Low

commit 7ee76f30a355db9f0c5933de39499852ebceb597
Merge: 46d4892 3c525f6
Author: Abhishek Sivappa <[email protected]>
Date:   Thu Feb 25 10:21:00 2021 +0000

    Merge "SKYH4-4467: Internet LED stays in AMBER even after WANoE cable disconnect" into topic/rdkb_wan_manager

commit 46d4892e93c9b9a88d3f3d6cf9d1c501cfd4bc7d
Merge: f44b8f6 a0560d1
Author: Johnson Sebastiar <[email protected]>
Date:   Wed Feb 24 18:23:52 2021 +0000

    Merge "SKYH4-4592: [OS] ADSL - erouter0 interface is not having the WAN mac address (Base MAC+3) Reason for change: PPPoA Interface does not have mac address after renamed to erouter0                    but there is some apps and component depend on mac address. Test Procedure: 1. Build won't break" into topic/rdkb_wan_manager

commit 3c525f65ff1be114677db8f229aa860dec958b14
Author: Abhishek Shivappa <[email protected]>
Date:   Tue Feb 23 09:44:35 2021 +0000

    SKYH4-4467: Internet LED stays in AMBER even after WANoE cable disconnect

    Reason for change: Corrected state of Internet LED in HUB4
    Test Procedure:
    	* Internet connectivity to box.
    	* The LED should be going to OFF state after the WAN cable disconnect.
    Risks: Low

    Change-Id: Ifc0b0086f913746115e35467cb967ff811d9d0d3

commit a0560d1ad376d008168571a32f3be3460b2313d3
Author: kulvendra singh <[email protected]>
Date:   Tue Feb 16 17:25:05 2021 +0000

    SKYH4-4592: [OS] ADSL - erouter0 interface is not having the WAN mac address (Base MAC+3)
    Reason for change: PPPoA Interface does not have mac address after renamed to erouter0
                       but there is some apps and component depend on mac address.
    Test Procedure:
    1. Build won't break

    Change-Id: I1b66456d767a6b87c9d67853129ddab5a11bbec6
    Risks: Moderate

commit f44b8f663b9a7bb554925f1ecdbc30df6544974a
Merge: db0dde1 4752e54
Author: Johnson Sebastiar <[email protected]>
Date:   Wed Feb 17 14:11:59 2021 +0000

    Merge "SKYH4-4288 : [OS] wanshow command showing wrong information" into topic/rdkb_wan_manager

commit 4752e54d44c19a4a2314bf7b36c50baf6d80ad09
Author: Arunkumar Sivadasan <[email protected]>
Date:   Mon Feb 15 15:28:01 2021 +0000

    SKYH4-4288 : [OS] wanshow command showing wrong information

    Reason for change:
    The ipv4_up and ipv6_up transition routines should check v4/v6 connection states before setting WAN_STATE_DUAL_STACK_ACTIVE state

    Test Procedure:
    Check and confirm the CPE is having v4 and V6 internet and use wanshow command in CPE console

    Risks: Low

    Change-Id: I6fda6e3506d22dcb223687c08f7bbdcbbc88aec9
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit db0dde15a8e41fe19774943675976851d7930b60
Author: Arunkumar Sivadasan <[email protected]>
Date:   Fri Feb 12 11:23:43 2021 +0000

    SKYH4-4591 : [OS] Some of sysevents are not returning the values

    Reason for change:
    Implemented missing sysevents vendor_spec, lan_ula_enable and lan_ipv6_enable

    Test Procedure:
    Check the values of vendor_spec, lan_ula_enable and lan_ipv6_enable using `sysevent get` command

    Risks: Low

    Change-Id: I2f8243511a32537f18d4ad3ec8a73024fe48cf2f
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit d8679b339633ddc77ee0cfaa52bd12eabcfba4be
Merge: 9b25e57 2e47713
Author: Johnson Sebastiar <[email protected]>
Date:   Thu Feb 4 12:02:46 2021 +0000

    Merge "SKYH4-4292 : [OS] Radvd always advertising the Lifetime as 3600" into topic/rdkb_wan_manager

commit 2e477136688f5ea14e378a2d32a28c0451bcaa4d
Author: Arunkumar Sivadasan <[email protected]>
Date:   Wed Feb 3 06:32:11 2021 +0000

    SKYH4-4292 : [OS] Radvd always advertising the Lifetime as 3600

    Reason for change:
    The atoi() calls are failing for lifetime values as the dibbler-client inserts single quates
    with lifetime values while sending the v6 notification message to wanmanager

    Test Procedure:
    Connect WANoE line with less valid lifetime like 600 seconds.
    Check and confirm the CPE is v4 and V6 internet
    Connect a Ethernet or WiFi client to CPE and capture the radvd
    The RADVD should advertise the lifetime which had received from BNG

    Risks: Low

    Change-Id: Ice79cb9b8ad453f284540e52a061ace0755b8cdb
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 9b25e5728d0287b67e878be757eab0a80c0ab11a
Author: Arunkumar Sivadasan <[email protected]>
Date:   Tue Feb 2 18:37:02 2021 +0000

    SKYH4-4561 : [OS] PPPoE - Intermittently IPv6 is not working after cable disconnect and connect

    Reason for change:
    The wan interface state machine should stop the dhcpv6 client when it delete an active PPP session

    Test Procedure:
    Bring UP the CPE with factory settings and connect to a PPPoE line
    Make sure the CPE had received V4 and V6 address
    Disconnect the WAn cable and connect back after ~2 min
    CPE should have V4 and V6 internet connectivity

    Risks: Low

    Change-Id: I0aea95ed2066ff841fa36e0ff43ecf7acf550a57
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit ae90ec5367fd895833a94e45c00059e9b6df358d
Merge: 826f93a a6c5a4d
Author: Johnson Sebastiar <[email protected]>
Date:   Mon Feb 1 17:00:22 2021 +0000

    Merge "SKYH4-4511 : [OS] PPPoE is not working" into topic/rdkb_wan_manager

commit a6c5a4df0eda681534e09318f05fdf524ba1bd38
Author: Arunkumar Sivadasan <[email protected]>
Date:   Fri Jan 29 16:55:20 2021 +0000

    SKYH4-4511 : [OS] PPPoE is not working

    Reason for change:
    Removed wait loop for wan-status event from _dibbler_client_operation() as we are not configuring IPv6 address on erouter0 interface

    Test Procedure:
    Bring UP the CPE with factory settings and connect to a PPPoE line
    Configure the following data model for changing the connection type from WANoE to PPPoE
    Reboot the router and check PPPoE is working when the device come online

    Risks: Low

    Change-Id: I1be15dc0c6fd108e9dbc2f87f40a5ba2319a2fd8
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 826f93ac8256f106a663a333048094e952b9306c
Author: Arunkumar Sivadasan <[email protected]>
Date:   Fri Jan 29 16:51:00 2021 +0000

    SKYH4-4548 : [OS] PPPoE is not getting UP after cable disconnect/connect

    Reason for change:
    No need to set PPP.Enable object to false when deleting an active PPP session

    Test Procedure:
    Bring UP the CPE with factory settings and connect to a PPPoE line
    Check and verify the V4 and V6 internet is working fine
    Keep it connect for 5 minutes
    Disconnect the WAN cable and wait for a minute and connect back

    Risks: Low

    Change-Id: I0ee2971ecd01d71559a7f5e2fb442b9c91dccdcd
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit caa507b5da84e7331c2089f90c298ece8ad95a5a
Merge: 708b4af 8a8d964
Author: Johnson Sebastiar <[email protected]>
Date:   Tue Jan 26 14:52:55 2021 +0000

    Merge "SKYH4-4187 : LTime is reset to UTC time after approx 30 minutes of uptime." into topic/rdkb_wan_manager

commit 8a8d964b1ac1787e1cbb6ec08559c8e956f06a2f
Author: Gautham Durairaj <[email protected]>
Date:   Fri Jan 22 16:37:23 2021 +0000

    SKYH4-4187 : LTime is reset to UTC time after approx 30 minutes of uptime.

    Reason for change: Device.Time.TimeOffset value is set to empty after 30 mints
    Test Procedure:
    	* Internet connectivity to box.
    	* Verify the outputs for date and LTime commands during bootup and after 30-40
    Risks: Low

    Change-Id: I36bb3ee575c7635f1ed26d07b4a9a2178b0f7071

commit 708b4af23fe73bf69e6d05c11ab9f90f3d82fbd9
Author: Arunkumar Sivadasan <[email protected]>
Date:   Tue Jan 19 14:17:19 2021 +0000

    SKYH4-4464 : [OS] After WANoE cable disconnect CPE failed to remove IPv6 address from brlan0

    Reason for change:
    CPE should remove previous IPv6 address from LAN bridge when user disconnected wan cable

    Test Procedure:
    Disconnect WANoE cable from HUB and check IPv6 address is removed from the wan interface

    Risks: Low

    Change-Id: I84df85c4e81d04c47c84468ffd864876ea0133d2
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 9b6f8f6838105bc0a0e2f136e9b241e58720871b
Author: Gautham Durairaj <[email protected]>
Date:   Mon Dec 14 11:51:19 2020 +0000

    RDKB-29238: Wan Manager - Move data models from P&M into WAN Managerr

    Reason for change: Move DHCPv4 and DHCPv6 Client datamodels to RdkWanmanager
    Test Procedure:
    	Test internet connectivity to box.
    	LAN connectivity from box.
    	Check for crashes in any component.

    Change-Id: I400493cd6eb4fba40c35f44aec491c8be39781b9

commit dc0e5b4fbc3da0e4487e801a174c0c8b8e83ad28
Author: Arunkumar Sivadasan <[email protected]>
Date:   Wed Jan 13 15:40:46 2021 +0000

    SKYH4-4463 : [OS] Internet is not getting UP after WANoE cable disconnect and connect

    Reason for change:
    Removed multiple instances of IPC thread as wanmanager is maintaining only one global socket descriptor
    Fixed issues with interface state machine routines that handles IPv6 features

    Test Procedure:
    Connect HUB with UK WANoE line and check IPv4 and IPv6 address is received on the wan interface

    Risks: Low

    Change-Id: I7365f1a764a3bf18172165570724b8ece3fddb9a
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 2b8600216b320e55413331f82bc9c4848e0e1250
Author: Arunkumar Sivadasan <[email protected]>
Date:   Mon Jan 11 07:11:10 2021 +0000

    RDKB-33465 : Align with R3.X VDSL code

    Reason for change:
    Improved wan interface state machine code
    Fixed issues with IPv4 and IPv6 state routines

    Test Procedure:
    Connect HUB with UK WANoE line and check IPv4 and IPv6 address is received on the wan interface

    Risks: Low

    Change-Id: Ic0270a1eeb57d068bcafb6e632f45c8d31831f12
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit b8e53e6c6deadec68849107c85f9b26c96fb1363
Author: Arunkumar Sivadasan <[email protected]>
Date:   Fri Dec 4 06:44:33 2020 +0000

    RDKB-31948 : PPP Manager - Bring up end-to-end PPPOE and PPPOA

    Reason for change:
    The WANManager should set PPP LinkType data model whenever it try to create a PPP interface
    This helps PPP manager to identify the configured connection is either a PPPoA or PPPoE type

    Test Procedure:
    Configure the wan ethernet interface as PPPoE interface using wanmanager data model
    Check PPP LinkType data model is set to PPPoE type

    Risks: Low

    Change-Id: I2177eb5f9a9bc23aa7090b3070922cd72f032d61
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 26491a4d608f4cc908a09968ab9e474ba6d94ae4
Merge: 8e4903f e574105
Author: Johnson Sebastiar <[email protected]>
Date:   Thu Dec 10 13:03:28 2020 +0000

    Merge "SKYH4-4262 : [OS] NTP service is not running in PPP connection" into topic/rdkb_wan_manager

commit 8e4903f62c12de8b2f6688df93a659546aec5b56
Author: Arunkumar Sivadasan <[email protected]>
Date:   Wed Dec 2 11:30:58 2020 +0000

    RDKB-33001 : Integrate missing generic wan sysevent into wanmanager

    Reason for change:
    Moved wan specific generic sysevents from sky_provapp to wanmanager
    Integrated missing generic sysevents into wanmanager

    Test Procedure: Use sysevent command to check the events are properly generated

    Risks: Low

    Change-Id: Ie862cf6f4e86ec3a2f4480d560c59e7a01361944
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit e574105f94d78b247e181f758ef394df69c12992
Author: Arunkumar Sivadasan <[email protected]>
Date:   Thu Dec 3 06:17:46 2020 +0000

    SKYH4-4262 : [OS] NTP service is not running in PPP connection

    Reason for change:
    CPE did not started the NTP service and CPE showing the build time and date
    The wan-status sysevent should set to started when hub received either IPv4 or IPv6 address
    and the same should set back to stopped when both IPv4 or IPv6 configurations bounced

    Test Procedure:
    Check ntps service is running when PPP session is active

    Risks: Low

    Change-Id: I3890894fdce9222ea2db8439358f04054e61c13f
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 8cce3a4bfd674a28815cd3961846a299d218f9a2
Author: Arunkumar Sivadasan <[email protected]>
Date:   Thu Nov 26 16:38:34 2020 +0000

    Revert "RDKB-33001 : Integrate missing generic wan sysevent into wanmanager"

    This reverts commit 82234576e9b3a5b541e0dc366b0d8a5d5725a44e.

    Change-Id: I8945aff9c3af65f9e67efcd3474803520adde62c

commit 7327c0cdb51675cbf881cc8c9df12bd1cd1635ad
Author: Arunkumar Sivadasan <[email protected]>
Date:   Wed Nov 25 14:38:14 2020 +0000

    SKYH4-4257 : [OS] IPv4 is not working with PPP

    Reason for change:
    The CPE should add default route after getting the IP details from BNG server

    Test Procedure:
    Check wan route is present with a PPPoA connection

    Risks: Low

    Change-Id: Ie80338464b1f37e6fb1e3311b2daf34a8cda0e85
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 82234576e9b3a5b541e0dc366b0d8a5d5725a44e
Author: Arunkumar Sivadasan <[email protected]>
Date:   Tue Nov 24 09:50:36 2020 +0000

    RDKB-33001 : Integrate missing generic wan sysevent into wanmanager

    Reason for change:
    Moved wan specific generic sysevents from sky_provapp to wanmanager
    Integrated missing generic sysevents into wanmanager

    Test Procedure: Use sysevent command to check the events are properly generated

    Risks: Low

    Change-Id: Ia9d276005efa22974e45d11e3ab6be8e19d7cc5b
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 9b63941a5b0cbcba9e20a36f1a80a937f9adad55
Author: Arunkumar Sivadasan <[email protected]>
Date:   Fri Nov 20 17:19:43 2020 +0000

    RDKB-31947 : Implement PPP data models in wanmanager

    Reason for change:
    Implement PPP supports and data models in wanmanager

    Test Procedure:
    Check Device.X_RDK_WanManager.CPEInterface.{i}.PPP. data models are available

    Risks: Low

    Change-Id: Ifb20f73b4ed0738c7f82195f53bb5f4695c72106
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 7ca43b10b19b4395107b3c7fd503520da6449df1
Author: augusto.mainardi <[email protected]>
Date:   Tue Nov 3 12:16:57 2020 +0000

    RDKB-31223 : RdkWanManager - Fix and improve wan components

    Reason for change:
    Change file names
    Fixed data model
    Add mechanism to multithreading

    Test Procedure:
    Check hub is assigned with IPv4 and IPv6 address when it is connected with DSL or WANoE lines

    Risks: Medium

    Change-Id: Iab878174e9c788245087167a75cf98aa398057ab
    Signed-off-by: augusto.mainardi <[email protected]>

commit 191e5c52be6de5dfb10919db2bf02f64459c8da1
Author: Arunkumar Sivadasan <[email protected]>
Date:   Wed Oct 21 08:38:10 2020 +0100

    SKYH4-4063 - [os_wanmanager]: After tear down of secondary interface the data model for the active link is not set to false

    Reason for change:
    Wan interface state machine uses DmlWanIfUpdateActiveLinkFlagForGivenIfName() API to update ActiveLink status of the given interface
    This API only updates ActiveLink status in the global interface structure which is shared between policy and interface state machines
    Implemented required changes in DmlWanIfUpdateActiveLinkFlagForGivenIfName() API to update DML structure as well so that the ActiveLink
    change will be reflect in .CPEInterface.{i}.Wan.ActiveLink data model
    Removed WanController_updateWanActiveLinkFlag() API from policy state machines and replaced it with DmlWanIfUpdateActiveLinkFlagForGivenIfName() API
    So now policy state machines will use DML routine to update data model values

    Test Procedure:
    1. Configure below parameters:
    DSL0
    WAN Enable - true
    WAN Type - Secondary
    WAN Priority - 0

    ETH3
    WAN Enable - False
    WAN Type - Primary
    WAN Priority - 0
    2. Connect the WANoE cable on the 4th port of Hub4
    3. Connect the DSL cable on the dsl port of Hub4
    4. Enable the WANoE interface
    dmcli eRT setv Device.X_RDK_WanManager.CPEInterface.2.Wan.Enable bool true

    Expected Results:
    Step4:
    Internet connectivity should be available via DSL.
    Step5:
    Internet connectivity should be available via WANoE when the WANoE is enabled.

    Risks: Low

    Change-Id: I702810814a9c1cda4ac680c09927ebaef6accf28
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit f7a65549b977a8babc2943779cbf07a5e6952570
Merge: 41a8e09 02abde8
Author: Johnson Sebastiar <[email protected]>
Date:   Tue Oct 20 14:08:07 2020 +0000

    Merge "RDKB-32364: Correct the Licence headers" into topic/rdkb_wan_manager

commit 41a8e09ec76518b27bd43411669941366e10898f
Merge: 73a4898 eb1b351
Author: Johnson Sebastiar <[email protected]>
Date:   Mon Oct 19 10:21:39 2020 +0000

    Merge "SKYH4-3965 - Line hot-swap from WANoE to DSL or DSL to WANoE is not working" into topic/rdkb_wan_manager

commit eb1b351a990b966ab93f0cd49931c16464854c01
Author: Arunkumar Sivadasan <[email protected]>
Date:   Wed Oct 14 08:36:32 2020 +0100

    SKYH4-3965 - Line hot-swap from WANoE to DSL or DSL to WANoE is not working

    Reason for change:

    Noticed a hung issue during processing of create request for an interface when the delete request
    on that same interface is in progress.
    This usually happens when the user performs toggling of wan connections or hot swap between connections.
    Wan state machines are relying on LinkStatus to decide  whether wan link is created or not
    Once the interface creation is done, vlanmanager will now check the status of the newly created interface
    before setting LinkStatus event
    The WanDown state in primary priority policy will now check and ensure that tear down of all inactive wan
    sessions are completed
    Added changes to disable Wan.Status of the secondary interface during switching of secondary to primary
    connection for ensures to tear down the old instance of interface state machine running on the secondary interface

    Test Procedure:
    Connect DSL and WANoE lines into hub and perform hot-swap/cold-swap test cases and verify wan is coming up as per the configured policy.

    Risks: Low

    Change-Id: I32b72c99f33eb00ed5401ba1f4c9a29663fcf0bc
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 02abde8f3952eac5216ede909f6cf1c1a47e3c55
Author: Vysakh Venugopal <[email protected]>
Date:   Thu Sep 17 16:22:22 2020 +0100

    RDKB-32364: Correct the Licence headers

    Reason for change: Keep the same licence headers in
    both CMF and Comcast repositories.

    Test Procedure: Build won't break

    Risks: Low

    Signed-off-by: Vysakh Venugopal <[email protected]>
    Change-Id: Iaa444b9aaa60329120bd0c366a3ac176ea49d3e6

commit 73a48984d268f1525e083fb252daec696820e708
Author: Arya Vinod <[email protected]>
Date:   Fri Oct 16 09:45:02 2020 +0100

    SKYH4-3961: [os_wanmanager]: VLAN priority value change is not getting reflected in DHCPv4 Discover, Request, Renew and ARP

    Reason for change: VLAN priority value change is not getting reflected in DHCPv4 Discover, Request, Renew and ARP
    Test Procedure: Compiled successfully and verified build.
    Risks: Low

    Change-Id: I4e69f2be2f0b414d5935c86dc21aad6abd4033e3
    Signed-off-by: Arya Vinod <[email protected]>

commit 4b8fd06ab2820c1ab4d178f4bd0f6e9f20959b18
Merge: a671a3a 791281c
Author: Johnson Sebastiar <[email protected]>
Date:   Thu Oct 15 10:42:45 2020 +0000

    Merge "SKYH4-3301: Wan Manager sets the state to Up before setting ipv6_prefix" into topic/rdkb_wan_manager

commit a671a3a2dc15c7fa4496441c28debf5a7d482d87
Merge: d990419 eef2461
Author: Johnson Sebastiar <[email protected]>
Date:   Tue Oct 13 13:44:28 2020 +0000

    Merge "SKYH4-3968 - CPE loses internet when connecting the WANoE cable in an already existing active DSL interface setup" into topic/rdkb_wan_manager

commit 791281c9cc8acdd4885c67cd79dd579ab245e8aa
Author: Vysakh Venugopal <[email protected]>
Date:   Tue Jun 30 14:26:44 2020 +0100

    SKYH4-3301: Wan Manager sets the state to Up before setting ipv6_prefix

    Reason for change: Added code changes to bring up ipv6 in wan manager after ipv6 configuration is successfully completed in P&M.

    Cherry-picking this change from VDSL branch from commit:
    https://gerrit.teamccp.com/#/c/407658/
    https://gerrit.teamccp.com/#/c/411964/
    https://gerrit.teamccp.com/#/c/409010/
    https://gerrit.teamccp.com/#/c/418416/

    Test Procedure:
    1) Factory reset the DUT
    2) Check voice process is started or not
    3) Verify ipv6_prefix address value is proper in TELCOVOIPAGENTLog.txt.0 or not.

    Risks: Low

    Change-Id: I3649d1e244b752d05b6b9b4de69e36a148bf32e8
    Signed-off-by: Vysakh Venugopal <[email protected]>

commit d990419c201f33bdf8b24c05917d9fc83d066efd
Merge: 1f50da6 9b8e5f9
Author: Johnson Sebastiar <[email protected]>
Date:   Tue Oct 13 12:37:00 2020 +0000

    Merge "SKYH4-3967 - The Internet LED is in stable amber when the WANoE cable is removed from the CPE" into topic/rdkb_wan_manager

commit 9b8e5f9b09f4815fb5436a45fbdaf47f22712f8f
Author: Gautham Durairaj <[email protected]>
Date:   Mon Oct 12 11:22:20 2020 +0100

    SKYH4-3967 - The Internet LED is in stable amber when the WANoE cable is removed from the CPE

    Reason for change:
       LED state change fix

    Test Procedure:
    	* Internet connectivity to box to be tested.
    	* LED state in different scenarios to be tested

    Change-Id: I735b98dbf23ee8f7f52c034557c2586852e1c21d
    Risks: Low

commit eef24613b001098f74f47582ff65d227200069c5
Author: Arunkumar Sivadasan <[email protected]>
Date:   Mon Oct 12 10:41:33 2020 +0100

    SKYH4-3968 - CPE loses internet when connecting the WANoE cable in an already existing active DSL interface setup

    Reason for change:

    This issue happens when the user connect both wanoe and dsl cables together in primary priority mode
    Though the primary connection is active and when the secondary interface physically comes up,
    the primary priority policy state machine will run an instance of interface state machine for the secondary interface.
    This causes conflict issues in interface state machines as they are configured to run erouter0
    interface name for both primary and secondary connections.
    Due to the above mentioned limitation, the primary policy state machine should avoid to run
    an instance of interface state machine when another one is active.

    Test Procedure:
    1. Check whether the HUB4 has the internet and WAN is up for both IPv4 and IPv6 with DSL interface
    2. Connect the WANoE cable in the 4th port
    3. The internet should be available via DSL interface as wanoe is secondary interface

    Risks: Low

    Change-Id: I904f0830df5acdf6b6962835e677629afa7e6303
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 1f50da616a6ab6235fa3077b4c9ec286a627c0f8
Merge: 09e8198 12c1b43
Author: Johnson Sebastiar <[email protected]>
Date:   Fri Oct 9 13:13:56 2020 +0000

    Merge "SKYH4-3985 - Device is not getting IP on connecting DSL line to the Hub - PAM Deadlock on bootup" into topic/rdkb_wan_manager

commit 09e8198f90a842f31a4e4e32e8e34856e9ceb5d2
Merge: ec1d7f7 b9d97d0
Author: Johnson Sebastiar <[email protected]>
Date:   Fri Oct 9 12:40:23 2020 +0000

    Merge "SKYH4-3992 - WAN enable/disable is taking effect in runtime for PRIMARY_PRIORITY_ON_BOOTUP when both DSL & WANoE line is present" into topic/rdkb_wan_manager

commit 12c1b4303cfcc1140460270b9e35c4d4869c386a
Author: Arunkumar Sivadasan <[email protected]>
Date:   Thu Oct 8 09:57:47 2020 +0100

    SKYH4-3985 - Device is not getting IP on connecting DSL line to the Hub - PAM Deadlock on bootup

    Reason for change:
    The PAM Deadlock during the bootup is happening when wan interface state machine
    try to enable dibbler client data model.
    As DHCPv6 client data models are going to own by wanmanager in future, changed
    the way in which dibbler is currently managed by wanmanager.
    Instead of using DHCPv6 data models to start/stop dibbler service,
    wanmanager directly managing dibbler service in the similar way in which udhcpc is managed.

    Test Procedure:
    Check Hub is getting IPV6 addresses on brlan0 interface and IPv6 hosts are accessible

    Risks: Low

    Change-Id: Ie86e960d6e7585b7d289ca0ec81fc4434f1d68c4
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit b9d97d04698ab218b2fef488b230097992bc014c
Author: Arunkumar Sivadasan <[email protected]>
Date:   Fri Oct 9 09:58:27 2020 +0100

    SKYH4-3992 - WAN enable/disable is taking effect in runtime for PRIMARY_PRIORITY_ON_BOOTUP when both DSL & WANoE line is present

    Reason for change:
    Removed Wan.Enable checks from the WAN Interface State Machine, and rely on the Policy state machine
    setting the Wan Status to DISABLED if it needs to tear down the interface.

    Test Procedure:
    Change policy to "PRIMARY_PRIORITY_ON_BOOTUP" and when box came up set wan enable to false.
    Check internet is going down in runtime.

    Risks: Low

    Change-Id: I895b9a59507adccc2cf336db32fc1f53624636ee
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit ec1d7f7f2f9f128bcf0664d081b3a7fef97b7fe9
Author: Arunkumar Sivadasan <[email protected]>
Date:   Tue Oct 6 11:38:00 2020 +0100

    SKYH4-3859 : [os_wanmanager]: The Modem Status and WAN Port details are displayed wrong in the network setup page

    Reason for change:
    IP.IPv4Status and IP.IPv6Status DMLs are
    not properly populate when WAN is up. Updating DML structure
    properly when wan is up.

    Test Procedure:
    Check following DMLs properly shows
    Up when WAN is up and down in case wan down.
    Device.X_RDK_WanManager.CPEInterface.{i}.IP.IPv4Status
    Device.X_RDK_WanManager.CPEInterface.{i}.IP.IPv6Status

    Risks: Low

    Change-Id: I7fa095b7526e38acbf5686c31b7159c0ca1a281f
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 460842360734ac48b6b937c5415f82ff626873c8
Author: Vysakh Venugopal <[email protected]>
Date:   Wed Sep 30 18:13:56 2020 +0100

    SKYH4-3858,SKYH4-3964: Default Gateway and IPv6 DHCP client wrongly displayed in GUI

    Reason for change: DHCP hal is required sysevent ipv4_%s_gw_number
    followed by ipv4_%s_gw_0 to popluate the gateway address DML as well
    as for GUI. Updated ipv4_%s_gw_number sysevent from wanmanager.

    Also clear the required sysevents and syscfg configurations when ipv4
    and ipv6 tear down. (Fix wanshow showing ipv6 address after tear down
    wan conection)

    Test Procedure:
    1. Check GUI as default gateway is showing properly
    2. Check wanshow command whether IPv6 address cleared after wan cable
    remove.

    Risks: Low

    Change-Id: I781a7f1a8fcf5c56030d00c3718861fe3bd35b93
    Signed-off-by: Vysakh Venugopal <[email protected]>

commit 6c53146b9a8ecccb9b9aa628e4d317d4e60d7b6a
Merge: 04ef8f4 8863974
Author: Johnson Sebastiar <[email protected]>
Date:   Mon Aug 3 13:19:29 2020 +0000

    Merge "RDKB-30926 : Improve CcspBaseIf API usage" into topic/rdkb_wan_manager

commit 886397481b937750cc10891ebd1955daeb5b450f
Author: Arunkumar Sivadasan <[email protected]>
Date:   Thu Jul 30 11:52:35 2020 +0100

    RDKB-30926 : Improve CcspBaseIf API usage

    Reason for change:
    Change arguement memory type to heap for all CcspBaseIf_setParameterValues() API calls

    Test Procedure:
    Check hub is assigned with IPv4 and IPv6 address

    Risks: Low

    Change-Id: Ic02dad19d614f81d969c586a42c43f5c14e631ca
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 04ef8f4053cdb79d6f2d21ee5a2ccbd72aea89ce
Author: Vysakh Venugopal <[email protected]>
Date:   Wed Jul 29 10:11:47 2020 +0100

    SKYH4-3482: wanagent got crashed in signature start_thread in bootup

    Reason for change: Needs to pass allocated memory for the passing variable to get the copy of global data

    Test Procedure:
    1)Upgrade the hub with the image
    2)Wanagent Should not crash.

    Cherry-picked from commit
    https://gerrit.teamccp.com/#/c/418779/

    Risks: None

    Change-Id: I726f87df9adb55c7aae4e3e512a628bc4a486206
    Signed-off-by: Vysakh Venugopal <[email protected]>

commit 91726cbbb4bf3c5228c2488bfce9a0c53b297910
Author: Vysakh Venugopal <[email protected]>
Date:   Mon Jul 27 14:37:03 2020 +0100

    RDKB-29227: IPv4 is not coming up after lease expired

    Reason for change: Noticed IPv4 is not coming back after
    lease time expired. Removed setting ipv4/ipv6 global flag
    to false during tear down operations as well as make the
    v4 message handler function to make sure ipv4 config changed
    happened only if ip, mask or dns servers changed.

    Test Procedure:
    1. CPE should get WAN configurations
    2. IPv4 lease should work

    Risks: Low

    Change-Id: I0b481b0e989621ee09c8dc8e8d0e06944a345f97
    Signed-off-by: Vysakh Venugopal <[email protected]>

commit 4e344c6946c3d23303567b9ef6444724892f5770
Author: Gautham Durairaj <[email protected]>
Date:   Fri Jul 24 17:24:05 2020 +0100

    RDKB-29234 - Implement LED management in new WAN Interface state machine

    Reason for change:
       Implement LED management in new WAN Interface state machine

    Test Procedure:
    	LED State should change with state of the line connection

    Change-Id: I702604b9126cbdd42076a71a4ce9e111514eb13b
    Risks: Low

commit caed8f934a531269752a85f47bf73675c707a744
Author: Vysakh Venugopal <[email protected]>
Date:   Mon Jul 27 10:38:50 2020 +0100

    RDKB-29232: Zombie udhcpc process created

    Reason for change: Once udhcpc started, a zombie process
    also seen. By adding -f option to the udhcpc which causes it to not perform
    it's own fork-exec, which is why we get the zombie instance.

    Test Procedure:
    1. No zombie udhcpc process
    2. IPv4 should work

    Risks: Low

    Change-Id: I56ee83be41b0bccd9cdc31c22d8a4eb0ada52794
    Signed-off-by: Vysakh Venugopal <[email protected]>

commit d1d13b9414352fc2e367a81633f09d18141c1d25
Author: Arunkumar Sivadasan <[email protected]>
Date:   Fri Jul 10 07:53:06 2020 +0100

    RDKB-29227 - Implement new WAN Interface state machine

    Reason for change:
    Implement new WAN interface state machine as per Sky wanmanager design document

    Test Procedure:
    Check hub is getting Ipv4 and Ipv6 configurations on wan interface

    Risks: Low

    Change-Id: Id95c319218240d778cbe44e30a3e34ee6347c04b
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit a2f8738ad97d2eb51c38903331d7a7b82870c1d6
Merge: f5d5cde b065f39
Author: Johnson Sebastiar <[email protected]>
Date:   Fri Jul 24 13:20:15 2020 +0000

    Merge "RDKB-29230 : Implement new Primary Priority Policy state machine" into topic/rdkb_wan_manager

commit f5d5cde9d02cc0612bb7143eecf07b91d7d64b76
Merge: c20d60d 1aa67af
Author: Johnson Sebastiar <[email protected]>
Date:   Fri Jul 24 13:20:15 2020 +0000

    Merge "RDKB-29231 : Implement new Primary Priority On Bootup Policy state machine" into topic/rdkb_wan_manager

commit c20d60dd5587b0634239fce8c356031132c0ed55
Merge: 5291ca8 9de5ce9
Author: Johnson Sebastiar <[email protected]>
Date:   Fri Jul 24 13:20:15 2020 +0000

    Merge "RDKB-29229 : Implement new Fixed Mode On Bootup Policy state machine" into topic/rdkb_wan_manager

commit b065f39240c73422cc974b594527260220ba3f02
Author: Arunkumar Sivadasan <[email protected]>
Date:   Tue Jul 7 09:12:53 2020 +0100

    RDKB-29230 : Implement new Primary Priority Policy state machine

    Reason for change:
    Implement new Primary Priority Policy state machine as per the new wanmanager design document

    Test Procedure:
    Change wan policy to Primary Priority and test policy state machine is running

    Risks: Low

    Change-Id: I4caf39c3297ff02b6c78750576adf498fe78952b
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 9de5ce908e1de7fd983ebcb1d15e423be35fb544
Author: Arunkumar Sivadasan <[email protected]>
Date:   Tue Jul 7 08:54:14 2020 +0100

    RDKB-29229 : Implement new Fixed Mode On Bootup Policy state machine

    Reason for change:
    Implement Fixed Mode On Bootup Policy state machine as per the new wanmanager design document

    Test Procedure:
    Change wan policy to Fixed Mode On Bootup and test policy state machine is running

    Risks: Low

    Change-Id: I72a06acc1aa4e8dba0bf81b73b49b8265ef5b026
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 1aa67afe7676d46d2ab6cd7e2b458c7378037ad0
Author: Arunkumar Sivadasan <[email protected]>
Date:   Tue Jul 7 09:05:14 2020 +0100

    RDKB-29231 : Implement new Primary Priority On Bootup Policy state machine

    Reason for change:
    Implement new Primary Priority On Bootup Policy state machine as per the new wanmanager design document

    Test Procedure:
    Change wan policy to Primary Priority On Bootup and test policy state machine is running

    Risks: Low

    Change-Id: If68bd35a8c0ba4502d8e81d3725cc92e866e0e05
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 5291ca8d787f59efd4a93abba429a66de2375fa6
Author: Arunkumar Sivadasan <[email protected]>
Date:   Tue Jul 7 08:47:53 2020 +0100

    RDKB-29228 : Implement new Fixed Mode Policy state machine

    Reason for change:
    Implement Fixed Mode Policy state machine as per the new wanmanager design document

    Test Procedure:
    Change wan policy to Fixed Mode and test policy state machine is running

    Risks: Low

    Change-Id: I47ce3e4fd1fca8646911cd867f1e4771db072015
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit ffc2dd6263402e22a333a8451211123f8c0ab698
Author: Gautham Durairaj <[email protected]>
Date:   Tue Jul 7 20:16:29 2020 +0100

    RDKB-28961 - Implement IPC mechanism

    Reason for change:
       Replace cmsmsg ipc mechanism to nanomsg

    Test Procedure:
    	No functionality breaks in Wan Manager
    	DML and logging functionality should be same as before
    	erouter0 should get IP

    Change-Id: I4c2bbf59309d7fb072b7c6e137438df4f4a238cf
    Risks: High

commit 52872ba50f3fb301f082d7a6df42510d6c27ce63
Author: Vysakh Venugopal <[email protected]>
Date:   Wed Jul 1 16:50:13 2020 +0100

    RDKB-29221: Implement new data models

    Reason for change: Implement new data models
    for RDKWanManager.

    Test Procedure:
    Values should retrieve for:
    1. dmcli eRT getv Device.X_RDK_WanManager.CPEInterface.{i}.Wan.Validation.
    2. dmcli eRT getv Device.X_RDK_WanManager.CPEInterface.{i}.DSLite.
    3. dmcli eRT getv Device.X_RDK_WanManager.CPEInterface.{i}.Wan.

    Risks: Low

    Change-Id: I95a7cf6217a5de0a63acff1f1fab4fd2184475c4
    Signed-off-by: Vysakh Venugopal <[email protected]>

commit 04e120ed70827040643c6caf96c3f3f2830db2ce
Author: Vysakh Venugopal <[email protected]>
Date:   Thu Jul 2 18:57:45 2020 +0100

    RDKB-30395: Remove WAN HAL dependency from Wan Manager

    Reason for change: Remove old unused DMLs and code
    from RdkWanManager.

    This commit includes:
    1. Removed unused DMLs and code.

    Test Procedure:
    1. Build won't break
    2. WAN feature should work

    Risks: Low

    Change-Id: Ib220dd397b598de9a66eadd14e575c3ec3f4341c
    Signed-off-by: Vysakh Venugopal <[email protected]>

commit 2bf0a558a61f1633c8e87a8828074055df305020
Author: Vysakh Venugopal <[email protected]>
Date:   Tue Jun 30 12:50:29 2020 +0100

    SKYH4-3164, SKYH4-3287:After IPoE HC failure, WAN agent sending V6 WAN UP event without getting any reply from BNG.

    Reason for change:
       1: The V4 gateway information is not cleared after releasing the V4 address due to IPoE HC
       2: ipoeIpv4HealthCheckFailed/ipoeIpv6HealthCheckFailed flags are not essential.
          Whenever we set this flag, we also reset isIPv4Up/isIPv6Up.
          So HealthCheckFailed flags removed

    This change is cherry-picked from VDSL branch, from the commit:
    https://gerrit.teamccp.com/#/c/407983/

    Test Procedure:
       1: Initiate the software upgrade
       2: After completing the IPoE HC startup sequence, disconnect the DSL/Fibre from Draytek/ONT.
       3: After 3 failure the CPE initiated DISCOVER and Solicit.

    Risks: Low

    Change-Id: I8d37f746c52e3d3932af8e09ee619d35abd6ab42
    Signed-off-by: Vysakh Venugopal <[email protected]>

commit 47e9e64a2f4a095747367e6d8165eb7cfba175d7
Author: Arunkumar Sivadasan <[email protected]>
Date:   Wed Jun 24 13:29:14 2020 +0100

    RDKB-29233 : Replace dhcp6c with generic DHCPv6c (non Sky compliant)

    Reason for change:
    Replaced dhcp6c with dibbler-client
    Wanmanager manages dibbler-client using standard TR181 data models

    Test Procedure:
    Connect hub4 with IPv6 enabled wan and check whether it getting v6 configurations of brlan0 interface

    Risks: Low

    Change-Id: I5988e8711a88ffb907b15e6690febe252069dbd2
    Signed-off-by: Arunkumar Sivadasan <[email protected]>

commit 780b3f5ae5b76302ff13230f5e191c21103c67b7
Author: Vysakh Venugopal <[email protected]>
Date:   Thu Jun 11 18:22:33 2020 +0100

    RDKB-29232: Replace skydhcpc with udhcpc

    Reason for change: Replace skydhcpc with udhcpc for the
    DHCPv4 client.

    This commit includes:
    1. Replaces skydhcpc with udhcpc
    2. Seprated DHCPv4 reated APIs into new c file

    Test Procedure:
    1. udhcpc is properly started from wanmanager
    2. udhcpc got IP configurations and invoked service_udhcpc handler
    3. service_udhcpc passed the configurations and wanmanager recieved the configuration

    Risks: Low

    Change-Id: I2690a0d8af01bf87017dab9a0e0696f9372fbf3c
    Signed-off-by: Vysakh Venugopal <[email protected]>

commit 2bbb1aaa913bbcc3342546d3df540b441d2693d6
Author: Gautham Durairaj <[email protected]>
Date:   Wed Jun 24 12:06:34 2020 +0100

    RDKB-29883 - Merge WANManager Changes from topic/hub4_vdsl branch

    Reason for change:
       Bring Fixes from vdsl branch to wan_manager branch

    Test Procedure:
    	No functionality breaks in Wan Manager
    	DML and logging functionality should be same as before

    Change-Id: Ibc61b0b814dc8cba325164de4d2d6e6826a48ea8
    Risks: Moderate

commit 32435dd4c3172b17320f55f404c09e3bcfa0ccbe
Author: Arya Vinod <[email protected]>
Date:   Fri Jun 19 16:37:28 2020 +0100

    RDKB-30064:Remove Custom QOS Data-model from Wan Manager

    Reason for change: Remove Custom QOS Data-model from Wan Manager
    Test Procedure: Compiled successfully and verified build.
    Risks: Low

    Change-Id: Ice8cb945b28d909bea4a357f0538f6e7b5c43fb6
    Signed-off-by: Arya Vinod <[email protected]>

commit b189fcb14713bccd4f21b79a2f95bf0ca0b692bd
Author: Arunkumar Sivadasan <[email protected]>
Date:   Thu Jun 18 10:52:09 2020 +0000

    Revert "RDKB-29883 - Merge WANManager Changes from topic/hub4_vdsl branch"

    This reverts commit 4b2b837b79387e583d56743080ea864d9fa48120.

    Change-Id: Ibe648409ffecd544e66c22553b6a802097211acf

commit 550e52aa9e4bc9a521265912eff404f5514a3c73
Author: Arya Vinod <[email protected]>
Date:   Thu Jun 11 12:39:40 2020 +0100

    RDKB-29235:Rename "X_RDKCENTRAL-COM_" to "X_RDK_" in all data models

    Reason for change: Rename "X_RDKCENTRAL-COM_" to "X_RDK_" in all data models
    Test Procedure: Compiled successfully and verified build.
    Risks: Low

    Change-Id: Ibe6ee88da760de1dad457086ea4f5c04deb12e78
    Signed-off-by: Arya Vinod <[email protected]>

commit 01a62a56b558642fb6c6afb0e1ac7b5a57e96390
Merge: fb9856b 4b2b837
Author: Johnson Sebastiar <[email protected]>
Date:   Tue Jun 16 16:26:13 2020 +0000

    Merge "RDKB-29883 - Merge WANManager Changes from topic/hub4_vdsl branch" into topic/rdkb_wan_manager

commit fb9856b8f09f9fd70ffbabbf402b3cc0cd461f2e
Author: Arya Vinod <[email protected]>
Date:   Tue Jun 16 13:31:23 2020 +0100

    RDKB-28962:Add or integrate process control APIs

    Reason for change: Add or integrate process control APIs
    Test Procedure: Compiled successfully and verified build.
    Risks: Low

    Change-Id: I83fd803e73caada07337674fab21fa0468fa55cc
    Signed-off-by: Arya Vinod <[email protected]>

commit 4b2b837b79387e583d56743080ea864d9fa48120
Author: Gautham Durairaj <[email protected]>
Date:   Mon Jun 15 19:03:50 2020 +0100

    RDKB-29883 - Merge WANManager Changes from topic/hub4_vdsl branch

    Reason for change:
       Bring Fixes from vdsl branch to wan_manager branch

    Test Procedure:
    	No functionality breaks in Wan Manager
    	DML and logging functionality should be same as before

    Change-Id: Id8513962cd9984444ce1cf529ee10c18cbdc1a9e
    Risks: Moderate

commit 16dd4ca34e62754968d52d00039adaee3d0222eb
Author: Gautham Durairaj <[email protected]>
Date:   Wed Jun 10 15:39:24 2020 +0100

    RDKB-28840 - Rename WANAgent to RdkWanManager

    Reason for change:
       Rename WANAgent to RdkWanManager

    Test Procedure:
    	No functionality breaks in Wan Manager
    	DML and logging functionality should be same as before

    Change-Id: I212671cd165adaef8d0ad29662e149ff881edc07
    Risks: Moderate

commit 4aa987b204fc9a4c930c0bc4b795ca975da8fe20
Author: Arya Vinod <[email protected]>
Date:   Tue Jun 9 18:38:12 2020 +0100

    RDKB-28962:Add or integrate process control APIs

    Reason for change: Add or integrate process control APIs
    Test Procedure: Compiled successfully and verified build.
    Risks: Low

    Change-Id: Ia7e4d9cea645a5152d873617879a274f90cd3cad
    Signed-off-by: Arya Vinod <[email protected]>

commit c1e61a19400791491d6a296f67fcc265512ddf9b
Author: Prabhudas Gannavarapu <[email protected]>
Date:   Tue Jun 2 16:44:33 2020 +0100

    RDKB-28840 - Rename WANAgent to RdkWanManager

    Reason for change:
       Rename WANAgent to RdkWanManager

    Test Procedure:
        No functionality breaks in Wan Manager
        DML and logging functionality should be same as before

    Change-Id: I1211627d1f394c1034185c2dddba56ea925902e2
    Risks: Moderate

Change-Id: Ib1799cd3ae05194d3fcd98b83d2f086c80b902d8
(cherry picked from commit c718124f99049c4c9816cf446b1bd8e56a37f8ca)
  • Loading branch information
kul2241 authored and Gautham Durairaj committed Apr 12, 2021
1 parent 3c7ad01 commit 4187bc2
Show file tree
Hide file tree
Showing 69 changed files with 36,368 additions and 0 deletions.
1 change: 1 addition & 0 deletions COPYING
202 changes: 202 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
20 changes: 20 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# file the following copyright and licenses apply:
#
# Copyright 2017 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##########################################################################

SUBDIRS = source
11 changes: 11 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
This component contains software that is Copyright (c) 2020 RDK Management.
The component is licensed to you under the Apache License, Version 2.0 (the "License").
You may not use the component except in compliance with the License.

The component may include material which is licensed under other licenses / copyrights as
listed below. Your use of this material within the component is also subject to the terms and
conditions of these licenses. The LICENSE file contains the text of all the licenses which apply
within this component.

Copyright 2014 Cisco Systems, Inc.
Licensed under the Apache License, Version 2.0
22 changes: 22 additions & 0 deletions cfg/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# file the following copyright and licenses apply:
#
# Copyright 2017 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##########################################################################

SUBDIRS =
DIST_SUBDIRS =

51 changes: 51 additions & 0 deletions cmpnt_build_custom_pre.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# file the following copyright and licenses apply:
#
# Copyright 2017 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##########################################################################
#######################################################################
# Copyright [2014] [Cisco Systems, Inc.]
#
# Licensed under the Apache License, Version 2.0 (the \"License\");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an \"AS IS\" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#######################################################################

#
# component list
#

PNM_BUILD_TR_181=1
PNM_BUILD_TR_135=0
PNM_BUILD_TR_098=0
PNM_BUILD_Xcalibur=0

#
# platform specific customization
#


#UTOPIA_LDFLAGS = -L$(SDK_PATH)/ti/lib -lsyscfg -lsysevent -lulog
#LDFLAGS += $(UTOPIA_LDFLAGS)

Loading

0 comments on commit 4187bc2

Please sign in to comment.