Commit 8926c80
authored
feat(nm): Made network configuration timeout configurable (#5858)
* Added timeout property in system service
Signed-off-by: pierantoniomerlino <[email protected]>
* Added timeout property in nm
Signed-off-by: pierantoniomerlino <[email protected]>
* Added async methods for applying network config
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed copyright
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed copyright again
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed typo
Signed-off-by: pierantoniomerlino <[email protected]>
* Attempt to fix reset issue
Signed-off-by: pierantoniomerlino <[email protected]>
* Several fixes
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed copyright and log
Signed-off-by: pierantoniomerlino <[email protected]>
* Added test for code coverage
Signed-off-by: pierantoniomerlino <[email protected]>
---------
Signed-off-by: pierantoniomerlino <[email protected]>1 parent a775840 commit 8926c80
8 files changed
Lines changed: 154 additions & 63 deletions
File tree
- kura
- org.eclipse.kura.api/src/main/java/org/eclipse/kura/system
- org.eclipse.kura.core.system/src/main/java/org/eclipse/kura/core/system
- org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm
- configuration
- signal/handlers
- test
- org.eclipse.kura.core.system.test/src/main/java/org/eclipse/kura/core/system/test
- org.eclipse.kura.nm.test/src/test/java/org/eclipse/kura/nm
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
| |||
633 | 638 | | |
634 | 639 | | |
635 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
636 | 649 | | |
Lines changed: 22 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
| 939 | + | |
949 | 940 | | |
950 | 941 | | |
951 | 942 | | |
952 | 943 | | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
| 944 | + | |
963 | 945 | | |
964 | 946 | | |
965 | 947 | | |
| |||
974 | 956 | | |
975 | 957 | | |
976 | 958 | | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
| 959 | + | |
983 | 960 | | |
984 | 961 | | |
985 | 962 | | |
986 | 963 | | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
| 964 | + | |
994 | 965 | | |
995 | 966 | | |
996 | 967 | | |
| |||
1542 | 1513 | | |
1543 | 1514 | | |
1544 | 1515 | | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
1545 | 1534 | | |
Lines changed: 46 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
109 | | - | |
| 113 | + | |
110 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 | | |
112 | 119 | | |
113 | 120 | | |
| |||
135 | 142 | | |
136 | 143 | | |
137 | 144 | | |
| 145 | + | |
138 | 146 | | |
139 | 147 | | |
140 | 148 | | |
141 | 149 | | |
142 | | - | |
| 150 | + | |
143 | 151 | | |
144 | 152 | | |
145 | 153 | | |
| |||
160 | 168 | | |
161 | 169 | | |
162 | 170 | | |
163 | | - | |
| 171 | + | |
164 | 172 | | |
165 | 173 | | |
166 | 174 | | |
| |||
175 | 183 | | |
176 | 184 | | |
177 | 185 | | |
178 | | - | |
| 186 | + | |
179 | 187 | | |
180 | 188 | | |
181 | 189 | | |
| |||
221 | 229 | | |
222 | 230 | | |
223 | 231 | | |
224 | | - | |
| 232 | + | |
225 | 233 | | |
226 | 234 | | |
227 | 235 | | |
| |||
358 | 366 | | |
359 | 367 | | |
360 | 368 | | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
361 | 381 | | |
| 382 | + | |
362 | 383 | | |
363 | 384 | | |
364 | 385 | | |
| |||
371 | 392 | | |
372 | 393 | | |
373 | 394 | | |
| 395 | + | |
374 | 396 | | |
375 | 397 | | |
376 | 398 | | |
377 | 399 | | |
| 400 | + | |
378 | 401 | | |
379 | 402 | | |
380 | 403 | | |
| |||
384 | 407 | | |
385 | 408 | | |
386 | 409 | | |
| 410 | + | |
387 | 411 | | |
388 | 412 | | |
389 | 413 | | |
390 | 414 | | |
391 | 415 | | |
392 | 416 | | |
393 | 417 | | |
| 418 | + | |
394 | 419 | | |
395 | 420 | | |
396 | 421 | | |
| |||
399 | 424 | | |
400 | 425 | | |
401 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
402 | 438 | | |
403 | 439 | | |
404 | 440 | | |
| |||
552 | 588 | | |
553 | 589 | | |
554 | 590 | | |
555 | | - | |
| 591 | + | |
556 | 592 | | |
557 | 593 | | |
558 | 594 | | |
| |||
605 | 641 | | |
606 | 642 | | |
607 | 643 | | |
608 | | - | |
| 644 | + | |
609 | 645 | | |
610 | 646 | | |
611 | 647 | | |
| |||
653 | 689 | | |
654 | 690 | | |
655 | 691 | | |
656 | | - | |
| 692 | + | |
657 | 693 | | |
658 | 694 | | |
659 | 695 | | |
| |||
674 | 710 | | |
675 | 711 | | |
676 | 712 | | |
677 | | - | |
678 | 713 | | |
679 | 714 | | |
680 | | - | |
| 715 | + | |
681 | 716 | | |
682 | 717 | | |
683 | 718 | | |
| |||
687 | 722 | | |
688 | 723 | | |
689 | 724 | | |
690 | | - | |
| 725 | + | |
691 | 726 | | |
692 | 727 | | |
693 | 728 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
| 429 | + | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | | - | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
322 | 328 | | |
0 commit comments