Hi Aman, If you would like the device itself to update its information in the SDNR (ODL) CallHome configuration, that can be done. The device itself can send a RESTCONF request to the SDNR, saying “add me to the allowed devices list”, and it can put its own IP address as the “unique-id”. Of course, this means that the device needs to be aware about the SDNR IP address, username and password and RESTCONF port.
Here is an example implementation, as done in the O1 Simulation project inside the O-RAN SC: https://gerrit.o-ran-sc.org/r/gitweb?p=sim/o1-interface.git;a=blob;f=ntsimulator/ntsim-ng/features/netconf_call_home/netconf_call_home.c;h=d17a23ed84c701ab77aa9777c3970cdd0388c03a;hb=refs/heads/master#l391 The simulator, in this case, does exactly that and “allows itself” for the CallHome. But I would definitely not recommend doing that in a production environment. Kind Regards, Alex > On 4 Sep 2024, at 14:59, Kumar, Aman via lists.onap.org > <[email protected]> wrote: > > Hi Alex, > > Thanks for the suggestion that could be one way , but it would be better if > device itself during call home connect & update its information with SDNR, in > case if we add new device at runtime. > Please suggest some pointers for the other approach. > > Thanks, > Aman > > > > From: [email protected] <mailto:[email protected]> > <[email protected] <mailto:[email protected]>> On Behalf > Of Alex Stancu > Sent: Tuesday, September 3, 2024 11:08 PM > To: Kumar, Aman <[email protected] > <mailto:[email protected]>>; [email protected] > <mailto:[email protected]> > Subject: Re: [onap-discuss] #SDNR RAN Device IP is not displayed while > onboarding via Call Home > > This mail has been sent from an external source. Do not reply to it, or open > any links/attachments unless you are sure of the sender's identity. > > > Hi Aman, > > I believe that anyway, in a production environment, one would not go with > "allow-all" devices, but would configure ODL CallHome and associate a unique > name (or an IP address, could be anything) either to an SSH key or a TLS > Certificate. > > It is anyhow not an implementation in SDN-R, but in OpenDaylight itself. > > Kind Regards, > Alex > This message contains information that may be privileged or confidential and > is the property of the Capgemini Group. It is intended only for the person to > whom it is addressed. If you are not the intended recipient, you are not > authorized to read, print, retain, copy, disseminate, distribute, or use this > message or any part thereof. If you receive this message in error, please > notify the sender immediately and delete all copies of this message. > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#24678): https://lists.onap.org/g/onap-discuss/message/24678 Mute This Topic: https://lists.onap.org/mt/108176904/21656 Mute #sdnr:https://lists.onap.org/g/onap-discuss/mutehashtag/sdnr Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
