Cleanup cluster-admin.yang 03/85503/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 10 Oct 2019 11:08:00 +0000 (13:08 +0200)
committerRobert Varga <nite@hq.sk>
Sat, 2 Nov 2019 07:44:02 +0000 (07:44 +0000)
commit6abc56deeea847fb98f70ea909e25db1462aeda6
tree3f85cd07e59e40e5fc9186844963673263100d4f
parent5330ab63271fcf6bc9117607fc7ad42d799b9e77
Cleanup cluster-admin.yang

We are redefining the same leaves over and over, make sure we
define them in a grouping for common definition. Also ensure
shard name requires at least one character -- just as we expect
it to happen in the implementation.

Change-Id: I917d8a7767467dceb4f3e076ffca4b5aa4b048a1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 57602b656df8cd1aa99704b70bcaa80921c45b47)
opendaylight/md-sal/sal-cluster-admin-api/src/main/yang/cluster-admin.yang