-
Fredrik Hallström authored
commit eb575af9 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 11:30:11 2023 +0100 Remove testing. commit ad6bcfdc Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 10:33:01 2023 +0100 Move code block to function. commit 7a5c3979 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 10:11:34 2023 +0100 Remove debugging logs and unused code. commit a22e5d4c Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 09:52:02 2023 +0100 Log config from switch. commit 252f9d79 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 09:11:51 2023 +0100 Test applying the new configuration. commit 74037d76 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:54:52 2023 +0100 Remove logs for debugging. commit 8b8aa4a9 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:43:46 2023 +0100 Add check if no keys in elemExists. commit 4d7e7480 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:37:35 2023 +0100 Log result of check if elem exists. commit c4fc40f9 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:34:37 2023 +0100 Log before checking if elem exists. commit 1a293552 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:26:54 2023 +0100 Log start of function for adding new elements. commit 2cb84295 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:21:10 2023 +0100 Log xml output. commit e76ac209 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:17:45 2023 +0100 Log children before adding new elem. commit abf0f0b6 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:14:16 2023 +0100 Log all new elements added. commit 2ddebe84 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:10:27 2023 +0100 Remove unnecessary logs. commit 9064b1ed Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 20 08:06:34 2023 +0100 Debug duplicate sgs-params commit 7a3d0d1b Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 16:17:18 2023 +0100 Debug the elem that is being looked for. commit 38fbb62c Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 16:13:03 2023 +0100 Debug elemExists (it should return true for sgs-params) commit 206154eb Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 16:09:53 2023 +0100 Just print element names in debug. commit 7b0f8640 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 16:07:26 2023 +0100 Debug added elem that shows as not existing. commit 457d4eb6 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 16:03:25 2023 +0100 Log elements that do not exist. commit 2db04f57 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 15:58:41 2023 +0100 Debug when duplicate elements is created. commit ddaabbf1 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 14:27:35 2023 +0100 Add key elements to new tree elem. commit 39053a8c Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 14:23:09 2023 +0100 Swap key and val variables (to be correct). commit f6b26f38 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 14:20:21 2023 +0100 Debug missing keys other than namespaces. commit c2b7edce Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 14:14:17 2023 +0100 Step into new child if newly created. commit 6f88c0de Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 14:06:19 2023 +0100 Use golangs proto functions. commit 7b9b3923 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 11:47:32 2023 +0100 Debug adapterResponse not unmarshaling. commit b33ffb91 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 17 11:18:06 2023 +0100 Log elem to be added. commit 15d5a137 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 20:57:46 2023 +0100 Check if value is something before converting to string. commit b753932f Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 20:54:22 2023 +0100 Use GetValue func instead of field. commit 969d81cd Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 20:50:58 2023 +0100 Add new elem at the end of children if not already present. commit 6fd8398e Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 20:44:40 2023 +0100 Add inital logs for starting with adding elems (unordered). commit 88b82c72 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 20:09:30 2023 +0100 Log old value and what the new should be. commit 1bbfe622 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 20:03:29 2023 +0100 Prepare for value change on leaf. commit 67ba1991 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 14:35:42 2023 +0100 Add check to find elem even if it is the root. commit f0ea0b99 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 14:31:09 2023 +0100 Add debugging of which elem is not found. commit d0473249 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 14:27:33 2023 +0100 Log when a request to a switch is sent. commit d1259f1e Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 14:25:04 2023 +0100 Add logging of target groups based on IP. commit a45abe73 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 14:20:28 2023 +0100 Clean up old comments and add logs for missing functionality. commit f20d03c1 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 14:10:52 2023 +0100 Add debug logging of which subtree is used. commit eb380ccc Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 14:08:47 2023 +0100 Add search for correct subtree of the changes. commit 1a5dbe6f Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 14:00:19 2023 +0100 Print subtree names instead of their mem pointer. commit 9ec95468 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 13:58:08 2023 +0100 Print tree from root. commit 15b44686 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 13:53:50 2023 +0100 Test if multiple subtrees can be applied at the same time. commit 015efd41 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 09:40:22 2023 +0100 Remove ".". commit 925ff850 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 09:38:40 2023 +0100 Skip the first element which is "data". commit 31a620b1 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 09:31:35 2023 +0100 Remove debugging and push config to switches now. commit 0c937962 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 09:24:45 2023 +0100 Add the missing changes in adapterResp to tree conv. commit 872e0ae9 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 09:19:33 2023 +0100 Stop after cert-to-name end-tag elem. commit b9e5f813 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 09:13:04 2023 +0100 Remove duplicate namespace adding. commit 96a2e181 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 09:06:41 2023 +0100 Check length of attr before using its values. commit 18d4d5c3 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 09:03:19 2023 +0100 Change from Name.Space to Attr[0].Value. commit 518940df Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:58:52 2023 +0100 Add debugging logs. commit 629810a6 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:54:56 2023 +0100 Log namespaces to debug missing ns and ns prefixes. commit e77cb6df Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:51:08 2023 +0100 Skip namespace prefix if it is empty. commit b4a4753b Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:49:07 2023 +0100 Log namespace prefix for all elements in set conv. commit ea6d3b76 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:46:03 2023 +0100 Add last parent namespace to object. commit ec39a721 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:43:33 2023 +0100 Verify that ns prefix is correct when converted. commit 97c05475 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:41:00 2023 +0100 Log namespace prefix. commit 89c87287 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:36:30 2023 +0100 Do not add namespace prefix when it is "xmlns". commit 38ed3e85 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:33:53 2023 +0100 Debug namespace prefix added when it should not have been. commit 8aee8e1a Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:30:50 2023 +0100 Add namespace prefix if found for an elem. commit 3a39ab44 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:24:49 2023 +0100 Change from "space" to "local" for prefix log. commit 1c865b97 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:22:59 2023 +0100 Log even more detailed prefix. commit 8fe449aa Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:21:00 2023 +0100 Log what should be the prefix for the namespace. commit 08a2b068 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:17:35 2023 +0100 Log full attribute in xml get parsing. commit 49b1ebeb Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Thu Feb 16 08:10:56 2023 +0100 Log namespace for elements in tree. commit 283d4eb8 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 11:24:26 2023 +0100 Remove unnecessary logging. commit e7f41855 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 11:20:04 2023 +0100 Add namespace prefix support. commit f52573e7 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 10:58:15 2023 +0100 Move slash for empty elems to be at the end. commit e9894722 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 10:53:27 2023 +0100 Move too early elem end-tag. commit 5be2f409 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 10:48:34 2023 +0100 Add logging for debugging of tree to xml conv. commit 30f36b45 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 10:43:07 2023 +0100 Add xml for end-tag and new elem with closing at start. commit d8a945da Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 10:35:18 2023 +0100 Add xmlns for namespaces. This will most likely not work in all cases, for some namespaces the xmlns:augment=\"...\" should be used. commit 0a84433a Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 10:28:05 2023 +0100 Add space between elem name and namespace. commit 17f429ff Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 10:24:00 2023 +0100 Check for namespace and value before children. commit 2c4d8e47 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 10:19:25 2023 +0100 Add first version of the tree to xml conversion. commit eb841e88 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Feb 15 09:54:24 2023 +0100 Add initial conv from tree to xml. commit 2cf768a3 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 13 15:46:52 2023 +0100 Return error from lowest level. commit f3779a95 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 13 15:28:43 2023 +0100 Run conversion for testing only (no push to sw) commit 0ced9352 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Mon Feb 13 15:22:24 2023 +0100 Rework set conversion to only take in changes. Not complete, just the structure and some functionality is complete. Still need to update the XML from the switches, and need to verify if elements need to be in order. commit 46d619d7 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Fri Feb 3 09:23:50 2023 +0100 Rename gnmi_target to northbound. Also changed name of func pushing req to sw, changed the version of the image (due to errors starting the container), and suppressed errors when no sw is connected. commit e30ac932 Author: Jojjer123 <70746514+Jojjer123@users.noreply.github.com> Date: Tue Nov 22 09:42:58 2022 +0100 Add documentation. commit 1c3997ae Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Nov 16 11:10:18 2022 +0100 Remove debugging. commit 145e9536 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Tue Nov 15 12:34:33 2022 +0100 Log xml elements. commit 8bf7e7a6 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Nov 9 11:22:34 2022 +0100 Log path from gnmi. commit d26c9275 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Tue Nov 8 15:35:04 2022 +0100 Comment out static xml config. commit f0832562 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Tue Nov 8 14:46:57 2022 +0100 Push full config for interface, replacing with added GCL. commit b712bbd3 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Tue Nov 8 13:09:26 2022 +0100 Log xml request sent to switches. commit 535a69f3 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Tue Nov 8 12:40:31 2022 +0100 Add replace operation for setting configs. commit aaf11fc9 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Nov 2 13:33:41 2022 +0100 Use proper protobuf for adapter response. commit 95f3a8a4 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Nov 2 12:41:07 2022 +0100 Test unmarshaling adapter response (DEBUG). commit e0b051b3 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Nov 2 12:24:16 2022 +0100 Remove pointer. commit 09dbf955 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Nov 2 12:15:44 2022 +0100 Log adapter response entries. commit 0a1ca737 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Nov 2 12:04:44 2022 +0100 Dereference adapter response when logging. commit 415462e0 Author: Jojjer123 <fredrikhallstrom1@hotmail.com> Date: Wed Nov 2 11:58:51 2022 +0100 Log adapter response from get.
3fe07688
Loading