blob: 3e63eb2a32dddce53573c8a88d7e4b04f7d5abbc [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001RUN mkdir -p /root/setup
2ADD xos/configurations/common/admin-openrc.sh /root/setup/
3ADD xos/configurations/common/controller_settings /root/setup/
4ADD xos/configurations/common/flat_net_name /root/setup/
5ADD xos/configurations/common/nodes.yaml /opt/xos/configurations/commmon/
6ADD xos/configurations/common/id_rsa.pub /root/setup/padmin_public_key
7ADD xos/configurations/common/id_rsa.pub /opt/xos/synchronizers/vcpe/vcpe_public_key
8ADD xos/configurations/common/id_rsa /opt/xos/synchronizers/vcpe/vcpe_private_key
9ADD xos/configurations/common/id_rsa.pub /opt/xos/synchronizers/monitoring_channel/monitoring_channel_public_key
10ADD xos/configurations/common/id_rsa /opt/xos/synchronizers/monitoring_channel/monitoring_channel_private_key
11ADD xos/configurations/common/id_rsa.pub /opt/xos/synchronizers/onos/onos_key.pub
12ADD xos/configurations/common/id_rsa /opt/xos/synchronizers/onos/onos_key
13ADD xos/configurations/common/node_key.pub /root/setup/node_key.pub
14ADD xos/configurations/common/node_key /root/setup/node_key
15ADD xos/configurations/common/ceilometer_url /root/setup/ceilometer_url
16ADD xos/synchronizers/vcpe/supervisor/vcpe-observer.conf /etc/supervisor/conf.d/
17ADD xos/synchronizers/vbng/supervisor/vbng-observer.conf /etc/supervisor/conf.d/
18ADD xos/synchronizers/onos/supervisor/onos-observer.conf /etc/supervisor/conf.d/
19ADD xos/synchronizers/monitoring_channel/supervisor/monitoring_channel_observer.conf /etc/supervisor/conf.d/
20RUN sed -i 's/proxy_ssh=True/proxy_ssh=False/' /opt/xos/synchronizers/vcpe/vcpe_synchronizer_config
21RUN sed -i 's/proxy_ssh=True/proxy_ssh=False/' /opt/xos/synchronizers/monitoring_channel/monitoring_channel_synchronizer_config
22ADD xos/configurations/cord/virtualbng.json /root/setup/
23ADD xos/configurations/cord/vtn-network-cfg.json /root/setup/
24
25CMD /usr/bin/make -C /opt/xos/configurations/cord -f Makefile.inside; /bin/bash
26
27#CMD ["/bin/bash"]