tpm: export vlan and ethertype.

Export the following rules in yaml format:

- l2 key for vlan and ethertype.
- vlan rule.

The original tpm db does not record the rule type. This CL added rule
type so that it is easier to review the rules that are added.

Change-Id: I1e9d673aef9a2fdcf8e1adb4b323266d795d504b
4 files changed