kubectl-sdcio

kubectl-sdcio is the SDC specific kubectl plugin.
subcommands
kubectl-sdcio provides the following functionalities.
blame
The blame command provides a tree based view on the actual running device configuration of the given SDC target.
It takes the --target parameter, that defines which targets is to be displayed.
For every configured attribute you will see the highes preference value as well as the source of that value.
running are attributes that come from the device itself, where no intent exist in sdcio.
default is all the default values that are present in the config, that are not overwritten by any specific config.
<namespace>.<intentname> is the reference to the intent that defined the actual highes preference value for that config attribute.
mava@server01:~/projects/kubectl-sdcio$ kubectl sdcio blame --target sros
----- β π― default.sros
----- β βββ π¦ configure
----- β βββ π¦ card
----- β β βββ π¦ 1
default β β βββ π admin-state -> enable
running β β βββ π card-type -> iom-1
default β β βββ π fail-on-error -> false
default β β βββ π filter-profile -> none
default β β βββ π hash-seed-shift -> 2
default β β βββ π power-save -> false
default β β βββ π reset-on-recoverable-error -> false
running β β βββ π slot-number -> 1
----- β βββ π¦ service
----- β β βββ π¦ customer
----- β β β βββ π¦ 1
default.customer-sros β β β β βββ π customer-id -> 1
default.customer-sros β β β β βββ π customer-name -> 1
----- β β β βββ π¦ 2
default.customer-sros β β β βββ π customer-id -> 2
default.customer-sros β β β βββ π customer-name -> 2
----- β β βββ π¦ vprn
----- β β βββ π¦ vprn123
default.intent1-sros-sros β β β βββ π admin-state -> enable
default β β β βββ π allow-export-bgp-vpn -> false
default β β β βββ π carrier-carrier-vpn -> false
default β β β βββ π class-forwarding -> false
default.intent1-sros-sros β β β βββ π customer -> 1
...
Join us
Have questions, ideas, bug reports or just want to chat? Come join our discord server.
License and Code of Conduct
Code is under the Apache License 2.0, documentation is CC BY 4.0.
The SDC project is following the CNCF Code of Conduct. More information and links about the CNCF Code of Conduct are here.