Commit d441a00
mctpd: enumerate /networks and /endpoints object paths
Enumerate the parent D-Bus object path `.../mctp1/networks` for the
network paths `.../mctp1/networks/<NetID>` and
`.../mctp1/networks/<NetID>/endpoints` for the endpoints path
`.../mctp1/networks/<NetID>/endpoints/<EID>`.
Tested:
Check the MCTP D-Bus interface:
```
busctl tree au.com.codeconstruct.MCTP1
`- /au
`- /au/com
`- /au/com/codeconstruct
`- /au/com/codeconstruct/mctp1
`- /au/com/codeconstruct/mctp1/networks
`- /au/com/codeconstruct/mctp1/networks/1
`- /au/com/codeconstruct/mctp1/networks/1/endpoints
`- /au/com/codeconstruct/mctp1/networks/1/endpoints/8
```
Signed-off-by: Thu Nguyen <[email protected]>
Signed-off-by: Jeremy Kerr <[email protected]>1 parent 9b4eabc commit d441a00
1 file changed
+64
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
2908 | 2909 | | |
2909 | 2910 | | |
2910 | 2911 | | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
| 2925 | + | |
2911 | 2926 | | |
2912 | 2927 | | |
2913 | 2928 | | |
| |||
3005 | 3020 | | |
3006 | 3021 | | |
3007 | 3022 | | |
3008 | | - | |
| 3023 | + | |
| 3024 | + | |
| 3025 | + | |
3009 | 3026 | | |
3010 | 3027 | | |
| 3028 | + | |
| 3029 | + | |
| 3030 | + | |
| 3031 | + | |
| 3032 | + | |
| 3033 | + | |
| 3034 | + | |
| 3035 | + | |
| 3036 | + | |
| 3037 | + | |
| 3038 | + | |
| 3039 | + | |
| 3040 | + | |
3011 | 3041 | | |
3012 | 3042 | | |
3013 | 3043 | | |
3014 | 3044 | | |
3015 | | - | |
3016 | | - | |
3017 | 3045 | | |
3018 | 3046 | | |
3019 | 3047 | | |
3020 | 3048 | | |
3021 | 3049 | | |
3022 | 3050 | | |
3023 | 3051 | | |
| 3052 | + | |
3024 | 3053 | | |
3025 | 3054 | | |
3026 | 3055 | | |
3027 | 3056 | | |
3028 | 3057 | | |
3029 | 3058 | | |
3030 | 3059 | | |
| 3060 | + | |
| 3061 | + | |
| 3062 | + | |
| 3063 | + | |
| 3064 | + | |
| 3065 | + | |
| 3066 | + | |
| 3067 | + | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
| 3071 | + | |
| 3072 | + | |
| 3073 | + | |
| 3074 | + | |
| 3075 | + | |
| 3076 | + | |
| 3077 | + | |
| 3078 | + | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
| 3083 | + | |
| 3084 | + | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
| 3088 | + | |
| 3089 | + | |
| 3090 | + | |
| 3091 | + | |
3031 | 3092 | | |
3032 | 3093 | | |
3033 | 3094 | | |
| |||
3041 | 3102 | | |
3042 | 3103 | | |
3043 | 3104 | | |
3044 | | - | |
3045 | | - | |
3046 | | - | |
3047 | | - | |
3048 | | - | |
3049 | | - | |
3050 | | - | |
3051 | | - | |
3052 | | - | |
3053 | | - | |
3054 | 3105 | | |
3055 | 3106 | | |
3056 | 3107 | | |
| |||
0 commit comments