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

nmstate / nmstate / 1586 / 3

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2019 12:31PM UTC
Files 28
Run time 2s
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

07 Mar 2019 12:28PM UTC coverage: 65.481% (+0.02%) from 65.463%
TEST_TYPE=unit_py27 DOCKER_IMAGE=nmstate/fedora-nmstate-dev

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>

1252 of 1912 relevant lines covered (65.48%)

0.65 hits per line

Source Files on job 1586.3 (TEST_TYPE=unit_py27 DOCKER_IMAGE=nmstate/fedora-nmstate-dev)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1453
  • Travis Job 1586.3
  • e24b35e8 on github
  • Prev Job for TEST_TYPE=unit_py27 DOCKER_IMAGE=nmstate/fedora-nmstate-dev on master (#1579.3)
  • Next Job for TEST_TYPE=unit_py27 DOCKER_IMAGE=nmstate/fedora-nmstate-dev on master (#1590.3)
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