mbox series

[master/kirkstone,0/3] Introduce sysrepo based parser app

Message ID 20230609115557.1685-1-r-gunasekaran@ti.com
Headers show
Series Introduce sysrepo based parser app | expand

Message

Ravi Gunasekaran June 9, 2023, 11:55 a.m. UTC
NETCONF protocol defines a mechanism for device management,
retrieving configuration information and modifying device with
new configuration data.

YANG is a data modelling language used to model configuration
and state data manipulated by the NETCONF.

NETCONF/YANG is realized through netopeer and sysrepo. A yocto project
for the same exists [0].

[0] is a fork of [1] with support added for Kirstone. I have sent a
pull request for it and it is yet to be acknowledged.

NETCONF/YANG support was added in SDK 8.6 and the changeset were added
in meta-processor-sdk. But since it was concluded that it is generic
networking feature, moving this to meta-arago.

I plan to send two more patches once this series is accepted
1) A URL for the meta-sysrepo [0] in oe-layersetup/configs/arago-kirkstone-next-config.txt
2) Add the required package name in tisdk-default-image.bb in meta-arago

[0] - https://github.com/ravig07/meta-sysrepo/tree/kirkstone
[1] - https://github.com/sartura/meta-sysrepo

Ravi Gunasekaran (3):
  meta-aragos-extras: sysrepo: Add TSN Yang models
  meta-aragos-extras: sysrepo: Add .bbappend for netopeer2
  meta-aragos-extras: sysrepo: Introduce nw-configurator app

 .../0001-Add-EST-Yang-Models.patch            |  17 +
 .../netopeer2-server_git.bbappend             |   6 +
 .../nw-configurator/files/nw-configurator.c   | 409 ++++++++++++++++++
 .../nw-configurator/nw-configurator.bb        |  25 ++
 .../tsn-yang-models/tsn-yang-models_git.bb    |  25 ++
 5 files changed, 482 insertions(+)
 create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server/0001-Add-EST-Yang-Models.patch
 create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bbappend
 create mode 100644 meta-arago-extras/recipes-sysrepo/nw-configurator/files/nw-configurator.c
 create mode 100644 meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb
 create mode 100644 meta-arago-extras/recipes-sysrepo/tsn-yang-models/tsn-yang-models_git.bb


base-commit: d36947b9f99c4428f125e7b9b8612256e9fd87df

Comments

Denys Dmytriyenko June 12, 2023, 8:59 p.m. UTC | #1
So, what is "aragos"? :)

Also, meta-sysrepo doesn't seem to be listed as a proper OE layer:
http://layers.openembedded.org/layerindex/


On Fri, Jun 09, 2023 at 05:25:54PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
> NETCONF protocol defines a mechanism for device management,
> retrieving configuration information and modifying device with
> new configuration data.
> 
> YANG is a data modelling language used to model configuration
> and state data manipulated by the NETCONF.
> 
> NETCONF/YANG is realized through netopeer and sysrepo. A yocto project
> for the same exists [0].
> 
> [0] is a fork of [1] with support added for Kirstone. I have sent a
> pull request for it and it is yet to be acknowledged.
> 
> NETCONF/YANG support was added in SDK 8.6 and the changeset were added
> in meta-processor-sdk. But since it was concluded that it is generic
> networking feature, moving this to meta-arago.
> 
> I plan to send two more patches once this series is accepted
> 1) A URL for the meta-sysrepo [0] in oe-layersetup/configs/arago-kirkstone-next-config.txt
> 2) Add the required package name in tisdk-default-image.bb in meta-arago
> 
> [0] - https://github.com/ravig07/meta-sysrepo/tree/kirkstone
> [1] - https://github.com/sartura/meta-sysrepo
> 
> Ravi Gunasekaran (3):
>   meta-aragos-extras: sysrepo: Add TSN Yang models
>   meta-aragos-extras: sysrepo: Add .bbappend for netopeer2
>   meta-aragos-extras: sysrepo: Introduce nw-configurator app
> 
>  .../0001-Add-EST-Yang-Models.patch            |  17 +
>  .../netopeer2-server_git.bbappend             |   6 +
>  .../nw-configurator/files/nw-configurator.c   | 409 ++++++++++++++++++
>  .../nw-configurator/nw-configurator.bb        |  25 ++
>  .../tsn-yang-models/tsn-yang-models_git.bb    |  25 ++
>  5 files changed, 482 insertions(+)
>  create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server/0001-Add-EST-Yang-Models.patch
>  create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bbappend
>  create mode 100644 meta-arago-extras/recipes-sysrepo/nw-configurator/files/nw-configurator.c
>  create mode 100644 meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb
>  create mode 100644 meta-arago-extras/recipes-sysrepo/tsn-yang-models/tsn-yang-models_git.bb
Ravi Gunasekaran June 13, 2023, 4:32 a.m. UTC | #2
On 6/13/23 2:29 AM, Denys Dmytriyenko wrote:
> So, what is "aragos"? :)

Sorry, my bad. I will correct it.

> 
> Also, meta-sysrepo doesn't seem to be listed as a proper OE layer:
> http://layers.openembedded.org/layerindex/

[1] is the sysrepo yocto project link. 
If meta-sysrepo is not listed as a OE layer, then does it mean, it cannot
be included in meta-arago?

[1] - https://github.com/sartura/meta-sysrepo

> 
> 
> On Fri, Jun 09, 2023 at 05:25:54PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
>> NETCONF protocol defines a mechanism for device management,
>> retrieving configuration information and modifying device with
>> new configuration data.
>>
>> YANG is a data modelling language used to model configuration
>> and state data manipulated by the NETCONF.
>>
>> NETCONF/YANG is realized through netopeer and sysrepo. A yocto project
>> for the same exists [0].
>>
>> [0] is a fork of [1] with support added for Kirstone. I have sent a
>> pull request for it and it is yet to be acknowledged.
>>
>> NETCONF/YANG support was added in SDK 8.6 and the changeset were added
>> in meta-processor-sdk. But since it was concluded that it is generic
>> networking feature, moving this to meta-arago.
>>
>> I plan to send two more patches once this series is accepted
>> 1) A URL for the meta-sysrepo [0] in oe-layersetup/configs/arago-kirkstone-next-config.txt
>> 2) Add the required package name in tisdk-default-image.bb in meta-arago
>>
>> [0] - https://github.com/ravig07/meta-sysrepo/tree/kirkstone
>> [1] - https://github.com/sartura/meta-sysrepo
>>
>> Ravi Gunasekaran (3):
>>   meta-aragos-extras: sysrepo: Add TSN Yang models
>>   meta-aragos-extras: sysrepo: Add .bbappend for netopeer2
>>   meta-aragos-extras: sysrepo: Introduce nw-configurator app
>>
>>  .../0001-Add-EST-Yang-Models.patch            |  17 +
>>  .../netopeer2-server_git.bbappend             |   6 +
>>  .../nw-configurator/files/nw-configurator.c   | 409 ++++++++++++++++++
>>  .../nw-configurator/nw-configurator.bb        |  25 ++
>>  .../tsn-yang-models/tsn-yang-models_git.bb    |  25 ++
>>  5 files changed, 482 insertions(+)
>>  create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server/0001-Add-EST-Yang-Models.patch
>>  create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bbappend
>>  create mode 100644 meta-arago-extras/recipes-sysrepo/nw-configurator/files/nw-configurator.c
>>  create mode 100644 meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb
>>  create mode 100644 meta-arago-extras/recipes-sysrepo/tsn-yang-models/tsn-yang-models_git.bb
Denys Dmytriyenko June 13, 2023, 11:27 p.m. UTC | #3
On Tue, Jun 13, 2023 at 10:02:23AM +0530, Ravi Gunasekaran wrote:
> 
> 
> On 6/13/23 2:29 AM, Denys Dmytriyenko wrote:
> > So, what is "aragos"? :)
> 
> Sorry, my bad. I will correct it.

I believe it already got merged... :(


> > Also, meta-sysrepo doesn't seem to be listed as a proper OE layer:
> > http://layers.openembedded.org/layerindex/
> 
> [1] is the sysrepo yocto project link. 
> If meta-sysrepo is not listed as a OE layer, then does it mean, it cannot
> be included in meta-arago?
> 
> [1] - https://github.com/sartura/meta-sysrepo

Not necessarily, but usually if it's not listed in the main layer registry, 
it requires some extra precaution to use the layer, ensuring it's compatible 
and such...


> > On Fri, Jun 09, 2023 at 05:25:54PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
> >> NETCONF protocol defines a mechanism for device management,
> >> retrieving configuration information and modifying device with
> >> new configuration data.
> >>
> >> YANG is a data modelling language used to model configuration
> >> and state data manipulated by the NETCONF.
> >>
> >> NETCONF/YANG is realized through netopeer and sysrepo. A yocto project
> >> for the same exists [0].
> >>
> >> [0] is a fork of [1] with support added for Kirstone. I have sent a
> >> pull request for it and it is yet to be acknowledged.
> >>
> >> NETCONF/YANG support was added in SDK 8.6 and the changeset were added
> >> in meta-processor-sdk. But since it was concluded that it is generic
> >> networking feature, moving this to meta-arago.
> >>
> >> I plan to send two more patches once this series is accepted
> >> 1) A URL for the meta-sysrepo [0] in oe-layersetup/configs/arago-kirkstone-next-config.txt
> >> 2) Add the required package name in tisdk-default-image.bb in meta-arago
> >>
> >> [0] - https://github.com/ravig07/meta-sysrepo/tree/kirkstone
> >> [1] - https://github.com/sartura/meta-sysrepo
> >>
> >> Ravi Gunasekaran (3):
> >>   meta-aragos-extras: sysrepo: Add TSN Yang models
> >>   meta-aragos-extras: sysrepo: Add .bbappend for netopeer2
> >>   meta-aragos-extras: sysrepo: Introduce nw-configurator app
> >>
> >>  .../0001-Add-EST-Yang-Models.patch            |  17 +
> >>  .../netopeer2-server_git.bbappend             |   6 +
> >>  .../nw-configurator/files/nw-configurator.c   | 409 ++++++++++++++++++
> >>  .../nw-configurator/nw-configurator.bb        |  25 ++
> >>  .../tsn-yang-models/tsn-yang-models_git.bb    |  25 ++
> >>  5 files changed, 482 insertions(+)
> >>  create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server/0001-Add-EST-Yang-Models.patch
> >>  create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bbappend
> >>  create mode 100644 meta-arago-extras/recipes-sysrepo/nw-configurator/files/nw-configurator.c
> >>  create mode 100644 meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb
> >>  create mode 100644 meta-arago-extras/recipes-sysrepo/tsn-yang-models/tsn-yang-models_git.bb