Interfaces configuration - ONOS - Wiki (2024)

The interface configuration is part of the network configuration. It allows users to configure information about ports and logical ports of devices connected to the system. The information is used by ONOS and its applications to decide how to select and forward the network traffic. The interface configuration is probably the most similar to the "legacy" network devices configuration. Examples of common patterns are "select traffic tagged with VLAN X on port Y", "Select all the traffic coming with IP A and send it out through port B".

The configuration contains a list of physical ports, and logical interfaces. A more detailed explanation is reported below.

  • Ports represent physical ports of devices connected to ONOS. They act as containers of one or more interfaces that actually hold the real configuration
  • Interfaces are logical entities, subset of physical ports, distinguished by different parameters, such as i.e. VLANs, IPs, MAC addresses. Each port can have multiple interfaces.

As the rest of the network configuration, also the interface configuration is expressed in JSON format. Below, you can find a the structure of a very generic interface configuration

Generic configuration structure

{ "ports" : { "of:DPID__WITH_NO_COLUMNS/PORT" : { "interfaces" : [ { "KEY_1" : "VALUE_1", "KEY_2" : [ "VALUE_2A", "VALUE_2B" ], "KEY_3" : "VALUE_3" } ] }, "of:ANOTHER_DPID_WITH_NO_COLUMNS/PORT" : { "interfaces" : [ { "KEY_1" : "VALUE_1", "KEY_2" : [ "VALUE_2A", "VALUE_2B" ], "KEY_3" : "VALUE_3" },{ "KEY_10" : "VALUE_10", "KEY_4" : [ "VALUE_4A", "VALUE_4B" ], "KEY_3" : "VALUE_3" } ] }}

What's reported above is a sample configuration, used in SDN-IP.

Configuration you may find are usually very specific to the application that parses them.

While the configuration syntax and the general structure is globally enforced by the interface configuration subsystem itself, It's up to each ONOS application how to interpret the values provided. For example, some applications might request just one parameter per interface (it might be the case of some L2 applications with VLAN); some others might reques more (for example IPs for L3 applications). Also, applications might use the values as they like, so giving them any meaning.

Even if different applications might interpret the configuration in different ways, there's an agreement about how parameters should be read. Following is a list of "best-practices" we generally follow:

  • name: It works as unique interface identifier. One string representing the name per interface. it's enforced to be unique in each port. It would be better to make it globally unique.
  • vlan: The meaning should be "...select on this interface packets already tagged with the VLAN specified...". One string representing the VLAN Id per interface. It should be unique in each port.
  • ips: The meaning should be "...select on this interface packets destined to the IP addresses specified...". One comma separated list of strings representing the IP addresses to match against per interface. IP addresses should be unique in each port.
  • mac: Primarily used for ARP management. The meaning should be "...reply to ARP request with the MAC address specified...". One string representing the MAC address. It should be unique in each port.

As an example, the ARP handler of SDN-IP uses the combination of IP addresses and MAC address to emulate routers behavior.

SDN-IP interface configuration example

{ "ports" : { "of:0000000000000001/1" : { "interfaces" : [ { "name" : "Interface 1 sw 1", "ips" : [ "1.1.1.1/24", "10.10.10.1/24" ], "mac" : "00:00:00:00:00:01" } ] }}}

The configuration above means "...ARP request packets coming in from DPID 00:00:00:00:00:00:00:01, port 1, having destination IPs 1.1.1.1/24 or 10.10.10.1/24, should be replied with ARP replies with MAC address 00:00:00:00:00:01..."

Sometimes you may want to express parameters related to an entire physical port, rather than an interface. Configurations attributes written directly under a physical port won't be parsed. Anyway, there's a work-around to it: just add one interface to the physical port it and specify inside its parameters.

Following is a list of known applications (including the link to their configuration guide) that use the interface configuration. If you like, you may look at their configuration guides and at their code, taking them as example.

Interfaces configuration - ONOS - Wiki (2024)

FAQs

What is the interface configuration? ›

The interface configuration is part of the network configuration. It allows users to configure information about ports and logical ports of devices connected to the system. The information is used by ONOS and its applications to decide how to select and forward the network traffic.

What are the 4 types of interfaces? ›

Types of user interfaces
  • Graphical user interface (GUI). Web UIs and other digital products often feature GUIs with graphical elements, such as windows, pull-down menus, buttons, scroll bars and icons. ...
  • Command line interface. ...
  • Menu-driven UI. ...
  • Touch UI. ...
  • Voice UI. ...
  • Form-based UI. ...
  • Natural language UI. ...
  • Mobile UI.

What are the examples of interface configuration files? ›

For example, an ifcfg-eth0:0 file could be configured to specify DEVICE=eth0:0 and a static IP address of 10.0. 0.2 , serving as an alias of an Ethernet interface already configured to receive its IP information via DHCP in ifcfg-eth0 .

What is the default login for onos? ›

Default username and password are onos/rocks. If ONOS was installed via onos-install and configured by onos-secure-ssh (developer/test tools), then the passwords may be different; examine the $ONOS_WEB_USER and $ONOS_WEB_PASS environment variables.

What ports need to be open for WMI? ›

WMI technology is based on DCOM / Remote Procedure Call (DCOM/RPC) communication. DCOM/RPC allocates the ports used by the server within a dynamic port range—typically between ports 1024 and 65536.

Which port is default? ›

Port 80 is the common standard port for HTTP.

What is user interface configuration? ›

Describes configuration options for the user interface that can enhance performance and the user experience in Optimizely Commerce Connect. You should model the catalog using category hierarchies to avoid having too many items in a category.

What is the network interface configuration? ›

Network Interface Configuration refers to the process of setting up and managing network interfaces on a computer or a network device, such as a router or switch. A network interface is a point of interaction between a computer and a network.

How do I enter interface configuration? ›

The Global Configuration mode command interface <interface-type><interface-id> is used to enter the Interface Configuration Mode. To return from the Interface Configuration mode to Global Configuration Mode, the command exit is used.

How do you show interface configuration? ›

Viewing the configuration of interfaces
  1. Use the show running-config [structured] command to view the running configuration of all interfaces. ...
  2. Use the show running-config interface port-list command to view the running configuration of the specified port interfaces.

Top Articles
How to Invest in Real Estate in the Philippines?
What is a Good First Offer on a Home? (And Should You Accept)
4-Hour Private ATV Riding Experience in Adirondacks 2024 on Cool Destinations
Www.politicser.com Pepperboy News
Craigslist Mexico Cancun
Pickswise the Free Sports Handicapping Service 2023
Craigslist In Fredericksburg
Category: Star Wars: Galaxy of Heroes | EA Forums
CSC error CS0006: Metadata file 'SonarAnalyzer.dll' could not be found
Braums Pay Per Hour
Visustella Battle Core
Midway Antique Mall Consignor Access
Aries Auhsd
Chastity Brainwash
Med First James City
2024 U-Haul ® Truck Rental Review
Bowlero (BOWL) Earnings Date and Reports 2024
Viha Email Login
Log in or sign up to view
Weepinbell Gen 3 Learnset
Mychart Anmed Health Login
Aerocareusa Hmebillpay Com
Lexus Credit Card Login
15 Primewire Alternatives for Viewing Free Streams (2024)
2000 Ford F-150 for sale - Scottsdale, AZ - craigslist
Jesus Revolution Showtimes Near Regal Stonecrest
Klsports Complex Belmont Photos
Rugged Gentleman Barber Shop Martinsburg Wv
Black Panther 2 Showtimes Near Epic Theatres Of Palm Coast
The Collective - Upscale Downtown Milwaukee Hair Salon
Sandals Travel Agent Login
Phoenixdabarbie
Jesus Calling Feb 13
Ice Dodo Unblocked 76
Martins Point Patient Portal
Metra Union Pacific West Schedule
Here’s how you can get a foot detox at home!
Upstate Ny Craigslist Pets
House Of Budz Michigan
Chatropolis Call Me
Empires And Puzzles Dark Chest
Fapello.clm
Shane Gillis’s Fall and Rise
Tgirls Philly
Exam With A Social Studies Section Crossword
Sechrest Davis Funeral Home High Point Nc
Arcanis Secret Santa
The Horn Of Plenty Figgerits
5103 Liberty Ave, North Bergen, NJ 07047 - MLS 240018284 - Coldwell Banker
Bama Rush Is Back! Here Are the 15 Most Outrageous Sorority Houses on the Row
Craigslist Sarasota Free Stuff
Solving Quadratics All Methods Worksheet Answers
Latest Posts
Article information

Author: Tish Haag

Last Updated:

Views: 5820

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Tish Haag

Birthday: 1999-11-18

Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

Phone: +4215847628708

Job: Internal Consulting Engineer

Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.