samplecliplugin

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

README ΒΆ

kubectl-sdcio

kubectl-sdcio is the sdcio 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 sdcio 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
...

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL