Create db entry for manage Openflow controllers
[osm/openvim.git] / templates / openflow_controller.yaml
1 ##
2 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
3 # This file is part of openvim
4 # All Rights Reserved.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License"); you may
7 # not use this file except in compliance with the License. You may obtain
8 # 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, WITHOUT
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15 # License for the specific language governing permissions and limitations
16 # under the License.
17 #
18 # For those usages not covered by the Apache License, Version 2.0 please
19 # contact with: nfvlabs@tid.es
20 ##
21
22 ofc:
23     #Openflow controller information
24     name: 'sdn'                        # SDN controller name
25     dpid: '00:01:02:03:04:05:06:07'    # Openflow Switch identifier (put here the right number)
26     ip: 127.0.0.1                      # IP address where the Openflow controller is listening
27     port: 7070                         # TCP port where the Openflow controller is listening (REST API server)
28     type: floodlight                   # Type of controller to be used. Valid controllers are 'opendaylight', 'onos', 'floodlight' or <custom>
29     version: 0.0.0                     # SDN contorller version
30     user: user                         # User credentials for the controller if needed
31     password: passwd                   # Password credentials for the controller if needed