Skip to content
Snippets Groups Projects
Commit 0e1f04da authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Device component: Correct working directories for collection of OpenConfig data models

parent ac5209e1
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!172Resolve "(CTTC) Extend gNMI-OpenConfig SBI driver"
...@@ -98,10 +98,12 @@ RUN mkdir -p /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig ...@@ -98,10 +98,12 @@ RUN mkdir -p /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig
RUN mkdir -p /tmp/openconfig RUN mkdir -p /tmp/openconfig
RUN git clone https://github.com/openconfig/public.git /tmp/openconfig RUN git clone https://github.com/openconfig/public.git /tmp/openconfig
RUN git fetch RUN git fetch
WORKDIR /tmp/openconfig
RUN git checkout v4.4.0 RUN git checkout v4.4.0
RUN mv /tmp/openconfig/release /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig/public RUN mv /tmp/openconfig/release /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig/public
RUN mv /tmp/openconfig/third_party /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig/public RUN mv /tmp/openconfig/third_party /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig/public
RUN rm -rf /tmp/openconfig RUN rm -rf /tmp/openconfig
WORKDIR /var/teraflow
# Start the service # Start the service
ENTRYPOINT ["python", "-m", "device.service"] ENTRYPOINT ["python", "-m", "device.service"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment