WIP: Update Tutorial for FD.io and OOR 51/48451/2
authorShakib Ahmed <sheikahm@cisco.com>
Thu, 17 Nov 2016 18:16:23 +0000 (10:16 -0800)
committerShakib Ahmed <sheikahm@cisco.com>
Thu, 17 Nov 2016 21:46:01 +0000 (13:46 -0800)
Change-Id: I986b6e5873c74ed486fb07c9dda1e6ac5405b1ac
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
19 files changed:
resources/tutorial/FD_io/elp1.json [new file with mode: 0644]
resources/tutorial/FD_io/elp2.json [new file with mode: 0644]
resources/tutorial/FD_io/rtr.config [new file with mode: 0644]
resources/tutorial/FD_io/topology_setup.sh [new file with mode: 0755]
resources/tutorial/FD_io/vpp1.config [new file with mode: 0644]
resources/tutorial/FD_io/vpp2.config [new file with mode: 0644]
resources/tutorial/OOR/Beryllium_Tutorial.json.postman_collection [moved from resources/tutorial/Beryllium_Tutorial.json.postman_collection with 100% similarity]
resources/tutorial/OOR/README [moved from resources/tutorial/README with 100% similarity]
resources/tutorial/OOR/add-key.json [moved from resources/tutorial/add-key.json with 100% similarity]
resources/tutorial/OOR/elp.json [moved from resources/tutorial/elp.json with 100% similarity]
resources/tutorial/OOR/get1.json [moved from resources/tutorial/get1.json with 100% similarity]
resources/tutorial/OOR/get2.json [moved from resources/tutorial/get2.json with 100% similarity]
resources/tutorial/OOR/lispd.conf.client [moved from resources/tutorial/lispd.conf.client with 100% similarity]
resources/tutorial/OOR/lispd.conf.server1 [moved from resources/tutorial/lispd.conf.server1 with 100% similarity]
resources/tutorial/OOR/mapping.json [moved from resources/tutorial/mapping.json with 100% similarity]
resources/tutorial/OOR/oor.conf.client [new file with mode: 0644]
resources/tutorial/OOR/oor.conf.server1 [new file with mode: 0644]
resources/tutorial/oor.conf.client [deleted file]
resources/tutorial/oor.conf.server1 [deleted file]

diff --git a/resources/tutorial/FD_io/elp1.json b/resources/tutorial/FD_io/elp1.json
new file mode 100644 (file)
index 0000000..30dccb0
--- /dev/null
@@ -0,0 +1,44 @@
+{
+  "mapping": {
+    "eid-uri": "ipv4:6.0.2.0/24",
+    "origin": "northbound",
+    "mapping-record": {
+      "recordTtl": 1440,
+      "action": "NoAction",
+      "authoritative": true,
+      "eid": {
+        "address-type": "ietf-lisp-address-types:ipv4-prefix-afi",
+        "ipv4-prefix": "6.0.2.0/24"
+      },
+      "LocatorRecord": [
+        {
+          "locator-id": "ELP",
+          "priority": 1,
+          "weight": 1,
+          "multicastPriority": 255,
+          "multicastWeight": 0,
+          "localLocator": true,
+          "rlocProbed": false,
+          "routed": false,
+          "rloc": {
+            "address-type": "ietf-lisp-address-types:explicit-locator-path-lcaf",
+            "explicit-locator-path": {
+              "hop": [
+                {
+                  "hop-id": "Hop 1",
+                  "address": "6.0.3.3",
+                  "lrs-bits": "lookup rloc-probe strict"
+                },
+                {
+                  "hop-id": "Hop 2",
+                  "address": "6.0.3.1",
+                  "lrs-bits": "lookup strict"
+                }
+              ]
+            }
+          }
+        }
+      ]
+    }
+  }
+}
\ No newline at end of file
diff --git a/resources/tutorial/FD_io/elp2.json b/resources/tutorial/FD_io/elp2.json
new file mode 100644 (file)
index 0000000..7759264
--- /dev/null
@@ -0,0 +1,44 @@
+{
+  "mapping": {
+    "eid-uri": "ipv4:6.0.4.0/24",
+    "origin": "northbound",
+    "mapping-record": {
+      "recordTtl": 1440,
+      "action": "NoAction",
+      "authoritative": true,
+      "eid": {
+        "address-type": "ietf-lisp-address-types:ipv4-prefix-afi",
+        "ipv4-prefix": "6.0.4.0/24"
+      },
+      "LocatorRecord": [
+        {
+          "locator-id": "ELP",
+          "priority": 1,
+          "weight": 1,
+          "multicastPriority": 255,
+          "multicastWeight": 0,
+          "localLocator": true,
+          "rlocProbed": false,
+          "routed": false,
+          "rloc": {
+            "address-type": "ietf-lisp-address-types:explicit-locator-path-lcaf",
+            "explicit-locator-path": {
+              "hop": [
+                {
+                  "hop-id": "Hop 1",
+                  "address": "6.0.3.3",
+                  "lrs-bits": "lookup rloc-probe strict"
+                },
+                {
+                  "hop-id": "Hop 2",
+                  "address": "6.0.3.2",
+                  "lrs-bits": "lookup strict"
+                }
+              ]
+            }
+          }
+        }
+      ]
+    }
+  }
+}
\ No newline at end of file
diff --git a/resources/tutorial/FD_io/rtr.config b/resources/tutorial/FD_io/rtr.config
new file mode 100644 (file)
index 0000000..ff84c2f
--- /dev/null
@@ -0,0 +1,9 @@
+create host-interface name xtr_rtr2
+set int state host-xtr_rtr2 up
+set int ip address host-xtr_rtr2 6.0.3.3/24
+
+lisp enable
+lisp locator-set add ls1 iface host-xtr_rtr2 p 1 w 1
+lisp pitr ls ls1
+lisp remote-mapping deid 6.0.0.0/16 action send-map-request
+lisp map-resolver add 6.0.3.100
diff --git a/resources/tutorial/FD_io/topology_setup.sh b/resources/tutorial/FD_io/topology_setup.sh
new file mode 100755 (executable)
index 0000000..917a24d
--- /dev/null
@@ -0,0 +1,97 @@
+#!/usr/bin/env bash
+# path to vpp executable and configurations folder
+VPP_LITE_BIN=/vpp/build-root/install-vpp_lite_debug-native/vpp/bin/vpp
+VPP_LITE_CONF=/etc/vpp/lite/
+
+pkill vpp
+
+# delete previous incarnations if they exist
+ip netns exec xtr-rtr-ns ifconfig vppbr1 down
+ip netns exec xtr-rtr-ns brctl delbr vppbr1
+ip link del dev vpp1 &> /dev/null
+ip link del dev vpp2 &> /dev/null
+ip link del dev xtr_rtr1 &> /dev/null
+ip link del dev xtr_rtr2 &> /dev/null
+ip link del dev xtr_rtr3 &> /dev/null
+ip link del dev odl &> /dev/null
+
+ip netns del vpp-ns1 &> /dev/null
+ip netns del vpp-ns2 &> /dev/null
+ip netns del xtr-rtr-ns &> /dev/null
+
+if [ "$1" == "clean" ] ; then
+  exit 0
+fi
+
+if [ ! -e ${VPP_LITE_BIN} ] ; then
+  echo "VPP binary not found: $VPP_LITE_BIN"
+  exit 1
+fi
+
+ip netns add vpp-ns1
+ip netns add vpp-ns2
+ip netns add xtr-rtr-ns
+
+ip link add veth_xtr_rtr1 type veth peer name xtr_rtr1
+ip link add veth_xtr_rtr2 type veth peer name xtr_rtr2
+ip link add veth_xtr_rtr3 type veth peer name xtr_rtr3
+ip link add veth_odl type veth peer name odl
+ip link set dev xtr_rtr1 up
+ip link set dev xtr_rtr2 up
+ip link set dev xtr_rtr3 up
+ip link set dev odl up
+
+ip link set dev veth_xtr_rtr1 up netns xtr-rtr-ns
+ip link set dev veth_xtr_rtr2 up netns xtr-rtr-ns
+ip link set dev veth_xtr_rtr3 up netns xtr-rtr-ns
+ip link set dev veth_odl up netns xtr-rtr-ns
+
+ip netns exec xtr-rtr-ns brctl addbr vppbr1
+ip netns exec xtr-rtr-ns brctl addif vppbr1 veth_xtr_rtr1
+ip netns exec xtr-rtr-ns brctl addif vppbr1 veth_xtr_rtr2
+ip netns exec xtr-rtr-ns brctl addif vppbr1 veth_xtr_rtr3
+ip netns exec xtr-rtr-ns brctl addif vppbr1 veth_odl
+ip netns exec xtr-rtr-ns ifconfig vppbr1 up
+
+ip link add veth_vpp1 type veth peer name vpp1
+ip link set dev vpp1 up
+ip link set dev veth_vpp1 up netns vpp-ns1
+
+ip netns exec vpp-ns1 \
+  bash -c "
+    ip link set dev lo up
+    ip addr add 6.0.2.2/24 dev veth_vpp1
+    ip route add 6.0.4.0/24 via 6.0.2.1
+"
+
+ip link add veth_vpp2 type veth peer name vpp2
+ip link set dev vpp2 up
+ip link set dev veth_vpp2 up netns vpp-ns2
+
+ip netns exec vpp-ns2 \
+  bash -c "
+    ip link set dev lo up
+    ip addr add 6.0.4.4/24 dev veth_vpp2
+    ip route add 6.0.2.0/24 via 6.0.4.1
+"
+
+ifconfig odl 6.0.3.100/24
+ethtool --offload  odl rx off tx off
+
+sudo ${VPP_LITE_BIN} \
+  unix { log /tmp/vpp1.log cli-listen \
+         localhost:5002 full-coredump \
+         exec ${VPP_LITE_CONF}/vpp1.config } \
+  api-trace { on } api-segment {prefix xtr1}
+
+sudo ${VPP_LITE_BIN} \
+  unix { log /tmp/vpp2.log cli-listen \
+         localhost:5003 full-coredump \
+         exec ${VPP_LITE_CONF}/vpp2.config } \
+  api-trace { on } api-segment {prefix xtr2}
+
+sudo ${VPP_LITE_BIN} \
+  unix { log /tmp/rtr.log cli-listen \
+         localhost:5004 full-coredump \
+         exec ${VPP_LITE_CONF}/rtr.config } \
+  api-trace { on } api-segment {prefix rtr}
diff --git a/resources/tutorial/FD_io/vpp1.config b/resources/tutorial/FD_io/vpp1.config
new file mode 100644 (file)
index 0000000..6aae05d
--- /dev/null
@@ -0,0 +1,12 @@
+create host-interface name vpp1
+set int state host-vpp1 up
+set int ip address host-vpp1 6.0.2.1/24
+create host-interface name xtr_rtr1
+set int state host-xtr_rtr1 up
+set int ip address host-xtr_rtr1 6.0.3.1/24
+
+lisp enable
+
+lisp map-resolver add 6.0.3.100
+lisp locator-set add ls1 iface host-xtr_rtr1 p 1 w 1
+lisp eid-table add eid 6.0.2.0/24 locator-set ls1
diff --git a/resources/tutorial/FD_io/vpp2.config b/resources/tutorial/FD_io/vpp2.config
new file mode 100644 (file)
index 0000000..9a10dc3
--- /dev/null
@@ -0,0 +1,12 @@
+create host-interface name vpp2
+set int state host-vpp2 up
+set int ip address host-vpp2 6.0.4.1/24
+create host-interface name xtr_rtr3
+set int state host-xtr_rtr3 up
+set int ip address host-xtr_rtr3 6.0.3.2/24
+
+lisp enable
+
+lisp map-resolver add 6.0.3.100
+lisp locator-set add ls1 iface host-xtr_rtr3 p 1 w 1
+lisp eid-table add eid 6.0.4.0/24 locator-set ls1
diff --git a/resources/tutorial/OOR/oor.conf.client b/resources/tutorial/OOR/oor.conf.client
new file mode 100644 (file)
index 0000000..94a6ac9
--- /dev/null
@@ -0,0 +1,115 @@
+################################################
+#
+# General configuration
+#
+# debug: Debug levels [0..3]
+# map-request-retries: Additional Map-Requests to send per map cache miss
+# log-file: Specifies log file used in daemon mode. If it is not specified,
+#   messages are written in syslog file
+
+debug                  = 0
+map-request-retries    = 2
+log-file               = /var/log/oor.log
+
+# Define the type of LISP device LISPmob will operate as
+#
+# operating-mode can be any of:
+# xTR, RTR, MN, MS
+#
+operating-mode         = MN
+
+# For the rest of this file you can delete the sections that does not apply to
+# the LISP device selected in operating-mode
+
+###############################################
+#
+# Tunnel Router general configuration
+# Common for xTR, RTR & MN
+#
+
+# encapsulation: Encapsulation that will use OOR in the data plane. Could be
+#   LISP or VXLAN-GPE. LISP is selected by default
+
+encapsulation          = LISP
+
+
+# RLOC probing configuration
+#   rloc-probe-interval: interval at which periodic RLOC probes are sent
+#     (seconds). A value of 0 disables RLOC probing
+#   rloc-probe-retries: RLOC probe retries before setting the locator with
+#     status down. [0..5]
+#   rloc-probe-retries-interval: interval at which RLOC probes retries are
+#     sent (seconds) [1..rloc-probe-interval]
+
+rloc-probing {
+    rloc-probe-interval             = 30
+    rloc-probe-retries              = 2
+    rloc-probe-retries-interval     = 5
+}
+
+# Encapsulated Map-Requests are sent to this Map-Resolver
+# You can define several Map-Resolvers, seprated by comma. Encapsulated 
+# Map-Request messages will be sent to only one.
+#   address: IPv4 or IPv6 address of the map-resolver  
+
+map-resolver        = {
+    192.168.16.11
+}
+
+###############################################
+#
+# xTR & MN configuration
+#
+
+# NAT Traversl configuration.
+#   nat_traversal_support: check if the node is behind NAT.
+
+nat_traversal_support  = off
+
+# Map-Registers are sent to this Map-Server
+# You can define several Map-Servers. Map-Register messages will be sent to all
+# of them.
+#   address: IPv4 or IPv6 address of the map-server
+#   key-type: Only 1 supported (HMAC-SHA-1-96)
+#   key: password to authenticate with the map-server
+#   proxy-reply [on/off]: Configure map-server to Map-Reply on behalf of the xTR
+
+map-server {
+        address        = 192.168.16.11
+        key-type       = 1
+        key            = password
+        proxy-reply    = on
+}
+
+# IPv4 / IPv6 EID of the node.
+#   eid-prefix: EID prefix (ip-prefix/mask) of the mapping
+#   iid: Instance ID associated to the EID. When using VXLAN-GPE, iid configures
+#     the VNI of the mapping. [0-16777215]
+# Two types of RLOCs can be defined:
+#   rloc-address: Specifies directly the RLOC of the interface
+#     address: It could be one of the following cases
+#       - IPv4 or IPv6 address of the RLOC. Address should exist and
+#        be assigned to an UP interface during startup process otherwise
+#        it is discarded.
+#       - ELP name
+#   rloc-iface: Specifies the interface associated with the RLOC
+#     interface: interface containing the RLOCs associated to this mapping
+#     ip_version: 4 to use the IPv4 address of the interface and 6 to use the IPv6
+#       address of the interface
+# Both types of RLOCs use priority and weight
+#   priority [0-255]: Priority for the RLOC of the interface. Locators
+#     with lower values are more preferable. This is used for both incoming
+#     policy announcements and outgoing traffic policy management.
+#   weight [0-255]: When priorities are the same for multiple RLOCs, the weight
+#     indicates how to balance unicast traffic between them.
+
+database-mapping {
+    eid-prefix          = 1.1.1.1/32
+    iid                 = 0
+    rloc-iface{
+        interface       = eth1
+        ip_version      = 4
+        priority        = 1
+        weight          = 100
+    }
+}
\ No newline at end of file
diff --git a/resources/tutorial/OOR/oor.conf.server1 b/resources/tutorial/OOR/oor.conf.server1
new file mode 100644 (file)
index 0000000..9c4fea8
--- /dev/null
@@ -0,0 +1,115 @@
+################################################
+#
+# General configuration
+#
+# debug: Debug levels [0..3]
+# map-request-retries: Additional Map-Requests to send per map cache miss
+# log-file: Specifies log file used in daemon mode. If it is not specified,
+#   messages are written in syslog file
+
+debug                  = 0
+map-request-retries    = 2
+log-file               = /var/log/oor.log
+
+# Define the type of LISP device LISPmob will operate as
+#
+# operating-mode can be any of:
+# xTR, RTR, MN, MS
+#
+operating-mode         = MN
+
+# For the rest of this file you can delete the sections that does not apply to
+# the LISP device selected in operating-mode
+
+###############################################
+#
+# Tunnel Router general configuration
+# Common for xTR, RTR & MN
+#
+
+# encapsulation: Encapsulation that will use OOR in the data plane. Could be
+#   LISP or VXLAN-GPE. LISP is selected by default
+
+encapsulation          = LISP
+
+
+# RLOC probing configuration
+#   rloc-probe-interval: interval at which periodic RLOC probes are sent
+#     (seconds). A value of 0 disables RLOC probing
+#   rloc-probe-retries: RLOC probe retries before setting the locator with
+#     status down. [0..5]
+#   rloc-probe-retries-interval: interval at which RLOC probes retries are
+#     sent (seconds) [1..rloc-probe-interval]
+
+rloc-probing {
+    rloc-probe-interval             = 30
+    rloc-probe-retries              = 2
+    rloc-probe-retries-interval     = 5
+}
+
+# Encapsulated Map-Requests are sent to this Map-Resolver
+# You can define several Map-Resolvers, seprated by comma. Encapsulated 
+# Map-Request messages will be sent to only one.
+#   address: IPv4 or IPv6 address of the map-resolver  
+
+map-resolver        = {
+    192.168.16.11
+}
+
+###############################################
+#
+# xTR & MN configuration
+#
+
+# NAT Traversl configuration.
+#   nat_traversal_support: check if the node is behind NAT.
+
+nat_traversal_support  = off
+
+# Map-Registers are sent to this Map-Server
+# You can define several Map-Servers. Map-Register messages will be sent to all
+# of them.
+#   address: IPv4 or IPv6 address of the map-server
+#   key-type: Only 1 supported (HMAC-SHA-1-96)
+#   key: password to authenticate with the map-server
+#   proxy-reply [on/off]: Configure map-server to Map-Reply on behalf of the xTR
+
+map-server {
+        address        = 192.168.16.11
+        key-type       = 1
+        key            = password
+        proxy-reply    = on
+}
+
+# IPv4 / IPv6 EID of the node.
+#   eid-prefix: EID prefix (ip-prefix/mask) of the mapping
+#   iid: Instance ID associated to the EID. When using VXLAN-GPE, iid configures
+#     the VNI of the mapping. [0-16777215]
+# Two types of RLOCs can be defined:
+#   rloc-address: Specifies directly the RLOC of the interface
+#     address: It could be one of the following cases
+#       - IPv4 or IPv6 address of the RLOC. Address should exist and
+#        be assigned to an UP interface during startup process otherwise
+#        it is discarded.
+#       - ELP name
+#   rloc-iface: Specifies the interface associated with the RLOC
+#     interface: interface containing the RLOCs associated to this mapping
+#     ip_version: 4 to use the IPv4 address of the interface and 6 to use the IPv6
+#       address of the interface
+# Both types of RLOCs use priority and weight
+#   priority [0-255]: Priority for the RLOC of the interface. Locators
+#     with lower values are more preferable. This is used for both incoming
+#     policy announcements and outgoing traffic policy management.
+#   weight [0-255]: When priorities are the same for multiple RLOCs, the weight
+#     indicates how to balance unicast traffic between them.
+
+database-mapping {
+    eid-prefix          = 2.2.2.2/32
+    iid                 = 0
+    rloc-iface{
+        interface       = eth1
+        ip_version      = 4
+        priority        = 1
+        weight          = 100
+    }
+}
\ No newline at end of file
diff --git a/resources/tutorial/oor.conf.client b/resources/tutorial/oor.conf.client
deleted file mode 100644 (file)
index 5aab909..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-################################################
-#
-# General configuration
-#
-# debug: Debug levels [0..3]
-# map-request-retries: Additional Map-Requests to send per map cache miss
-# log-file: Specifies log file used in daemon mode. If it is not specified,
-#   messages are written in syslog file
-
-debug                  = 0
-map-request-retries    = 2
-log-file               = /var/log/oor.log
-
-# Define the type of LISP device LISPmob will operate as
-#
-# operating-mode can be any of:
-# xTR, RTR, MN, MS
-#
-operating-mode         = xTR
-
-# For the rest of this file you can delete the sections that does not apply to
-# the LISP device selected in operating-mode
-
-
-################################################
-#
-# MS configuration
-#
-
-# Control messages are received and generated through this interface
-# Only one interface is supported
-
-control-iface = eth1
-
-# Define an allowed lisp-site to be registered into the Map Server. Several
-# lisp-site can be defined.
-#
-#   eid-prefix: Accepted EID prefix (IPvX/mask)
-#   key-type: Only 1 supported (HMAC-SHA-1-96)
-#   key: Password to authenticate the received Map-Registers
-#   iid: Instance ID associated with the lisp site [0-16777215]
-#   accept-more-specifics [true/false]: Accept more specific prefixes
-#     with same authentication information
-
-lisp-site {
-    eid-prefix            = 192.168.16.11/32
-    key-type              = 1
-    key                   = password
-    iid                   = 0
-    accept-more-specifics = true
-}
-
-
-###############################################
-#
-# RTR configuration
-#
-
-# List of interfaces to be used as outgoing interfaces for the packets sent
-# by the RTR. Several rtr-ifaces can be defined.
-#   iface: interface containing the RLOCs to be used for outgoing traffic
-#   ip_version: 4 to use the IPv4 address of the interface and 6 to use the IPv6
-#     address of the interface
-#   priority [0-255]: Priority for the RLOC of the interface. Locators
-#     with lower values are more preferable. This is used for outgoing
-#     traffic policy management.
-#   weight [0-255]: When priorities are the same for multiple RLOCs, the weight
-#     indicates how to balance unicast traffic between them.
-
-rtr-ifaces {
-    rtr-iface {
-        iface           = eth1
-        ip_version      = 1
-        priority        = 1
-        weight          = 100
-    }
-}
-
-###############################################
-#
-# xTR & MN configuration
-#
-
-# NAT Traversl configuration.
-#   nat_traversal_support: check if the node is behind NAT.
-
-nat_traversal_support  = off
-
-# Map-Registers are sent to this Map-Server
-# You can define several Map-Servers. Map-Register messages will be sent to all
-# of them.
-#   address: IPv4 or IPv6 address of the map-server
-#   key-type: Only 1 supported (HMAC-SHA-1-96)
-#   key: password to authenticate with the map-server
-#   proxy-reply [on/off]: Configure map-server to Map-Reply on behalf of the xTR
-
-map-server {
-        address        = 192.168.16.11
-        key-type       = 1
-        key            = password
-        proxy-reply    = on
-}
-
-# Packets addressed to non-LISP sites will be encapsulated to this Proxy-ETR
-# You can define several Proxy-ETR. Traffic will be balanced according to the
-# priority and weight.
-#   address: IPv4 or IPv6 address of the Proxy-ETR
-#   priority [0-255]: Proxy-ETR with lower values are more preferable.
-#   weight [0-255]: When priorities are the same for multiple Proxy-ETRs,
-#     the weight indicates how to balance unicast traffic between them.
-
-proxy-etr {
-        address     = 192.168.16.11
-       priority    = 1
-       weight      = 100
-}
-
-# IPv4 / IPv6 EID of the node.
-#   eid-prefix: EID prefix (ip-prefix/mask) of the mapping
-#   iid: Instance ID associated to the EID. When using VXLAN-GPE, iid configures
-#     the VNI of the mapping. [0-16777215]
-# Two types of RLOCs can be defined:
-#   rloc-address: Specifies directly the RLOC of the interface
-#     address: It could be one of the following cases
-#       - IPv4 or IPv6 address of the RLOC. Address should exist and
-#        be assigned to an UP interface during startup process otherwise
-#        it is discarded.
-#       - ELP name
-#   rloc-iface: Specifies the interface associated with the RLOC
-#     interface: interface containing the RLOCs associated to this mapping
-#     ip_version: 4 to use the IPv4 address of the interface and 6 to use the IPv6
-#       address of the interface
-# Both types of RLOCs use priority and weight
-#   priority [0-255]: Priority for the RLOC of the interface. Locators
-#     with lower values are more preferable. This is used for both incoming
-#     policy announcements and outgoing traffic policy management.
-#   weight [0-255]: When priorities are the same for multiple RLOCs, the weight
-#     indicates how to balance unicast traffic between them.
-
-database-mapping {
-    eid-prefix          = 1.1.1.1/32
-    iid                 = 0
-    rloc-address {
-        address         = 192.168.16.30
-        priority        = 1
-        weight          = 100
-    }
-    rloc-iface{
-        interface       = eth1
-        ip_version      = 1
-        priority        = 1
-        weight          = 100
-    }
-}
-
-# Current LISP beta-network (lisp4.net/lisp6.net) PITR addresses
-# Uncomment the IPv4 or IPv6 list based on your current locators and
-# comment the previous 'proxy-itrs' section
-
-
-#proxy-itrs = {
-# LISP beta-network IPv4 PITRs
-#        69.31.31.98,                 # eqx-ash-pxtr
-#        149.20.48.60,                # isc-pxtr
-#        198.6.255.37,                # asp-pxtr
-#        173.36.193.25,               # sjc-pxtr
-#        129.250.1.63,                # ntt-amer-pxtr
-#        217.8.98.33,                 # intouch-pxtr-1
-#        217.8.98.35,                 # intouch-pxtr-2
-#        193.162.145.46,              # tdc-pxtr
-#        158.38.1.92,                 # uninett-pxtr
-#        203.181.249.172,             # apan-pxtr
-#        202.51.247.10                # sg-nus-pxtr
-# LISP beta-network IPv6 PITRs
-#        2001:590::451f:1f62,         # eqx-ash-pxtr
-#        2001:4f8:3:d::60,            # isc-pxtr
-#        2001:418:4:1:deaf:bebe::10d, # asp-pxtr
-#        2001:418:0:1000::613,        # ntt-amer-pxtr
-#        2001:200:e000:17::17,        # intouch-pxtr-1
-#        2001:67C:21B4:108::b,        # intouch-pxtr-2
-#        2001:6c8:41:100:0:2:1:c,     # tdc-pxtr
-#        2001:700:0:52E::4,           # uninett-pxtr
-#        2001:67C:21B4:107::b         # apan-pxtr
-#}
\ No newline at end of file
diff --git a/resources/tutorial/oor.conf.server1 b/resources/tutorial/oor.conf.server1
deleted file mode 100644 (file)
index 4745f94..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-################################################
-#
-# General configuration
-#
-# debug: Debug levels [0..3]
-# map-request-retries: Additional Map-Requests to send per map cache miss
-# log-file: Specifies log file used in daemon mode. If it is not specified,
-#   messages are written in syslog file
-
-debug                  = 0
-map-request-retries    = 2
-log-file               = /var/log/oor.log
-
-# Define the type of LISP device LISPmob will operate as
-#
-# operating-mode can be any of:
-# xTR, RTR, MN, MS
-#
-operating-mode         = xTR
-
-# For the rest of this file you can delete the sections that does not apply to
-# the LISP device selected in operating-mode
-
-
-################################################
-#
-# MS configuration
-#
-
-# Control messages are received and generated through this interface
-# Only one interface is supported
-
-control-iface = eth1
-
-# Define an allowed lisp-site to be registered into the Map Server. Several
-# lisp-site can be defined.
-#
-#   eid-prefix: Accepted EID prefix (IPvX/mask)
-#   key-type: Only 1 supported (HMAC-SHA-1-96)
-#   key: Password to authenticate the received Map-Registers
-#   iid: Instance ID associated with the lisp site [0-16777215]
-#   accept-more-specifics [true/false]: Accept more specific prefixes
-#     with same authentication information
-
-lisp-site {
-    eid-prefix            = 192.168.16.11/32
-    key-type              = 1
-    key                   = password
-    iid                   = 0
-    accept-more-specifics = true
-}
-
-
-###############################################
-#
-# RTR configuration
-#
-
-# List of interfaces to be used as outgoing interfaces for the packets sent
-# by the RTR. Several rtr-ifaces can be defined.
-#   iface: interface containing the RLOCs to be used for outgoing traffic
-#   ip_version: 4 to use the IPv4 address of the interface and 6 to use the IPv6
-#     address of the interface
-#   priority [0-255]: Priority for the RLOC of the interface. Locators
-#     with lower values are more preferable. This is used for outgoing
-#     traffic policy management.
-#   weight [0-255]: When priorities are the same for multiple RLOCs, the weight
-#     indicates how to balance unicast traffic between them.
-
-rtr-ifaces {
-    rtr-iface {
-        iface           = eth1
-        ip_version      = 1
-        priority        = 1
-        weight          = 100
-    }
-}
-
-###############################################
-#
-# xTR & MN configuration
-#
-
-# NAT Traversl configuration.
-#   nat_traversal_support: check if the node is behind NAT.
-
-nat_traversal_support  = off
-
-# Map-Registers are sent to this Map-Server
-# You can define several Map-Servers. Map-Register messages will be sent to all
-# of them.
-#   address: IPv4 or IPv6 address of the map-server
-#   key-type: Only 1 supported (HMAC-SHA-1-96)
-#   key: password to authenticate with the map-server
-#   proxy-reply [on/off]: Configure map-server to Map-Reply on behalf of the xTR
-
-map-server {
-        address        = 192.168.16.11
-        key-type       = 1
-        key            = password
-        proxy-reply    = on
-}
-
-# Packets addressed to non-LISP sites will be encapsulated to this Proxy-ETR
-# You can define several Proxy-ETR. Traffic will be balanced according to the
-# priority and weight.
-#   address: IPv4 or IPv6 address of the Proxy-ETR
-#   priority [0-255]: Proxy-ETR with lower values are more preferable.
-#   weight [0-255]: When priorities are the same for multiple Proxy-ETRs,
-#     the weight indicates how to balance unicast traffic between them.
-
-proxy-etr {
-        address     = 192.168.16.11
-       priority    = 1
-       weight      = 100
-}
-
-# IPv4 / IPv6 EID of the node.
-#   eid-prefix: EID prefix (ip-prefix/mask) of the mapping
-#   iid: Instance ID associated to the EID. When using VXLAN-GPE, iid configures
-#     the VNI of the mapping. [0-16777215]
-# Two types of RLOCs can be defined:
-#   rloc-address: Specifies directly the RLOC of the interface
-#     address: It could be one of the following cases
-#       - IPv4 or IPv6 address of the RLOC. Address should exist and
-#        be assigned to an UP interface during startup process otherwise
-#        it is discarded.
-#       - ELP name
-#   rloc-iface: Specifies the interface associated with the RLOC
-#     interface: interface containing the RLOCs associated to this mapping
-#     ip_version: 4 to use the IPv4 address of the interface and 6 to use the IPv6
-#       address of the interface
-# Both types of RLOCs use priority and weight
-#   priority [0-255]: Priority for the RLOC of the interface. Locators
-#     with lower values are more preferable. This is used for both incoming
-#     policy announcements and outgoing traffic policy management.
-#   weight [0-255]: When priorities are the same for multiple RLOCs, the weight
-#     indicates how to balance unicast traffic between them.
-
-database-mapping {
-    eid-prefix          = 2.2.2.2/32
-    iid                 = 0
-    rloc-address {
-        address         = 192.168.16.31
-        priority        = 1
-        weight          = 100
-    }
-    rloc-iface{
-        interface       = eth1
-        ip_version      = 1
-        priority        = 1
-        weight          = 100
-    }
-}
-
-# Current LISP beta-network (lisp4.net/lisp6.net) PITR addresses
-# Uncomment the IPv4 or IPv6 list based on your current locators and
-# comment the previous 'proxy-itrs' section
-
-
-#proxy-itrs = {
-# LISP beta-network IPv4 PITRs
-#        69.31.31.98,                 # eqx-ash-pxtr
-#        149.20.48.60,                # isc-pxtr
-#        198.6.255.37,                # asp-pxtr
-#        173.36.193.25,               # sjc-pxtr
-#        129.250.1.63,                # ntt-amer-pxtr
-#        217.8.98.33,                 # intouch-pxtr-1
-#        217.8.98.35,                 # intouch-pxtr-2
-#        193.162.145.46,              # tdc-pxtr
-#        158.38.1.92,                 # uninett-pxtr
-#        203.181.249.172,             # apan-pxtr
-#        202.51.247.10                # sg-nus-pxtr
-# LISP beta-network IPv6 PITRs
-#        2001:590::451f:1f62,         # eqx-ash-pxtr
-#        2001:4f8:3:d::60,            # isc-pxtr
-#        2001:418:4:1:deaf:bebe::10d, # asp-pxtr
-#        2001:418:0:1000::613,        # ntt-amer-pxtr
-#        2001:200:e000:17::17,        # intouch-pxtr-1
-#        2001:67C:21B4:108::b,        # intouch-pxtr-2
-#        2001:6c8:41:100:0:2:1:c,     # tdc-pxtr
-#        2001:700:0:52E::4,           # uninett-pxtr
-#        2001:67C:21B4:107::b         # apan-pxtr
-#}
\ No newline at end of file