move vpnservice and cleanup poms
[netvirt.git] / elanmanager / elanmanager-impl / src / main / java / org / opendaylight / netvirt / elan / l2gw / ha / merge / GlobalAugmentationMerger.java
1 /*
2  * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.netvirt.elan.l2gw.ha.merge;
9
10 import org.opendaylight.netvirt.elan.l2gw.ha.commands.LocalMcastCmd;
11 import org.opendaylight.netvirt.elan.l2gw.ha.commands.LocalUcastCmd;
12 import org.opendaylight.netvirt.elan.l2gw.ha.commands.LogicalSwitchesCmd;
13 import org.opendaylight.netvirt.elan.l2gw.ha.commands.RemoteMcastCmd;
14 import org.opendaylight.netvirt.elan.l2gw.ha.commands.RemoteUcastCmd;
15 import org.opendaylight.netvirt.elan.l2gw.ha.commands.SwitchesCmd;
16
17 public final class GlobalAugmentationMerger
18         extends MergeCommandsAggregator {
19
20     private GlobalAugmentationMerger() {
21         commands.add(new RemoteMcastCmd());
22         commands.add(new RemoteUcastCmd());
23         commands.add(new LocalUcastCmd());
24         commands.add(new LocalMcastCmd());
25         commands.add(new LogicalSwitchesCmd());
26         commands.add(new SwitchesCmd());
27     }
28
29     static GlobalAugmentationMerger instance = new GlobalAugmentationMerger();
30
31     public static GlobalAugmentationMerger getInstance() {
32         return instance;
33     }
34 }