Repository navigation
cli
themis edited this page Apr 7, 2020
·
1 revision
Alongside Katana Slice Manager, a CLI tool is installed that consumes Katana's REST APIs described in NBI page
The structure of each command is katana <target_component> <action> [argument] [options]
You can use the
--helpoption for the manual
| target | description | actions |
|---|---|---|
| slice | deployed slices | ls, inspect, add, rm |
| function | supported network functions by the underlying platform | ls, inspect, add, update, rm |
| nfvo | registered NFVO instances | ls, inspect, add, update, rm |
| wim | registered WIM instances | ls, inspect, add, update, rm |
| vim | registered VIM instances | ls, inspect, add, update, rm |
| ems | registered EMS instances | ls, inspect, add, update, rm |
| pdu | registered PDU instances | ls, inspect, add, update, rm |
| gst | received GSTs | ls, inspect |
| slice_des | descriptors of the core slice that can be referenced by the GST | ls, inspect, add, update, rm |
| resources | available platform resources | ls, inspect, add, update, rm |
| action | description |
|---|---|
| ls | Return a list of the defined target |
| inspect <id> | Return details for the id of the defined target |
| add -f <config-file> | Add a new instance of the defined target |
| rm <id> | Remove an instance of the defined target |
| update <id> | Update an instance of the defined target |
- Arguments are the id of the target component
- Options: -f file for add or update actions
katana vim ls
VIM_ID CREATED AT TYPE
c74dbbb7-c092-487c-9fbc-87b3cc96d86e 2019-06-06 10:55:53 openstack
katana nfvo add -f nfvo.json
9f1b606d-fd72-4a2a-96e9-8c2a63cd8cb4
katana wim inspect b655bb43-bafc-4271-b3f4-9265f3d89711
{
"_id": "b655bb43-bafc-4271-b3f4-9265f3d89711",
"name": "tnm-wim",
"description": "Athens Platform WIM",
"url": "http://10.30.0.190:8000",
"created_at": 1559818349.5475748
}