blob: 98239c33f6588c54b8be09f253605f652af84a86 [file] [log] [blame]
William A. Kennington III031f6a62024-09-05 02:22:15 -07001#!/bin/bash
2# Copyright 2024 Google LLC
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16update_rtr() {
17 default_update_rtr "$@"
18}
19
20update_fqdn() {
21 true
22}
23
24update_pfx() {
25 true
26}
27
28RA_IF=$1
29IP_OFFSET=0
30# This is guaranteed to be closer to the ToR than NCSI, for reliability
31# and bandwidth we want to prefer this path.
32ROUTE_METRIC=800
33
34# shellcheck source=meta-google/recipes-google/networking/gbmc-net-common/gbmc-ra.sh
35source /usr/share/gbmc-ra.sh || exit