vtn-mac-map

Base Information

prefix macmap
namespace urn:opendaylight:vtn:mapping:mac
revision 2015-09-07
description The module that describes the data models for MAC mapping, which associates a host with a vBridge in VTN.
yang-version 1
imports inv:opendaylight-inventory 2013-08-19; vtype:vtn-types 2015-02-09; mactable:vtn-mac-table 2015-09-07; yang:ietf-yang-types 2010-09-24;

Groupings Summary

Name Description
vtn-mac-map-status Describes runtime status information about MAC mapping.
vtn-mac-map-info Describes information about MAC mapping, which maps hosts specified by MAC address and VLAN ID to a vBridge.
vtn-mac-map-config Describes configuration for a MAC mapping.
vtn-mac-mappable Describes the data model which can contain MAC mapping configuration.

RPCs Summary

Name Description
set-mac-map Configure MAC mapping in the specified vBridge. This operation changes the MAC addresses to be mapped and not to be mapped at the same time. Upon successful completion, the result of this operation will be set to the `status' field in the RPC output. `CREATED' indicates that new MAC mapping configuration has been created in the specified vBridge. `CHANGED' indicates that existing MAC mapping configuration has been changed. `REMOVED' indicates that MAC mapping configuration has been removed from the specified vBridge. Null indicates that MAC mapping configuration in the specified vBridge 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 the vBridge specified by `tenant-name' and `bridge-name' is not present. `CONFLICT' is set if this operation tries to map a host already mapped by another MAC mapping. `CONFLICT' is set if this operation tries to add a MAC address into `allowed-hosts' in the MAC mapping configuration, and that MAC address is already configured in `allowed-hosts'. `INTERNALERROR' is set if the operation failed due to internal error.
set-mac-map-acl Configure MAC mapping in the specified vBridge. This operation changes the specified access control list of the MAC mapping. Upon successful completion, the result of this operation will be set to the `status' field in the RPC output. `CREATED' indicates that new MAC mapping configuration has been created in the specified vBridge. `CHANGED' indicates that existing MAC mapping configuration has been changed. `REMOVED' indicates that MAC mapping configuration has been removed from the specified vBridge. Null indicates that MAC mapping configuration in the specified vBridge 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 the vBridge specified by `tenant-name' and `bridge-name' is not present. `CONFLICT' is set if this operation tries to map a host already mapped by another MAC mapping. `CONFLICT' is set if this operation tries to add a MAC address into `allowed-hosts' in the MAC mapping configuration, and that MAC address is already configured in `allowed-hosts'. `INTERNALERROR' is set if the operation failed due to internal error.
get-mac-mapped-host Get a list of hosts where mapping is actually active based on MAC mapping configured in the specified vBridge. Upon successful completion, a list of host information is will be set to the RPC output. 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 vBridge specified by `tenant-name' and `bridge-name' is not present. `INTERNALERROR' is set if the operation failed due to internal error.

Groupings

RPC Definitions

set-mac-map

set-mac-map-acl

get-mac-mapped-host