14621 Commits

Author SHA1 Message Date
Andrea Campanella
02e2eb4ee2 Adding wavelenght to port view and MHz to command
Change-Id: Iecdf46c82cd2df4fe1b46f759d32a1c49a7dd9d6
2019-08-29 12:01:43 -07:00
Anton Chigrin
bf14b37efe Use typed queues for OF message processing
Process OF messages through 8 queues. Output queue for messages
controlled per OF Agent with help of message classifiers.

Queues can be configured through component configuration mechanism
for "org.onosproject.openflow.controller.impl.OpenFlowControllerImpl"
component.

Classifiers can be configured through NetworkConfig API in the following
form:

      {
        "devices": {
           "of:0000000000000001": {
               "classifiers": [{
                   "ethernet-type":"LLDP",
                   "target-queue":0
               },{
                   "ethernet-type":"BDDP",
                   "target-queue":0
               },{
                   "ethernet-type":"0x1234",
                   "target-queue":1
               }]
           }
        }
      }

Where "target_queue" is queue number from 0 to 7 (7 is default queue),
"ethernet_type" is a type of a packet either in "0xFFFF" from or enum
name as defined in the "org.onlab.packet.EthType.EtherType" enum.

Change-Id: I0512ef653d90c36f00289014872170c1a8aa5204
2019-08-29 17:27:49 +00:00
Jian Li
c886b648cc Fix: remove flow rules when removing POD and namespace
Change-Id: Iec3e48e0f2f14a024c7984ed36659a9aa3e4e9ab
2019-08-29 16:28:58 +09:00
Jian Li
6b9bf566fc Fix: handle POD IP query service IP scenario for policy enforcement
Change-Id: I834f72e5f7bd9f41a47aed8d6997dfecc05be8b5
2019-08-29 16:28:51 +09:00
Jian Li
cd93415b93 Fix: refactor network policy handler remove code duplication
Change-Id: I2980bb16aa2c80d7484f0b0f4e39df6b5e9bf886
2019-08-29 16:28:47 +09:00
Jian Li
8938b3cc95 Add kubernetes state and rule synchronization REST API
Change-Id: I636ebdcf2f97a4d447397159bddaf6d395437b2a
2019-08-29 07:14:24 +00:00
Jian Li
1e03e71e71 Add node initialization and query REST API for Kubernetes app
Change-Id: I07a1904c463e9af71a8b3d69fd16e18cd9bd7cb7
2019-08-29 07:14:14 +00:00
Jian Li
c4d7e87441 Fix: handle GRE and GENEVE net type for handling node port service
Change-Id: I2aa91361521384761db4e1ca59ef2c71711a02a4
2019-08-29 07:13:58 +00:00
Jian Li
7709eb4334 Refer to external bridge and gateway IP from k8s node store
Change-Id: I7dab97ead59e3746b67e6e3bedc3a2c6fea41bf1
2019-08-29 16:10:32 +09:00
Jian Li
5a9c2bbe30 Fix: retrieve port bridge port MAC from deviceService rather via ovsdb
1. Derive gateway IP address from POD subnet CIDR.
2. Remove the logic of injecting gateway IP address.

Change-Id: Ice44c1c4b41bc1689954041aee6441a379e5bacd
2019-08-29 14:28:09 +09:00
Andrea Campanella
e4b2c68101 Optical Intent compiler fix and ADVA OLS testing derived adjustments
Change-Id: I986431b751e3ba060cf81f357938b34f3a68f5aa
2019-08-28 22:57:26 +00:00
Daniele Moro
1edc0bd3fd Added meter support to P4info to java tool
Change-Id: Ic5ff5a680199d78d7f7725ff18dc05d7ce1151c3
2019-08-28 18:24:40 +00:00
Eroshkin Ivan
f5c0a09dab Enabling discovery of ROADM and OTN devices under "Optical UI" tab. Trying again.
Change-Id: I370b34f1d2c082d0e8bb03a428023b586326d429
2019-08-27 14:52:26 +02:00
Vignesh Ethiraj
aeecd041f6 [SEBA-636] Modify Segmentrouting to not program multicast tree on unconfigured devices (OLT)
Change-Id: I0a2e46545c9e3d6bc3d3a2b1335af8a39f2cae87
(cherry picked from commit ece19c7d517fb9eae47b4a836455ddec3f0b1484)
2019-08-26 10:32:49 -07:00
Ray Milkey
076c4945f0 Starting snapshot 2.3.0-SNAPSHOT
Change-Id: Ic3b1e8a308d08d6afcb565b184f0364d9936e23b
2019-08-23 13:03:59 -07:00
Charles Chan
b7aa764302 Remove dummy VLAN from double tagged pipeline
NOTE: This patch will break double tag termination support on OF-DPA.
      The pipelier needs to be re-implemented to understand the new objectives.

Before:
  NextObj: ETH_DST, ETH_SRC, OUTPUT, VLAN_ID (dummy)
  FwdObj.EGRESS: OUTPUT, VLAN_ID (c-tag), PUSH_VLAN, VLAN_ID (s-tag)

After:
  NextObj: ETH_DST, ETH_SRC, OUTPUT, VLAN_ID (c-tag), PUSH_VLAN, VLAN_ID (s-tag)
  No FwdObj.EGRESS

Also remove NextObj when the host is removed

Change-Id: I4ccdfa1d20701d9b2451ea0f3b4e761006746120
2019-08-22 22:47:53 +00:00
Andrea Campanella
3d2ba46959 Update of discovery for TAPI OLS based on ADVA testing
Change-Id: I1037fa877c88164a805d15f265fd918ec9c1d33d
2019-08-22 16:29:21 +02:00
Jian Li
4bd6f2b69f Refactor: remove some code duplication on k8s sync state
Change-Id: I39d07eb23287e68eb089d48be615d3fe99b6c728
2019-08-22 01:48:36 +00:00
Carmelo Cascone
2254dcdcf0 Fix P4RuntimeClient not logging write errors
Change-Id: I07d9e3ecdc4bcd7178db2fe5356c984d8ae64d5b
2019-08-20 17:05:27 -07:00
Carmelo Cascone
a4a89fb521 Fix PiGroupTranslatorImpl producing action profile members with ID 0
which is invalid in P4Runtime. This was observed when using action
profile group IDs with the last 2 bytes set to zeros, e.g. 0xec3b0000.
Now we generate the member ID as the hash of the group ID and the bucket
index, also adding a check for member IDs to be different than 0.

Change-Id: Id9fdf21d9704930703c3020b049cb19dafb1e590
2019-08-21 00:01:31 +00:00
Daniele Moro
59020df121 Added support for L4 ports as Criterion
Change-Id: I8789e14c8b3ef577288ab1aef48e00f9f11cbe18
2019-08-20 20:31:07 +00:00
Sean Condon
f20b8ef42c Updated ROADM UI with Current Input Power
Change-Id: I5fd9c5802d94e6715659486170c15dc7715bd214
2019-08-13 16:48:44 +01:00
Daniele Moro
77654f9e5c Added ethertype QinQ when double VLAN tagged packets
Double VLAN tagged packets in Mininet uses QinQ Ethertype.

Change-Id: I7c3fa5f1db1ade768e1d998185d9eadded9ebb81
2019-08-12 20:46:46 +00:00
ONOS Jenkins User
ea6d323ae8 Starting snapshot 2.2.0-SNAPSHOT 2019-08-12 19:15:45 +00:00
ONOS Jenkins User
a8a788111f Tagging 2.2.0-rc1 2.2.0-rc1 2019-08-12 19:15:39 +00:00
Thomas Vachuska
8e99a8827a onos-maven-plugin version bump to next snapshot
Change-Id: I84f1b43b8ba3acb92cc2e29425777cb6b006c042
2019-08-09 11:19:06 -07:00
Thomas Vachuska
b66ebda1fc onos-maven-plugin 2.2 release
Change-Id: Ib520207880c47162b9a120a5475bd7578e899ba1
2019-08-09 11:17:47 -07:00
Andrea Campanella
dadf640230 Moving Power values to Double
Change-Id: I3529dffe017784487df31b56430e7b9fb9db0454
2019-08-09 13:27:56 +01:00
Andrea Campanella
bdeeda1e2f Adding Modulation to UI
Change-Id: I651dc44dd8f784962f4bc74bcbf246441a236707
2019-08-09 08:55:33 +00:00
Andrea Campanella
3ccee481b9 Fix for Modulation and Power
Change-Id: I579726c25c0f2caad25441c4a737e5180f74bc85
2019-08-07 11:34:57 +02:00
Andrea Campanella
3a36145deb Updating CassiniDriver according to testing with IPI
Change-Id: Ia183f0a9ef432909aafa5480ee5b740425aa1832
2019-08-02 14:26:14 +02:00
Andrea Campanella
99ab710bec Adding modulation config with OcNos custom Behaviour and Cli command
Change-Id: Ib6bda91f204dd6f35b372265c2c1d8b838c4a04c
2019-08-01 17:03:07 +02:00
Rohit Singh
16d4df99b6 cassini Modulation Driver Impl | ONOS-7979
Change-Id: Iba45f3e41fc39e63c7dc96acf5d2da248dc6bf68
2019-08-01 10:03:25 +00:00
Jian Li
e1a5b8f742 Isolate the PODs traffic for each namespace using segment ID
Change-Id: Icb3e4379c3b211678d56e1eeee4ff70a2b02fba0
2019-07-29 20:17:36 +00:00
ONOS Jenkins User
4ea2dcfede Starting snapshot 2.2.0-SNAPSHOT 2019-07-29 18:14:35 +00:00
ONOS Jenkins User
0e66de9e0e Tagging 2.2.0-b1 2.2.0-b1 2019-07-29 18:14:30 +00:00
adibrastegarnia
025da381a4 Create a command to enable the optical channel and tune the wavelength via a flow rule
Change-Id: Ic54e31fdcb4d4c88441aa5bab967c34bd358bdf4
2019-07-29 10:35:28 +00:00
alessio
7dbb22d757 Bugfix after testing the annotate cli commands.
Change-Id: I6d6c40595d382bf1f71bdbab72068313bd44d21f
2019-07-26 15:39:34 +00:00
Esin Karaman
dd26b21c09 SEBA-801 McastHandler of SegmentRouting app. does not install multicast
filtering objectives to a device that lacks mac configuration.
However, according to Opdpa2Pipeline, device mac is not mandatory to
create proper multicast filtering flows.

It seems device mac configuration should also not be mandated by
SR for multicast filtering flows.

Change-Id: I73c381a61bedaaf99cf0951d1e939048065843d2
(cherry picked from commit 92920611c0c6cac0eb64587ee0a4bc17c253a120)
2019-07-26 08:35:31 +00:00
Harshada Chaundkar
5a198b0359 REST API for obj-nextids
Change-Id: Ibad03de0a6ffa8a478037120c84edfe6722f4d9b
(cherry picked from commit 0acb326963dda08a5eef16134eca5cba84b8e75d)
2019-07-26 09:39:04 +02:00
Andrea Campanella
7cbeb97b8d Fixing elements resize, names, icons and values in optical UI
Change-Id: Ic996be88a49aa5eceb912f7767ec0302ab1924c6
2019-07-25 15:05:59 +02:00
Boyuan Yan
53c2c681a9 [ONOS-8018] only show line-side port for power config.
Change-Id: I53c796654d1a06ebc30424a2765f7e3f786015d6
2019-07-25 07:29:01 +00:00
Arnav Jain
a359b18c99 Added Method InstallRegisteredApps to CLI
Change-Id: Ib795c0c5ad4511ad138b32820038c6cf96aa926d
2019-07-23 18:21:09 +00:00
Daniele Moro
7c3a002000 Improvement in fabric.p4 and bng.p4
- fabric.p4 now supports double tagged hosts
- bng.p4 now only manages PPPoE termination
- bng_ingress moved at the end of the fabric pipeline

Change-Id: Iff62238fde9ec6ddf7311312a98c041e3ab3aa8d
2019-07-23 00:22:37 +00:00
Charles Chan
77cfb1604b Fixed REST API bug in Xconnect
In addition,
- Deprecated old XConnectHandler
- Fixed equals() of XconnectDesc and XconnectKey
- Implemented unit tests for XconnectCodec

Change-Id: I1b5f2c1f389523e3b65a3d9acaf75bc06e39fdda
2019-07-22 23:59:19 +00:00
gyewan.an
ecb3269fd1 Add REST API for invoking workflow.
Currently, there is no way to invoking using REST API.
I've added REST API.

json data example:

{
  "op": "workflow.invoke",
  "params": {
    "workplace": "Nova-000",
    "id": "of-overlay.workflow-nova",
    "data": {
      "mgmtIp": "192.168.10.8",
      "ovsdbPort": 6641,
      "sshAccessInfo": {
        "remoteIp": "192.168.10.8",
        "port": 22,
        "user": "root",
        "password": "iloveyou",
        "keyfile": "~/.ssh/id_rsa"
      },
      "ovsDatapathType": "system",
      "physicalPorts": [
        "nova0_1"
      ],
      "vtepIp": "120.0.0.200/24",
      "annotations": {
        "rackId": 1,
        "rackPosition": 3
      }
    }
  }
}

Change-Id: I2ce3bc5a59ce1cbe91c8c6f83bd1f25e81933ce3
2019-07-22 13:08:33 +00:00
alessio
c6f054b845 Modified the FlowRule sent to ROADMs to be consistent with the optical intent framework.
Similar work is required for TERMINAL_DEVICEs.

Change-Id: I97f2f5c41569f98066d251c3725d0257e49a8098
2019-07-22 12:04:58 +00:00
alessio
da91ea964d Driver for Lumentum ROADM-20 - bugfix after testing session.
Change-Id: If4fac31387f89ce1c9a378db29d3fcff391620f2
2019-07-22 12:03:54 +00:00
Jian Li
b7dfb5bd25 Support string formated target port of k8s service resource
Change-Id: I429702548281bf28624e2c4debe20133dee2ee03
2019-07-19 16:33:45 +09:00
Jian Li
0f459610df [ONOS-8013] Enhance network policy enforcement by considering namespace
Change-Id: I14c2c6718358a85bd554ded143eb6b50e5d626bf
2019-07-19 16:22:44 +09:00