Table of Contents
[S: https://git.opendaylight.org/gerrit/#/q/topic:sfc-shell]
The Karaf Container offers a very complete Unix-like console that allows managing the container. This console can be extended with custom commands to manage the features deployed on it. This feature will add some basic commands to show the provisioned SFC’s entities.
This feature will implement commands to show some of the provisioned SFC’s entities:
Details of the proposed change.
None
None
Creation of new commands for the Karaf’s console.
Nitrogen
None
The feature will add CLI commands to the Karaf’s console to list some of the provisioned SFC’s entities. See the CLI section for details about the syntax of those commands.
odl-sfc-shell
UC 1: list one/all provisioned Service Functions.
sfc:sf-list [–name <name>]
UC 2: list one/all provisioned Service Function Forwarders.
sfc:sff-list [–name <name>]
UC 3: list one/all provisioned Service Function Chains.
sfc:sfc-list [–name <name>]
UC 4: list one/all provisioned Service Function Paths.
sfc:sfp-list [–name <name>]
UC 5: list one/all provisioned Service Function Classifiers.
sfc:sc-list [–name <name>]
UC 6: list one/all provisioned Service Nodes.
sfc:sn-list [–name <name>]
UC 7: list one/all provisioned Service Function Types.
sfc:sft-list [–name <name>]
This feature uses the new Karaf 4.x API to create CLI commands.
No changes needed on projects depending on SFC.
The new CLI for SFC will be documented in both the User and Developer guides.
Add any useful references. Some examples: