vtn-mac-table

Base Information

prefix mactable
namespace urn:opendaylight:vtn:vbridge:mac
revision 2015-09-07
description The module that describes the data models for MAC address table, which keeps MAC addresses learned inside vBridge.
yang-version 1
imports inv:opendaylight-inventory 2013-08-19; inet:ietf-inet-types 2013-07-15; vtype:vtn-types 2015-02-09; yang:ietf-yang-types 2013-07-15;

Groupings Summary

Name Description
vtn-mac-table-list A list of MAC address tables.
vtn-mac-entry Describes information about a MAC address learned inside vBridge.
vtn-mac-table-entry Describes a set of MAC address entry in a MAC address table.

Child Nodes Summary

Name Description
mac-tables The root container of all the MAC address tables for vBridges. Do not edit this container directly.

RPCs Summary

Name Description
remove-mac-entry Remove the specified MAC address information from the MAC address table in the specified vBridge. MAC addresses passed to `mac-addresses' list will be copied to the RPC output, and `status' field in the RPC output descripes the result of the operation. `REMOVED' indicates that the MAC address specified by `mac-address' field in the RPC output has been successfully removed. Null indicates that the MAC address specified by `mac-address' field in the RPC output is not learned by the vBridge specified by the RPC input. If no MAC address is specified by the RPC input, all the MAC addresses in the MAC address table will be removed. In this case all the removed MAC addresses will be copied to the RPC output. `remove-mac-entry-result' will be null if no MAC address is specified by the RPC input and the specified MAC address table is empty. 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 or the vBridge specified by the RPC input is not present. `INTERNALERROR' is set if the operation failed due to internal error.

Groupings

Datastore Structure

vtn-mac-table

Child nodes

Direct children

mac-tables

XML Path
Restconf path
vtn-mac-table:mac-tables

Direct children

XML example

        <mac-tables xmlns="urn:opendaylight:vtn:vbridge:mac">
        
            <!-- See definition
             for child nodes.  -->
            <!-- This node could appear multiple times -->
            <tenant-mac-table xmlns="urn:opendaylight:vtn:vbridge:mac">...</tenant-mac-table>
        
        </mac-tables>
    

mac-tables/tenant-mac-table

XML Path
Restconf path
vtn-mac-table:mac-tables/tenant-mac-table/{name}

Direct children

XML example

        <tenant-mac-table xmlns="urn:opendaylight:vtn:vbridge:mac">
        
            <name xmlns="urn:opendaylight:vtn:vbridge:mac">...</name>
        
            <!-- See definition
             for child nodes.  -->
            <!-- This node could appear multiple times -->
            <mac-address-table xmlns="urn:opendaylight:vtn:vbridge:mac">...</mac-address-table>
        
        </tenant-mac-table>
    

mac-tables/tenant-mac-table/mac-address-table

XML Path
Restconf path
vtn-mac-table:mac-tables/tenant-mac-table/{name}/mac-address-table/{name}

Direct children

XML example

        <mac-address-table xmlns="urn:opendaylight:vtn:vbridge:mac">
        
            <name xmlns="urn:opendaylight:vtn:vbridge:mac">...</name>
        
            <!-- See definition
             for child nodes.  -->
            <!-- This node could appear multiple times -->
            <mac-table-entry xmlns="urn:opendaylight:vtn:vbridge:mac">...</mac-table-entry>
        
        </mac-address-table>
    

mac-tables/tenant-mac-table/mac-address-table/mac-table-entry

XML Path
Restconf path
vtn-mac-table:mac-tables/tenant-mac-table/{name}/mac-address-table/{name}/mac-table-entry/{mac-address}

Direct children

XML example

        <mac-table-entry xmlns="urn:opendaylight:vtn:vbridge:mac">
        
            <used xmlns="urn:opendaylight:vtn:vbridge:mac">...</used>
        
            <ip-probe-count xmlns="urn:opendaylight:vtn:vbridge:mac">...</ip-probe-count>
        
            <entry-data xmlns="urn:opendaylight:vtn:vbridge:mac">...</entry-data>
        
            <mac-address xmlns="urn:opendaylight:vtn:vbridge:mac">...</mac-address>
        
            <vlan-id xmlns="urn:opendaylight:vtn:vbridge:mac">...</vlan-id>
        
            <!-- This node could appear multiple times -->
            <ip-addresses xmlns="urn:opendaylight:vtn:vbridge:mac">...</ip-addresses>
        
            <node xmlns="urn:opendaylight:vtn:vbridge:mac">...</node>
        
            <port-id xmlns="urn:opendaylight:vtn:vbridge:mac">...</port-id>
        
            <port-name xmlns="urn:opendaylight:vtn:vbridge:mac">...</port-name>
        
        </mac-table-entry>
    

RPC Definitions

remove-mac-entry