blob: b5d582046fabda8bbe7753d9619677fdb08ddce0 [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Zsolt Harasztib49dda92016-11-11 09:42:48 -080015blockdiag {
16
17 // States
18 N1 [label = Not-exist, shape = beginpoint];
19 N2 [label = Not-exist, shape = beginpoint];
20 Discovered [shape = ellipse];
21 Pre-provisioned [shape = ellipse];
22 Activating [shape = ellipse];
23 Active [shape = ellipse, color = "#80ff80"];
24 Failed [shape = ellipse, color = "#ff8080"];
25 TBD [shape = ellipse, stacked];
26
27 // Transients
28 N1 -> Pre-provisioned;
29 N2 -> Discovered;
30 Pre-provisioned -> Activating;
31 Discovered -> Activating;
32 Activating -> Active;
33 Activating -> Failed [folded];
34 Active -> Failed [folded];
35
36}