Loading manifests/teservice.yaml +3 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ spec: image: labs.etsi.org:5050/tfs/controller/te:latest imagePullPolicy: Always ports: - containerPort: 11010 - containerPort: 10030 env: - name: ERLANG_LOGGER_LEVEL value: "debug" Loading Loading @@ -73,8 +73,8 @@ spec: ports: - name: grpc protocol: TCP port: 11010 targetPort: 11010 port: 10030 targetPort: 10030 - name: pcep protocol: TCP port: 4189 Loading src/te/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ RUN apk add --no-cache libgcc libstdc++ && \ COPY --from=0 /var/teraflow/src/te/_build/prod/rel/tfte /tfte # Expose relevant ports EXPOSE 11010 EXPOSE 10030 EXPOSE 4189 ARG ERLANG_LOGGER_LEVEL_DEFAULT=debug Loading src/te/README.md +2 −2 Original line number Diff line number Diff line Loading @@ -64,9 +64,9 @@ The docker image must be built from the root of the Teraflow project: ### Open a Console $ kubectl --namespace tfs exec -ti $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -- /tfte/bin/tfte remote_console $ kubectl --namespace tfs exec -ti $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -c server -- /tfte/bin/tfte remote_console ## Show Logs $ kubectl --namespace tfs logs $(kubectl --namespace tfs get pods --selector=app=teservice -o name) $ kubectl --namespace tfs logs $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -c server src/te/config/dev.config.template +2 −2 Original line number Diff line number Diff line [ {tfte, [ {services, [ {te, [{http, "localhost", 11010, []}], #{}} {te, [{http, "localhost", 10030, []}], #{}} ]} ]}, Loading Loading @@ -30,7 +30,7 @@ %cacertfile => "" }, listen_opts => #{ port => 11010, port => 10030, ip => {0,0,0,0} }, pool_opts => #{ Loading src/te/tutorial/2-6-te-demo.md +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ Then in second console: We will setup two unidirectional flow between router 1 and 6. We will use the binding label 1111 for the flow from router 1 to router 6, and the binding label 6666 for the flow from router 6 to router 1. $ kubectl --namespace tfs exec -ti $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -- /tfte/bin/tfte remote_console $ kubectl --namespace tfs exec -ti $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -c server -- /tfte/bin/tfte remote_console 1> {ok, Flow1to6} = epce_server:initiate_flow(<<"foo">>, {1, 1, 1, 1}, {6, 6, 6, 6}, 1111). 2> {ok, Flow6to1} = epce_server:initiate_flow(<<"bar">>, {6, 6, 6, 6}, {1, 1, 1, 1}, 6666). Loading Loading
manifests/teservice.yaml +3 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ spec: image: labs.etsi.org:5050/tfs/controller/te:latest imagePullPolicy: Always ports: - containerPort: 11010 - containerPort: 10030 env: - name: ERLANG_LOGGER_LEVEL value: "debug" Loading Loading @@ -73,8 +73,8 @@ spec: ports: - name: grpc protocol: TCP port: 11010 targetPort: 11010 port: 10030 targetPort: 10030 - name: pcep protocol: TCP port: 4189 Loading
src/te/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ RUN apk add --no-cache libgcc libstdc++ && \ COPY --from=0 /var/teraflow/src/te/_build/prod/rel/tfte /tfte # Expose relevant ports EXPOSE 11010 EXPOSE 10030 EXPOSE 4189 ARG ERLANG_LOGGER_LEVEL_DEFAULT=debug Loading
src/te/README.md +2 −2 Original line number Diff line number Diff line Loading @@ -64,9 +64,9 @@ The docker image must be built from the root of the Teraflow project: ### Open a Console $ kubectl --namespace tfs exec -ti $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -- /tfte/bin/tfte remote_console $ kubectl --namespace tfs exec -ti $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -c server -- /tfte/bin/tfte remote_console ## Show Logs $ kubectl --namespace tfs logs $(kubectl --namespace tfs get pods --selector=app=teservice -o name) $ kubectl --namespace tfs logs $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -c server
src/te/config/dev.config.template +2 −2 Original line number Diff line number Diff line [ {tfte, [ {services, [ {te, [{http, "localhost", 11010, []}], #{}} {te, [{http, "localhost", 10030, []}], #{}} ]} ]}, Loading Loading @@ -30,7 +30,7 @@ %cacertfile => "" }, listen_opts => #{ port => 11010, port => 10030, ip => {0,0,0,0} }, pool_opts => #{ Loading
src/te/tutorial/2-6-te-demo.md +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ Then in second console: We will setup two unidirectional flow between router 1 and 6. We will use the binding label 1111 for the flow from router 1 to router 6, and the binding label 6666 for the flow from router 6 to router 1. $ kubectl --namespace tfs exec -ti $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -- /tfte/bin/tfte remote_console $ kubectl --namespace tfs exec -ti $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -c server -- /tfte/bin/tfte remote_console 1> {ok, Flow1to6} = epce_server:initiate_flow(<<"foo">>, {1, 1, 1, 1}, {6, 6, 6, 6}, 1111). 2> {ok, Flow6to1} = epce_server:initiate_flow(<<"bar">>, {6, 6, 6, 6}, {1, 1, 1, 1}, 6666). Loading