• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nmstate / nmstate / 1586

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2019 12:30PM UTC
Jobs 4
Files 56
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1586

push

travis-ci

tyll
schema: Add support of IP routing

The routing information will be at the top level of network state information.

The example would be:

```
    {
        "routes": [         # Sorted with 'table-id' then 'destination'
            {
                # Set 'state: absent' to remove this routes
                "table-name": "main",   # Empty if no name attached
                "table-id": 254,
                "origin": "dhcp",     # "static" or "dhcp"
                "metric": 100,
                "destination": "0.0.0.0/0",     # Mandatory
                "next-hop-interface": "eth0",   # Mandatory
                "next-hop-address": "192.0.2.1"
                # ^ Empty on point-to-point link
            },
            {
                # Set 'state: absent' to remove this routes
                "table-name": "main",   # Empty if no name attached
                "table-id": 254,
                "origin": "router-advertisement",
                    # ^ "static" or "router-advertisement"
                "metric": 100,
                "destination": "::/0",          # Mandatory
                "next-hop-interface": "eth0",   # Mandatory
                "next-hop-address": "fe80::1"
            },
        ],
    }
```

Signed-off-by: Gris Ge <fge@redhat.com>

2499 of 3824 relevant lines covered (65.35%)

0.65 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1586.2 (TEST_TYPE=unit_code_style DOCKER_IMAGE=nmstate/fedora-nmstate-dev) 07 Mar 2019 12:30PM UTC 0
Travis Job 1586.2
3 1586.3 (TEST_TYPE=unit_py27 DOCKER_IMAGE=nmstate/fedora-nmstate-dev) 07 Mar 2019 12:31PM UTC 0
65.48
Travis Job 1586.3
4 1586.4 (TEST_TYPE=unit_py36 DOCKER_IMAGE=nmstate/fedora-nmstate-dev) 07 Mar 2019 12:33PM UTC 0
65.22
Travis Job 1586.4
5 1586.5 (TEST_TYPE=unit_py37 DOCKER_IMAGE=nmstate/fedora-nmstate-dev) 07 Mar 2019 12:33PM UTC 0
65.22
Travis Job 1586.5
Source Files on build 1586
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1586
  • e24b35e8 on github
  • Prev Build on master (#1579)
  • Next Build on master (#1590)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc