-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnmi: Disable YangDataService initialization
Disable YangDataService initialization by using null configuration parameters because this functionality has never worked correctly. We have discovered the issue after bumping to yangtools 11.0.3 which contains https://jira.opendaylight.org/browse/YANGTOOLS-1539. After adding "canCommit" phase we can see that data to be written cannot pass the validation. JIRA: LIGHTY-272 Signed-off-by: Ivan Hrasko <[email protected]> Signed-off-by: tobias.pobocik <[email protected]>
- Loading branch information
Showing
11 changed files
with
160 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
.github/workflows/lighty-rcgnmi-app/simulator/initialConfigJsonData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"openconfig-interfaces:interfaces": { | ||
"interface": [ | ||
{ | ||
"name": "admin", | ||
"config": { | ||
"name": "admin", | ||
"type": "openconfig-if-types:IF_ETHERNET" | ||
} | ||
} | ||
] | ||
}, | ||
"openconfig-system:system": { | ||
"aaa": { | ||
"authentication": { | ||
"admin-user": { | ||
"config": { | ||
"admin-password": "password" | ||
} | ||
}, | ||
"config": { | ||
"authentication-method": [ | ||
"openconfig-aaa-types:LOCAL" | ||
] | ||
} | ||
} | ||
}, | ||
"clock": { | ||
"config": { | ||
"timezone-name": "Europe/Stockholm" | ||
} | ||
}, | ||
"config": { | ||
"hostname": "zz-tri-dev01", | ||
"domain-name": "foo.bar.com", | ||
"login-banner": "This device is for authorized use only", | ||
"motd-banner": "Welcome to Open vSwitch" | ||
}, | ||
"openconfig-openflow:openflow": { | ||
"agent": { | ||
"config": { | ||
"backoff-interval": 5, | ||
"datapath-id": "10:16:3e:00:00:00:00:00", | ||
"failure-mode": "SECURE", | ||
"inactivity-probe": 10, | ||
"max-backoff": 10 | ||
} | ||
}, | ||
"controllers": { | ||
"controller": [ | ||
{ | ||
"config": { | ||
"name": "main" | ||
}, | ||
"connections": { | ||
"connection": [ | ||
{ | ||
"aux-id": 0, | ||
"config": { | ||
"address": "192.0.2.10", | ||
"aux-id": 0, | ||
"port": 6633, | ||
"priority": 1, | ||
"source-interface": "admin", | ||
"transport": "TLS" | ||
} | ||
} | ||
] | ||
}, | ||
"name": "main" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
lighty-examples/lighty-gnmi-community-restconf-app/simulator/initialConfigJsonData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"openconfig-interfaces:interfaces": { | ||
"interface": [ | ||
{ | ||
"name": "admin", | ||
"config": { | ||
"name": "admin", | ||
"type": "openconfig-if-types:IF_ETHERNET" | ||
} | ||
} | ||
] | ||
}, | ||
"openconfig-system:system": { | ||
"aaa": { | ||
"authentication": { | ||
"admin-user": { | ||
"config": { | ||
"admin-password": "password" | ||
} | ||
}, | ||
"config": { | ||
"authentication-method": [ | ||
"openconfig-aaa-types:LOCAL" | ||
] | ||
} | ||
} | ||
}, | ||
"clock": { | ||
"config": { | ||
"timezone-name": "Europe/Stockholm" | ||
} | ||
}, | ||
"config": { | ||
"hostname": "zz-tri-dev01", | ||
"domain-name": "foo.bar.com", | ||
"login-banner": "This device is for authorized use only", | ||
"motd-banner": "Welcome to Open vSwitch" | ||
}, | ||
"openconfig-openflow:openflow": { | ||
"agent": { | ||
"config": { | ||
"backoff-interval": 5, | ||
"datapath-id": "00:16:3e:00:00:00:00:00", | ||
"failure-mode": "SECURE", | ||
"inactivity-probe": 10, | ||
"max-backoff": 10 | ||
} | ||
}, | ||
"controllers": { | ||
"controller": [ | ||
{ | ||
"config": { | ||
"name": "main" | ||
}, | ||
"connections": { | ||
"connection": [ | ||
{ | ||
"aux-id": 0, | ||
"config": { | ||
"address": "192.0.2.10", | ||
"aux-id": 0, | ||
"port": 6633, | ||
"priority": 1, | ||
"source-interface": "admin", | ||
"transport": "TLS" | ||
} | ||
} | ||
] | ||
}, | ||
"name": "main" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters