diff options
author | 2015-10-09 18:38:53 -0700 | |
---|---|---|
committer | 2015-10-09 18:38:53 -0700 | |
commit | 74f3941756a1386cbc1fa99ee73fdc8376a0b6a0 (patch) | |
tree | b77a39eb6e3cc95f22850805bff067f89fb71728 /framework/src/onos/etc/samples | |
parent | 6a07d2d622eaa06953f3353e39c080984076e8de (diff) |
added missing directory structure for rpmbuild
Change-Id: I42b06b4318868e08e85a90e81f06357dbda75bef
Diffstat (limited to 'framework/src/onos/etc/samples')
11 files changed, 198 insertions, 0 deletions
diff --git a/framework/src/onos/etc/samples/linkGraph.cfg b/framework/src/onos/etc/samples/linkGraph.cfg new file mode 100644 index 00000000..41ce5bdc --- /dev/null +++ b/framework/src/onos/etc/samples/linkGraph.cfg @@ -0,0 +1,27 @@ +# NullLinkProvider topology description (config file). +# +# Dot-style topology graph. Each controller's topology begins with +# +# graph <node ID>, followed by a list of links between braces. +# +# The links are either bidirectional (--) or directed (->). The directed +# edges are used to connect together Null devices of different controllers. +# The endpoint has the format: +# +# devID:port:NodeId +# +# The NodeId is only added if the destination is another node's device. +# +graph 192.168.56.20 { + 0:0 -- 1:0 + 1:1 -> 0:0:192.168.56.30 + 1:2 -- 2:0 + 2:1 -> 1:0:192.168.56.30 +} +graph 192.168.56.30 { + 0:0 -> 1:1:192.168.56.20 + 0:1 -- 1:1 + 1:0 -> 2:1:192.168.56.20 + 1:2 -- 2:0 +} +# Bugs: Comments cannot be appended to a line to be read. diff --git a/framework/src/onos/etc/samples/org.onosproject.fwd.ReactiveForwarding.cfg b/framework/src/onos/etc/samples/org.onosproject.fwd.ReactiveForwarding.cfg new file mode 100644 index 00000000..4befc706 --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.fwd.ReactiveForwarding.cfg @@ -0,0 +1,79 @@ +# +# Sample configuration for onos-app-fwd. +# + +# +# Reactive flows default matching is InPort, Src MAC, Dst MAC and EtherType fields +# + +# +# Enable packet-out only forwarding. +# This flag affects to both IPv4 and IPv6. +# +# packetOutOnly = true + +# +# Enable forwarding of the first packet by using OFPP_TABLE port in the +# PacketOut message instead of sending it directly to the switch port +# +# packetOutOfppTable = true + +# +# Timeout of reactively installed flows (in seconds). +# Default is 10 sec +# +# flowTimeout = 10 + +# +# Priority of reactively installed flows +# +# flowPriority = 10 + +# +# Enable IPv6 forwarding. +# +# ipv6Forwarding = true + +# +# Flows matching destination MAC only - as legacy L2 switches +# - This option overrides all other options below +# +# matchDstMacOnly = true + +# +# Matching of VLAN ID in Ethernet header +# +# matchVlanId = true + +# +# Matching of IPv4 addresses and Protocol field +# - must be enabled to match IPv4 DSCP, TCP/UDP ports and ICMP type/code +# +# matchIpv4Address = true + +# +# Matching of IPv4 DSCP and ECN fields +# +# matchIpv4Dscp = true + +# +# Matching of IPv6 addresses and Next-Header field +# - must be enabled to match IPv6 Flow Label, TCP/UDP ports and ICMP type/code +# +# matchIpv6Address = true + +# +# Matching of IPv6 Flow Label +# +# matchIpv6FlowLabel = true + +# +# Matching of TCP/UDP ports for IPv4 and IPv6 +# +# matchTcpUdpPorts = true + +# +# Matching of ICMP Type and Code fields for IPv4 and IPv6 +# +# matchIcmpFields = true + diff --git a/framework/src/onos/etc/samples/org.onosproject.provider.host.impl.HostLocationProvider.cfg b/framework/src/onos/etc/samples/org.onosproject.provider.host.impl.HostLocationProvider.cfg new file mode 100644 index 00000000..6d3a50d9 --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.provider.host.impl.HostLocationProvider.cfg @@ -0,0 +1,13 @@ +# +# Sample configuration for Host Location Provider +# + +# +# Enable host removal on port/device down events. +# +# hostRemovalEnabled = true + +# +# Enable using IPv6 Neighbor Discovery by the Host Location Provider. +# +# ipv6NeighborDiscovery = true diff --git a/framework/src/onos/etc/samples/org.onosproject.provider.lldp.impl.LLDPLinkProvider.cfg b/framework/src/onos/etc/samples/org.onosproject.provider.lldp.impl.LLDPLinkProvider.cfg new file mode 100644 index 00000000..6eb39a11 --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.provider.lldp.impl.LLDPLinkProvider.cfg @@ -0,0 +1,21 @@ +# +# Sample configuration for link discovery +# + +# +# Disable Link Dicovery Permanently (Note: changing this property at runtime will have NO effect) +# WARNING: This should only be used for special projects like bgprouter, where ONOS is controlling +# a single switch +# +#disableLinkDiscovery = true + +# +# Enable Broadcast Discovery Protocol (EthType=0x8942) +# +#useBDDP = false + +# +# Disable LLDP's received from specific devices +# Details of the devices are in the file configured below +# +#lldpSuppression = ../config/lldp_suppresion.json diff --git a/framework/src/onos/etc/samples/org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.cfg b/framework/src/onos/etc/samples/org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.cfg new file mode 100644 index 00000000..30ed0c26 --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.cfg @@ -0,0 +1,11 @@ +# +# Instance-specific configurations, in this case, the number of +# devices per node. +# +devConfigs = cisco:cisco@192.168.56.20:2022:inactive,sdn:rocks@192.168.56.30:22:inactive + +# +# Number of ports per device. This is global to all devices +# on all instances. +# +# numPorts = 8 diff --git a/framework/src/onos/etc/samples/org.onosproject.provider.nil.device.impl.NullDeviceProvider.cfg b/framework/src/onos/etc/samples/org.onosproject.provider.nil.device.impl.NullDeviceProvider.cfg new file mode 100644 index 00000000..194bf037 --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.provider.nil.device.impl.NullDeviceProvider.cfg @@ -0,0 +1,11 @@ +# +# Instance-specific configurations, in this case, the number of +# devices per node. +# +devConfigs = 192.168.56.20:3,192.168.56.30:3 + +# +# Number of ports per device. This is global to all devices +# on all instances. +# +# numPorts = 8 diff --git a/framework/src/onos/etc/samples/org.onosproject.provider.nil.link.impl.NullLinkProvider.cfg b/framework/src/onos/etc/samples/org.onosproject.provider.nil.link.impl.NullLinkProvider.cfg new file mode 100644 index 00000000..ef72b1ee --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.provider.nil.link.impl.NullLinkProvider.cfg @@ -0,0 +1,16 @@ +# +# Sample configurations for the NullLinkProvider. +# + +# +# If enabled, sets the time between LinkEvent generation, +# in microseconds. +# + +#eventRate = 1000000 + +# +# If enabled, points to the full path to the topology file. +# + +#cfgFile = /tmp/foo.cfg diff --git a/framework/src/onos/etc/samples/org.onosproject.provider.nil.packet.impl.NullPacketProvider.cfg b/framework/src/onos/etc/samples/org.onosproject.provider.nil.packet.impl.NullPacketProvider.cfg new file mode 100644 index 00000000..db4342c0 --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.provider.nil.packet.impl.NullPacketProvider.cfg @@ -0,0 +1,4 @@ +# +# Uncomment and tweak to tune the rate of Packet events (per second) +# +# pktRate = 100 diff --git a/framework/src/onos/etc/samples/org.onosproject.proxyarp.ProxyArp.cfg b/framework/src/onos/etc/samples/org.onosproject.proxyarp.ProxyArp.cfg new file mode 100644 index 00000000..108de136 --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.proxyarp.ProxyArp.cfg @@ -0,0 +1,8 @@ +# +# Sample configuration for onos-app-proxyarp. +# + +# +# Enable IPv6 Neighbor Discovery. +# +# ipv6NeighborDiscovery = true diff --git a/framework/src/onos/etc/samples/org.onosproject.routing.bgp.BgpSessionManager.cfg b/framework/src/onos/etc/samples/org.onosproject.routing.bgp.BgpSessionManager.cfg new file mode 100644 index 00000000..fbcc13f9 --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.routing.bgp.BgpSessionManager.cfg @@ -0,0 +1,8 @@ +# +# Sample configuration for onos-app-sdnip. +# + +# +# The port number that SDN-IP listens for incoming BGP connections on. +# +# bgpPort=2000
\ No newline at end of file diff --git a/framework/src/onos/etc/samples/org.onosproject.xos.XOS.cfg b/framework/src/onos/etc/samples/org.onosproject.xos.XOS.cfg new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/framework/src/onos/etc/samples/org.onosproject.xos.XOS.cfg |