clicon / clixon-controller

Clixon network controller
Apache License 2.0
13 stars 4 forks source link

Add properties to base yang. #10

Closed JohannesGarm closed 1 year ago

JohannesGarm commented 1 year ago

A place for storing properties. Either under services "/ctrl:services/ctrl:properties" or by itself "/ctrl:properties".

olofhagsand commented 1 year ago

@JohannesGarm : Added container properties under services, as follows:

    container services {
         container properties {
         }
    }

But I am not sure this acheives what you want, since there is no element to hold data, you would need to add that in an augment? Maybe you want a list or a leaf-list there instead?

JohannesGarm commented 1 year ago

This is exactly what I want - the service yang can then augment the properties container with the actual fields they need.

olofhagsand commented 1 year ago

Done, please verify that it works and close it if OK