Compiled charm published to cs:~nfv/vpe-router-1
[osm/devops.git] / builds / vpe-router / actions.yaml
1 "configure-interface":
2   "description": "Configure an ethernet interface."
3   "params":
4     "iface-name":
5       "type": "string"
6       "description": "Device name, e.g. eth1"
7     "cidr":
8       "type": "string"
9       "description": "Network range to assign to the interface"
10   "required": ["iface-name"]
11 "add-corporation":
12   "description": "Add a new corporation to the router"
13   "params":
14     "domain-name":
15       "type": "string"
16       "description": "Name of the vlan corporation"
17     "iface-name":
18       "type": "string"
19       "description": "Device name. eg eth1"
20     "vlan-id":
21       "type": "integer"
22       "description": "The name of the vlan?"
23     "cidr":
24       "type": "string"
25       "description": "Network range to assign to the tagged vlan-id"
26     "area":
27       "type": "string"
28       "description": "Link State Advertisements (LSA) type"
29     "subnet-cidr":
30       "type": "string"
31       "description": "Network range"
32     "subnet-area":
33       "type": "string"
34       "description": "Link State Advertisements (LSA) type"
35   "required": ["domain-name", "iface-name", "vlan-id", "cidr", "area", "subnet-cidr",
36     "subnet-area"]
37 "delete-corporation":
38   "description": "Remove the corporation from the router completely"
39   "params":
40     "domain-name":
41       "type": "string"
42       "description": "The domain of the corporation to remove"
43     "cidr":
44       "type": "string"
45       "description": "Network range to assign to the tagged vlan-id"
46     "area":
47       "type": "string"
48       "description": "Link State Advertisements (LSA) type"
49     "subnet-cidr":
50       "type": "string"
51       "description": "Network range"
52     "subnet-area":
53       "type": "string"
54       "description": "Link State Advertisements (LSA) type"
55   "required": ["domain-name", "cidr", "area", "subnet-cidr", "subnet-area"]
56 "connect-domains":
57   "description": "Connect the router to another router, where the same domain is present"
58   "params":
59     "domain-name":
60       "type": "string"
61       "description": "The domain of the coproration to connect"
62     "iface-name":
63       "type": "string"
64       "description": "Device name. eg eth1"
65     "tunnel-name":
66       "type": "string"
67       "description": "Name of the tunnel ?"
68     "local-ip":
69       "type": "string"
70       "description": "local ip ?"
71     "remote-ip":
72       "type": "string"
73       "description": "remote ip ?"
74     "tunnel-key":
75       "type": "string"
76       "description": "tunnel key?"
77     "internal-local-ip":
78       "type": "string"
79       "description": "internal local ip?"
80     "internal-remote-ip":
81       "type": "string"
82       "description": "internal remote ip?"
83     "tunnel-type":
84       "type": "string"
85       "default": "gre"
86       "description": "The type of tunnel to establish."
87   "required": ["domain-name", "iface-name", "tunnel-name", "local-ip", "remote-ip",
88     "tunnel-key", "internal-local-ip", "internal-remote-ip"]
89 "delete-domain-connection":
90   "description": "Remove the tunnel to another router where the domain is present."
91   "params":
92     "domain-name":
93       "type": "string"
94       "description": "The domain of the corporation to unlink"
95     "tunnel-name":
96       "type": "string"
97       "description": "The name of the tunnel to unlink that the domain-name is attached\
98         \ to"
99   "required": ["domain-name", "tunnel-name"]