blob: 6b62a1d71d7cfd40562c5e3ed96b9279521feed1 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001include ../common/Makedefs
2
3services: $(SERVICE_DIR) \
4 $(SERVICE_DIR)/exampleservice \
5 $(SERVICE_DIR)/olt \
6 $(SERVICE_DIR)/vsg \
7 $(SERVICE_DIR)/vtn \
8 $(SERVICE_DIR)/vrouter \
9 $(SERVICE_DIR)/vtr \
10 $(SERVICE_DIR)/onos-service \
11 $(SERVICE_DIR)/fabric
12
13monitoring_services: $(SERVICE_DIR)/monitoring
14
15xos_core: $(XOS_DIR)
16
17$(SERVICE_DIR):
18 mkdir -p $(SERVICE_DIR)
19
20$(SERVICE_DIR)/exampleservice:
21 git -C $(SERVICE_DIR) clone https://gerrit.opencord.org/p/exampleservice.git
22
23$(SERVICE_DIR)/olt:
24 git -C $(SERVICE_DIR) clone https://gerrit.opencord.org/p/olt.git
25
26$(SERVICE_DIR)/vsg:
27 git -C $(SERVICE_DIR) clone https://gerrit.opencord.org/p/vsg.git
28
29$(SERVICE_DIR)/vtn:
30 git -C $(SERVICE_DIR) clone https://gerrit.opencord.org/p/vtn.git
31
32$(SERVICE_DIR)/vrouter:
33 git -C $(SERVICE_DIR) clone https://gerrit.opencord.org/p/vrouter.git
34
35$(SERVICE_DIR)/vtr:
36 git -C $(SERVICE_DIR) clone https://gerrit.opencord.org/p/vtr.git
37
38$(SERVICE_DIR)/onos-service:
39 git -C $(SERVICE_DIR) clone https://gerrit.opencord.org/p/onos-service.git
40
41$(SERVICE_DIR)/fabric:
42 git -C $(SERVICE_DIR) clone https://gerrit.opencord.org/p/fabric.git
43
44$(SERVICE_DIR)/monitoring:
45 git -C $(SERVICE_DIR) clone https://gerrit.opencord.org/p/monitoring.git
46
47cleanup:
48 rm -rf $(SERVICE_DIR)/*
49
50update:
51 git -C $(SERVICE_DIR)/exampleservice pull
52 git -C $(SERVICE_DIR)/olt pull
53 git -C $(SERVICE_DIR)/vsg pull
54 git -C $(SERVICE_DIR)/vtn pull
55 git -C $(SERVICE_DIR)/vrouter pull
56 git -C $(SERVICE_DIR)/vtr pull
57 git -C $(SERVICE_DIR)/onos-service pull
58 git -C $(SERVICE_DIR)/fabric pull
59
60$(XOS_DIR):
61 git -C ../.. clone https://gerrit.opencord.org/p/xos.git
62
63update_xos:
64 git -C $(XOS_DIR) pull