pier | 3b3a298 | 2020-06-12 18:48:37 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | # |
| 4 | # Copyright 2020-present Open Networking Foundation |
| 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | # you may not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # |
| 18 | |
| 19 | # ------------------------------------------------ |
| 20 | # Defines profiles for different ONF projects |
| 21 | # ------------------------------------------------ |
| 22 | |
| 23 | # Base commands that are always useful. |
| 24 | ONOS_PROFILE=( |
| 25 | "feature:repo-list" |
| 26 | "feature:list" |
| 27 | "bundle:list" |
| 28 | "scr-list" |
| 29 | |
| 30 | "summary" |
| 31 | "nodes" |
| 32 | "apps@-s" |
| 33 | "netcfg" |
| 34 | "cfg@get" |
| 35 | |
| 36 | "devices" |
| 37 | "device-drivers" |
| 38 | "links" |
| 39 | "hosts" |
| 40 | "interfaces" |
| 41 | |
| 42 | "ports" |
| 43 | "portstats@-nz" |
| 44 | "edge-ports" |
| 45 | |
| 46 | "packet-processors" |
| 47 | "packet-requests" |
| 48 | |
| 49 | "intents" |
| 50 | "flows" |
| 51 | "groups" |
| 52 | "meters" |
| 53 | |
| 54 | "roles" |
| 55 | "masters" |
| 56 | |
| 57 | "maps" |
| 58 | |
| 59 | "obj-next-ids" |
| 60 | "obj-pending-nexts" |
| 61 | "obj-queues" |
| 62 | ) |
| 63 | |
| 64 | # Trellis related commands. Includes also the base commands. |
| 65 | TRELLIS_PROFILE=( |
| 66 | "${ONOS_PROFILE[@]}" |
| 67 | |
| 68 | "fpm-connections" |
| 69 | "routes" |
| 70 | "sr-device-subnets" |
| 71 | "sr-ecmp-spg" |
| 72 | "sr-should-program" |
| 73 | "sr-link-state" |
| 74 | "sr-mcast-tree" |
| 75 | "sr-mcast-leader" |
| 76 | "sr-mcast-role" |
| 77 | "sr-pw-list" |
| 78 | "sr-next-mcast" |
| 79 | "sr-filt-mcast" |
| 80 | "sr-next-dst" |
| 81 | "sr-next-port" |
| 82 | "sr-next-vlan" |
| 83 | "sr-next-pw" |
| 84 | "sr-next-xconnect" |
| 85 | "sr-next-mac-vlan" |
| 86 | "dhcp-relay" |
| 87 | |
| 88 | "mcast-host-routes" |
| 89 | "mcast-host-show" |
| 90 | ) |
| 91 | |
| 92 | # T3 offline related commands. |
| 93 | T3_OFFLINE_PROFILE=( |
| 94 | "netcfg@-j" |
| 95 | "devices@-j" |
| 96 | "device-drivers@-j" |
| 97 | "links@-j" |
| 98 | "hosts@-j" |
| 99 | "ports@-j" |
| 100 | "edge-ports@-j" |
| 101 | "flows@-j" |
| 102 | "groups@-j" |
| 103 | "masters@-j" |
| 104 | "routes@-j" |
| 105 | "mcast-host-show@-j" |
| 106 | ) |
| 107 | |
| 108 | # VOLTHA related commands. Includes also the base commands. |
| 109 | VOLTHA_PROFILE=( |
| 110 | "${ONOS_PROFILE[@]}" |
| 111 | |
| 112 | "aaa-users" |
| 113 | |
| 114 | "dhcpl2relay-allocations" |
| 115 | |
| 116 | "volt-programmed-subscribers" |
| 117 | "volt-programmed-meters" |
| 118 | "volt-bpmeter-mappings" |
| 119 | "volt-olts" |
| 120 | |
| 121 | "sr-device-subnets" |
| 122 | "sr-ecmp-spg" |
| 123 | "sr-should-program" |
| 124 | "sr-link-state" |
| 125 | "sr-xconnect" |
| 126 | "sr-mcast-tree" |
| 127 | "sr-mcast-leader" |
| 128 | "sr-mcast-role" |
| 129 | "sr-next-mcast" |
| 130 | "sr-filt-mcast" |
| 131 | "sr-next-dst" |
| 132 | "sr-next-port" |
| 133 | "sr-next-vlan" |
| 134 | "sr-next-xconnect" |
| 135 | "sr-next-mac-vlan" |
| 136 | |
| 137 | "mcast-host-routes" |
| 138 | "mcast-host-show" |
| 139 | |
| 140 | ) |
| 141 | |
| 142 | # SEBA related commands. Includes also the base commands. |
| 143 | SEBA_PROFILE=( |
| 144 | "${VOLTHA_PROFILE[@]}" |
| 145 | ) |