Zack Williams | 998f442 | 2018-09-19 10:38:57 -0700 | [diff] [blame] | 1 | --- |
Joey Armstrong | 393daca | 2023-07-06 08:47:54 -0400 | [diff] [blame^] | 2 | # Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors |
Zack Williams | 998f442 | 2018-09-19 10:38:57 -0700 | [diff] [blame] | 3 | # Copyright 2018 the original author or authors. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 17 | version: '2' |
| 18 | services: |
| 19 | ponsim_onu: |
| 20 | image: "${REGISTRY}${REPOSITORY}voltha-ponsim${TAG}" |
| 21 | logging: |
| 22 | driver: "json-file" |
| 23 | options: |
| 24 | max-size: "10m" |
| 25 | max-file: "3" |
| 26 | entrypoint: |
| 27 | - /app/ponsim |
| 28 | - -device_type |
| 29 | - "ONU" |
| 30 | - -parent_addr |
| 31 | - "ponsim_olt" |
| 32 | - -grpc_port |
| 33 | - "50061" |
| 34 | - -internal_if |
| 35 | - "eth0" |
| 36 | - -external_if |
| 37 | - "lo" |
| 38 | - -promiscuous |
| 39 | - -verbose |
| 40 | ports: |
| 41 | - "50061:50061" |
| 42 | networks: |
| 43 | - default |
| 44 | |
| 45 | networks: |
| 46 | default: |
Zack Williams | 998f442 | 2018-09-19 10:38:57 -0700 | [diff] [blame] | 47 | driver: bridge |