prefix | vterm |
namespace | urn:opendaylight:vtn:vterminal |
revision | 2015-09-07 |
description | The module that describes the data models for vTerminal, which is isolated input and output terminal inside VTN. |
yang-version | 1 |
imports | vif:vtn-vinterface 2015-09-07; vbr:vtn-vbridge 2015-09-07; vtype:vtn-types 2015-02-09; |
Name | Description |
---|---|
vtn-vterminal-info | Describes information about vTerminal. Unlike vBridge, vTerminal can have only one virtual interface. vTerminal is always used in conjunction with redirection by flow filter. `state' field indicates the state of the vTerminal. If any of the following conditions are met, the vTerminal status will be `UNKNOWN': - No virtual interface is configured in the vTerminal. - A virtual interface inside the vTerminal is disabled. - Port mapping is not configured in a virtual interface inside the vTerminal. `DOWN' indicates that the physical network mapped to the vTerminal is not operating correctly. If an enabled virtual interface inside the vTerminal is in `DOWN' state, then the vTerminal status will be `DOWN'. `UP indicates that the physical network mapped to the vTerminal is operating correctly. |
vtn-vterminal-config | Describes configuration for a vTerminal. |
vtn-vterminal-list | Describes a list of vTerminals. |
Name | Description |
---|---|
update-vterminal | Create or modify the specified vTerminal. Upon successful completion, the result of this operation will be set to the `status' field in the RPC output. `CREATED' indicates that the specified vTerminal has been newly created. `CHANGED' indicates that the configuration for the specified vTerminal has been changed. Null indicates that the configuration for the specified vTerminal was not changed. On failure, one of vtn-error-tag value which indicates the cause of error is set into application tag in RPC error. `BADREQUEST' is set if the RPC input contains invalid data. `NOTFOUND' is set if the VTN specified by `tenant-name' is not present. `NOTFOUND' is set if `update-mode' field in the RPC input is `MODIFY' and the specified vTerminal is not present. `CONFLICT' is set if `update-mode' field in the RPC input is `CREATE' and the specified vTerminal is present. `INTERNALERROR' is set if the operation failed due to internal error. |
remove-vterminal | Remove the specified vTerminal. All the virtual interfaces inside the specified vTerminal will also be removed. On failure, one of vtn-error-tag value which indicates the cause of error is set into application tag in RPC error. `BADREQUEST' is set if the RPC input contains invalid data. `NOTFOUND' is set if the VTN specified by `tenant-name' is not present. `NOTFOUND' is set if the specified vTerminal is not present. `INTERNALERROR' is set if the operation failed due to internal error. |