* If a meter_stats_reply is received when the meter_state is
PENDING_REMOVE, do not change it to ADDED
* Use a pendingRemoveMeters set to send METER_REMOVED event
just once.
Change-Id: I0c78d6082e0b09aee5b843932d26f81ed6e26c84
As recommended on https://yarnpkg.com/en/docs/cli/install to fix problems in CI
Also upgraded Third Party Products for legacy GUI
Change-Id: I538aff2b111d599c74d3b484af839b52599b3fb2
Matcher.group throws "No Match Found" if it is called before Matcher.find method call.
So this commit add Matcher.find call before Matcher.group call to do actual search in Matcher object.
Change-Id: I53e4ad1bea91662dc245d963f8742bd6774dd207
The current implementation of BngProgrammable for fabric.p4 uses
attachment IDs as line IDs, thus forcing apps such as bngc to be aware
of such implementation detail and to manage the allocation of such IDs.
Unfortunately, allocation of IDs is dependent on the device (P4 program)
implementation (e.g., line counter size), and so it should not be left
to apps.
This patch removes the need for attachment IDs at all and instead relies
on a driver-level service to dynamically allocate line IDs based on the
attachment attributes (currently s-tag, c-tag, mac address).
The current implementation of the allocation logic is a trivial one,
i.e. non-distributed and non-optimized.
Change-Id: Ie960936ee750cf565b8de41370085ecf9d49e931
(cherry picked from commit 6aa2a6ea743e8104ee3c62acb7d26acbd1452614)
In OVS, for example, the following conntrack action is possible:
ct(commit,zone=44,exec(load:0x5->NXM_NX_CT_MARK[])
The Nicira 'load' action here is nested inside the NiciraCt action.
Change-Id: Ia1e681d2a43d9696ce9f1e8c05eae90322961dbb
Currently, the onos provides a rest api to get port status.
But if we want to get port status for all devices, we need to call rest api with each device ids.
So, this changes provides a rest api to get ports for all devices.
Change-Id: Iaa123ab341890684b7f0991d8cc75d73cd76c9cb
For Arista switch, the following code is required
because the port to be used as OpenFlow bridge should be added.
Change-Id: Id73560b9c9592838ba91329ef652742fb1beb65b
JIRA ID : ONOS-7961
1. Removed @Ignore and enabled the tests
2. Refactored the code in order to extract json string as seperate files
3. Added additional tests
Change-Id: Ic08128575e7a37a9a7dcdc08a6a8eec0e7e19f68
OpenFlowMeterProvider throws ClassCastException due to concurrent modification of a HashMap.
Replaced HashMap with ConcurrentHashMap to make it thread safe.
Change-Id: Ie2399b1d2da9d984ecc3cb4a4f8e839a33fb9cfa
- Removed hard-coded Ipv4Address and replaced with the generic
IpAddress wherever necessary
- Added support of AFI = 2 (IPv6) in MPReachNlri and MPUnreachNlri
- Added a new config parameter for IPv6 in BGP Config. This allows
AFI = 2 to be sent in BGP Open messages
- Skipped TLV 1170 and 1173, which were causing exceptions
Change-Id: I76e69021b1d2687754bbf700681070051e347942
In the command console, when "devices" command is executed, the call is routed
to DeviceManager. The DeviceManager queries the Provider of device periodically,
to check the isReachable status. If isReachable is true, isAvailable is eventually
set to true. Conversely, if isReachable is false, isAvailable is eventually set
to false.
Currently, BgptopologyProvider returns hard-coded "true" in isReachable() call.
This fix solves this by querying the current status from deviceService.
Also, since there is no "isReachable" call in deviceService, isAvailable() is used.
Change-Id: Ie6f7245c22232e0f867346f83b5aadaaf504031e
Reviewers should look at the changes in WORKSPACE, BUILD, BUILD.bazel, README.md files
This is only possible now as rules_nodejs went to 1.0.0 on December 20
gui2 has now been made the entry point (rather than gui2-fw-lib)
No tests or linting are functional yet for Typescript
Each NgModule now has its own BUILD.bazel file with ng_module
gui2-fw-lib is all one module and has been refactored to simplify the directory structure
gui2-topo-lib is also all one module - its directory structure has had 3 layers removed
The big bash script in web/gui2/BUILD has been removed - all is done through ng_module rules
in web/gui2/src/main/webapp/BUILD.bazel and web/gui2/src/main/webapp/app/BUILD.bazel
Change-Id: Ifcfcc23a87be39fe6d6c8324046cc8ebadb90551
- Fix ethernet matching fields in ACL (dst and src were inverted)
- When doing punt_to_cpu after setting a multicast group clear the mcast_grp metadata field
Change-Id: I456566929b118188a1b2a40ff3f4de4c6c63d5bb